- Posts: 22011
- Thank you received: 7491
Ethercat - newbie guidelines
- tommylight
- Away
- Moderator
-
Less
More
4 years 9 months ago #231263
by tommylight
Replied by tommylight on topic Ethercat - newbie guidelines
Homing from the wrong side of the switch would result in what you describe, see lover part of the drawing.
Just a stab in the dark.
Just a stab in the dark.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
4 years 9 months ago #231265
by rodw
Replied by rodw on topic Ethercat - newbie guidelines
Yes its possible the HOME_LATCH_VELOCITY has an incorrect sign. I did think of that. But this is all happening external to Linuxcnc. Eg Linuxcnc is not commanding the motor to move, the drive is.Homing from the wrong side of the switch would result in what you describe, see lover part of the drawing.
Just a stab in the dark.
Please Log in or Create an account to join the conversation.
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
4 years 9 months ago - 4 years 9 months ago #231266
by db1981
Replied by db1981 on topic Ethercat - newbie guidelines
but maybe your input logic on the drive is inverse, or them are sink inputs.
hold down the switch, start the homing, release the switch and push it again.
I'm shure your drive then has done the excepted homing.
normaly you can set inverse of the input with an register.
hold down the switch, start the homing, release the switch and push it again.
I'm shure your drive then has done the excepted homing.
normaly you can set inverse of the input with an register.
Last edit: 4 years 9 months ago by db1981.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
4 years 9 months ago #231267
by rodw
Replied by rodw on topic Ethercat - newbie guidelines
Worth a try! 0x2008 sets input port polarity on this drive. (Normally Open or Normally Closed)but maybe your input logic on the drive is inverse, or them are sink inputs.
hold down the switch, start the homing, release the switch and push it again.
I'm shure your drive then has done the excepted homing.
normaly you can set inverse of the input with an register.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
4 years 9 months ago #231288
by tommylight
Replied by tommylight on topic Ethercat - newbie guidelines
I never said anything about LinuxCNC.
What you describe exactly matches the B section of the attached picture, so the drive is doing what is told but from the wrong side so it stops.
What you describe exactly matches the B section of the attached picture, so the drive is doing what is told but from the wrong side so it stops.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
4 years 9 months ago #231294
by rodw
Replied by rodw on topic Ethercat - newbie guidelines
Well I went back and checked what limit switches I had bought and they were normally open (NO). I checked the settings and NO polarity is a 1. Bit 4 (where the first bit is 0), is the one applicable for the home switch. The default setting in the register is 0xF0 so the input was set to NO.
I played around with the polarity and ended up with an utter mess. so reverted back to the working config using the component above.
So I'm going to sit this out until I get some ball screws mounted and the drives off my desk and into a machine. That may take a while.
Thanks everyone for your support. I will report back in due course.
I played around with the polarity and ended up with an utter mess. so reverted back to the working config using the component above.
So I'm going to sit this out until I get some ball screws mounted and the drives off my desk and into a machine. That may take a while.
Thanks everyone for your support. I will report back in due course.
Please Log in or Create an account to join the conversation.
Time to create page: 0.165 seconds