Jump to content

Recommended Posts

Posted

 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 

Posted

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

Posted

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(); }

Posted (edited)
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
Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...