Jump to content

Samba 43 HMI Password HEX entry not working


Recommended Posts

Hi

 

I am using a Samba 43-J-R20.  I have screen containing fix parameters I want to hide behind a password.

I have followed other examples I have seen on the forum.  Admittedly it was from the V130, but I cant see why it would work on the Samba.

Can anyone see what I've done wrong?

If I SET MB20 manually, the screen is called and displayed.  it just does not work when the password is entered correctly.

Any help would be great.

Thanks

 

1Capture1.PNG

1Capture2.PNG

Link to comment
Share on other sites

  • MVP 2023

That should work fine, though I would use a Positive Transition contact for MB 20. HMI screen calls should be via transition contacts so they don't get called on every PLC scan. That's obviously not your problem since manually setting the bit works (and this is how I do it regularly with no issue). There's something else going on with your program. Post it here and we'll take a look.

Link to comment
Share on other sites

  • MVP 2023

I do love subtlety in a forum post...

image.png.fce6c3bc24887bc047d30077d256f91e.png

 

Anyway, I will re-state what Flex said a little more strongly- DON'T USE A NORMAL CONTACT ON A DISPLAY CALL.  There's a high probability the result will be a flashing screen with total loss of control.

Without seeing your program, I can only guess that your problem is probably caused by Legal Entry setting the bit and not resetting it, so it will only work once.  I'd add a RESET coil after the screen call in the same rung.

Post your code.

Joe T. 

 

Link to comment
Share on other sites

Thanks for your help.  Putting in a positive rise solved the problem.

On another note, does anyone have the code for a simple hours counter?

The machine this is going on will run in cycles of up to 1-2 minutes max.

I want to monitor how long the PLC has been powered on as well as a cumulative time for how long the cycle has been running -  to give me an idea of how many hours the motor has clocked up.

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

This site uses cookies. By clicking I accept, you agree to their use.