Jump to content

Recommended Posts

Hello

I try to translate a two steps Grafcet with Set/Reset.

But when i test my program, the Set/Reset coils arec energized at the same time.

In the documentation we can read that : A reset coil turns a set coil OFF (unlatches), when the preceding net conditions are ON, allowing power flow to reach the reset coil from the net.  

 

Once a set coil is turned ON, it stays ON, independent of the original set condition, until a reset coil linked to the same address resets (unlatches) the coil condition.

Thanks for your help

 

SR test.vlp

Link to comment
Share on other sites

  • MVP 2023
3 hours ago, Bourdon said:

But when i test my program, the Set/Reset coils arec energized at the same time.

I think you're misunderstanding the power flow designation in VisiLogic. When a coil is energized it will show as red when online in VisiLogic. The fact that the coil is a SET coil, RESET coil, or direct coil is irrelevant to showing it energized. Whether a SET or RESET in VisiLogic, it's still the same coil and will be visualized the same. What you need to be looking for is complete power flow from the left rail to the coil.

Link to comment
Share on other sites

  • MVP 2023

Further to Flex's answer, Visilogic also has a quirk where it simply reads the state of operands when you are online.  In doing the read this way it will also show things with Red (if that's the colour you have set for Power Flow ) in a subroutine that is NOT being called.  This easily leads to confusion as to why something isn't working as expected.

This has caught out many people and you need to be aware of it.  Members here often have a dedicated personal method at the top of each sub to definitely show when it is active.

cheers, Aus

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.

Guest
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...