-

Y_YA_CommWatchdog

Image

This function block allows the application program to monitor data being transmitted from a master device. If the data does not change within two times the Watchdog period, the OK output goes FALSE to indicate that the heartbeat is not being updated by the master.

Parameters

* Parameter Data Type Description Default
VAR_INPUT
B Enable BOOL The function block will continue to execute every scan while Enable is TRUE and there are no errors. FALSE
V HeartBeat DINT Value that the master changes and sends to the MPiec controller. DINT#0
V WatchDog TIME The HeartBeat input is checked at the frequency specified by the WatchDog input. Enter the value in ms. TIME#0ms
VAR_OUTPUT
B Valid BOOL The Valid output indicates that the function block is operating normally and the outputs of the function block are valid.
E OK BOOL Indicates if the HeartBeat input has changed in two cycles of the WatchDog period.
B Error BOOL The Error output is set to TRUE if an error has occurred during the operation of the function block. The output is cleared when the Execute or Enable input becomes FALSE.
B ErrorID UINT The ErrorID output provides the identifier of the error when there is an active error in the function block execution. The output is cleared when the Execute or Enable input becomes FALSE.

Notes

Error Description

See the Function Block ErrorID List

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.