Debug mode is considered as non-safety-related because you can influence the execution of the program by forcing/overwriting variables.
WARNING | |
---|---|
The test of the safety-related application in debug mode must not replace the proper function test using safety-related I/O devices/sensors/actuators under any circumstances. The test in debug mode may only be performed in addition to the standard function test.
The 'Debug' dialog allows to
call the 'SafePLC Info' dialog.
switch the 'Value display' of online values.
The simulation also supports the debug mode and forcing of EASYSIM "I/Os".
For detailed information on forcing and overwriting, refer to the topic "Debugging...".
Dialog element |
Meaning |
---|---|
Value |
Specifies the variable value if you have called the dialog for a non-Boolean variable. For a Boolean variable the radio buttons 'TRUE' and 'FALSE' are available. Enter force/overwrite values for safety-related variables with preceding data type in the following format: SAFEINT#value, SAFEBYTE#value, SAFEWORD#value, SAFEDWORD#value, or SAFETIME#values. (value represents the proper value, e.g., SAFEINT#13 or SAFETIME#1s.) To force a safety-related Boolean value to FALSE, you can either enter SAFEBOOL#0 or SAFEFALSE. Use accordingly SAFEBOOL#1 or SAFETRUE to force a safety-related Boolean variable to TRUE. |
Force |
Forces the selected variable. Only possible for variables connected to process data items, i.e., I/O variables (physical inputs and outputs). |
Reset force |
Resets (unforces) the selected forced variable. |
Reset force list |
Resets (unforces) all forced variables. |
Overwrite |
Overwrites the selected variable. Only possible for variables without assigned process data item (i.e., symbolic variables but not I/O variables). The dialog automatically proposes the overwrite value entered the last time for the same variable. |
'Standard' 'Decimal' 'Hexadecimal' 'Binary' |
Specifies the notation of the online value for the selected object.
Further Information:
Also refer to the description of the 'Online Layout' dialog which provides further possibilities to set up the online value notation. |
Info |
Opens the 'SafePLC Info' dialog. |
Help |
Opens the online help for the dialog. |
Close |
Closes the dialog. |