240
Serial port: K0~K5. K0: Port0 (RS232), K1: Port1(RS232), K2: Port2(RS485), K3:
Port3(left extension port), K4: Port4(above extension port 1), K5: Port5(above
extension port 2).
Operands S3: K1~K2000, the max coil quantity is 2000.
When X0 is ON, COLR instruction is executed. When the instruction starts to execute,
the Modbus read and write flag SM160 (serial port 2) is set on; when the execution is
completed, SM160 (serial port 2) is set OFF. If a communication error occurs and the
number of resend is set, it will be automatically resend. Users can check the relevant
registers to determine the cause of the error. The execution result of Modbus read and
write instructions of serial port 2 is in SD160.
Input coil read [INPR]
Summary
Read the specified station’s input coil status to local device.
Input coil read[INPR]
16 bits
instruction
INPR
32 bits
instruction
-
Execution
condition
Normally ON/OFF, rising
edge
Suitable
models
XD, XL
Hardware
requirement
-
Software
requirement
-
Operands
Operands Function
Type
S1
Specify remote communication station no.
16 bits, BIN
S2
Specify remote coil start address number
16 bits, BIN
S3
Specify coil number
16 bits, BIN
D1
Specify start address number of local receipt
coils
bit
D2
Specify serial port number
16 bits, BIN
Suitable soft components
Operands
System
X
Y
M*
S*
T*
C*
Dn.m
D1
● ● ●
●
●
●
Bit
Operands
System
Constant
Module
D*
FD
TD*
CD*
DX
DY
DM*
DS*
K /H
ID
QD
S1
●
●
●
●
●
S2
●
●
●
●
●
S3
●
●
●
●
●
D2
K
Word
Содержание XD Series
Страница 1: ...XD XL series PLC User manual Instruction WUXI XINJE ELECTRIC CO LTD Data No PD05 20201022 3 5 ...
Страница 210: ...209 ...
Страница 314: ...313 B Double click the middle part to modify ...