Omron CQM1H-SCB41 Operation Manual page 120

Sysmac cqm1h series serial communications board
Hide thumbs Also See for CQM1H-SCB41:
Table of Contents

Advertisement

Using No-protocol Communications
RECEIVE – RXD( ) in Noprotocol Mode
Control Word: C
RXD( )
15
00
0
0
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.
Digit 0 = 0
MSB LSB
D
1
D+1
3
D+2
5
D+3
7
• If the value of N is larger than the number of receive bytes, only the num-
ber 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.
First destination word
D
Control word
C
Number of bytes
N
(4 digits BCD, 0000 to 0256)
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.)
2
D
4
D+1
6
D+2
8
D+3
Section 6-4
Digit 0 = 1
MSB LSB
2
1
4
3
6
5
8
7
105

Advertisement

Table of Contents
loading

Table of Contents