Jump to content

Recommended Posts

I have an application I am converting from Allen Bradley code. In the Allen Bradley I am using the OSF block. This block has a storage bit and an output bit that retains state after the transition. I tried to use a -|N|- but the coil will not retain the state unless I make it a -(S)-. Then I have no easy way to reset it.

Is there a simple way to achive this same functionality in VisiLogic?

OSF Storage and Output Bits Operation

Rung State Transition Storage Bit Output Bit

true-to-false (one scan) bit is reset bit is set

false-to-false bit is reset bit is reset

false-to-true and true-to-true bit is set bit is reset

Ideas?

Andy

Link to comment
Share on other sites

I can't delete this so I will just say I figured it out. I was hung up on the falling trigger and not setting a bit for the oneshot in my rung after. I was trying to just use the -|N|- when I needed to store it first since I needed to use it as an examine on and examing off in two branches. Works great now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Confirm to continue.