Programming Example
If CIO 0.01 turns ON while the RS-232C Port Send Ready Flag (A392.05) is ON, three bytes of data
starting from the upper byte of D10 are sent without conversion to the Code Reader connected to the
CPU Unit's built-in RS-232C port. These three bytes contain "@GO", which is the normal read
command used as a trigger input to the Code Reader from the RS-232C line.
0.01
0.02
Controlling Signals
CS/CJ/NSJ Series Instructions Reference Manual (W474)
A392.05
S
RS-232C Port Send
Ready Flag
C
N
A392.06
RS-232C Port Receive
Ready Flag
Upper byte
Lower byte
15
12
11
8
7
4
S: D10
4
0
5
D11
4
E
0
15
12
11
8
7
4
C: D20
0
0
0
RS and ER Signal Control
#0: No RS and ER signal control .
Serial Port Specifier
#0: CPU Unit's built-in RS-232C port
Always #0.
0.01
TXD
S
D300
C
D400
N
15
14
13
12
S: D300
1
0
0
0
15
12
11
8
7
C: D400
0
0
Serial Port Specifier
#0: CPU Unit's built-in RS-232C port
Always #0.
@TXD
D10
D20
&3
@RXD
D100
D20
A393
RS-232C Port
Reception Counter
3
0
@ G L
Sent
3
40 53 4E
0
Three bytes
3
0
0
Byte Order
#0: Most significant bytes first
When CIO 0.01 turns ON, the
status of bit 15 of D300 is output
as the RS signal and the status
of bit 14 is output as the ER
&0
signal.
Turns OFF ER signal.
Turns ON RS signal.
4
3
0
3
0
Byte Order
#0: Most significant bytes first
RS and ER Signal Control
#3: RS and ER signal control
3. Instructions
ED
859
3
Need help?
Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?
Questions and answers