RHC (read high-speed clock)
The RHC instruction reads the high-speed clock value in the
Micro800
controller.Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the
Micro810
, L20E, L50E, and L70E controllers.RHC

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
EN | Input | BOOL | When set to true, the instruction is enabled.
|
ENO | Output | BOOL | Enables output. Applies to ladder diagram programs. |
RHC | Output | UDINT | The value of the high-speed clock. |
High-speed clock resolution
Controller Type | Increments | Time base | Resolution |
---|---|---|---|
Micro810 | 4 every 40 microseconds | 10 microseconds | 40 microseconds |
L20E L50E | 1 every 10 microseconds | 10 microseconds | 10 microseconds |
RHC examples
RHC function block diagram example

RHC ladder diagram example

RHC structured text example

(* ST Equivalence: *) TESTOUTPUT2 := RHC() ;
Provide Feedback