Spectrum Controls 1756sc-CTR8 User Manual
Page 51

Chapter 6: Ladder Program Examples
41
Using the gate
storage mode
The gate storage mode allows you to configure the external gate to react
in several ways. The StorageMode[x] tag has 5 valid configurations:
StorageMode[x]
This mode determines how the gate behavior effects counter behavior.
0 = no store mode
1 = store and continue mode
2 = store, wait, and resume mode
3 = store and reset, wait, and start mode
4 = store and reset, and start mode
StorageMode = 1 - Read, Store count, and continue counting
This mode could be used in a cutting operation to determine the length of
the cut material. When the gate is triggered the current count value is
stored and the counter continues to count. The length of the material
would then be determined by subtracting the correct count value from the
stored value.
The gate behavior