Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 875

Table of Contents

Advertisement

Example Programming
Sending Data to a Code Reader
This example shows how to send data to the V530-R150V3 2D Code Reader as an example of
communicating with an external device.
Hardware Configuration
Sync Sensor
Power Supply
(24 VDC)
Camera
F150-SLC20
In this example, the external device is connected to the RS-232C port built into the CPU Unit.
First, set the reading conditions for the Code Reader.
Communications Settings
The communications settings of the Code Reader are given in the following table. These are the default
settings.
Item
Communications mode
Baud rate
Data bit length
Parity
Stop bits
Start code
End code
Set the PLC communications settings to the same values in the PLC Setup. Only the end code needs to
be set.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Console Cable
RS-232C Cable
XW2Z-200T (2 m)
XW2Z-500T (5 m)
V530-R150V3
Setting
No-protocol
38,400 bps
8 bits
None
1
None
#000D (CR)
3. Instructions
Monitor
F150-M05L
Console
F150-KP
Programmable Controller
SYSMAC
CJ1G-CPU@@H
CJ1H-CPU@@H
CJ1M-CPU@@
3
839

Advertisement

Table of Contents
loading

Table of Contents