![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301043.webp)
1003
Serial Communications Instructions
Section 3-24
Communications Settings
The communications settings of the Code Reader as given in the following
table. These are the default settings.
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 000002 turns ON while the RS-232C Port Send Ready Flag (A39205)
is ON, the number of bytes of reading results specified in the RS-232C Port
Reception Counter (A393) are read from the Code Reader connected to the
CPU Unit’s built-in RS-232C port and stored starting from the upper byte of
D00100.
Item
Setting
Communications mode
No-protocol
Baud rate
38,400 bps
Data bit length
8 bits
Parity
None
Stop bits
1
Start code
None
End code
#000D (CR)
2
F
0
3
3
0
6
3
15
8
7
11
12
3
4
0
S: D00100
TXD
D00010
D00020
00001
A39205
S
C
&3
N
D00101
RXD
D00100
D00020
00002
A39206
A393
0
0
0
0
15
8
7
11
12
3
4
0
C: D00020
31
20
31
D00102
4F
4D
4F
52
D00103
37
37
36
37
D00104
=”06/08/11
Received
30
36
2F
30
38
2F
31
31
RS-232C Port Send
Ready Flag
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
RS and ER Signal Control
#0:
No RS and ER signal control
.
Byte Order
#0:
Most significant bytes first
Lower byte
Upper byte
Содержание 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 ...