3. Instructions
Sample program
If CIO 0.00 (start bit) and A202.08 (CJ2 Instructions Enabled Flag) are ON, W10.00 (executing) will turn
ON.
When W10.00 (Executing) turns ON, the ten words of data starting from D100 (D100 to D109) are sent
to the CPU Unit with node number 3 in the local network where they are written to ten words starting
from D200 (D200 to D209). If a response is not received within 10 seconds, the data will be resent up to
3 times.
If communications end normally, CIO 2.00 (execution completed) turns ON, and normal processing is
executed. If communications end in an error, CIO 2.01 (error end) turns ON, and error processing is
executed.
0.00
A202.08
CJ2 Instructions
Start bit
Enabled Flag
W10.01
Execution completed
W10.00
Executing
W10.00
2.00
Executing
Execution
Error end
completed
Error end
Timing Chart
1
Start bit
CIO 0.00
0
1
Executing
W10.00
0
SEND2 started
Execution
1
completed
CIO 2.00
0
1
Execution
completed
0
W10.01
888
KEEP
W10.00
SEND2
S
D100
D
D200
C
D300
I
2
2.01
Normal
processing
2.01
Error
processing
W10.01
Execution completed
Communications in progress
SEND2 completed
C: D300
0 0 1 0
Number or words to send: 10 words
C+1: D301
0 0 0 0
Transmit to the local network and the device itself
C+2: D302
0 3 0 0
Node number 03, unit address 00 (CPU Unit)
C+3: D303
0 0 0 3
Response requested, 3 retries
C+4: D304
0 1 0 0
Response monitoring time: 0064 hexadecimal (10 seconds)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers