7-18
7.6 SOCCINF Instruction
SP_SOCCINF
Program Example
The following program reads connection information of the connection number 1.
[Structured ladder/FBD]
[ST]
IF(Var_Flag_Inst=TRUE)THEN
SP_SOCCINF(TRUE, "U0", 1, Var_ControlData, Var_Connection);
(* Reads data from the connection number 1 *)
END_IF;
Reads data from
the connection
number 1