SETDEBUG Command

Purpose

Switches the block to debug mode. In debug mode, the block executes only one command per scan period. In general, SAC processes all commands in a single scan, except in the cases where Wait commands are used.

NOTE: When the Program block is in debug mode, you can create a Data link in a picture with the field F_TV1 and view which command the block is executing. If the block encounters an error, you can see the command that generated the message.

To place the block into debug mode, insert the SETDEBUG command where you want the debug mode to begin, and then place the CLRDEBUG command where you want the debug mode to end. While in debug mode, the Program block sends the current step number to the enabled alarm services in its alarm areas.

Syntax

SETDEBUG

 

Important Notice

You do not have the latest version of iFIX! You are missing out on the newest capabilities and enhanced security.

For information on all the latest features, see the iFIX product page.

For more information on upgrades, contact your GE Digital sales agent or e-mail GEDClientServices@gevernova.com.

For the most up-to-date documentation, go here.