shane.platt Posted December 23, 2020 Report Share Posted December 23, 2020 I am a control engineer and was brought in on an existing project consisting of a Omron vision system and a Unitronics USP-070-B10. I was tasked with adding additional measurement tools to the vision system. The vision system is utilizing an 10 indices array(float) nested inside a STRUCT. I am planning to add 50 more measurements to the vision system. I thought it would be easier to just increase the size of the existing array to accommodate the new measurements. After increasing the size of the existing array I compiled the project and oddly enough I had about 40 mismatches between the PC and the PLC including communication mismatches that were not there prior to the increase. I went ahead an downloaded the file to the plc. After the download was complete I could no longer connect to the vision system, nor could I connect to the collaborative robot that the Omron camera was mounted on. I generally only work with Beckhoff, Allen Bradley, or Siemens PLCs, so I am not very familiar with Unitronics. I know in the past 30 years of programming I have modified the index size of arrays on countless systems, and never had an issue. Has anyone ran across a similar issue when increasing the number of indices in an existing array?? I modified nothing else in the programming except for the number of indices in one array and literally nothing works. Does this have something to do with the way the PLC is allocating the memory? I have never seen a option in any other PLC to "Reallocate Memory". The documentation doesn' t mention "Reallocate memory" anywhere, so I have no idea when or why I would need to use that. Can anyone shed some light on that?? Thanks, Shane Quote Link to comment Share on other sites More sharing options...
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.