Dynomotion

Group: DynoMotion Message: 15230 From: magergar@hotmail.com Date: 12/13/2017
Subject: Limit Switch Floating?
I have bit 16-18 as my limit switch:

    SetBitDirection(16,0);
    SetBitDirection(17,0); 
    SetBitDirection(18,0); 

these is the configuration I have for the 3:

    ch1->LimitSwitchOptions=0x121;

I only want to stop motion, and it works but the problem is that it activates even when the switch is not,
looking at the console I get this:

    Neg Limit Stop Axis:1

the kflop in this pin have pull down resistors so I didn't use any
I was thinking that maybe the problem is in the cable lenght because is quite long(24 ft) and is low Voltaje (3.3V)
could be that the input is floating? or maybe a configuration problem?


Group: DynoMotion Message: 15232 From: Tom Kerekes Date: 12/13/2017
Subject: Re: Limit Switch Floating?
Probably noise due to the long cables and fast 3.3V signals

You might add a filter capacitor of ~ ).1uF Ceramic very close to KFLOP between the inputs and KFLOP GND

Regards
TK




On 12/13/2017 3:48 PM, magergar@... [DynoMotion] wrote:
 

I have bit 16-18 as my limit switch:

    SetBitDirection(16,0);
    SetBitDirection(17,0); 
    SetBitDirection(18,0); 

these is the configuration I have for the 3:

    ch1->LimitSwitchOptions=0x121;

I only want to stop motion, and it works but the problem is that it activates even when the switch is not,
looking at the console I get this:

    Neg Limit Stop Axis:1

the kflop in this pin have pull down resistors so I didn't use any
I was thinking that maybe the problem is in the cable lenght because is quite long(24 ft) and is low Voltaje (3.3V)
could be that the input is floating? or maybe a configuration problem?



Group: DynoMotion Message: 15237 From: magergar@hotmail.com Date: 12/14/2017
Subject: Re: Limit Switch Floating?
I added a ceramic capacitor of 0.1 uF and I don't have that error anymore
but there's another thing
when one of the limit switch is activated all the other axes motion are stoped too
it's there any way that I can stop the motion of the axis that reached the limit?

and thanks for the support you give
Group: DynoMotion Message: 15238 From: Tom Kerekes Date: 12/14/2017
Subject: Re: Limit Switch Floating?
The "Stop Movement" option stops (feedholds) all the axes that are defined in the Coordinate System which is usually the appropriate thing to do. 

The other options will only affect the axis that hits the limit.

Regards
TK

On 12/14/2017 10:31 AM, magergar@... [DynoMotion] wrote:
 

I added a ceramic capacitor of 0.1 uF and I don't have that error anymore
but there's another thing
when one of the limit switch is activated all the other axes motion are stoped too
it's there any way that I can stop the motion of the axis that reached the limit?

and thanks for the support you give


Group: DynoMotion Message: 15239 From: magergar@hotmail.com Date: 12/14/2017
Subject: Re: Limit Switch Floating?
Ok That whas what i was looking for
on more thing...
How can I enable the axis when using "Disallow drive into limit" option without reestarting to 0 the coordinate?
I tried with "EnableAxis1" command but it set the axis to 0
I want to be able to move away from the limit with the actual coordinate
the way that I can do that is that if i save the coordinate and then use EnableAxisDest1 Coord
is there another way?
Group: DynoMotion Message: 15240 From: Tom Kerekes Date: 12/14/2017
Subject: Re: Limit Switch Floating?
You might try:

EnableAxisDest(1,ch1->Dest);

but you might have lost steps after hitting the limit.

Do you have encoders to track position?

Regards
TK

On 12/14/2017 1:51 PM, magergar@... [DynoMotion] wrote:
 

Ok That whas what i was looking for
on more thing...
How can I enable the axis when using "Disallow drive into limit" option without reestarting to 0 the coordinate?
I tried with "EnableAxis1" command but it set the axis to 0
I want to be able to move away from the limit with the actual coordinate
the way that I can do that is that if i save the coordinate and then use EnableAxisDest1 Coord
is there another way?


Group: DynoMotion Message: 15242 From: magergar@hotmail.com Date: 12/14/2017
Subject: Re: Limit Switch Floating?
no I don't have, so I can use that but it's not recomended right?
Group: DynoMotion Message: 15244 From: Tom Kerekes Date: 12/14/2017
Subject: Re: Limit Switch Floating?
correct

Regards
TK

On 12/14/2017 2:17 PM, magergar@... [DynoMotion] wrote:
 

no I don't have, so I can use that but it's not recomended right?