Janus

GX Works 2 Simulator

5 posts in this topic

hi

I am currently simulating plc and GOT HMI program on pc, GX Works 2

 

when I look at ladder logic, output coil stays on, even when one of the input bits is off ? (current_high_alarm)

 

why is this ?

forum output coil.JPG

Share this post


Link to post
Share on other sites

is ok, current high alarm is a 'set' bit from a timer block,

looking at the timer block, Q output is high (which feeds current high alarm coil), even though current high alarm bit is reset elsewhere

 

is being held high from the output Q from the timer block ?

 

Share this post


Link to post
Share on other sites

If you wrote the same address in two places, yes the timer output is still holding it true.  The one closest to the bottom of the program will win.

Share this post


Link to post
Share on other sites

And check if this part of the program is being run? Maybe the is a pointer that will jump over this part of the program. 
In this case the output won't change

Share this post


Link to post
Share on other sites

thanks guys, I think it is where the set bit 'current high alarm'  is being held high by the latched timed output . I placed  a 'clear' bit in between the output from timer, and the

set coil 'current high alarm' 582dbcf3f2d41_clearbit.JPG.51e91b7e80ced

Share this post


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