IMPLEMENTING ALARM (LADDER) IN PLC

The following describe how to implement simple alarms in a PLC.
We used a MICRO PLC TSX3722 and a card
TSXDMZ28DR  (16Inputs/12Outputs) but any PLC could be used.

Here is the electrical drawing



The implementation on the PLC is for each input . 2 Inputs used for this example.





The following images showing how to implement the HORN and the LIGHT signalling.






As the figures shows the auxiliarys bits are for the Horn indicator and the Alarm Inputs are for the LIGHT indicator. The programmer can also add as many alarms as he wish to this rungs either directly or as a sum of alarms. It is left to programmer how to achieve this, but consider the limitation of the rung when using a PLC like the MICRO As you could see there are 7 vertical and 11 horizontal positions. In the figures several inputs as alarms (errors - thermal relay etc) and auxiliaries added to demonstrate how to add more than 7 vertical contacts.



PUMPS CIRCULATION FOR FOUNTAINS APPLICATION

PUMPS CIRCULATION FOR FOUNTAINS

This is an application which consists of 3 pumps circulate per 2 a 4th filter pump and a 5th waste water pump for controlling a fountain. The application was developed with Zelio Logic SR2B201FU with real time Clock and Display capabilities.

The requirements are

1) 3 Pumps working per 2 in circular rotation (1-2) , (2-3), (3-1) for scheduled time during the day

2) 1 Filter Pump which running schedule

3) 1 waste water Pump which run with a level sensor command

4) 1 electrovalve which open with a filling level sensor

5) 1 low level sensor protecting the 4 pumps for dry working

6) 1 Voltage detector

Schedule program for the 3 pumps with 1 zelio button is:

1st program : (08:00 – 14:00) and (17:00 - 24:00)

2nd program : (07:00 – 15:00) and (17:00 – 01:00)

3rd program : (07:00 – 16:000 and (17:00 – 01:00)

4th program : (07:00 – 01:00)

Schedule for 4th filter pump is 2 hours stop/ 1 hour run per day

INPUTS

I1 waste water level sensor  - NO

I2 Voltage Detector and Emergency Stop - NC

I3 Dry (Low Level) sensor – Deenergise Pumps – except waste water pump  - NC

I4 Filling level sensor (Valve activation) - NC

I5 Thermal relay Pump No1 - NC

I6 Thermal relay Pump No2 - NC

I7 Thermal relay Pump No3 - NC

I8 Thermal relay filter pump - NC

I9 Thermal relay waste water pump - NC

I10 Reset Button - NO

Z1 Zelio Start and Select Schedule program button . Position 1 Stop. Other positions 2 to 5 schedule program running.

NC : Normally close contact  - NO : Normally Open contact (external)
OUTPUTS

O1 RUN Pump No1

O2 RUN Pump No2

O3 RUN Pump No3

O4 RUN Filter Pump

O5 RUN Waste water Pump

O6 Filling Valve command OPEN

O7 Alarm Horn

Note: The program needs a latch at the Z1 cam encoder in order to restart after a power failure. It is left upon the user to decide if this requirement will  be added . In this application the customer have chosen NOT to have that capability. A manual restart needed . Alarm with horn when power voltage fail
You could request for the program

MICRO TELEMECANIQUE P.L.C CONNECTION WITH PC THROUGH MODEMs - OLDER VERSION

ATTENTION TO THE READER
NOTE : THIS DOCUMENT IS MOST FOR EDUCATIONAL PURPOSE ONLY, AS THE APPLICATION WAS DEVELOPED WITH PRIOR VERSIONS OF MICRO - PL7 SOFTWARE AND WITH NO GENER MODEMS. THE RECOMMENDED CONNECTION IS THAT WITH GENER OR ETIC MODEMS OR ANY OTHER MODEM THAT SCHNEIDER ELECTRIC RECOMMEND. YOU COULD FIND THE APPLICATION WITH GENER MODEMS HERE AND THE APPLICATION WITH ETIC MODEMS HERE
The Application files make it possible to implement communications of telemaintenance
and dialogue inter PLCs

In this application 2 modems MultiTech Systems - Model MT2834ZDXle was used
For more information on the specific modem manuals of multitech
http://www.multitech.com//DOCUMENTS/manuals

The settings - The AT commands that modems must have are:

MODEM PLC

ATV1B0$SB9600$MB9600$EB0&E0&E10&E3&E14E0Q1&D0%DC1&W

These commands can be send to the modem of the PLC with a program to communicate with PC, like the HyperTerminal, ProComm, etc.
The connection cable modem - PLC is TSXPCX1130
In the Hardware Configuration of PLC programming port should have selected the following.

Unitelway Link
Type Master
8 Data Bits
1 Stop Bit
Parity None
Ī¤ransmision speed 9600 bit s/s
Wait time between 100 – 200 ms. For example, 140ms.


MODEM P.C

At PC Unitelway Driver must be choosen "Modem"



The settings – HAYES Initialization are

ATV1E0B0$EB0&E0&E3&D0&S0$SB9600$MB9600X1D%DC1


At the "Telephone Number" put the number you want to call which is connected with the remote PLC
Becareful if a telephone center exist.

With OK go back to the previous image, and select the menu

FILE -> ADVANCED CONFIGURATION having the following options.


CAUTION: To be connected via modems with PL7 V4.1 & V4.2 should have the following drivers:

UNI-TELWAY Win2000/98 V1.4 IE08
UNI-TELWAY WinNT4 V1.8 IE15
UNI-TELWAY Win95/Dos V7.8 IE18
UNI-TELWAY Dos V7.4 IE14

Also, the use of the modem in conjunction with Magelis terminals from the port TER - AUX is not possible because the Magelis not respond by changing the Parity to None, in which case their combined use is impossible. For the solution of this problem must be used a modem that has the ability to pass 11bits (8 data, 1start, 1stop, odd parity), so then you need to configure it according to instructions and commands given in the manual.
A Modem which has the above feature is that of the company GENER.
(Schneider Alliance) model GENindus
For more information you can visit GENER site. www.gener.fr
For more information about PLC manuals visit http://www.schneider-electric.com  site

The above description could be altered to newest versions of PL7 software and Unitelway Driver
It is the rensponibility of the developer to use the above.
Note: The recommended connection is that Schneider Electric Support and this document is NOT a replacement of the official supported documents or modems

MAGELIS TERMINAL ADDITION IN UNITELWAY NETWORK TO A SLAVE PLC

Suppose we want to insert a Magelis terminal to a Slave PLC which is connected to a network Unitel-way. To the Slave PLC have given an address AD0, which is defined in the network. To be able to connect the Magelis at the Slave PLC, do the following: Select the Menu Configuration -> Equipment Symbols ... and get the following picture (Fig. 1),


Select Modify and displays the next image (Fig. 2) which will change the existing usual (0,254,0,254,0) which referred to the master PLC, and give one another Symbol name of your choice.




A simple network Unitel-way without PCMCIA card is not feasible to achieve the connection because the number of Slave PLCs is limited. The addition of two or more terminals Magelis consists networks using Unitel-way card PCMCIA RS485 (TSXSCP114) adjustable to 32 Stations (Magelis - PLC)

In addition the cable XBTZ968 which is used for the connection between Magelis and Slave PLC must be modified or added by a serial cable specially constructed taking in mind the Slave PLC address (it is recommended to constructed a serial cable to added to the existing XBTZ968)

For further information how to achieve the connection please contact