7-22
7.8 SOCRMODE Instruction
SP_SOCRMODE
7.8 SOCRMODE Instruction
SP_SOCRMODE
Function
This instruction changes the TCP receive mode (unavailable for a UDP connection) and receive
data size.
SP_SOCRMODE
Executing condition
:
indicates the following instruction.
SP_SOCRMODE
Input argument EN:
Executing condition :Bit
Un:
Dummy ("U0") :String
s1:
Connection number (1 to 16) :ANY16
s2:
Variable that stores control data :Array of ANY16 [0..3]
Output argument ENO:
Execution result :Bit
Setting
data
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word
QnUDE(H)
LCPU
SP_SOCRMODE
EN
ENO
s1
ST
SP_SOCRMODE
(EN, Un, s1, s2);
ENO:=
Un
s2
Structured ladder/FBD
s1
s2