261
RCV
D20
D200
K2
S1·
S2·
n
M1
Data receiving instructions, M1's rising edge receives data once.
Communication port. Scope: K0 ~ K5. Port0, Port1, Port2 or Port2-RS232 or Port2-
RS485, Port3, Port4, Port5.
After receiving the data, the "received" flag SM163 (communication port 2) is set on.
Start
End
Data
M1
SM163
Receive
data
Set OFF
manually
When the buffer number is 8 bits, the received data is only stored in low bytes, so D200
= the number of bytes to be received * 2, for example, to receive 8 bytes of data, stored
in the low bytes of the eight registers D20-D27 in turn, at this time, D200 should be set
to 16.
When the buffer number is 16 bits, the received data is stored in a complete register, so
D200 = the number of bytes to be received, for example, to receive 8 bytes of data,
stored in the four registers of D20-D23 in turn, at this time, D200 should be set to 8.
And when receiving, low bytes are before high bytes.
Release serial port [RCVST]
1.
Instruction overview
Release the specified serial port.
Release serial port [RCVST]
16-bit
instruction
RCVST
32-bit
instruction
-
Execution
condition
Normally ON/OFF, rising
edge triggering
Suitable
model
XD, XL
Hardware V3.2.3 and higher version
Software
V3.2.2 and higher version
2.
Operand
Function and action
Содержание 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 ...