DC302
– Operation and Maintenance, Instruction Manual
3.20
OUT1=RS11(IN15,IN2);
Note that the first argument is not allowed.
Error Code: "Second Argument not valid."
a) OUT1=CTD01(IN1,!IN2);
Note that the arguments are necessarily simple variables and not functions.
b) OUT1=RS11(IN1,IN20);
Note that the second argument is not allowed.
Example of applications
1)
According to the next figure, we have an industrial application where the aim is to fill up the
bottles with a chemical fluid. The conveyor moves the bottles up to the filling direction and then the
bottle is detected by a sensor .The conveyor must stop and open the valve of filling and the level is
detected by another sensor. After detecting the level, the system must wait for 10 seconds and then
move the conveyor again until the next bottle.
Using the Flexible Function Block we have the following definitions:
The conveyor will be turned on using the hardware output 01 (O1);
The fluid valve will be turned on using the hardware output 02 (O2);
The bottle sensor will be connected to the hardware input 01 (I01);
The level sensor will be connected to the hardware input 02 (I02);
The power system will be connected to the hardware input 03 (I03);
We have the following configuration:
TON_PST resource [01] = 10.0s.
LOGIC_01 A01=TON01(I02);
LOGIC_02 O1=I03&!I01|A01;
LOGIC_03 O2=I01&!I02;
Making an analogy to ladder programming, we have:
Summary of Contents for DC302
Page 1: ...DC302 OPERATION MAINTENANCE INSTRUCTIONS MANUAL FIELDBUS REMOTE I O FOUNDATION D C 3 0 2 M E...
Page 6: ...DC302 Operation and Maintenance Instruction Manual VI...
Page 8: ...DC302 Operation and Maintenance Instruction Manual VIII...
Page 39: ...Configuration 3 23...
Page 43: ...DC302 Operation and Maintenance Instruction Manual 4 4...