EXOR - JMobile

lostcontrol

Lifetime Supporting Member
Join Date
May 2009
Location
NeverSayNever
Posts
1,071
Any users/experts out there?
I have just spent the last while trying to make an animation property work.
This project has a series of images (Off/On) etc that are linked to the same tag.

Tag==1, Tag!=1, Tag==2, Tag!=2, Tag==3, Tag!=3 etc..

All work as expected, except the Tag==1 condition.
I have tried re-assigning the working image to ==1 to rule out any specific properties that may not be seen, but same result

Have even gone as far as creating some new lamps with the same conditions & the result is exactly the same..
One thought was that it was because I was testing using the simulator, but is the same when downloaded to unit.


edit:
Code:
Tag>=1 && Tag<=1
achieves the result of Tag==1 so at least I have a workable solution

Not really an edit, just thought of this solution in between writing this...

maybe someone has come across it, or it is a genuine bug. Will submit to our local distributor at least.
Version was 4.0.0, but just updated to 4.5.0 & is still there.


rock on
 
Thanks BrianG,
Certainly interesting differences.

Fore reference Tag1 === 1 works, as does Tag1 == "1"

The frustrating part of this, is the inconsistency in results between syntax. Is that just the way Javascript is?
 
I am a beginner with Javascript, I would be much more confident in talking about programming in a language called 'C'. There it would be an obvious type mismatch and the program would probably crash when it got to that bit of code. I will let you know when I figure it out for Javascript :)


edit:
Something that might help you. In the properties for a page you can enable a Javascript debugger, it shows itself when the Javascript runs and you can step through the program.
 
Last edited:

Similar Topics

Maybe I am a bit thick, but I spent ages trying to get the Combo Box in Exor JMobile to work, turns out that there is a trick that doesn't seem to...
Replies
0
Views
629
Newbie question for an EXOR Jmobile javascript problem. I want to access at least one of the system values, but I am stumped on which javascript...
Replies
3
Views
1,684
Any one out there in "Automation Land" using JMobile Studio from http://www.jmobile.net/ ?? We are using this and trying to do index adressing...
Replies
0
Views
2,098
Currently I’m using ESA model VT155W0000 HMI and it’s communicate with Fanuc PLC. Can any one suggest can I convert ESA model to EXOR HMI eSMART07M
Replies
0
Views
88
I want to program an Exor HMI using a Rockwell controller. However, when exporting the tag list from the controller and importing it into JMobile...
Replies
0
Views
123
Back
Top Bottom