[foxboro] Debugging Sequence Codes

  • From: Daniel Wu <Daniel_Wu@xxxxxxxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Wed, 17 Nov 2021 04:18:49 +0000

Hi List,

I don't use much sequence programs in our application; and, instead, I use I/A 
blocks.  Therefore, I am not familiar with the different commands listed in a 
Sequence FoxDetail screen to control the execution of a sequence program. These 
commands are  "NEXT STMNT",  "EXEC STMNT",  "EXEC STEP", "EXEC SBX" and so on.  
I wrote a sequence program to  control several GDEV's and control valves (PIDA) 
to charge raw materials to a kettle.  When I ran it, there were run time errors 
message like  "SBX SYSERR" and "OP Error -1" appeared briefly  on the FoxDetail 
screen. 

Trying to debug the runtime errors, I  switched the sequence block to 'STEP" 
mode with the expectation that by executing one statement at a time, I would be 
able to identify which statement caused the problem.  I believe the problems 
occurred when the program was passing a CB name to a DEVICE subroutine to 
open/close a GDEV. However, using  "NEXT  STMNT", "EXEC STMNT" and "EXEC STEP" 
commands did not execute one statement at a time.  Instead, multiple statements 
were executed with the "SBX SYSERR" and "OP ERROR -1" flashed briefly on the 
FoxDetail page.  I believe by executing the DEVICE subroutine call, it stepped 
inside the subroutine; and resulted in executing multiple statement instead of 
one.

I did not have any luck in finding any information on how to use these 
commands.  Would you mind pointing me to the Foxboro users guides with 
information on how to use these commands or be kind enough to explain to me how 
to use these commands to trouble shoot my sequence program run time problems.  


Thanks
Daniel


 
 
_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company).  Use the info you obtain here at your own
risks.  See the disclaimer at www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:               //www.freelists.org/list/foxboro
to subscribe:           mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:        mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts:

  • » [foxboro] Debugging Sequence Codes - Daniel Wu