Good morning everyone
I ues this function in KRC 4 and working OK . Not have eny errors.
But when using same function in KRC2 I have 2 errors first error is $DRIVERS_ENABLED is protected.
and second error This is the message in KRC2: "Access to component inadmissible.
IF (($DATE.YEAR>= 2023) AND ($DATE.MONTH>= 2)AND ($DATE.DAY >= 22)AND($DATE.HOUR>= 8)AND ($DATE.MIN
55)) THEN
HOLD_DATE= TRUE
ENDIF
IF (HOLD_DATE==TRUE) THEN
$DRIVES_ENABLE = FALSE
ENDIF
How can I use it in KRC2 ??