7-12
7.4 SOCRCVS Instruction
S_SOCRCVS
Precautions
(1) Use the Built-in Ethernet port QCPU of which the function version is B or later and the first
five digits of the serial number are '11012' or higher.
(2) Use the LCPU other than L02SCPU and L02SCPU-P.
Program Example
The following program reads data received from the external device.
[Structured ladder/FBD]
[ST]
IF((Var_Flag_Inst=TRUE) &(SD1282.0=TRUE) &(SD1286.0=TRUE))THEN
S_SOCRCVS(TRUE, "U0", 1, D5000);
(* Reads data from the connection number 1 *)
END_IF;
Reads data from
the connection
number 1