![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681029.webp)
990
Serial Communications Instructions
Section 3-24
■
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.
■
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.
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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...