Counter and timer registers/coils (c, c., t, t.), Input registers/coils (x, xw) – Maple Systems MAPware-7000 User Manual
Page 300
300
MAPware-7000 Programming Manual
1010-1040, Rev. 02
Counter and Timer Registers/Coils (C, C., T, T.)
The HMC7000 Series has four memory registers which are specifically used with the Counter and
Timer instructions:
Counter (C) registers
Counter (C.) coils
Timer (T) registers
Timer (T.) coils
Each Timer or Counter register is ‘connected’ to a corresponding Timer or Counter coil. In a
Timer or Counter instruction, when the Timer or Counter reaches its set value, the
corresponding Timer or Counter coil is set.
For example, the picture below illustrates using the ON Timer:
The timer T00001 register is used to count up to 1 sec (10msec timer). When the preset count
(100) has been reached, timer coil T.0001 is set.
See The HMC7000 Series Ladder Logic Instructions Manual #75-79 for instructions that use
counters and timers.
Input Registers/Coils (X, XW)
These registers and coils are designed for use by the physical inputs (digital or analog) from an
attached or built-in (HMC7030A-L) input expansion module. These are the only internal
memory addresses of the HMC which are read only. Therefore, the value read from these
registers/coils always represents the current state of the physical input of the expansion module
assigned to it. When you start a new project and assign I/O expansion modules to each
expansion slot of the HMC, the MAPware-7000 will automatically assign the appropriate
memory addresses according to slot location. For example, the twelve built-in digital inputs of
the HMC7030A-L are assigned to coils X00000-X00011 and register XW0000. For a HMC7000
unit that has eight digital inputs in expansion slot #1, the MAPware-7000 software automatically
assigns coil addresses X01000-X01007 and register XW0100 to the inputs. If sixteen digital
inputs are located in slot#4, the software assigns coil addresses X04000-X04015 and register
XW0400 to the inputs. If an analog module with four analog inputs is installed into slot#2, then
no coil addresses would be assigned (since these are analog inputs) and registers XW0200-
XW0203 are assigned.
The X and XW registers are mapped to the same memory area in the HMC with sixteen X coils
per XW register. For example, X161 corresponds to the second least significant bit (bit 1) of
XW0010.