Re: [Emc-users] ClassicLadder error
2012/10/28 Jason Burton lathebuil...@gmail.com: Crosstalk between spindle power lines and solenoid control lines perhaps? As it can be seen in that video, it is purely in software. 2012/10/28 sam sokolik sa...@empirescreen.com: I have not had that happen that I know of... Some things to check on is if you have enough objects allocated in your hal file.. (ie loadrt classicladder_rt numRungs=12 numBits=100 numWords=10 numTimers=10 numMonostables=10 numCounters=10 numPhysInputs?=10 numPhysOutputs?=10 numArithmExpr?=100 numSections=4 numSymbols=200 ...) Funky things happen when you try to add something and there isn't enough allocated.. I did at least try to check for that. I did run out of IEC Timers, and I was also informed about that with error message, so I fixed that. I feel pretty confident that everything should be fine about this. Also - don't have an output (coil) in more than one place.. Ok, I definitely have violated this one. I have outputs being turned on by timers or by pyvcp buttons, connected to ladder inputs. A hardware switch selects it. What is the best approach to fix that? Should I simply leave overall scheme as it is and use internal coils (%Bnn) so that they turn the real output on/off only in one place? Or should I put all the possible inputs for certain output in one rung (or two with some internal coil) and not as they are now - scattered all in different places according to sequence of how all the things were added. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
A copy of the ladder file would be a big clue to look at. John On 10/27/2012 6:32 PM, Viesturs Lācis wrote: Hello! While working in premises of my customer to add new automatic material loading/unloading module for one of my machines, I have encountered strange error in ClassicLadder. I took a video on my phone with it: http://www.youtube.com/watch?v=9YjkGbpuT50 I will try to explain: The idea is to use classicladder to control valves for pneumatics that load the material in machine, hold it in place and then unload. When I started working on the ladder logic, everything was working fine, but then, at one moment, I think at the moment, when I linked one of classicladder input pins to motion.spindle-on, it just stopped turning the outputs on and off in a correct manner. Some of outputs are working fine, but others are doing I do not know what - seems like turning on for a very small amount of time at random moments. It is 2.5~pre, installed from buildbot package some time almost a year ago. I did copy all the config files, so I can share them, if that helps. I tried to workaround this with M62/M63 and M64/M65 commands and G4 inbetween them to specify correct time distances between any 2 events, but that did not work out nicely - I did not notice any difference after changing almost all P values for G4 command from 0,5 to 3,5. Restarting system for several times did not help either. I do not know, how many times did I restart LinuxCNC... Does anyone has any idea, what went wrong? -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
Sam was talking about a classicladder output. You never have more than one output in a ladder logic as the status of the last one wins and that will be the state of the output when they are updated. John On 10/28/2012 3:38 AM, Viesturs Lācis wrote: 2012/10/28 Jason Burton lathebuil...@gmail.com: Crosstalk between spindle power lines and solenoid control lines perhaps? As it can be seen in that video, it is purely in software. 2012/10/28 sam sokolik sa...@empirescreen.com: I have not had that happen that I know of... Some things to check on is if you have enough objects allocated in your hal file.. (ie loadrt classicladder_rt numRungs=12 numBits=100 numWords=10 numTimers=10 numMonostables=10 numCounters=10 numPhysInputs?=10 numPhysOutputs?=10 numArithmExpr?=100 numSections=4 numSymbols=200 ...) Funky things happen when you try to add something and there isn't enough allocated.. I did at least try to check for that. I did run out of IEC Timers, and I was also informed about that with error message, so I fixed that. I feel pretty confident that everything should be fine about this. Also - don't have an output (coil) in more than one place.. Ok, I definitely have violated this one. I have outputs being turned on by timers or by pyvcp buttons, connected to ladder inputs. A hardware switch selects it. What is the best approach to fix that? Should I simply leave overall scheme as it is and use internal coils (%Bnn) so that they turn the real output on/off only in one place? Or should I put all the possible inputs for certain output in one rung (or two with some internal coil) and not as they are now - scattered all in different places according to sequence of how all the things were added. -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
Sorry, posted from my phone (didn't see the video). On Oct 28, 2012 3:44 AM, Viesturs Lācis viesturs.la...@gmail.com wrote: 2012/10/28 Jason Burton lathebuil...@gmail.com: Crosstalk between spindle power lines and solenoid control lines perhaps? As it can be seen in that video, it is purely in software. 2012/10/28 sam sokolik sa...@empirescreen.com: I have not had that happen that I know of... Some things to check on is if you have enough objects allocated in your hal file.. (ie loadrt classicladder_rt numRungs=12 numBits=100 numWords=10 numTimers=10 numMonostables=10 numCounters=10 numPhysInputs?=10 numPhysOutputs?=10 numArithmExpr?=100 numSections=4 numSymbols=200 ...) Funky things happen when you try to add something and there isn't enough allocated.. I did at least try to check for that. I did run out of IEC Timers, and I was also informed about that with error message, so I fixed that. I feel pretty confident that everything should be fine about this. Also - don't have an output (coil) in more than one place.. Ok, I definitely have violated this one. I have outputs being turned on by timers or by pyvcp buttons, connected to ladder inputs. A hardware switch selects it. What is the best approach to fix that? Should I simply leave overall scheme as it is and use internal coils (%Bnn) so that they turn the real output on/off only in one place? Or should I put all the possible inputs for certain output in one rung (or two with some internal coil) and not as they are now - scattered all in different places according to sequence of how all the things were added. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
Hi, You can not multiplex coils, as inactive coils will force a 0 to the signal. With internal coils will happen the same. Or should I put all the possible inputs for certain output in one rung This is one way to do it. You may also use set/reset coils instead of normal coils, these you can put a many as you want, but the logic may get more complicated. Regards! Fernando -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
2012/10/28 Fernando Mederos fmede...@gmail.com: Hi, You can not multiplex coils, as inactive coils will force a 0 to the signal. With internal coils will happen the same. Or should I put all the possible inputs for certain output in one rung This is one way to do it. You may also use set/reset coils instead of normal coils, these you can put a many as you want, but the logic may get more complicated. Thank You, guys, a lot! I think that I finally got, what did I do wrong. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
so what was wrong? were hangin here :) -- jeremy youngs -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
Can you reproduce it in sim? -- Sebastian Kuzminsky - Reply message - From: Viesturs Lācis viesturs.la...@gmail.com Date: Sat, Oct 27, 2012 17:32 Subject: [Emc-users] ClassicLadder error To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Hello! While working in premises of my customer to add new automatic material loading/unloading module for one of my machines, I have encountered strange error in ClassicLadder. I took a video on my phone with it: http://www.youtube.com/watch?v=9YjkGbpuT50 I will try to explain: The idea is to use classicladder to control valves for pneumatics that load the material in machine, hold it in place and then unload. When I started working on the ladder logic, everything was working fine, but then, at one moment, I think at the moment, when I linked one of classicladder input pins to motion.spindle-on, it just stopped turning the outputs on and off in a correct manner. Some of outputs are working fine, but others are doing I do not know what - seems like turning on for a very small amount of time at random moments. It is 2.5~pre, installed from buildbot package some time almost a year ago. I did copy all the config files, so I can share them, if that helps. I tried to workaround this with M62/M63 and M64/M65 commands and G4 inbetween them to specify correct time distances between any 2 events, but that did not work out nicely - I did not notice any difference after changing almost all P values for G4 command from 0,5 to 3,5. Restarting system for several times did not help either. I do not know, how many times did I restart LinuxCNC... Does anyone has any idea, what went wrong? -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
Crosstalk between spindle power lines and solenoid control lines perhaps? On Oct 27, 2012 6:36 PM, Viesturs Lācis viesturs.la...@gmail.com wrote: Hello! While working in premises of my customer to add new automatic material loading/unloading module for one of my machines, I have encountered strange error in ClassicLadder. I took a video on my phone with it: http://www.youtube.com/watch?v=9YjkGbpuT50 I will try to explain: The idea is to use classicladder to control valves for pneumatics that load the material in machine, hold it in place and then unload. When I started working on the ladder logic, everything was working fine, but then, at one moment, I think at the moment, when I linked one of classicladder input pins to motion.spindle-on, it just stopped turning the outputs on and off in a correct manner. Some of outputs are working fine, but others are doing I do not know what - seems like turning on for a very small amount of time at random moments. It is 2.5~pre, installed from buildbot package some time almost a year ago. I did copy all the config files, so I can share them, if that helps. I tried to workaround this with M62/M63 and M64/M65 commands and G4 inbetween them to specify correct time distances between any 2 events, but that did not work out nicely - I did not notice any difference after changing almost all P values for G4 command from 0,5 to 3,5. Restarting system for several times did not help either. I do not know, how many times did I restart LinuxCNC... Does anyone has any idea, what went wrong? -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] ClassicLadder error
I have not had that happen that I know of... Some things to check on is if you have enough objects allocated in your hal file.. (ie loadrt classicladder_rt numRungs=12 numBits=100 numWords=10 numTimers=10 numMonostables=10 numCounters=10 numPhysInputs?=10 numPhysOutputs?=10 numArithmExpr?=100 numSections=4 numSymbols=200 ...) Funky things happen when you try to add something and there isn't enough allocated.. Also - don't have an output (coil) in more than one place.. sam On 10/27/2012 08:31 PM, Jason Burton wrote: Crosstalk between spindle power lines and solenoid control lines perhaps? On Oct 27, 2012 6:36 PM, Viesturs Lācis viesturs.la...@gmail.com wrote: Hello! While working in premises of my customer to add new automatic material loading/unloading module for one of my machines, I have encountered strange error in ClassicLadder. I took a video on my phone with it: http://www.youtube.com/watch?v=9YjkGbpuT50 I will try to explain: The idea is to use classicladder to control valves for pneumatics that load the material in machine, hold it in place and then unload. When I started working on the ladder logic, everything was working fine, but then, at one moment, I think at the moment, when I linked one of classicladder input pins to motion.spindle-on, it just stopped turning the outputs on and off in a correct manner. Some of outputs are working fine, but others are doing I do not know what - seems like turning on for a very small amount of time at random moments. It is 2.5~pre, installed from buildbot package some time almost a year ago. I did copy all the config files, so I can share them, if that helps. I tried to workaround this with M62/M63 and M64/M65 commands and G4 inbetween them to specify correct time distances between any 2 events, but that did not work out nicely - I did not notice any difference after changing almost all P values for G4 command from 0,5 to 3,5. Restarting system for several times did not help either. I do not know, how many times did I restart LinuxCNC... Does anyone has any idea, what went wrong? -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users