New ethercat / probe basic control for minimonster
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 992
- Thank you received: 333
01 Nov 2025 08:49 #337632
by Hakan
Replied by Hakan on topic New ethercat / probe basic control for minimonster
halscope and record statusword and controlword.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 921
- Thank you received: 218
01 Nov 2025 09:19 #337633
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
ok, so
machine off:
controlword = 4
statusword = 2672
opmode = 8
machine on:
15
6711
8
press home all and instant crash and fault
saw something about forcing opmode 8, however this changes nothing. still full speed into the end stops.
another suggestion is to just inhibit motion, but that seems not right either. Need to find out WHY it is moving.
so if i home and crash, is there something in the controlword and statusword i should see? it happens in a few ms.
machine off:
controlword = 4
statusword = 2672
opmode = 8
machine on:
15
6711
8
press home all and instant crash and fault
saw something about forcing opmode 8, however this changes nothing. still full speed into the end stops.
another suggestion is to just inhibit motion, but that seems not right either. Need to find out WHY it is moving.
so if i home and crash, is there something in the controlword and statusword i should see? it happens in a few ms.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11468
- Thank you received: 3845
01 Nov 2025 09:27 #337634
by rodw
Replied by rodw on topic New ethercat / probe basic control for minimonster
Sounds like you are set for internal homing. If you want to do Linuxcnc homing, use generic pin types which you can set in your XML and don't load a homemod. This still works well.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 921
- Thank you received: 218
01 Nov 2025 09:29 #337635
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
Nothing seems to change when i home other than the joint error from the crash (i've blocked the axis). So maybe its not the drive homing after all.
still makes zero sense.
still makes zero sense.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11468
- Thank you received: 3845
01 Nov 2025 09:38 #337636
by rodw
Replied by rodw on topic New ethercat / probe basic control for minimonster
immediate homing is covered here linuxcnc.org/docs/stable/html/config/ini...ml#_immediate_homing
But spending an hour wiring home switches will be well worth it!
I could not use a machine without home switches and yes I tried!
But spending an hour wiring home switches will be well worth it!
I could not use a machine without home switches and yes I tried!
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 992
- Thank you received: 333
01 Nov 2025 09:45 - 01 Nov 2025 09:45 #337637
by Hakan
If I look at cia402 code the only reason I can see (but I might miss of course)
is that it does an auto fault-reset due to it receiving a fault code.
Halscope.
And thumb on e-stop.
Replied by Hakan on topic New ethercat / probe basic control for minimonster
Use halscope to record, it catches every ms.
so if i home and crash, is there something in the controlword and statusword i should see? it happens in a few ms.
If I look at cia402 code the only reason I can see (but I might miss of course)
is that it does an auto fault-reset due to it receiving a fault code.
Halscope.
And thumb on e-stop.
Last edit: 01 Nov 2025 09:45 by Hakan.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 921
- Thank you received: 218
01 Nov 2025 09:46 #337638
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
Yup, that's what's not working as expected. It has zero effect on homing.
The section after that is what ill try that tomorrow. That hopefully at least will tell me if linuxcnc is causing the motion, or the drive.
The section after that is what ill try that tomorrow. That hopefully at least will tell me if linuxcnc is causing the motion, or the drive.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 921
- Thank you received: 218
01 Nov 2025 09:47 #337640
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
OK, ill try that tomorrow.
so if i home and crash, is there something in the controlword and statusword i should see? it happens in a few ms.
Use halscope to record, it catches every ms.
If I look at cia402 code the only reason I can see (but I might miss of course)
is that it does an auto fault-reset due to it receiving a fault code.
Halscope.
And thumb on e-stop.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 921
- Thank you received: 218
01 Nov 2025 19:49 #337674
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
ok, first things, i had the values for controlword and statusword reversed. sigh. haha.
This is aggravating. I am seeing some "blip" on the statusword periodically, but i'm not able to capture it.
i did determine that when i power off and power on the servos, they read 0. so if i physically move the machine to the right spot the machine can safely home with motion so it wont crash...
so individually we will record a bunch of pins during homing.
statusword
controlword
opmode
ill be doing this after lunch. what other pins should i scope?
This is aggravating. I am seeing some "blip" on the statusword periodically, but i'm not able to capture it.
i did determine that when i power off and power on the servos, they read 0. so if i physically move the machine to the right spot the machine can safely home with motion so it wont crash...
so individually we will record a bunch of pins during homing.
statusword
controlword
opmode
ill be doing this after lunch. what other pins should i scope?
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
-
Less
More
- Posts: 992
- Thank you received: 333
02 Nov 2025 08:18 #337697
by Hakan
Replied by Hakan on topic New ethercat / probe basic control for minimonster
Start with controlword, statusword, opmode and opmode-display.
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds