Jump to content

Ladder Utility Failure

Recommended Posts

Does anyone have Ladder Utility Failures (SB399)?  I am getting value 18 (Logic: Test Bit (in vector)) and 22 (Vector: Store) repeating every second in SI26.  I haven't noticed this causing problems in my program so I'm not sure what to make of it.  Should I be concerned?

Link to comment
Share on other sites


These specific Utility failures suggest overflow in values related to the function blocks mentioned in SI26:

Test Bit (#18): This utility is limited to a maximum of 255 bits in the vector (which are 16 MI's or 8 DW's). Exceeding this value is the cause of this issue.

Vector Store (#22): Utility failure will occur if the vector being reference is longer than the maximum number of operands in Visilogic (for instance - MI4095).


It seems like you are misusing these functions. I'm surprised that these did not affect your application.

Anyway, I hope this helps.

Link to comment
Share on other sites

Thanks eyals.  There is quite a bit of data collection and manipulation going on just for HMI display purposes so its probably not in the code that actually does stuff.  I'm guessing something is going wrong with an offset or vector length calculation.  Now I now what to look for and where to look for it so that's a big help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...