Using No-protocol Communications

Section 6-4

RECEIVE – RXD(––) in No-protocol Mode

RXD(––)

D

C

N

First destination word

Control word

Number of bytes

(4 digits BCD, 0000 to 0256)

Control Word: C

1500

0 0

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

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

2

D+1

3

4

D+2

5

6

D+3

7

8

 

 

 

Digit 0 = 1

MSB LSB

D

2

1

D+1

4

3

D+2

6

5

D+3

8

7

 

 

 

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.

103

Page 113
Image 113
Omron CQM1H-SCB41 operation manual Receive RXD-- in No-protocol Mode