MASTER YOUR CASTLE with your new build or reno project
Enter competition

How to get system clock time during runtime to be displayed on Vijeo Citect screen.

FA11566

22/12/2012

In Vijeo Citect, to get system clock time parameters use of Cicode script has to be done using Cicode Time Functions, as there are no pre-defined system tags available.

Example for reading ‘Second’ parameter of system clock in Vijeo Citect.

FUNCTION Time_Read()
INT sec_var;
sec_var=TimeSec(TimeCurrent());
END
 
Similarly Cicode script can be written for reading Minute & Hour parameters of system clock.