Chapter 5 PLC Functional Code
27
Ⅰ
Programming
instruction. Range: 0
~
99.
5.4 CALLU
(
Unconditional Subprogram Call
)
Function:
Uncodintionally call a specified subprogram.
It has the following characteristics and limits:
The subprogram may be nested up to 18 levels by other subprograms, but if a dead cycle is
made by the closed loop calling, an alarm will be issued by system. Therefore to execute the data
volume under the control, the allowable subprogram calling times are 100, and the subprogram
calling in the 1st level is disabled. Alarm will be issued for the instructions or network between SP
and END2, after SPE and before SP which can't be executed by system.
Format:
CALLU
Subprogram
number
Fig.5-4-1
Parameter:
Subprogram number: specifies the called subprogram number. Range: 0
~
99.
5.5 SP
(
Subprogram
)
Function:
The SP functional instruction is used to create a subprogram. A subprogram number is specified
as a subprogram name. SP is used with the SPE functional instruction to specify the subprogram
range.
Note:
1. A subprogram must be written after END2.
2. Another subprogram cannot be nested into a subprogram.
Format:
Fig. 5-5-1
Parameter:
Subprogram number: specifies the called subprogram number. Range: 0
~
99.
SP
Subprogram number
Summary of Contents for 980TC3 Series
Page 13: ...1 Programming Ⅰ Programming Ⅰ ...
Page 71: ...59 Operation Ⅱ Ⅱ Operation ...
Page 97: ...85 III Ⅲ Function III Function ...
Page 149: ...137 Installation and Connection Ⅳ Ⅳ Installation and Connection ...
Page 209: ...197 附 录 Appendix ...