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.
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.