S_SOCRDATA
7.9
SOCRDATA Instruction
S(P)_SOCRDATA
Structured ladder
S_SOCRDATA
EN
Un
s1
s2
n
Input argument
EN:
Un:
s1:
s2:
n:
Output argument
ENO:
d:
Function
• This instruction reads data for the specified number of words from the socket communication
receive data area of a specified connection, and stores it.
7.9 SOCRDATA Instruction
7-24
ENO
ENO:=
S_SOCRDATA
d
Executing condition
Dummy ("U0")
Connection number (1 to 16)
Variable that stores control data
Number of read data (1 to 1024 words)
Output status
Variable that stores read data
Internal device
Setting
data
Bit
Word
−
s1
−
s2
−
n
−
d
P:Executing condition :
ST
S_SOCRDATA
SP_SOCRDATA
(EN, Un, s1, s2, n, d);
:Bit
:String
:ANY16
:Array of ANY16 [0..1]
ANY16
:Bit
ANY16
J
\
R, ZR
U
Bit
Word
−
−
−
−
S_SOCRDATA
QnUDE(H)
L CPU
indicates the following instructions.
Zn
Constant Others
\G
−
−
−
−
−
−