End Command; Index Ornament - Mitsubishi Electric MELDAS 60 Series Programming Manual

Plc programming
Hide thumbs Also See for MELDAS 60 Series:
Table of Contents

Advertisement

6.2.3 END Command

With the END command, both the circuit mode and the list mode are automatically created, so
programming is not necessary.

6.2.4 Index Ornament

(1) The index ornament is used to add an index (Z0, Z1) to a device, add the details of the directly
designated device No. and index register, and designate the device No.
(2) The index (Z0, Z1) can be set between -32768 to 32767 with a sign added.
(3) The index ornament is used only for the MOV command. (It cannot be used for DMOV.)
(4) The usable command format is shown below.
(a) Transmission of data to Z0, Z1
(b) Possible device combinations of MOV command with index ornament
Constant
Kn or Hn
Word device
Example) D0, R1900
(Word device) ⋅ Z
MOV
Example) D0Z0
(Word device) ⋅ Z
Example) D0Z0
Bit designation
Example) K2M00
(Note 1) The word device refers to T, C, D and R.
(Note 2) The display of the circuit with index ornament is as shown below.
S (source)
(Word device) ⋅ Z
Example) D0Z0, R500Z1
(Word device) ⋅ Z
Example) D0Z0, R500Z1
(Word device) ⋅ Z
Example) D1Z0, D0Z1
Bit designation
Example) K2Y20
(Word device) ⋅ Z
Example) D0Z0,
R1900Z1
MOV
Kn
MOV
Use Kn or Hn
Z0 or Z1
D (destination)
Z0
MOV
D0
- 33 -
6. Explanation of Commands
Z0
Program example
MOV K100 D0Z0
MOV D0 D100Z1
MOV D0Z0 D20Z0
MOV D0Z0 K2M10
MOV K2M10 D0Z0
Z1
D20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents