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
LC10, Micro820
L20E, Micro850
L50E, and Micro870
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 LC10 | 4 every 40 microseconds | 10 microseconds | 40 microseconds |
Micro820 L20EMicro850 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