EasyManua.ls Logo

Xinje XD5 - Function and Action; Release Serial Port [RCVST]

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals