EasyManuals Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1042 background imageLoading...
Page #1042 background image
1002
Serial Communications Instructions Section 3-24
Examples
â–  Example 1: Basic Operation
When CIO 000000 is ON in the following example, data is received from the
RS-232C port and 10 bytes of data are stored starting in D00100.
â–  Example 2: Sending Data to a Code Reader
This example shows how to received data from the V530-R150V3 2D Code
Reader as an example of communicating with an external device.
Hardware Configuration
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.
D:
C: D00200
&10
00
Always 0
Stored
This example assumes that both a start and end
code have been specified in the PC Setup.
ST: Start code (e.g., 02 hex)
ED: End code (e.g., 03 hex)
Most signifi-
cant bytes
Least signif-
icant bytes
CS and DR signal monitoring
0: No CS and DR signal monitoring
Byte order
1: Least significant bytes first
Serial port specifier
0: CPU Unit's RS-232C port
D
C
N
RXD
D00100
D00020
&10
000000 A39206
Reception
Completed Flag
Monitor
F150-M05L
Console
F150-KP
Console Cable
Programmable Controller
SYSMAC
CJ1G-CPU@@H
CJ1H-CPU@@H
CJ1M-CPU@@
XW2Z-200T (2 m)
XW2Z-500T (5 m)
V530-R150V3
Camera
F150-SLC20
RS-232C Cable
Power Supply
(24 VDC)
Sync Sensor

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals