IRealTime
- Namespace
- ZCore
INTERFACE IRealTime
This interface allows to retrieve some real-time information about the Runtime system for example the actual cycle time of the running task
Methods
CycleCount
METHOD CycleCount () : UDINT
Returns the cycle count since the last (re-)start of the PLC environment. The method can be used to test if a cycle has been entered by memorizing the cycle count of the current cycle and comparing it with the next one.
Returns
- UDINT
CycleTime
METHOD CycleTime () : UDINT
This method returns the cycle time of the task, that calls this method, with 1us resolution. The actual implementation is always platform dependent and therefore uses an implementation of ZPlatform (e.g. RealTimeImpl)
Returns
- UDINT