![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301030.webp)
990
Serial Communications Instructions
Section 3-24
■
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
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 as given in the following
table. These are the default settings.
C: D00400
S: D00300
3
0
1 0 0 0
15 14 13 12
0
0
RS and ER signal control
3: RS and ER signal control.
ER signal set to 0
RS signal set to 1
TXD
D00300
D00400
&0
S
C
N
000001
A39205
RS-232C port's
Send Ready Flag
Byte order
0: Most significant byte to least significant byte
Always 0
Serial port specifier
0: CPU Unit's RS-232C port
Monitor
F150-M05L
Console
F 150-KP
Console Cable
Programmable Controller
SYSMAC
CJ 1G-C PU
@@
H
CJ 1H-CPU
@@
H
CJ 1M-C PU
@@
XW2Z-200T (2 m)
XW2Z-500T (5 m)
V530-R150V3
Camera
F150-SLC 20
RS-232C Cable
Power Supply
(24 VDC)
Sync Sensor
Item
Setting
Communications mode
No-protocol
Baud rate
38,400 bps
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...