268
7 SOCKET COMMUNICATION FUNCTION INSTRUCTION
7.6 Changing Receive Mode
7.6
Changing Receive Mode
SP_SOCRMODE
The following instruction can go in the dotted squares.
SP_SOCRMODE
■
Executing condition
■
Argument
Processing details
This instruction changes the TCP receive mode (unavailable for a UDP connection) and receive data size.
Instruction
Executing condition
SP_SOCRMODE
Input/output
argument
Name
Description
Data type
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
(s1)
(s2)
QnUDE(H)
LCPU
SP_SOCRMODE
EN
ENO
s1
ST
SP_SOCRMODE
(EN, Un, s1, s2);
ENO:=
Un
s2
Structured ladder/FBD
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......