![background image](http://html1.mh-extra.com/html/omron/cs1w-hca12-v1/cs1w-hca12-v1_operation-manual_741977188.webp)
168
Ladder Library Function
Section 7-12
■
Encapsulating an Entire Program as a lAdder Library
Creating a Ladder Library
Executing the Ladder Library
7-12-3 Features of the "Ladder Library"
The ladder library has the following features:
• In encapsulating ladder programs as a ladder library, the objects compiled
with RUN initials are saved to the Flash memory.
• The ladder software assets can be protected from third parties. The "Lad-
der library" cannot be read from a CX-Programmer or a programming
console. Therefore, it is possible to hide the control process in ladder pro-
grams.
• In executing the functions with a ladder software, it feels as if executing
functions built-in in the unit beforehand (program-less operations).
• The ladder library is saved to the Flash memory in the unit.
• The main program can give data to the ladder library. As well as subrou-
tine programs using the normal MCRO instruction, the same functions as
the subroutine call with arguments using argument area for MCRO
instruction (SR 220 to 224) and returned value area for MCRO instruction
(SR 225 to 229) has are available.
Note
To release the ladder library mode, set "ladder library execution mode (DM
6624)" of the unit setup area to 0000 Hex and turn the power OFF once, then
ON again, or restart the unit.
RAM
ON
Entire program
Unit setup area
Encapsulating
Ladder library
set flag
Customizable Counter Unit
Flash memory
Ladder
library
RAM
Entire program
Unit setup area
Customizable Counter Unit
Ladder
library
Flash memory
The ladder library
executed at starting
an operation.
Summary of Contents for CS1W-HCA12-V1
Page 2: ......
Page 6: ...vi...
Page 20: ...xx Conformance to EC Directives 7...
Page 38: ...18 Models and System Configurations Section 1 2...
Page 78: ...58 Fail safe Circuits Section 3 5...
Page 138: ...118 AR Area Section 6 4...
Page 204: ...184 Improved Instructions Section 7 14...
Page 222: ...202 Cycle Time Section 8 3...
Page 240: ...220 Troubleshooting Flowcharts Section 9 5...
Page 244: ...224 Precautions when Using the CX Programmer Appendix A...
Page 252: ......
Page 253: ......