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
RHC
RHC parameters
Parameter
Parameter Type
Data Type
Description
EN
Input
BOOL
When set to true, the instruction is enabled.
  • TRUE: Execute the current computation.
  • FALSE: There is no computation.
Applies to ladder diagram programs.
ENO
Output
BOOL
Enables output. Applies to ladder diagram programs.
RHC
Output
UDINT
The value of the high-speed clock.

High-speed clock resolution

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 function block diagram example
RHC ladder diagram example
RHC ladder diagram example
RHC structured text example
RHC structured text example
(* ST Equivalence: *) TESTOUTPUT2 := RHC() ;
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal