End Command; Index Qualification - Mitsubishi Electric MELDAS C6 Programming Manual

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

6.2.3 END Command

The END command is automatically created in both a circuit mode and a list mode.

6.2.4 Index Qualification

(1) Index qualification
(a) Index qualification is an indirect setting made by using an index register.
When an index qualification is used in a sequence program, the device to be used will
become the device number designated directly plus the contents of the index register.
For example, if D2Z2 has been designated, and the content of Z2 is 3, D(2+3), or D5, will
become the designated device.
(b) There are 14 index registers, from Z0 to Z13.
Each index register can be set between –32768 and 32767.
Index qualification is as follows:
X0
X0
A case where index qualification has been performed, and the actual process device, would be as
follows:
(Example) When Z0 = 20 and Z1 = -5
Ladder example
X0
X1
X0
X1
6. Explanation of Commands
6.2 Command Formats
MOV K-1
Z0
MO
D10Z
D0
Index qualification
MOV
K20
Z0
MOV
K-5
Z1
MOV K100Z0 W53Z1
MOV K20
Z0
MOV K 5
Z1
MOV X50Z0
K1M38Z1
K2X50Z0
Ladder example and actual process device
- 98 -
Get other manuals https://www.bkmanuals.com
The value –1 is stored at Z0
The data D10Z0 = D{10 + (-1)} = D9,
is stored at D0.
Actual process device
X1
MOV K120
Description
K100Z0 ...... K(100+20) = K120
...... K(53 5)= W4E
W53
Hexadecimal number
X1
MOV K2X64
Description
K2X50Z ...... K2X(50+14) = K2X64
K20 is converted to
hexadecimal
K1M38Z1... ... K1M(38-5) = K1M33
W04E
K1M33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents