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