Omron CQM1H-SCB41 Computer Hardware User Manual


 
6-4SectionUsing No-protocol Communications
103
RECEIVE RXD(––) in No-protocol Mode
First destination word
Control word
Number of bytes
(4 digits BCD, 0000 to 0256)
RXD(––)
D
C
N
Control Word: C
Byte order 0: Most significant bytes first
1: Least significant bytes first
Not used. (Set to 0.)
Port 0: RS-232C port on CPU Unit
1: Port 1 on Serial Communications Board
2: Port 2 on Serial Communications Board
Not used. (Set to 0.)
15 00
00
The specified number of bytes are read from the specified port as specified in the
control word and stored starting at D.
Up to 256 bytes of data can be read each time the instruction is executed.
The bytes of received data will be received in the following order.
MSB LSB
D12
D+1 3 4
D+2 5 6
D+3 7 8
Digit 0 = 0
MSB LSB
D21
D+1 4 3
D+2 6 5
D+3 8 7
Digit 0 = 1
If the value of N is larger than the number of receive bytes, only the number of
bytes actually received will be read into memory.
Communications parameters for the Serial Communications Board are set in
the PC Setup. Refer to the CQM1H Programming Manual for details.