
116
Troubleshooting Unit Errors
Section 6-5
Ladder Programming Example for Setting Output Data
6-5
Troubleshooting Unit Errors
If an error occurs in an Analog I/O Board, the corresponding flag in the Expan-
sion Board Error Flags AR 0200 to AR 0207 will turn ON. These flags are allo-
cated one at time starting from AR 0200, and are allocated to the Boards in
the order they were connected.
• Expansion I/O Boards are all allocated one flag per Board.
• Analog I/O Boards are allocated flags according to the model, as follows:
CPM2B-MAD21: 1 flag
CPM2B-MAD42: 2 flags
CPM2B-MAD63: 3 flags
Therefore, if the CPM2B-MAD42 and CPM2B-MAD63 are connected, there
will be more than one Error Flags for the Board, so take an OR of these flags
to detect an error.
The conversion source data for analog output 1 in DM 0100 is written
to IR 014.
Execution
condition
TIM005
TIM005
#0002
MOV(21)
DM0100
014
The conversion source data for analog output 2 in DM 0101 is written
to IR 015.
MOV(21)
DM0101
015
The conversion source data for analog output 3 in DM 0102 is written
to IR 016.
MOV(21)
DM0102
016
Always ON Flag
25313
Approximately 2 50 ms is required from immediately
after turning ON the power until the D/A conversion data is enabled,
so use the TIM 005 bit to delay execution by 100 to 200 ms.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com