Duration Measurement

Topic: CL225

Purpose

The Duration Measurement measures either the On or Off length of a pulse..

1 Name: This text is used to Prefix Nicknames of addresses used by this configuration.

2 Assign Nicknames automatically: Nicknames can be assigned to each address automatically. If you want to manage the Nicknames manually then disable this feature.

3 Current Duration Time:This is the Accumulator register of the High Speed Timer. It is updated after each measurement is complete.

4 Pulse Input: The measured time can either be when the signal is On or Off.

5 Pulse Input Bit:You can use only the CPU Built-in discrete inputs which are designated for high speed. Inputs cannot be shared by different high speed functions.

6 Call an interrupt program: An Interrupt Program can be called when the measurement is started.

7 Call an interrupt program: An Interrupt Program can be called when the measurement is complete.

8 Measurement Complete: This bit is Set after each measurement. Rung logic should be used to Reset the bit.

9 Use Reset: Any X or C bit can be used to Reset the Timer on either the Rising or Falling Edge. The Current Duration Time Address can always be written into directly.

10 Call an interrupt program when Reset is enabled: An Interrupt Program can be called when the Reset operation is triggered.

11 Use Enable: Any X or C bit can be used to Enable the Timer when either high or low.

12 Call an interrupt program when Enable is enabled:An Interrupt Program can be called when the Enable operation is triggered.

13 Call an interrupt program when Enable is disabled: An Interrupt Program can be called when the Disable operation is triggered.

Related Topics:

CPU Built-in I/O Setup: Output Tab (Basic and Standard CPU)

CPU Built-in I/O Setup: General Tab (Basic and Standard CPU)

High Speed Count

External Interrupt

Filter Input

Pulse Catch

Interval Measurement

Frequency Measurement

Using Interrupt Programs

Example: Making the Preset Table Values Retentive