New ethercat / probe basic control for minimonster

More
01 Nov 2025 07:53 #337622 by Hakan
The docs at linuxcnc.org/docs/html/config/ini-homing.html says it
 

The cia402 component says

 For using the servo drives internal homing procedure configure your
joint homing to Home on Index Pulse only and connect the components
home Input to the index-enable Pin:


I don't see you have connected that pin.

To debug, use halscope and record controlword and statusword to and from the drive.
Attachments:

Please Log in or Create an account to join the conversation.

  • ihavenofish
  • Away
  • Platinum Member
  • Platinum Member
More
01 Nov 2025 08:00 - 01 Nov 2025 08:01 #337623 by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
If I set like the table in your posts, it still moves and slams the axis into the end stops.
If I set homing sequence to -1 it flickers the drive.

I do not want any internal homing on the drive. I want no motion whatsoever.

What "normally" works is not here.
Last edit: 01 Nov 2025 08:01 by ihavenofish.

Please Log in or Create an account to join the conversation.

More
01 Nov 2025 08:06 #337624 by Hakan
That's odd. Here is what I have in my lathe where it homes on current position.
[JOINT_0]

TYPE = LINEAR
HOME = 0.0
FERROR = 0.5
MIN_FERROR = 1
MAX_VELOCITY = 20.0
MAX_ACCELERATION = 500.0
MAX_OUTPUT = 0.0
MIN_LIMIT = -106
MAX_LIMIT = 106
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0

Please Log in or Create an account to join the conversation.

More
01 Nov 2025 08:10 #337625 by Hakan
I don't think it is a good idea to combine homing on current position with HOME_OFFSET.
That means is set's zero exactly where it is and immediately after moves to HOME_OFFSET.

Please Log in or Create an account to join the conversation.

  • ihavenofish
  • Away
  • Platinum Member
  • Platinum Member
More
01 Nov 2025 08:10 #337626 by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
does your lathe use ethercat drives?

this is what i had before with the pulse drives. everything was fine. And i could have sworn in my first ethercat program *before* all this modbus nonsense it was fine as well.

Please Log in or Create an account to join the conversation.

More
01 Nov 2025 08:11 #337627 by Hakan
Yes it does have ethercat drives. And modbus nonsense as well.
 

Please Log in or Create an account to join the conversation.

  • ihavenofish
  • Away
  • Platinum Member
  • Platinum Member
More
01 Nov 2025 08:11 #337628 by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

I don't think it is a good idea to combine homing on current position with HOME_OFFSET.
That means is set's zero exactly where it is and immediately after moves to HOME_OFFSET.

ive removed that now, now, no change. also that offset is + direction and it is slamming the thing full speed into the table.

Please Log in or Create an account to join the conversation.

  • ihavenofish
  • Away
  • Platinum Member
  • Platinum Member
More
01 Nov 2025 08:13 #337629 by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster

Yes it does have ethercat drives. And modbus nonsense as well.

 

bah!
haha. clearly i've botched something somewhere. i just cant see it.

Please Log in or Create an account to join the conversation.

More
01 Nov 2025 08:14 #337630 by Hakan
"Divide and conquer".
Comment out everything except one single axis and try until you find it.

Please Log in or Create an account to join the conversation.

  • ihavenofish
  • Away
  • Platinum Member
  • Platinum Member
More
01 Nov 2025 08:19 #337631 by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
well we sorta already did that. there is no setting that doesnt either flicker the drives or slam the axis. like it does't respect search or latch vel at all.

that has to be a clue. something ELSE is making it home. maybe it IS doing internal drive homing?

Please Log in or Create an account to join the conversation.

Time to create page: 2.924 seconds
Powered by Kunena Forum