Omron CJ1W-SCU32 Operation Manual page 410

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

A Standard System Protocol
Continuous Data Read (Interrupt) (V520) (Sequence No. 364 (Hex
016C))
This sequence performs the following operations repeatedly: Instructs the Bar Code Reader to start
reading and receives the data read by the Bar Code Reader. The interrupt notification method is used
for the receive data and the interrupt No. is 100.
Send Data Word Allocation (3rd Operand of PMCR(260))
None.
Receive Data Word Allocation (4th Operand of PMCR(260))
The send data word allocation is similar to that of sequence No. 352 (Data Read).
Additional Information
• Since this sequence repeats itself within the sequence, once it is executed, it remains in the
execution state until cancelled.
• Even if execution is cancelled, the bar code still keeps reading. Execute sequence No. 351
(BCR Read Stop) to end the sequence.
• The reception wait time is not set for this sequence.
Precautions for Correct Use
Precautions for Correct Use
• Sequences No. 361 and No. 364 (Continuous Data Read with Interrupt) are not supported by
the CS1W-SCU@@(-V1) and CJ1W-SCU@@(-V1) Serial Communications Units. A protocol
macro syntax error will occur if an attempt is made to execute either sequence with a Serial
Communications Unit.
General-purpose Command 1 (Sequence No. 365 (Hex 016D))
This general-purpose command is used to send data with a specified data length, and receive back
only ACK. STX and ETX are automatically attached to the send data.
Send Data Word Allocation (3rd Operand of PMCR(260))
First word of
send data
Offset
+0
Number of send data words
(4 digits Hex)
+1
Send data byte length
(4 digits Hex)
+2 to
Send data (ASCII)
+249
Receive Data Word Allocation (4th Operand of PMCR(260))
None.
R-76
+0
Number of send data words
+1
Send data byte length
+2
Send data
Send data
+3
Send data
+248
Send data
+249
Contents (data format)
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
0003 to 00FA (3 to 250 decimal)
0001 to 01F0 (1 to 496 decimal)
The byte length of the send data excluding STX and ETX.
Describe send data up to 496 bytes (max.) by ASCII.
Data

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents