'Debug' Dialog

 

Debug mode is considered as non-safety-related because you can influ­ence the execution of the program by forcing/overwriting variables.

WARNING

UNINTENDED EQUIPMENT OPERATION

  • Prior to switching to debug mode, make certain that suitable orga­nizational measures (according to applicable sector standards) have been taken to avoid hazardous situations if the safety logic application operates in an unintended or incorrect way , or an incor­rect target for debugging was selected.

  • Verify the impact of forcing or overwriting variables or using the single cycle operation.

  • Do not enter the zone of operation while the machine is operating.

  • Ensure that no other persons can access the zone of operation while the machine is operating.

  • Observe the regulations given by relevant sector standards while the machine is running in any other operating mode than "opera­tional".

  • Use appropriate safety interlocks where personnel and/or equip­ment hazards exist.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

NOTE:

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

The simulation also supports the debug mode and forcing of EASYSIM "I/Os".

Further Information

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, SAFE­WORD#value, SAFEDWORD#value, or SAFE­TIME#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.

'Stan­dard'

'Decimal'

'Hexa­decimal'

'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.