173
Ladder Library Function
Section 7-12
4.
Transfer the created program to the unit.
5.
Set the unit to "RUN mode".
Note
1.
The "ladder library" in Boot mode stores the information of the unit setup
area. Therefore, the ladder library called out from programs is executed fol-
lowing the setting of the unit setup area in the created program. The "lad-
der library" in MCRO mode stores the allocation of extended special
instructions as information, however, the setting of the unit setup area is
executed following the setting at creating the main program. Additionally,
when executing the "ladder library" in Boot mode, information on allocation
of the extended special instructions can be checked using peripherals.
2.
Since the "ladder library" execution in MCRO mode is operated through
ROM, the execution speed may decrease slightly depending on the pro-
gram contents.
7-12-7 Checking the Name of a Ladder Library
The name of a ladder library saved in the Flash memory can be checked.
Follow the procedure below to check the name:
1.
Set the unit to "program" mode (No error should be present).
2.
Turn "library name read (SR 252 bit 09)" of the unit setup area in the unit
OFF once, then ON again. At this point, the library name in the Flash mem-
ory is stored in SR 220 to 223 of the unit.
3.
Monitor the SR 220 to 223 of the unit using CX-Programmer.
Note
Once a ladder library is created, the programs created in the process cannot
be read or edited. Therefore, when programs are created for a ladder library,
make sure to save them as the master program with peripherals, or save them
to the memory card using the back-up function of the unit.
Additionally, perform thorough trial operations of the programs that will
become a ladder library before actually making them a library.
Main prog
ram
Call the ladder library program with
a subroutine number 200 higher
than the one used when creating
the ladder library program.
For example, if subroutine number
030 was used when creating the
ladder library program, use
subroutine number 230.
A dummy subroutine
program is required.
Содержание CS1W-HCA12-V1
Страница 2: ......
Страница 6: ...vi...
Страница 20: ...xx Conformance to EC Directives 7...
Страница 38: ...18 Models and System Configurations Section 1 2...
Страница 78: ...58 Fail safe Circuits Section 3 5...
Страница 138: ...118 AR Area Section 6 4...
Страница 204: ...184 Improved Instructions Section 7 14...
Страница 222: ...202 Cycle Time Section 8 3...
Страница 240: ...220 Troubleshooting Flowcharts Section 9 5...
Страница 244: ...224 Precautions when Using the CX Programmer Appendix A...
Страница 252: ......
Страница 253: ......