![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301031.webp)
991
Serial Communications Instructions
Section 3-24
Set the PLC communications settings to the same values in the PLC Setup.
Only the end code needs to be set.
Programming Example
If CIO 000001 turns ON while the RS-232C Port Send Ready Flag (A39205)
is ON, three bytes of data starting from the upper byte of D00010 are sent
without conversion to the Code Reader connected to the CPU Unit’s built-in
RS-232C port. These three bytes contain “@GL”, which is the normal read
command used as a trigger input to the Code Reader from the RS-232C line.
Data bit length
8 bits
Parity
None
Stop bits
1
Start code
None
End code
#000D (CR)
Item
Setting
4
E
0
0
4
0
3
5
15
8
7
11
12
3
4
0
S: D00010
@TXD
D00010
D00020
00001
A39205
S
C
&3
N
RS-232C Port Send
Ready Flag
D00011
@RXD
D00100
D00020
00002
A39206
A393
RS-232C Port Receive
Ready Flag
RS-232C Port
Reception Counter
Always #0.
Serial Port Specifier
#0: CPU Unit's built-in RS-232C port
0
0
0
0
15
8
7
11
12
3
4
0
C: D00020
RS and ER Signal Control
#0:
No RS and ER signal control
.
Byte Order
#0:
Most significant bytes first
Three bytes
Lower byte
Upper byte
40 53 4E
ED
Sent
@ G L
Содержание 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 ...