Citect events problem

I have a project running 29 global events to store Maximum values in a DSK device. This configuration has worked great for years. Recently I have tried to add 8 more identical (except for tag names) global events, and I cannot get them to work. I have gone as far as to export the events to a csv, delete them all, and restart the system without events. then import them back in and restart the system with events. the old events go right back to working, and the new events still don't work. Any suggestions are appreciated.

Parents
  • Make sure you are doing a full compile. Either disable the Incremental Compile option in the Citect Studio Options and recompile, or compile twice in a row with Incremental Compile enabled.

    If that doesn't help, it is possible the events are being terminated with an error. You should see errors on the hardware alarms page. You could log messages from the event actions to the Citect Kernel window to verify which events are starting or finishing.

    Edit the Action field of your events to run the TraceMsg() function first, and possibly again after the other command(s). For example...

    Action: TraceMsg("Evt30 Start"); DiskTag30 = PLCTag30; TraceMsg("Evt30 End");
Reply
  • Make sure you are doing a full compile. Either disable the Incremental Compile option in the Citect Studio Options and recompile, or compile twice in a row with Incremental Compile enabled.

    If that doesn't help, it is possible the events are being terminated with an error. You should see errors on the hardware alarms page. You could log messages from the event actions to the Citect Kernel window to verify which events are starting or finishing.

    Edit the Action field of your events to run the TraceMsg() function first, and possibly again after the other command(s). For example...

    Action: TraceMsg("Evt30 Start"); DiskTag30 = PLCTag30; TraceMsg("Evt30 End");
Children
No Data