The Options properties tab has the following features:
Dynamic Properties
Stops a Cicode thread if a hardware error is detected. A Cicode error will be generated and the thread will terminate (without executing the rest of the function).
All Cicode threads will be suspended while the debugger is stepping (or when the debugger reaches a breakpoint, or the user performs a manual break). If you try to run any Cicode thread at such a time (by pressing a button at runtime, and so on), the Command paused while in debug mode message will display in the runtime prompt line.
This option allows better isolation of any software errors that are detected, especially those that occur when your Cicode thread interacts with other threads. Foreground Cicode cannot be suspended and will continue running when this option is set.
Note: This option will help prevent all new Cicode threads from running (including keyboard and touch commands), and should not be used on a running plant.
If a break point is 'hit' in a foreground Cicode task, the Foreground Cicode cannot break (343) error message is generated, and will be displayed on the Hardware Alarm page. Disable this option to stop the alarm message from displaying.
Citect Startup Options
Citect SCADA will automatically start the debugger when a Cicode generated hardware error is detected. The debugger will display the Cicode source file, and mark the location of the error.
Note: This option will interrupt normal runtime operation, and should only be used during testing and commissioning of systems.
All Cicode threads will be suspended while the debugger is stepping (or when the debugger reaches a breakpoint, or the user performs a manual break). If you try to run any Cicode thread at such a time (by pressing a button at runtime, and so on), the Command paused while in debug mode message will display in the runtime prompt line.
This option allows better isolation of any software errors that are detected, especially those that occur when your Cicode thread interacts with other threads. Foreground Cicode cannot be suspended and will continue running when this option is set.
Note: This option will help prevent all new Cicode threads from running (including keyboard and touch commands), and should not be used on a running plant.
|
UNINTENDED EQUIPMENT OPERATION Do not use the following options during normal plant or process operations:
These options are only for use during system testing and commissioning. Failure to follow these instructions can result in death, serious injury, or equipment damage. |
Citect SCADA will automatically start the debugger if an error is detected in a foreground task. The debugger will display the Cicode source file, and mark the location of the error.
This option is overridden by the Citect SCADA will start debugger on hardware errors option. That is, if the above option is disabled, then this option is disabled also.
Note: Foreground Cicode cannot be suspended. The break point will be marked, but you will not be able to step through the function.
Allows debugging of Cicode on this computer from a remote Citect SCADA computer.
The Windows Computer Name or TCP/IP address of the remote Citect SCADA computer.
The TCP/IP address (for example, 10.5.6.7 or plant.yourdomain.com) can be determined as follows:
Debugger Options
Save the location and states of breakpoints between running sessions of the Cicode Editor and Debugger. This means breakpoints inserted using the Cicode Editor can later be recalled when an error is detected - even though the file (and application) has been closed.
Compile Options
Enables the incremental compilation of the project.
See Also
Published June 2018