Omron SYSMAC CP Series Instruction & Reference Manual page 414

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions
Sample program
Receiving data
This example shows how to receive data from 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.
2-378
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)
Monitor
F150-M05L
Console
F150-KP
Programmable Controller
SYSMAC
CJ1G-CPU
CJ1H-CPU
CJ1M-CPU
CP1E CPU Unit Instructions Reference Manual(W483)
H
H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents