Mitsubishi Electronics C64 Home Safety Product User Manual


 
6. Explanation of Commands
6.2 Command Formats
- 99 -
(2) Devices which can be index-qualified
With the exception of the restrictions noted below, index qualification can be used with devices
used with contacts, coils, basic commands, and application commands.
(a) Devices which cannot use index qualification
Device Meaning
K, H 32-bits constant
P Pointer used as labels
Z Index register
T Timer setting value, coil
C Counter setting value, coil
(b) Devices in which the index resistors are restricted
Device Meaning
Example
T
Z0 or Z1 can use only to timer
contact.
T0Z0
K100
T1
C
Z0 or Z1 can use only to counter
contact.
C0Z1
K100
C1
For the current value of a timer and a counter, index resistor No. is not restricted.
Timer setting value
(Cannot use index qualification)
X0
K100
T0
X1
K10
C100
BCD T0Z4 K4Y30
M100
BCD C100Z6 K0Y40
M100
Timer current value
Counter setting value
(Cannot use index qualification)
Counter current value
(c) Others
1) Bit data
Device number can be index-qualified when performing digit designation.
However, index qualification is not possible for digit designation.
BIN K4Z3X0 D0
Setting that cannot enable digit
designation index qualification
BIN K4X0Z2 D0
Setting that enables device number
index qualification
If Z2 = 3, then X(0+3) = X3