15.1 UNITSEL (Specification of a Communication Unit Slot Port)
■
Ladder diagram
■
List of operands
Operand Description
S1 Slot number of the unit
S2 COM port number or user connection number
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S1 ● ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ● ●
■
Outline of operation
● This instruction should be described immediately before the following communication
instructions, to specify the targets of execution.
GPTRNS, pGPSEND, GPSEND, GPRECV, SEND, RECV, PMSET, pPMSET, PMGET,
RDET, ETSTAT, IPv4SET, PINGREQ, CONSET, OPEN, CLOSE, NTPcREQ, NTPcSV,
FTPcSV, FTPcSET, FTPcLOG, FTPcREQ, FTPcCTL, HTTPcSV, HTTPcSET, HTTPcREQ,
HTTPcCTL, SMTPcBDY, SMTPcBRD, SMTPcSV, SMTPcADD, SMTPcSET, SMTPcREQ,
SMTPcCTL, EIPNDST, EIPSTART, EIPSTOP, EIP_IN, EIP_OT
● In the case of a CPU with built-in SCU, specify a slot number (U0) for [S1] and a COM port
number for [S2].
● In the case of a CPU with built-in ET-LAN, specify a slot number (U100) for [S1] and a
connection number for [S2].
● In the case of a serial communication unit, specify a slot number (U1 to 16) for [S1] and a
COM port number for [S2].
● This instruction obtains the type of slot specified by [S1], and checks that the communication
port number specified by [S2] falls within the available range. If the number is out of the
range, an error will occur.
● In the case of SCU, check that the specified communication port (COM port number) is
equipped with a communication cassette. If the specified COM port is not equipped with a
communication cassette, an error will occur.
15.1 UNITSEL (Specification of a Communication Unit Slot Port)
15-2 WUME-FP7CPUPGR-12