TelePACE Ladder Logic program should to be interrupted when a certain event occurs and then the C program takes over.
C/C++ Tools (HEW and GNU compiler) for 32-bit controllers (SCADAPack 32 and SCADAPack 300).
This can be done BUT this is not how SCADAPack architecture works. TelePACE Ladder logic will complete full cycles. It may be interrupted by higher priority tasks, but it does not have the ability to signal a higher priority task to take over.
The runTarget() function is available for the customer, but the intention of this is to turn off the logic application on power up when they have no need to use logic. It is not intended to be used as a throttle mechanism.