dsev Posted April 1, 2016 Report Posted April 1, 2016 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 Quote
Gambit Posted April 1, 2016 Report Posted April 1, 2016 So you want to blank the entire screen or just a few objects? Quote
dsev Posted April 1, 2016 Author Report Posted April 1, 2016 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 Quote
Akahige Posted April 12, 2016 Report Posted April 12, 2016 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(); } Quote
dsev Posted April 13, 2016 Author Report Posted April 13, 2016 (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 April 13, 2016 by dsev Quote
WKla Posted April 14, 2016 Report Posted April 14, 2016 (edited) Scripts are not supported on GT 1020. Edited April 14, 2016 by WKla The picture was not attached. Quote
Akahige Posted April 14, 2016 Report Posted April 14, 2016 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. Quote
nehpets Posted April 14, 2016 Report Posted April 14, 2016 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 Quote
dsev Posted April 14, 2016 Author Report Posted April 14, 2016 thanks to all nehpets i will look at this as time permits me am off to brazil for work Quote
Recommended Posts
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.