Found a minor error generated on a rung which holds an SSV instruction for WallClockTime. Parameters for the instruction are as follows:
Set System Value
Class Name: WALLCLOCKTIME
Instance Name: [blank]
Attribute Name: DateTime
Source: PLC_WCT[0] where PLC_WCT is a DINT[7]
Minor error logged is as follows:
(Type 04) Program Fault
(Code 06) GSV / SSV operand invalid
Routine with the above SSV validates fine without errors or warnings. This is existing code from 10 years ago which went from firmware revision 16 to 30, from what I gather this code was used to synchronise controllers, but now time sync is done via Ethernet modules and the time sync functionality on those, so this is not really required. Could that be the reason for the error? or was SSV for WallClockTime simply scraped in firmware rev 30?
Cheers,
Tom
Set System Value
Class Name: WALLCLOCKTIME
Instance Name: [blank]
Attribute Name: DateTime
Source: PLC_WCT[0] where PLC_WCT is a DINT[7]
Minor error logged is as follows:
(Type 04) Program Fault
(Code 06) GSV / SSV operand invalid
Routine with the above SSV validates fine without errors or warnings. This is existing code from 10 years ago which went from firmware revision 16 to 30, from what I gather this code was used to synchronise controllers, but now time sync is done via Ethernet modules and the time sync functionality on those, so this is not really required. Could that be the reason for the error? or was SSV for WallClockTime simply scraped in firmware rev 30?
Cheers,
Tom