HMI.JR

Security on word lamp

8 posts in this topic

I have a word lamp on an existing HMI and i want to add in a security measure from the PLC so it cannot be used unless that input is ON. I have tried adding TRIGGER actions and EXTENDED actions to this word lamp but whenever i launch it in the simulator the security measure is not relevant. Any suggestions? 

Share this post


Link to post
Share on other sites

hello,

i would use script for this

 

if([w:D0]<2){my.active = 0;}else{my.active = 1;}
redraw_object();

where D0 is Security Level Device from security setting and "2" is security level of my choice

Share this post


Link to post
Share on other sites

Ok thanks, I had thought about script but i have personally never used it and do  not fully understand what all the statements mean/ do. I've looked through the Mitsubishi manual but it is a bit vague as to how to write t.

Share this post


Link to post
Share on other sites

Which GOt are you using ?

Share this post


Link to post
Share on other sites

Hey Gamebit, I'm using a G0T2000 Type GT27

Share this post


Link to post
Share on other sites

The input in the PLC i want to use is X70C and if it is on then i want to be able to use the word lamp

Share this post


Link to post
Share on other sites

in that case just use the security level. on the lamp And use the normal security  (in the system settings )and use the Dataregister in the PLC. 
In the PLC juts write a line of code X7 mov K1 D100 inverted X7 write 0 D100 where D100 is de security setting data register

 

 

Share this post


Link to post
Share on other sites

Awesome, that worked.  thanks for help again Gamebit

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