V500/V520 Bar Code Reader Protocol

Appendix J

 

 

 

Protocol Configuration

The configuration of the V500/V520 Bar Code Reader Protocol is shown below.

Sequence

Communications

Function

Ladder interface

No.

sequence name

 

 

 

 

Send word

Receive word

 

 

 

 

 

 

allocation

allocation

350

BCR read start

Instructs the Reader to start a BCR read.

No

No

 

 

 

 

 

351

BCR read stop

Instructs the Reader to stop a BCR read.

No

No

 

 

 

 

 

352

Data read

Data read by the Reader is received and

No

Yes

 

 

saved in the receive words.

 

 

 

 

 

 

 

353

Complete data read

Instructs the Reader to start a read. After

No

Yes

 

 

the data read by the Reader is received

 

 

 

 

and saved to the receive words, reading is

 

 

 

 

stopped.

 

 

 

 

 

 

 

354

BCR function write

Writes the operation mode and read func-

Yes

No

 

(V500)

tions.

 

 

 

 

 

 

 

355

BCR function read

Reads the operation mode and read func-

No

Yes

 

(V500)

tions.

 

 

 

 

 

 

 

356

Log data output request

Requests output of log data sent to host.

Yes

Yes

 

(V500)

 

 

 

 

 

 

 

 

357

Preset data set (V500)

Writes preset data.

Yes

No

 

 

 

 

 

358

BCR connection con-

Confirms if the Reader is correctly set.

No

No

 

firmation (V500)

 

 

 

359

Log data clear (V500)

Clear log data.

No

No

 

 

 

 

 

360

Continuous data read

Performs the following operations repeat-

No

Yes

 

(scan) (V500)

edly: starts reading, receives data read by

 

 

 

 

the Reader, saves the data to the receive

 

 

 

 

words by the scan method.

 

 

 

 

 

 

 

361

Continuous data read

Performs the following operations repeat-

No

Yes

 

(interrupt) (V500)

edly: starts reading, receives data read by

 

 

 

 

the Reader, saves the data to the receive

 

 

 

 

words by the interrupt method (interrupt

 

 

 

 

No.100).

 

 

 

 

 

 

 

362

BCR initialize

Clears the log, confirms BCR connection,

Yes

No

 

 

and sets BCRs.

 

 

363

Continuous data read

Performs the following operations repeat-

No

Yes

 

(scan) (V520)

edly: starts reading, receives data read by

 

 

 

 

the Reader, saves the data to the receive

 

 

 

 

words by the scan method.

 

 

 

 

 

 

 

364

Continuous data read

Performing the following operations repeat-

No

Yes

 

(interrupt) (V520)

edly: starts reading, receives data read by

 

 

 

 

the Reader, saves the data to the receive

 

 

 

 

words by the interrupt method (interrupt

 

 

 

 

No.100).

 

 

 

 

 

 

 

365

General-purpose com-

Used to send data of a specified data

Yes

No

 

mand 1

length, and receive only ACK as the re-

 

 

 

 

ceive data.

 

 

 

 

 

 

 

366

General-purpose com-

Used to send data of a specified data

Yes

Yes

 

mand 2

length, and receive ACK together with the

 

 

 

 

return of other receive data. The frame for-

 

 

 

 

mat of the receive data, however, has to

 

 

 

 

contain STX and ETX.

 

 

 

 

 

 

 

Note Ladder Interface Settings

 

YES:

User settings are required for the 2nd and 3rd operands of PMCR.

NO:

Send word allocation:

Set a dummy word address for the 3rd operand (D).

 

Receive word allocation:

Set the constant 0000 for the 2rd operand (S).

306

Page 310
Image 310
Omron CQM1H-SCB41 operation manual Appendix J