Maple Systems MAPware-7000 User Manual

Page 299

Advertising
background image

MAPware-7000 Programming Manual

299

1010-1040, Rev. 02

In this example, we use the K index register along with an internal register (D0). When this
ladder rung is executed, the HMC7000 reads the value in the K register. It then adds this value
to the D0 register (as an offset) to determine the true register that the constant value 50 is
written to. If the value in the K register is 1, then the constant value 50 is written to internal
memory register D1. If the K value is 2, then 50 is written to internal memory register D2, and
so on.

Note: Care should be taken that the value in the index register does not cause the HMC7000 to
read/write to a register that does not exist (the address range is not checked by the HMC).

Many of the ladder logic instructions have tag indexing capability. To find out which instructions
support this feature, see The HMC7000 Series Ladder Logic Instructions Manual. In each section
that defines a particular instruction, you will see an Operand table with a column marked Index.
This column is checked for each operand that supports indexing.

Advertising