Magelis XBTP021010 Controller 350€

 Magelis XBTP021010 Controller 350€ 


CONTACT
http://kontactr.com/user/jup71

TSXSUP702 CARD 100€

 Pre-Owned* Telemecanique TSX-SUP-702



CONTACT
http://kontactr.com/user/jup71

TSXP87420 CARD CPU 350€

    TSXP87420 - TELEMECANIQUE - TSXP87 420/Processor Used

TSXSCP114 RS485 FOR SALE 60€


TSXSCP114 RS485 
PAYPAL PAYMENT 
CONTACT
http://kontactr.com/user/jup71

TSXETY110 ETHERNET PREMIUM CARD 250€

TSX07312422 FOR SALE 80€


TSX07312422 - TSX NANO 24Vdc 14INPUTS/10OUTPUTS RELAY
ITEM CONDITION: NEW - FOR SALE - PRICE 80€ - POSTAGE NOT INCLUDED
PAYPAL PAYMENT

http://kontactr.com/user/jup71

TSXAEM413 FOR SALE 100€

TSXAEM413 FOR SALE
100€
POSTAGE NOT INCLUDED


Contact at below address or leave a message. Thank you
http://kontactr.com/user/jup71

TSX MICRO CARDS TSXAEZ-TSXDMZ28DR FOR SALE

For Sale Used Telemechanique Micro TSX cards
TSXAEZ802 8 Current Analog Input card =40€
TSXDMZ28DR 16Inputs/12Relay Outputs = 30€
For Sale Together or separate
Postage NOT included . 
AND others in http://books-mag-electronics.blogspot.gr/ ...Contact




http://kontactr.com/user/jup71

PRINTING TEMPERATURES USING ONLY PLC & PRINTER

Printing 10 Temperatures using Only Twido PLC & PRINTER

In this Application a PLC Twido is used to print 10 temperatures directly to a SERIAL EPSON dot matrix Printer using the Port 2 as ASCII mode
Configuration Software Twido V3.5
Twido PLC CPU TWDLMDA40DTK
TWDNOZ232D Port 2 : ASCII
TWDXCPRTC Real Time Clock
Analog cards 5 TWDALM3LT (2In MultiSensor/1Out)
The Inputs is configured as thermocouple J
The cable used for connection with the printer is the TSXPCX1031 in ascii mode
Configuration of the PLC Port2



Configuration of Analog Cards


The PLC communication with the Printer is being done using the command EXC


The explanation of the EXC command is left for another post

This application is written only for TWIDO PLC

You could request for the program

DAYLIGHT SIMULATION FISHTANK

This application simulate the daylight and night circle for artificial lighting
(fluroscents lamps) in a dark fishtank. The purpose is to control the intensity
of 2 fluroscent lamps during the day. So in a specific hour of the day the
lamps turn on slowly with a ramp-up during daybreak , then stay on
with full power for some time, then start to turn off slowly with a ramp down
during dusk period and finally stayed off in night period.
We use an analog voltage output (0 - 10V) to control a fluroscent lamp rheostat.

