help, no stepper movement
- PCW
- Away
- Moderator
Less
More
- Posts: 17990
- Thank you received: 4838
17 Apr 2020 19:07 #164299
by PCW
Replied by PCW on topic help, no stepper movement
Please post (in text) the response to the command
ip a
Thanks
ip a
Thanks
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19516
- Thank you received: 6545
17 Apr 2020 19:35 #164308
by tommylight
Did you check the motors if they lock in place when you power the drives?
Try turning them by hand, they should not move.
Replied by tommylight on topic help, no stepper movement
That is good, no need to reinstall anything.ya i have done all that.
i ping the card
i do a mesaflash -- device 7i96 --addr 10.10.10.10 --readhmid
and i get a pin out.
Did you check the motors if they lock in place when you power the drives?
Try turning them by hand, they should not move.
Please Log in or Create an account to join the conversation.
- motal2004
- Offline
- Premium Member
Less
More
- Posts: 150
- Thank you received: 16
17 Apr 2020 19:52 #164313
by motal2004
Replied by motal2004 on topic help, no stepper movement
I will be home in about 4 hours, I'm in the Arizon. I will post ip a and try turning motors
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17990
- Thank you received: 4838
17 Apr 2020 20:41 #164326
by PCW
Replied by PCW on topic help, no stepper movement
Just saw another post with similar Ethernet symptoms
The "avahi" error happens when you have not set a static host address
The "avahi" error happens when you have not set a static host address
Please Log in or Create an account to join the conversation.
- motal2004
- Offline
- Premium Member
Less
More
- Posts: 150
- Thank you received: 16
18 Apr 2020 13:34 #164455
by motal2004
Replied by motal2004 on topic help, no stepper movement
so i did a fresh install
ip a
is this
~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 40:62:31:06:93:ac brd ff:ff:ff:ff:ff:ff
inet 169.254.7.127/16 brd 169.254.255.255 scope link eth0:avahi
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 40:62:31:06:93:ad brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/8 brd 10.255.255.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::4262:31ff:fe06:93ad/64 scope link
valid_lft forever preferred_lft forever
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:ba:35:e1:4d:a8 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.40/24 brd 192.168.0.255 scope global dynamic wlan0
valid_lft 86027sec preferred_lft 86027sec
inet6 2600:8800:4780:bc5:ed:2881:33a4:f66c/64 scope global noprefixroute dynamic
valid_lft 86387sec preferred_lft 86387sec
inet6 fe80::f225:b1b2:9762:8fa4/64 scope link
valid_lft forever preferred_lft forever
my hm2_eth board_ip 10.10.10.10 is attached
along with the my hal and in files
so it appears i have fixed the network issues , but no motor movement. i can move the joints by hand with enough pressure. I am going to check my wiring diagrams. I am making progress anything else you guys suggest ?
ip a
is this
~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 40:62:31:06:93:ac brd ff:ff:ff:ff:ff:ff
inet 169.254.7.127/16 brd 169.254.255.255 scope link eth0:avahi
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 40:62:31:06:93:ad brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/8 brd 10.255.255.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::4262:31ff:fe06:93ad/64 scope link
valid_lft forever preferred_lft forever
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:ba:35:e1:4d:a8 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.40/24 brd 192.168.0.255 scope global dynamic wlan0
valid_lft 86027sec preferred_lft 86027sec
inet6 2600:8800:4780:bc5:ed:2881:33a4:f66c/64 scope global noprefixroute dynamic
valid_lft 86387sec preferred_lft 86387sec
inet6 fe80::f225:b1b2:9762:8fa4/64 scope link
valid_lft forever preferred_lft forever
my hm2_eth board_ip 10.10.10.10 is attached
along with the my hal and in files
so it appears i have fixed the network issues , but no motor movement. i can move the joints by hand with enough pressure. I am going to check my wiring diagrams. I am making progress anything else you guys suggest ?
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19516
- Thank you received: 6545
18 Apr 2020 14:20 #164462
by tommylight
Replied by tommylight on topic help, no stepper movement
One more thing, in hal you have stepgen 01, 02, and 03 in use, so the drives have to be wired to outputs 2, 3 and 4.
Also setting the step_space and step_time in the ini file to 15000 would be nice to be sure the drives can register the steps, later you can lower that a bit.
Also setting the step_space and step_time in the ini file to 15000 would be nice to be sure the drives can register the steps, later you can lower that a bit.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19516
- Thank you received: 6545
18 Apr 2020 14:24 #164463
by tommylight
If that is not happening, something is not right with the drives, or the Enable inputs are inverted, if that is possible.
Replied by tommylight on topic help, no stepper movement
Yes, the network is correct. The motors should be locked and need a lot of pressure to move them when the drives are enabled.so it appears i have fixed the network issues , but no motor movement. i can move the joints by hand with enough pressure.
If that is not happening, something is not right with the drives, or the Enable inputs are inverted, if that is possible.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19516
- Thank you received: 6545
18 Apr 2020 14:29 #164465
by tommylight
Replied by tommylight on topic help, no stepper movement
Another thing to check, the DIP switches, make sure that they are all off except 7 and 8. If they are reversed you will have very low power going to motors, so it would be quite easy to rotate by hand.
Please Log in or Create an account to join the conversation.
- motal2004
- Offline
- Premium Member
Less
More
- Posts: 150
- Thank you received: 16
18 Apr 2020 18:37 #164481
by motal2004
Replied by motal2004 on topic help, no stepper movement
i took out my electronics box and moved to a test bench. I was reviewing the stepgen 0,1,2,3 orientation on the the mesa 7i96,
my wiring was the following:
stepgen 0 = z axis
stepgen 1, =y axis
stepgen 2= x axis
stepgen 3 = y' axis
hoping it would do make a difference i changed it to this
stepgen 0 = x axis
stepgen 1, =y axis
stepgen 2= y' axis
stepgen 3 = z axis
while i was checking the DIP switches, they are correct. i bump the wiring on the x axis driver, and fried it ,lesson learned .ordered a new one. I have a set of KL 5056 to continue testing.
i did notice those 3 output light up when theres nothing leading to them. not my intentions to have them in used
i did update the hal and ini files with pnCconf. and adjusted the step_space and step_time in the ini file to 15000
will up date in a minute
my wiring was the following:
stepgen 0 = z axis
stepgen 1, =y axis
stepgen 2= x axis
stepgen 3 = y' axis
hoping it would do make a difference i changed it to this
stepgen 0 = x axis
stepgen 1, =y axis
stepgen 2= y' axis
stepgen 3 = z axis
while i was checking the DIP switches, they are correct. i bump the wiring on the x axis driver, and fried it ,lesson learned .ordered a new one. I have a set of KL 5056 to continue testing.
i did notice those 3 output light up when theres nothing leading to them. not my intentions to have them in used
i did update the hal and ini files with pnCconf. and adjusted the step_space and step_time in the ini file to 15000
will up date in a minute
Please Log in or Create an account to join the conversation.
- motal2004
- Offline
- Premium Member
Less
More
- Posts: 150
- Thank you received: 16
18 Apr 2020 20:04 #164499
by motal2004
Replied by motal2004 on topic help, no stepper movement
One more thing, in hal you have stepgen 01, 02, and 03 in use, so the drives have to be wired to outputs 2, 3 and 4.
Tommylight, so i've been trying to figure this part out what lines in my hal file or where do i go so i don't have to wire the drivers to outputs ?
Tommylight, so i've been trying to figure this part out what lines in my hal file or where do i go so i don't have to wire the drivers to outputs ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.107 seconds