EasyManuals Logo
Home>Mitsubishi>Controller>QCPU (Q Mode)

Mitsubishi QCPU (Q Mode) User Manual

Mitsubishi QCPU (Q Mode)
456 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
Page #307 background imageLoading...
Page #307 background image
10 - 60 10 - 60
MELSEC-Q
10 DEVICES
10.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.
1
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.
Transfer to VD2
VD0MOV VD2VD0>VD1D0M.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
Sequence program Ladder registered as a macro (registration name: MAX
)
D0MOV R0D0
>D1
D1MOV R0D0<= D1
REMARK
1) 1 : With the macro instruction argument device, VD0 to VD9 can be used in one
ladder registered as a macro instruction.
2) The GX Developer read mode provides an option to view a program in macro
instruction format.(Choose "View" - "Macro Instruction format display" to view
macro instructions.)
Change of macro instruction display

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi QCPU (Q Mode) and is the answer not in the manual?

Mitsubishi QCPU (Q Mode) Specifications

General IconGeneral
BrandMitsubishi
ModelQCPU (Q Mode)
CategoryController
LanguageEnglish

Related product manuals