Monitoring The Codesys Runtime Environment; Overview; Figure 6-4 Block Diagram Of The Monitoring Functionality - Hitachi HF-W100E/IoT User Manual

Industrial controller for iot applications
Table of Contents

Advertisement

6. RAS FEATURES IN HF-W100E/IoT

6.3 Monitoring the CODESYS Runtime Environment

6.3.1 Overview

This function monitors whether the CODESYS runtime environment is running properly.
The function consists of the WDT control component that periodically triggers the watchdog
timer on HF-W100E/IoT from the CODESYS runtime environment and the CODESYS
monitor service running on the Windows environment.
CODESYS monitor service
Monitoring
functionality
Windows®

Figure 6-4 Block Diagram of the Monitoring Functionality

(1) The WDT control component runs on the scheduler of the CODESYS runtime
environment and periodically retriggers the watchdog timer.
(2) The CODESYS monitor service periodically checks if a timeout is generated by the
watchdog timer. A watchdog timer timeout is generated when the WDT control
component is unable to retrigger and the time in the watchdog timer is less than the
timeout threshold (*1).
(3) When a timeout occurs, the CODESYS monitor service infers that some sort of error
occurred in the CODESYS runtime environment and notifies user applications by means
of the Windows event log and event objects. In addition, the CODESYS monitor service
executes the predefined action at the time of time-out (*2).
Monitor
Retrigger
Watchdog timer
6-14
CODESYS runtime
environment
WDT control
component
CODESYS®

Advertisement

Table of Contents
loading

Table of Contents