362
Automatic Loading
Section 6-16
When debugging, check the Error Flags from the ladder program.
Transfer Data (DM)
6-16-2 Related Bits in the PLC Interface Area
For details on the PLC Interface Area, refer to
5-3 PLC Interface Area
.
Autoloading Flag
This flag turns ON when the data for the specified job number begins to be
downloaded as the result of executing the IOWR instruction. It turns OFF
when all of the data for that job number has been downloaded.
Autoloading Error Flag
and Error Reset Bit
The Autoloading Error Flag turns ON when an error occurs during automatic
loading. When the Autoloading Error Reset Bit is turned ON, the Autoloading
Error Bit will turn OFF. Unless the cause of the error has been cleared, how-
ever, the Autoloading Error Flag will turn back ON again the next time the
automatic loading is executed.
If communications are not restarted by the time the Autoloading Time Up set
in the Unit parameters has elapsed, an error will occur and the Autoloading
Execution condition
(Work bit)
(Work bit)
(Work bit)
This is the special address (6104) with the function of
specifying the job number for automatic loading.
17D8 Hex (6104)
Specifies the first source word.
Specifies the destination unit number 0 and specifies
two words of data to be transferred.
DIFU
R1
R3
R2
Job number: 100
Bit name
Model
Words
Bit
Description
Autoloading Error
Reset Bit
MC421
MC221
n
n
05
↑
: Error reset for automatic loading
Autoloading Flag
MC421
MC221
n+10
n+18
04
↑
: Automatic loading begun.
↓
: Automatic loading finished.
Autoloading Error Flag
MC421
MC221
n+10
n+18
05
↑
: Error occurred during automatic loading
↓
: Automatic loading error reset turned ON.
Job number
Automatic loading command
(IOWR instruction)
Autoloading Flag
(n+10, 04; n+18, 04)
When automatic loading is completed normally.
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...