Omron CQM1H-SCB41 operation manual General-purpose Command 2 4000-series Sequence No

Models: CQM1H-SCB41

1 421
Download 421 pages 6 Kb
Page 351
Image 351

3Z4L Laser Micrometer Protocol

Appendix K

 

 

 

General-purpose Command 2 (4000-series) (Sequence No. 445)

This general-purpose command is used to send data with a specified data length, and receive back receive data other than OK. The terminator (CR) is automatically attached to the send data.

Send Data Word Allocation (2nd Operand of PMCR)

First word of

+0

send data

+1

 

 

+2

 

+3

Number of send data words

Send data byte length

Send data

Send data

+128

+129

D

D

Send data

Send data

CR

 

 

Offset

Contents (data format)

Data

 

 

 

+0

Number of send data words

0003 to 0129

 

(4 digits BCD)

 

 

 

 

+1

Send data byte length

0001 to 0255

 

(4 digits BCD)

The number of bytes of send data

 

 

excluding the terminator (CR)

 

 

 

+2 to

Send data (ASCII)

Send data up to 255 bytes maximum

+129

 

Specify in ASCII.

 

 

Receive Data Word Allocation (3rd Operand of PMCR)

Receive data

+0

storage words

+1

 

 

+2

Number of receive data words

Receive data

Receive data

+126

+127

D

D

Receive data

Receive data

Offset

Contents (data format)

Data

 

 

 

+0

Number of receive data words

0001 to 0128

 

(4 digits BCD)

 

 

 

 

+1 to

Receive data (ASCII)

When the receive data exceed 254 bytes,

+127

 

only 254 bytes are stored.

 

 

 

347

Page 351
Image 351
Omron CQM1H-SCB41 operation manual General-purpose Command 2 4000-series Sequence No