Re: [Emc-users] ClassicLadder error

2012-10-28 Thread jeremy youngs
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

2012-10-28 Thread Viesturs Lācis
2012/10/28 Fernando Mederos :
> 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

2012-10-28 Thread Fernando Mederos
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] Stupid LinuxCNC Tricks

2012-10-28 Thread kqt4at5v
> The ultimate goal of all this is to make a delta-arm 3D printer and
> use kinematics in LinuxCNC for the tricky math bits that are hard to
> do on the AVR micro-controllers most 3D printers use for control.

http://reprap.org/wiki/Rostock_MAX

--
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 Thread Jason Burton
Sorry, posted from my phone (didn't see the video).
On Oct 28, 2012 3:44 AM, "Viesturs Lācis"  wrote:

> 2012/10/28 Jason Burton :
> > 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 :
> >   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


[Emc-users] Contact Ickgucklive

2012-10-28 Thread Jesús Alòs
Hello. I'm looking for contact with Ickgucklive.
Can some body help me.
--
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 Thread John Thornton
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 :
>> 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 :
>>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

2012-10-28 Thread John Thornton
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] What should I do to get the performance back?

2012-10-28 Thread Sven Wesley
2012/10/25 Kent A. Reed 

> ...[snip]...
>
With this in mind (and you did mentioned graphics first), have you tried
> my favorite trick and run your LinuxCNC host in headless mode, using
> another computer to provide X services? A quick test would confirm if
> you are being undone by your host's graphics subsystem.
>
> Regards,
> Kent
>
>
Unfortunately the graphics card didn't like me playing around with the
drivers and it got really hot. I replaced it with a dirt cheap card just to
get the PC back up again.
Did a remote X session test five minutes ago.
ssh -X connection from my CAM workstation, played Youtube videos,
downloaded LinuxCNC, copied files locally in Nautilus.
Latency maxed out at 10 200 ns. Performance increase 55 %.
I'm starting to believe that Torvalds' Nvidia ranting is justified...

/S
--
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 Thread Viesturs Lācis
2012/10/28 Jason Burton :
> 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 :
>   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