15.1 UNITSEL (Specification of a Communication Unit Slot Port)
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
W
W
X
Y
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-2
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
U
F
●
●
WUME-FP7CPUPGR-12
Index
modifie
r
●
●