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
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...