Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter Five PLC Function Code
29
V
o
lume
I Programming
CALL
Subprogram
number
ACT
Fig. 5-3-1
Control condition
:
ACT
=
0, Perform next code followed with CALL.
ACT
=
1, call subprogram of the specified subprogram number
Parameter:
Subprogram number: Specify the called subprogram number. The subprogram number is
indicated at 0
~
99.
5.4 CALLU (Unconditionally Call Subprogram)
Function:
Unconditionally call one specified subprogram
It owns the following characters and limitations:
Subprogram can be nested and called other subprograms up to 18 layers, as for the endless
repetition caused by the closure call, the system may alarm. The system allows that the maximum
subprogram call number is 100 for controlling the performance data value. The subprogram call can
not be performed at the 1
st
level program. The code or network wrote between END2 AND SP, or
after SPE, or before SP, the system can not be performed, and then alarms.
Format:
CALLU
Subprogram
number
Fig. 5-4-1
Parameter:
Subprogram serial number: Specify the called subprogram number, and its range is 0
~
99.