Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1029

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Serial Communications Instructions
000001
A39205
RS-232C port's
Send Ready Flag
C: D00400
S: D00300
Power Supply
(24 VDC)
Camera
F150-SLC 20
990
Example 2: Performing Signal Control
When CIO 000001 and the RS-232C port's Send Ready Flag (A39205) are
ON in the following example, the RS signal is set according to the status of
D00300 bit 15 and the ER signal is set according to the status of D00300 bit
14.
TXD
S
D00300
C
D00400
N
&0
0
0
Always 0
Serial port specifier
0: CPU Unit's RS-232C port
15 14 13 12
1 0 0 0
ER signal set to 0
RS signal set to 1
Example 3: 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
V530-R150V3
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.
3
0
Byte order
0: Most significant byte to least significant byte
RS and ER signal control
3: RS and ER signal control.
Console Cable
RS-232C Cable
XW2Z-200T (2 m)
XW2Z-500T (5 m)
Section 3-24
Monitor
F150-M05L
Console
F 150-KP
Programmable Controller
SYSMAC
CJ 1G-C PU@@H
CJ 1H-CPU@@H
CJ 1M-C PU@@

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents