Jump to content

Load HMI and executing a FB with the same button

Recommended Posts

Hi everyone!

I'm having a problem when I try to make the line I attached works. 

MB151 is just a simple graphic button (that's not toggle). When I press it, it doesn't fill the vector with zeros, it only load the HMI display.

But if I delete the command to load the HMI display, it works properly. What can be wrong?

Thanks in advance!


PS: I'm using a V350


Share this post

Link to post
Share on other sites

Break your logic up into two rungs. I have regularly seen problems with HMI calls interfering with the rest of the logic in a single ladder rung. There is no reason not to place the HMI call in the next rung, also preceded by MB151.

  • Upvote 1

Share this post

Link to post
Share on other sites

Thanks Flex, but I've already tried that and it didn't work.

Anyway, I replace the FB with a Direct Coil (MB152), and I assigned in another rung, a Positive Transaction Contact (Rise) of the MB152 to the FB and it's working now!

I think it's a kind of bug of the VisiLogic.

Thanks again Flex!!


Share this post

Link to post
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...