EasyManua.ls Logo

Mitsubishi Q02CPU

Mitsubishi Q02CPU
692 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9
DEVICE EXPLANATION
9.11 Other Devices
9.11.5 Macro instruction argument device (VD)
9
- 94
9
Device Explanation
10
CPU Module Processing
Time
11
Procedure for Writing
Program to CPU Module
AppendicesIndex
9.11.5 Macro instruction argument device (VD)
(1) Definition
Macro instruction argument devices are used with ladders registered as macros.
When a VD setting is designated for a ladder registered as a macro, conversion to
the designated device is performed when the macro instruction is executed.
(2) Designating macro instruction argument devices
Specify the devices transferred from sequence programs to macro registration
ladders as macro instruction argument devices among the devices used in the
ladders registered as macro with GX Developer.
Designate devices that correspond to the macro argument devices used in the macro
registration ladders in ascending order, when using macro instructions in a sequence
program.
Diagram 9.87 Designating the macro instruction argument device
Transfer to VD2
VD0MOV
VD2
VD0> VD1
D0M.MAX
D1
R0
Transfer to VD1
Transfer to VD0
VD1MOV VD2VD0<= VD1
Name of ladder registered as a macro
Actual sequence program executed at CPU module
Sequence program
D0MOV R0
D0>D1
D1MOV R0
D0<= D1
Ladder registered as a macro
(registration name: MAX)

Table of Contents

Other manuals for Mitsubishi Q02CPU

Related product manuals