|File:||Debugging a function block instance.htm|
|Subject:||Debugging a function block instance|
|Keywords:||Instance - Function block|
To debug (i.e. see the internal data) of a function block instance folow the procedure below:
First, declare an instance of your function block in the dictionary (in the same way as if you were declaring a variable).
If you make call to the FB instance from a FBD or from a LD program, double click on your block and make sure that an instance is selected in the 'Instance Name' list box of the "Select block" dialog box. In ST, use the instance name you have declared.
Then in debug mode, from the dictionary, your FB instance internal data can be seen by "expanding" the instance (click on + sign on the left).
Copyright © 1999-2009 ICS Triplex ISaGRAF Inc. All rights reserved.