114
Sample Programming
Appendix B
Timing Chart (n = CIO 2000 + (10
×
(0 + 1)) = CIO 2010)
Note
1.
If communications with the Data Carrier fail or an error occurs, communications will be aborted at that
point, the error flags in the Results Information (word (n + 8)) will turn ON accordingly, and the error
code will be placed in the Processing Results Monitor (word (n + 9)). The previous read data will not
be changed.
2.
If an auto wait time is set and the set time expires while waiting for a Data Carrie, the command op-
eration will be aborted at that point, the Data Carrier Missing Error Flag (word (n + 8), bit 10) in the
Results Information will turn ON, and an error code will be placed in the Processing Results Monitor
(word (n + 9)).
3.
When the communications specification is set to repeat auto, either the Normal End Flag or the Error
End Flag will turn ON every scan for consecutive scans. The execution results can be correctly de-
termined by using the ON status of both the Normal End Flag and the Error End Flag in Unit Status.
4.
To confirm the execution results from the user program, use the ON status of the Normal End Flag or
Error End Flag in the Unit Status.
5.
Do not turn ON the Command Execution Bit during command execution (i.e., while the ID Busy Flag
is ON). It will be ignored.
1 scan
Read
Normal end
Normal end
Read data A
0000
Communications
processing
0000
Waiting for
Data Carrier
Waiting for
Data Carrier
1 scan
Communications
processing
Waiting for
Data Carrier
1 scan
Read data B
More than 15 s
elapsed.
Missing error
Command Execution Bit
Word n, bit 00
Command
Words (n+1) to (n+4)
Normal End
Word (n+7), bit 01
ID Busy
Resulting Information
Data storage area
Error End
Word (n+7), bit 02
Word (n+8)
Word (n+7), bit 00
Summary of Contents for CJ - 12-2004
Page 2: ...SYSMAC CS CJ Series ID Sensor Units Operation Manual Revised December 2004...
Page 3: ...iv...
Page 11: ...xii...
Page 55: ...36 Connections and Wiring Section 3 4...
Page 69: ...50 I O Data Allocations Section 4 3...
Page 91: ...72 Data Check Section 5 7...
Page 141: ...122 Sample Programming Appendix B...
Page 147: ...128 Revision History...