RickL Posted March 6 Report Share Posted March 6 Hello! Everything was fine for days ..... now the IDE keeps crashing! : ( I deleted my last ladder entry , saved and re-compiled as this is when it started failing. I also deleted the "current_OPLC.udb" file ....... but keeps crashing every time I try to restart the IDE. Any suggestions? Is this a known issue with this IDE? Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 ....... now the un-install to remove the IDE crashed! I can't even un-install now! Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 ........ now it when I Re-install .....the installer crashes! I spend more time installing this IDE than I do coding! : ( .... whats going on here?? Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 ......... $15K of pump equipment coming , and IDE quits around halve way thru coding! : ( ... cant even do a clean re- install. Please help!!!! Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 6 Report Share Posted March 6 Do not panic. This forum is managed by forum members - volonters, and answers to your questions may be delayed. For fastest help you should contact Unitronics Support - support@unitronics.com I suppose that there is a File System error at your PC. Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 ........ what could possibly be stopping me from a clean install?? .... doesn't make any sense! Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 6 Report Share Posted March 6 Please send all information you provided in this post to support@unitronics.com. Do not refer to this post - send all information you posted here. Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 All my other programs are working just fine! (Netbeans, Web Server, etc) Its just this IDE not working. Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted March 6 Report Share Posted March 6 These may help: https://support.unitronics.com/index.php?/selfhelp/view-article/Catastrophic-Failure---Visilogic https://support.unitronics.com/index.php?/selfhelp/view-article/Run-Time-Error-in-VisiLogic Quote Link to comment Share on other sites More sharing options...
Fernando Castro Posted March 6 Report Share Posted March 6 I can confirm that Gabriel franco 's first link solves the issue when trying to do a clean reinstall of the software. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted March 6 MVP 2022 Report Share Posted March 6 @RickL- The forum is not the official Unitronics support channel - it is a collection of volunteers with an occasional visit from Unitronics personnel. As AlexUT mentions above, you can send an email to support@unitronics.com. If you are in the United States, you can also call your distributor to see if they can help or call USA Unitronics tech support at (866) 666-6033 M-F during normal business hours. Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted March 6 MVP 2022 Report Share Posted March 6 Take a look at this post as well - Joe T. Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 ok ...... did all you listed above. came back clean, worked without error, then after switching from ladder to HMI a few times it gives this error: the code compiles with no errors or warnings. Is this an IDE problem or win 10 problem? Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 Here is my code, maybe see if it fails on another computer? Pump PLC V2.vlp Quote Link to comment Share on other sites More sharing options...
RickL Posted March 6 Author Report Share Posted March 6 ......... is the --------(S)------- "set" need an assigned I/O in hardware config? Maybe this is what's generating the error? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 6 MVP 2022 Report Share Posted March 6 I took a chance and opened up your file on my computer. No problem opening the file and it compiled without errors. The problem would appear to be with your PC or your VisiLogic installation. That said, I have to ask, what the heck are you doing in ladder rung 15? Under most circumstances mixing Set coils and Direct coils in a program will not work as intended. And also, while it is permissible to use a contact and coil of the same bit in the same rung as a latch, this is not what you are doing. It looks like you should be doing something like what you have in rung 6. Also, please do not place multiple logic threads in the same ladder rung (rungs 7 & 8). The compiler will not report an error, but it is extremely bad programming practice in ladder logic. And finally, use subroutines to break your code up into manageable pieces. Personally, I reserve the Main Routine for Start-Ups, configuration blocks, and subroutine calls. All other logic should go in subroutines. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 6 MVP 2022 Report Share Posted March 6 28 minutes ago, RickL said: ......... is the --------(S)------- "set" need an assigned I/O in hardware config? I'm sure the answer to this question is no, but I have no idea what you're asking. Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted March 6 Report Share Posted March 6 4 hours ago, RickL said: ok ...... did all you listed above. came back clean, worked without error, then after switching from ladder to HMI a few times it gives this error: the code compiles with no errors or warnings. Is this an IDE problem or win 10 problem? Are you running Visilogic with administrative privileges? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted March 6 MVP 2022 Report Share Posted March 6 Specifically, did you INSTALL as administrator? That error routinely shows up if you haven't done the install correctly. Quote Link to comment Share on other sites More sharing options...
RickL Posted March 8 Author Report Share Posted March 8 Hi! After going thru hell! : ( .......... Changing everything, Hard Drive, win re-install, re-loading IDE, setting all file permissions, etc. The problem still was there with a vengeance. But, today, I think I'm sure I found the bug!! : ) If you close the "explorer" window on the left hand side, and then switch from ladder to HMI view .... IDE crashes code "91". You can minimize the explorer in width, just don't close it!! Cleared this crash problem 100% every time! Never fails now!! : ) Everything working perfectly! Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 8 MVP 2022 Report Share Posted March 8 7 minutes ago, RickL said: You can minimize the explorer in width, just don't close it!! That's certainly interesting - and something to note, but why would you want that window closed??? It's very important and constantly needed when writing your program. Quote Link to comment Share on other sites More sharing options...
RickL Posted March 8 Author Report Share Posted March 8 21 minutes ago, Flex727 said: That's certainly interesting - and something to note, but why would you want that window closed??? It's very important and constantly needed when writing your program. ........ I would close the window just to look see at a full screen view of my HMI is all : ) wont be doing that anymore! : ) NOTE: You can close the bottom "output" window with no problems! Just never close the "explorer window! NOTE: You would think they may want to get rid of that "X" icon on the explorer window if you shouldn't be able to close it! Quote Link to comment Share on other sites More sharing options...
Fernando Castro Posted March 8 Report Share Posted March 8 52 minutes ago, RickL said: ........ I would close the window just to look see at a full screen view of my HMI is all : ) wont be doing that anymore! : ) NOTE: You can close the bottom "output" window with no problems! Just never close the "explorer window! NOTE: You would think they may want to get rid of that "X" icon on the explorer window if you shouldn't be able to close it! Probably that only happens on your installation. that doesn't happen on mine for sure... but if it makes you feel better there are some other errors on my computer 😂, particularly debugging one specific routine in one specific program on which I cannot be more than 10 minutes on online mode before it crashes, I always assumed is related to some variable being overflown (the sub in question handles the communication to other devices and there are some DWs in there that eventually reach their limit). Quote Link to comment Share on other sites More sharing options...
RickL Posted March 8 Author Report Share Posted March 8 1 hour ago, Fernando Castro said: Probably that only happens on your installation. that doesn't happen on mine for sure... but if it makes you feel better there are some other errors on my computer 😂, particularly debugging one specific routine in one specific program on which I cannot be more than 10 minutes on online mode before it crashes, I always assumed is related to some variable being overflown (the sub in question handles the communication to other devices and there are some DWs in there that eventually reach their limit). ...... yep! can drive ya crazy at times! I was ready to lead shield my computer after trying everything, thinking it may be an errant gamma particle from the sun! : ) Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted March 8 MVP 2022 Report Share Posted March 8 4 hours ago, RickL said: If you close the "explorer" window on the left hand side, and then switch from ladder to HMI view .... IDE crashes code "91"....blah blah I can confirm that this happens on my main PC on 21H1 and I'm still sitting on 9.8.65. It's just never happened to me because I have never done that sequence. Investigating it further to see if it is related to a W10 annnoyance, I found the error also occurs on my W7 Pro 64 laptop. Perhaps an issue for the creators to look at sometime? cheers, Aus Quote Link to comment Share on other sites More sharing options...
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.