Specifications
SIMATIC Instructions
9-148
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
The data element size and type are represented in the coding of the parameters.
Assignment of parameter values to local memory in the subroutine is as follows:
Parameter values are assigned to local memory in the order specified by the
call subroutine instruction with parameters starting at L.0.
One to eight consecutive bit parameter values are assigned to a single byte
starting with Lx.0 and continuing to Lx.7.
Byte, word, and double word values are assigned to local memory on byte
boundaries (LBx, LWx, or LDx).
In the Call Subroutine instruction with parameters, parameters must be arranged in
order with input parameters first, followed by input/output parameters, and then
followed by output parameters.
If you are programming in STL, the format of the CALL instruction is:
CALL subroutine number, parameter 1, parameter 2, ... , parameter
Error conditions that set ENO for Call Subroutine with parameters = 0:
SM4.3 (run-time), 0008 (maximum subroutine nesting exceeded)