Retaining The High Speed Counter Values - Maple Systems HMC7000 Series Manual

Table of Contents

Advertisement

HMC7000 Series I/O Module Guide
Some Sample Ladder Logic
These two rungs configure the High Speed Counters in a unit that has built-in I/O.
The HMC ladder logic requires an input condition on each rung. The input bits are the Normally Closed contacts
of an otherwise unused bit. The Move Word instructions write a value of 2 (00000010
Register of each High Speed Counter. This sets Bit 1 and leaves all other bits reset. Each counter is configured
as a High Speed Up Counter, with the trigger being on the falling edge.
The trigger is configured by Bit 3 of the Configuration Word. To configure the trigger as a rising edge, write 10
(00001010
) to the Configuration Register.
b

Retaining the High Speed Counter Values

The Count and Preset values are normally lost when power is removed from the HMC. However, the System
Parameters dialog has an option to retain the Count and Preset values.
HMC7000 Series I/O Module Guide
Click System parameters
from the Define menu
Check the
Retain High Speed Counter
checkbox.
87
) to the Configuration
b
87

Advertisement

Table of Contents
loading

Table of Contents