-

Y_YA_RealTimeClock

Image

This function block provides the controllers real time clock as an RTCStruct containing year, month, day, hour, minute, second, and millisecond.

Parameters:

* Parameter Data Type Description Default
VAR_INPUT
B Enable BOOL The function will continue to execute every scan while Enable is held high and there are no errors. FALSE
VAR_OUTPUT
B Valid BOOL Indicates that the function is operating normally and the outputs of the function are valid.
B Error BOOL Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low.
B ErrorID UINT If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low.
V Clock Yt_YA_RTC_Struct Structure containing year, month, day, hour, minute, second, and millisecond.
V RTCString STRING Contains the local date and time configuration of the controller (Same output result of RTC_S FB).

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.