172
Ladder Library Function
Section 7-12
When a ladder library has been created with "partial programs (subroutine
program group)", MCRO mode (called and executed with MCRO instruction)
is used to execute the library.
Execution in Boot Mode
The ladder library stored in the Flash memory is opened and executed at
starting an operation.
Follow the procedure below to execute a ladder library in Boot mode:
1.
Set the unit to "program" mode.
2.
Set "ladder library execution mode (DM 6624)" of the unit setup area in the
unit to 5A5A Hex.
3.
Set the unit to "RUN" mode.
Execution in MCRO Mode
MCRO instruction calls a ladder library out of programs and executes it. To
specify a ladder library to be executed, set the subroutine No. of MCRO
instruction to the value of "subroutine No. specified in the program that will
become a ladder l 200".
Follow the procedure below to execute a ladder library using MCRO instruc-
tion:
1.
Set the unit to "program" mode.
2.
Set "ladder library execution mode (DM 6624)" of the unit setup area in the
unit to A5A5 Hex.
3.
Create a program to call the ladder library with CX-Programmer or the Pro-
gramming Console.
MCRO mode
Boot mode
MCRO
200
SBN
000
RET
END
RAM
Dummy subroutine
Encapsulated
program
Flash memory
RET
END
RAM
Flash memory
The ladder library is executed
at starting an operation.
Encapsulated
program
Содержание 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: ......