HSC
The HSC instruction applies high presets, low presets, and output source values to the high-speed counter.
Operation details:
- Programmable Limit Switch (PLS) is enabled by setting the HSCAppData.PLSEnable parameter to True.
- The PLSPosition parameter is reset after a full cycle completes and the HSCSTS.HP value is reached.
Languages supported: Function block diagram, ladder diagram, structured text.
This instructions applies to the L50E and L70E controllers.
HSC

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
EN | Input | BOOL | When set to true, the instruction is enabled.
We do not recommend using the EN parameter with the HSC function block because when EN is set to FALSE, the timer continues to increment. |
Enable | Input | BOOL | Enable instruction block.
|
HscCmd | Input | USINT | Issues commands to the HSC. |
HSCStsInfo | Input | HSC dynamic status, which is continuously updated during HSC counting. | |
Sts | Output | UINT | HSC execution status. HSC status codes:
|
ENO | Output | BOOL | Enables output. Applies to ladder diagram programs. |
HSC examples
HSC function block diagram example

HSC ladder diagram example

HSC structured text example

Provide Feedback