DinoLet
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by DinoLet
-
-
Hello everyone.
I've been given a code by a person who left the company with a bug that never got solved. The PLC works about 800-900 operations a day, and 1-2 times it will stop in the middle. Is there a way to make a log that I can look at cycle by cycle? Or step by changes in states, I don't need to see every single one, but I could solve that myself if I could get the data. I saw DataXport as an option but it has resolution of 1min, and my full operation lasts 20sec.As the PLC is on a machine in production I can't play with it to test solutions, so what I need is a way to find a problem without interfeering.
PLC is V700 if it makes a difference
Debugging the code step by step
in Vision & Samba PLC + HMI Controllers & VisiLogic Software
Posted
Thank you for that suggestion.
I'd like to make a check if there's a change to any of my bits, and if there is a change in any I'd put them all in a table with addition of cycle counter and some program timers and counters.
How would that influence cycle time? I would idealy clear the table every cycle, write to it, for every single change, so probably few thousand rows, and if the timer gets too long I know there's an error, I'd copy it to the SD card so I can access it later.
I saw a command to add a row to datatable in SD card, but for the tables in memory I have to specify which row? Am I missing something or do I have to make my own counter?
I'd love to test that on my own but I have access only to a PLC that's in production, and this is solving a minor problem so not critical enough to let me access to just play with it. I'll of course try it all, just would like to know if it's even possible/reasonable the way I want it before I mess something up