The ramp up period (04:00 till 08:00)
The steady state ON period (08:00 till 16)
The ramp down period (16:00 till 20:00
The night Off period (20:00 till 04:00)
The above periods is fixed and cannot be changed. If other periods need we could change these fixed periods. The program could be expand using a XBT to change the periods, but this is left upon user request

The configuration used is
Twido Software V3.5
We could use any Twido PLC with an analog card. In the application
TWDLMDA20DTK : CPU
TWDAMO1HT : Analog card 12 bits resolution
TWDXCPRTC Real Time Clock


In the application we use a 12 bits analog card
Steps/min=4095/4*60 = 17,0625steps/min
Voltage/min = 17,0625*10V/4095 = 0.0416667 Volts/min

Use of the application is for dark fishtank (vivarium) not open one. Maybe the user could use the program in various other applications

You could request for the program

PWM Function (MICRO - PREMIUM ) on PL7 software

PWM Function


The PWM function supports regulation of a pulse width on a TOR output.
It is a function that formats the PID’s output.
The pulse width depends on the PID’s output (The PWM function’s INP input)
and the modulation period.
 The PID operation have been described in a previous post
The circuit diagram of the function’s operation is as follows:


To each TOP of the T_MOD modulation period, the activation period
in 10-3 second of the PW_O output is calculated according to the following formula:
State 1 of the gap (shown in 10-2 seconds) = INP * T_MOD / 1000

The following timing diagram illustrates this formula:


Practical rules
T_MOD = TS (where TS is the sampling period of the upstream PID),
The period of the current task (expressed in 10-3 second) is equal to:
(Required resolution)* 10 * T_MOD.
The PID is in the MAST task, the MAST’s period is 50*10-3 s,
TS = 500*10-2 s and the required resolution is 1/50
(a T_MOD period must contain at least 50 periods of the current task).

T_MOD = TS = 500.

The period of the task where the PWM is introduced must therefore be less
than 500 * 10 /50 =100 10-3 s.

The PWM function can therefore be programmed in the MAST task.
the resolution will be 1/100.

The PWM function is a standard PL7 function. As such, it is available from the
functions library.
From the language editors there, it is possible to use the help of a PWM
function’s input to facilitate its programming.

From the PL7 menu Tools --> Library the next picture appears

The illustration gives you a general idea of the Functions screen in the library
supporting the implementation of the PWM function.


The PWM function’s call syntax is:
PWM(INP,PW_0,PARA)  Equation 1

For the Purpose of the example a Micro CPU TSX3722 used
with a TSXDSZ08T2 card  (8 Transistor Outs) in order to have
the digital output for the PWM output.
The selection of a Transistor Output was done because of the long life time of the transistor.
Of course the developer has to use additional relays for the output
The following picture illustrate the configuration of the PLC



The PID operate function which explained in a previous post is


Next the Allingment of the T_MOD (PWM) on the TS of the PID 
 which is the %MW105




 And Finally in the Mast Or Fast task the PWM Operate Function in which the PWM output is the %Q3.0


Using the equation 1
PWM(INP,PW_0,PARA)
INP = %MW52
PW_0 = :%Q3.0
PARA = %MW90:5
The following Illustration all the parameters explained 



 NOTE FOR THE READER : THE ABOVE IS THE CONFIGURATION ONLY AND TYPICAL EXAMPLES ON HOW TO CONGIGURE THE PWM FUNCTION IN PL7 SOFTWARE. THE INFORMATION GIVEN ARE NOT A COMPLETE APPLICATION AND THE DEVELOPER MUST MAKE HIS OWN CALCULATIONS TO ACHIEVE PWM CONTROL IN HIS SPECIFIC APPLICATION. IT'S THE RESPONSIBILITY OF THE USER TO USE THE INFORMATION ABOVE CORRECTLY IN THE APPLICATION. IMPROPER USE MAY RESULT IN EQUIPMENT DAMAGE OR HUMAN INJURIES

PID Software function (MICRO - PREMIUM) on PL7

PID Function

The PID function completes a PID correction via an analog measurement and
setpoint on the [0-10000] format and provides an analog command to the
same format.

Available PID functions

serial / parallel PID algorithm,
forward / backward action (according to the KP gain sign),
action derived from measurement or from distance,
high and low limitation of the setpoint to [0-10000],
high and low limitation of the output in automatic mode,
anti-saturation of the integral action,
Manual/Automatic operating modes without definitely changing,
PID access control through the dialog operator,
operating in integrator for (KP = TD =0).

Here is the operating principle diagram of the PID function



PID functions are standard PL7 functions. They are therefore available from the function library.
From the PL7 menu Tools --> Library the next picture appears




The call syntax for the PID function is:

PID(TAG,UNIT,PV,OUT,AUTO,PARA) -  Equation 1

Note: A PID function can be entered in any periodic task (MAST or FAST). 

Call of PID function . We are Opening in a PL7v4.5 Project (Micro or Premium) a Fast periodic Task section and insert an operate instruction. Right click inside the operate function to call for a function.
See the following picture



The following illustration appears:




Then fullfill with parameters the PID call in grey zone . See the following picture



The following picture is the PID function fullfilled . Next we are going to analyze the parameters entered



As we can see the parameters are 6 and is the equation 1 . So.

PID(TAG,UNIT,PV,OUT,AUTO,PARA)
TAG = %MB0:8      Used by CCX17 . not neccessary
UNIT = %MB10:8   Used by CCX17 . not neccessary
PV = %MW50         Process value of the function
OUT = %MW52      Analog PID output
AUTO = %M40       Operating Mode
PARA = %MW100:43  PID Parameters

Detailed Description of Parameters



As we could see from the 2nd table above the PID parameters like internal SP=Setpoint, Kp,Ti,Td,Ts
are in the range of %MW100:43.
So for SP = %MW100 and so on in which the developer should setup a value

On cold start, the PID resumes in manual, with the output at 0.
To impose automatic mode or a manual input not at zero after a cold start,
you must program the initialization sequence after the PID call.
 
Where the process control Human Machine Interface is used
(DEVAL_MMI = 0)
Where no Human Machine Interface is used DEVAL_MMI = 1.

Examples. In this example, the TAG and UNIT parameters are not applicable,
so you can simply enter the values.

(* PID correction on temperature process control loop *)
PID(‘TEMP’,’DEGRES’,%MW10,%MW1>>  OPERATE FUNCTION
with PID(‘TEMP’,’DEGRES’,%MW10,%MW11,%M10,%MW20:43)

(* PID correction on process control loop without built-in HMI
PID(‘ ’,’ ’,%MW10,%MW1>>   OPERATE FUNCTION
with PID(‘ ’,’ ’,%IW3.1,%QW4.0,%M10,%MW20:43)

 
NOTE FOR THE READER : THE ABOVE IS THE CONFIGURATION ONLY AND TYPICAL EXAMPLES ON HOW TO CONGIGURE THE PID FUNCTION IN PL7 SOFTWARE. THE INFORMATION GIVEN ARE NOT A COMPLETE APPLICATION AND THE DEVELOPER MUST MAKE HIS OWN CALCULATIONS TO ACHIEVE PID CONTROL IN HIS SPECIFIC APPLICATION. IT'S THE RESPONSIBILITY OF THE USER TO USE THE INFORMATION ABOVE CORRECT IN HIS APPLICATION. IMPROPER USE MAY RESULT IN EQUIPMENT DAMAGE OR HUMAN INJURIES

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

TWIDO ZELIOS & TESYS LU9GC3

Description: How to connect Twido with tesys and zelios using TESYS LU9GC3 under Modbus RS485

In 1st picture there is the connection of a Twido modbus (any Twido model)
1 : Modbus RS485 Communication module LULC031
2 : Connection cable VW3A8308R with RJ45 connector on each end. Used to connect TESYS and distribution unit
3 : Modbus distribution unit LU9GC3. Used to connect the Twido and multi TESYS starter controllers via RJ45 connectors

 The 2nd picture is showing the internal wiring of the modbus distribution unit



The 3rd picture is showing how to connect  a Twido Master cpu with 2 or more (up to 29slaves) slave Zelios (internal wiring) using the modbus spliter box Tesys LU9GC3. The polarization resistor must be manage by the master.
Note . Resistors of 4,7KΩ are implanted inside Twido CPU .


At the 4th picture is showing the above implementation on how to connect them in reality. The modules that are neccessary to implement this connection are :
1 : One Twido master Cpu (any model)
2 : Two (or more) Zelios with their modbus extension module SR3MBU01BD
3 : One Tesys LU9GC3 modbus RS485 distibution unit
4 : Two cables VW3A8306R03
5 : A connector unit VW3A8306TF03
6 : Two termination resistors VW3A8306RC



The implementation of the program will be added soon or in a next post