5
« on: March 30, 2014, 01:08:40 PM »
Hi All!
Thanks for the suggestions.
With Crashing I did mean it crashed - the VB studio just shut down.
BUT after deleting the Obj and Bin files it stopped crashing - Great!
The ZIP'ed file is still about 9 MB, but still less than 15 MB.
And as for writing to tags....
In RSLogix5000 til LIM function limits for values from that value...
I wanted to make sure that my SetupNumber was never anything else than 1, 2 or 3, so I set my limits as this:
Low Lim = 1
High Lim = 3
Move SetupNumber to PLC_Tag
Low Lim = 3
High Lim = 1
Move 1 to PLC_Tag
And of course every time I wrote 1, it would "overwrite" that value with 1. If I wrote 2 it would be fine and if I wrote 3 it would be "overwritten" with a 1.
But I only saw the error at 3 as I could not see the difference between 1 and 1 (hmmm).
The next question from me would then be:
Can I make a exe file of my project that will run on another PC? Without VB Studio installed?
Best regards,
Michal