Example: Making the Preset Table Values Retentive

Topic: CL231

Example

On first scan, restore the retentive table into the Preset Table Addresses. Block Copy from DD10-DD14 into DD4-DD8.

At the bottom of each scan, backup the Preset Table Addresses into the retentive table. Block Copy from DD4-DD8 into DD10-DD14.

Since the “Number of Presets” and “Current Preset Number” are for Status information only, they are not included in these Block Copies. This example table only has 5 Presets, adjust the Block Copies to match the size of the table. The address DD1 contains the Current Count which by default is already retentive. If a different default value is needed, use either the Initial Value feature in the Address Picker, or Copy a value on first scan.

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

Duration Measurement

Frequency Measurement

Using Interrupt Programs