Mitsubishi MELSEC Q Series Programming Manual page 103

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

Advertisement

2) Devices with limits for use with index registers
Device
T
C
Remark
For timer and counter present values, there are no limits on index register
numbers used.
X0
SM400
X1
SM400
(c) A case where Indexing has been performed, and the actual process device, would be
as follows:
(When Z0
20 and Z1
Ladder Example
X0
MOV K20
MOV K 5
X1
MOV K2X50Z0 K1M38Z1
X0
MOV K20
MOV K
X1
MOV D0Z0
Fig. 3.7 Ladder Example and Actual Process Device
(3) Indexing with 32-bit (Universal model QCPU (excluding Q00UJCPU) and LCPU)
A method of specifing index registers in indexing with 32-bit can be selected from the
following two methods.
• Specifing the index registers' range used for indexing with 32-bit.
Meaning
• Only Z0 and Z1 can be used for
timer contacts and coils.
• Only Z0 and Z1 can be used for
counter contacts and coils.
K100
T0
T0Z4
K4Y30
BCD
K10
C100
K2Y40
BCD
C100Z6
5)
X1
Z0
Description
Z1
X1
Z0
Description
Z1
5
D0Z0
K3Y12FZ1
K3Y12FZ1
Application Example
T0Z0
K100
T1Z1
C0Z1
K100
C1Z0
Value set for timer
Present value of timer
Value set for counter
Present value of counter
Actual Process Device
MOV K2X64
K1M33
K2X(50 + 14) = K2X64
K2X50Z0
Converts K20 into a hexadecimal number.
K1M38Z1
K1M(38 - 5) = K1M33
K3Y12A
MOV D20
D (0 + 20) = D20
K3Y(12F - 5) = K3Y12A
Hexadecimal number
1
2
3
4
2
6
7
8
3-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents