Example: Programmable Limit Switch enabled
This example describes the results when Programmable Limit Switch (PLS) is enabled using specific HSC and PLS Data parameter values.
HSC parameter values
This example assumes that the HSC parameters are set to the following values:
- HSCApp.OutputMask = 31
- HSCApp.HSCMode = 0
- HSC controls Embedded Output 0...4 only
PLSData parameter values
This example assumes the PLSData parameters for the variable (HSC_PLS) are configured as follows.
PLSData parameter values

PLS enabled results
For this example, the following events occur.
- When the ladder logic first runs: HSCSTS.Accumulator = 1, which means all outputs are turned off.
- When HSCSTS.Accumulator = 250, HSC_PLS[1].HSCHPOutput is sent through the HSCAPP.OutputMask, and energizes outputs 0 and 1.
- Sending the high preset output through the output mask repeats as the HSCSTS.Accumulator reaches 500, 750, and 1000, and the controller energizes outputs 0...2, 0...3, and 0...4 respectively.
- After the operation completes, the cycle resets and repeats from HSCSTS.HP = 250.
- When the full cycle completes and the HSCSTS.HP value is reached the PLSPositon parameter is reset.
Provide Feedback