Mitsubishi MELSEC Q Series Programming Manual page 535

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Program Example
(1) The following program reads the digital value of CH1 of the A68AD mounted at I/O numbers
040 to 05F into D0 when X0 is turned ON. (Reads 1 word of data from address 10 of the
buffer memory.)
[Ladder Mode]
(2) The following program reads the X-axis present value of the AD71 mounted at the I/O
numbers 040 to 05F into D0 and D1, when X0 is turned ON. (Reads data in 2 words from
the address 602 and 603 of the buffer memory.)
[Ladder Mode]
Remark
1. The value of n1 is specified by the upper 3 digits of hexadecimal 4-digit
QCPU
LCPU
2. QCPU and LCPU establishe the automatic interlock of the FROM/DFRO
representation of the head I/O number of the slot in which an intelligent
function module is mounted.
Power
supply
CPU
QX10 QX10
QX10 QX10
module
0000
0010
0020
H
H
CPU module
(L26CPU-BT)
Power
supply
CPU Built-in
Built-in
LX40
module
I/0
CC-Link
C6
0000
0010
0030
H
H
instructions.
[List Mode]
Step
Instruction
[List Mode]
Step
Instruction
Q68
QY41
QY10 QY10
ADV
P
0030
0040
0050
0070
0080
H
H
H
H
H
Specify the head I/O number to be read
by K4 or H4.
LX40
LX40
LX40
L60
LY10
C6
C6
C6
AD4
0040
0050
0060
0070
0090
H
H
H
H
H
Specify the head I/O number to be read
by K6 or H6.
FROM(P),DFRO(P)
Device
Device
Head I/O number configured in
H
the I/O assignment setting
LY10
LY10
R2
R2
R2
00A0
00B0
Head I/O number
H
H
H
configured in the
I/O assignment
setting
7-161
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents