Changing The Receive Mode - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Changing the receive mode

SP.SOCRMODE
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
This instruction changes the TCP receive mode and receive data size for the specified connection (invalid for UDP
communications connections).
Ladder
(U)
(s1)
(s2)
FBD/LD
EN
ENO
U
s1
s2
■Execution condition
Instruction
SP.SOCRMODE
Setting data
■Description, range, data type
Operand
Description
(U)
Dummy
(s1)
Connection number
(s2)
Start device where control data is stored
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B,
SB, FX, FY
(U)
(s1)
(s2)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=SP_SOCRMODE(EN,U,s1,s2);
Range
Data type
String
1 to 16
16-bit signed binary
Refer to the control data.
Word
Bit
Bit
Double word
Z
LT, LST,
LZ
LC
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.2 Socket Communications Instructions
Data type (label)
ANYSTRING_SINGLE
ANY16
ANY16_ARRAY
(Number of elements: 4)
BOOL
BOOL
Indirect
Constant
Others
specification
(U)
K, H
E
$
8
1103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents