dsev

visibility on 1020

9 posts in this topic

 I am looking to hide screens on a 1020 using an M xx to turn the creen on/off for accessability 

but cant  find any animation section similar to TIA

can anyone help

thanks 

Share this post


Link to post
Share on other sites

So you want to blank the entire screen or just a few objects?

Share this post


Link to post
Share on other sites

i want to make the screen accessible by making the screen switch button visible/invisible when the Mxx  changes states

 

i can do either way just figured it would easier to use a separate screen as all the objects are  controls that are particular to one model

Share this post


Link to post
Share on other sites

You can try the following script to make something visible when bit (M102 for example) is on.

VISIBLE ON BIT

if([b:M102]==ON)

{my.active = 1;

redraw_object();}

else

{my.active=0;

clear_object(); }

Share this post


Link to post
Share on other sites
20 hours ago, Akahige said:

 

 

 

You can try the following script to make something visible when bit (M102 for example) is on.

VISIBLE ON BIT

 

if([b:M102]==ON)

 

{my.active = 1;

 

redraw_object();}

 

else

 

{my.active=0;

 

thanks for the response

I am new to using mitsui

how would this be coded into a fx1s processor

would this be as an object script?

Do you know what version of gt designer the script editor became available?  i cant find the editor? looking under Common ?

 

 

Edited by dsev

Share this post


Link to post
Share on other sites

 

Scripts are not supported on GT 1020.

New Bitmap Image.png

Edited by WKla
The picture was not attached.

Share this post


Link to post
Share on other sites

My bad DSev, WLla is correct. Scripts are not available in the 1020/1030. I failed to see that in your original post. But if you ever get to upgrade the HMI to a 2000 equivalent type model there is this Control displaying/hiding option for objects placed on base screens.

Untitled.png.5749b61da974ff933b13afa0425

Share this post


Link to post
Share on other sites

The effect you require can be achieved by using a pop up window containing your screen switching p/button, this would use a word file 'D' for the pop up not a bit 'M'.

As a start point have a look at the attachment, there will be further steps to refine, but thats the fun of it.

TEST.rar

Share this post


Link to post
Share on other sites

thanks to all 

nehpets    i will look at this as time permits me am off to brazil for work

 

 

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