I/O No. Specification Device (U); Macro Instruction Argument Device (Vd) - Mitsubishi Electric MELSEC-Q00U(J)CPU User Manual

Table of Contents

Advertisement

4.12.3

I/O No. specification device (U)

The I/O No. specification device is used to specify I/O numbers in the intelligent function module dedicated
instructions.
(1) Specification method
Specify as shown below by using the intelligent function module dedicated instructions.
Remark
For details of the intelligent function module dedicated instructions, refer to the following.
Manual for the intelligent function module used
4.12.4

Macro instruction argument device (VD)

The macro instruction argument device (VD) is used with ladders registered as macros.
When a VD
setting is specified, the value is converted to the specified device when the macro instruction is
executed.
(1) Specification method
Among the devices used in the ladders registered as macros, specify a device used for VD. When using macro
instructions in the sequence program, specify devices that correspond to the macro instruction argument devices
used in the macro registration ladders in ascending order.
Sequence program
Command with the name of the ladder registered as a macro
414
GP.READ
Un
S1 S2 S3 D
M.MAX
D0
D1 R0
Passing to VD2
Passing to VD1
Passing to VD0
Sequence program that actually runs in the CPU module
>
D0
D1
<=
D0
D1
I/O No. specification device
(n: I/O No.)
Instruction name
I/O No. specification instruction
Ladder registered as a macro (registration name: MAX)
>
VD0
VD1
<=
VD0
VD1
MOV
D0
R0
MOV
D1
R0
MOV
VD0
VD2
MOV
VD1
VD2

Advertisement

Table of Contents
loading

Table of Contents