New ethercat / probe basic control for minimonster
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
30 Oct 2025 20:21 #337523
by ihavenofish
Thanks
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
Those were already there as I said before. no change. They are read only though so I don't know how they get used to turn the spindle on and off.A lot of pins starting with spindle.0 should be created. Check in halshow.
Thanks
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
30 Oct 2025 20:22 #337525
by ihavenofish
Component Pins:
Owner Type Dir Value Name
29 s32 OUT 2540 motion-command-handler.time
29 s32 OUT 34125 motion-controller.time
29 float IN 1 motion.adaptive-feed
29 float IN 0 motion.analog-in-00
29 float IN 0 motion.analog-in-01
29 float IN 0 motion.analog-in-02
29 float IN 0 motion.analog-in-03
29 float OUT 0 motion.analog-out-00
29 float OUT 0 motion.analog-out-01
29 float OUT 0 motion.analog-out-02
29 float OUT 0 motion.analog-out-03
29 bit OUT FALSE motion.coord-error
29 bit OUT FALSE motion.coord-mode
29 float OUT 0 motion.current-vel
29 bit IN FALSE motion.digital-in-00
29 bit IN FALSE motion.digital-in-01
29 bit IN FALSE motion.digital-in-02
29 bit IN FALSE motion.digital-in-03
29 bit OUT FALSE motion.digital-out-00
29 bit OUT FALSE motion.digital-out-01
29 bit OUT FALSE motion.digital-out-02
29 bit OUT FALSE motion.digital-out-03
29 float OUT 0 motion.distance-to-go
29 bit IN TRUE motion.enable
29 bit OUT FALSE motion.eoffset-active
29 bit OUT FALSE motion.eoffset-limited
29 bit IN FALSE motion.feed-hold
29 float OUT 0 motion.feed-inches-per-minute
29 float OUT 0 motion.feed-inches-per-second
29 bit IN FALSE motion.feed-inhibit
29 float OUT 0 motion.feed-mm-per-minute
29 float OUT 0 motion.feed-mm-per-second
29 float OUT 0 motion.feed-upm
29 bit IN FALSE motion.homing-inhibit
29 bit OUT TRUE motion.in-position
29 bit OUT FALSE motion.is-all-homed
29 bit IN FALSE motion.jog-inhibit
29 bit OUT FALSE motion.jog-is-active
29 bit IN FALSE motion.jog-stop
29 bit IN FALSE motion.jog-stop-immediate
29 bit OUT FALSE motion.motion-enabled
29 s32 OUT 0 motion.motion-type
29 bit OUT FALSE motion.on-soft-limit
29 bit IN FALSE motion.probe-input
29 s32 OUT 0 motion.program-line
29 float OUT 0 motion.requested-vel
29 u32 OUT 0x002CA523 motion.servo.last-period
29 bit OUT FALSE motion.teleop-mode
29 float OUT 0 motion.tooloffset.a
29 float OUT 0 motion.tooloffset.b
29 float OUT 0 motion.tooloffset.c
29 float OUT 0 motion.tooloffset.u
29 float OUT 0 motion.tooloffset.v
29 float OUT 0 motion.tooloffset.w
29 float OUT 0 motion.tooloffset.x
29 float OUT 0 motion.tooloffset.y
29 float OUT 0 motion.tooloffset.z
29 bit OUT FALSE motion.tp-reverse
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
Component Pins:
Owner Type Dir Value Name
29 bit IN FALSE spindle.0.amp-fault-in
29 bit IN TRUE spindle.0.at-speed
29 bit OUT TRUE spindle.0.brake
29 bit OUT FALSE spindle.0.forward
29 bit I/O FALSE spindle.0.index-enable
29 bit IN FALSE spindle.0.inhibit
29 bit IN FALSE spindle.0.is-oriented
29 bit OUT FALSE spindle.0.locked
29 bit OUT FALSE spindle.0.on
29 bit OUT FALSE spindle.0.orient
29 float OUT 0 spindle.0.orient-angle
29 s32 IN 0 spindle.0.orient-fault
29 s32 OUT 0 spindle.0.orient-mode
29 bit OUT FALSE spindle.0.reverse
29 float IN 0 spindle.0.revs
29 float OUT 0 spindle.0.speed-cmd-rps
29 float IN 0 spindle.0.speed-in
29 float OUT 0 spindle.0.speed-out
29 float OUT 0 spindle.0.speed-out-abs
29 float OUT 0 spindle.0.speed-out-rps
29 float OUT 0 spindle.0.speed-out-rps-absComponent Pins:
Owner Type Dir Value Name
29 s32 OUT 2540 motion-command-handler.time
29 s32 OUT 34125 motion-controller.time
29 float IN 1 motion.adaptive-feed
29 float IN 0 motion.analog-in-00
29 float IN 0 motion.analog-in-01
29 float IN 0 motion.analog-in-02
29 float IN 0 motion.analog-in-03
29 float OUT 0 motion.analog-out-00
29 float OUT 0 motion.analog-out-01
29 float OUT 0 motion.analog-out-02
29 float OUT 0 motion.analog-out-03
29 bit OUT FALSE motion.coord-error
29 bit OUT FALSE motion.coord-mode
29 float OUT 0 motion.current-vel
29 bit IN FALSE motion.digital-in-00
29 bit IN FALSE motion.digital-in-01
29 bit IN FALSE motion.digital-in-02
29 bit IN FALSE motion.digital-in-03
29 bit OUT FALSE motion.digital-out-00
29 bit OUT FALSE motion.digital-out-01
29 bit OUT FALSE motion.digital-out-02
29 bit OUT FALSE motion.digital-out-03
29 float OUT 0 motion.distance-to-go
29 bit IN TRUE motion.enable
29 bit OUT FALSE motion.eoffset-active
29 bit OUT FALSE motion.eoffset-limited
29 bit IN FALSE motion.feed-hold
29 float OUT 0 motion.feed-inches-per-minute
29 float OUT 0 motion.feed-inches-per-second
29 bit IN FALSE motion.feed-inhibit
29 float OUT 0 motion.feed-mm-per-minute
29 float OUT 0 motion.feed-mm-per-second
29 float OUT 0 motion.feed-upm
29 bit IN FALSE motion.homing-inhibit
29 bit OUT TRUE motion.in-position
29 bit OUT FALSE motion.is-all-homed
29 bit IN FALSE motion.jog-inhibit
29 bit OUT FALSE motion.jog-is-active
29 bit IN FALSE motion.jog-stop
29 bit IN FALSE motion.jog-stop-immediate
29 bit OUT FALSE motion.motion-enabled
29 s32 OUT 0 motion.motion-type
29 bit OUT FALSE motion.on-soft-limit
29 bit IN FALSE motion.probe-input
29 s32 OUT 0 motion.program-line
29 float OUT 0 motion.requested-vel
29 u32 OUT 0x002CA523 motion.servo.last-period
29 bit OUT FALSE motion.teleop-mode
29 float OUT 0 motion.tooloffset.a
29 float OUT 0 motion.tooloffset.b
29 float OUT 0 motion.tooloffset.c
29 float OUT 0 motion.tooloffset.u
29 float OUT 0 motion.tooloffset.v
29 float OUT 0 motion.tooloffset.w
29 float OUT 0 motion.tooloffset.x
29 float OUT 0 motion.tooloffset.y
29 float OUT 0 motion.tooloffset.z
29 bit OUT FALSE motion.tp-reverse
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1098
- Thank you received: 381
30 Oct 2025 20:26 #337527
by Hakan
Replied by Hakan on topic New ethercat / probe basic control for minimonster
Misunderstood you there.
Which one to start with?
Which one to start with?
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
30 Oct 2025 20:36 - 30 Oct 2025 20:40 #337529
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
I'm lost now. haha
All those spindle.0 pins have been there from the beginning. They are all read only so I cant connect them to for example my mb2hal pins.
The only thing I am trying to do is to have m3/m5 run my spindle.
From halshow i can directly set the pins to turn the spindle on. Now I just need whatever commands m3/m5 in the ui/gcode to change those.
When I typo M3 S3000 in the mdi I do not see any hal pins in halshow change at all. So I assume that means m3 is not connected to anything yet... OR, I'm missing something.
All those spindle.0 pins have been there from the beginning. They are all read only so I cant connect them to for example my mb2hal pins.
The only thing I am trying to do is to have m3/m5 run my spindle.
From halshow i can directly set the pins to turn the spindle on. Now I just need whatever commands m3/m5 in the ui/gcode to change those.
When I typo M3 S3000 in the mdi I do not see any hal pins in halshow change at all. So I assume that means m3 is not connected to anything yet... OR, I'm missing something.
Last edit: 30 Oct 2025 20:40 by ihavenofish.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11563
- Thank you received: 3882
30 Oct 2025 20:39 #337531
by rodw
Replied by rodw on topic New ethercat / probe basic control for minimonster
I don't think you have set the spindle at speed pin anywhere......
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
30 Oct 2025 21:01 #337534
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
Clues.... so i have now connected (i expect) the spindle correctly, it was actually connected before, however that is done, my ethercat drives wig out and repeatedly cycle on and off.
Hmmmm. So there is a conflict with the spindle.0 pins.
Hmmmm. So there is a conflict with the spindle.0 pins.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
30 Oct 2025 21:24 #337538
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
Apparently the net naming was conflicting with the ethercat naming. renamed and now its fine. had to mess with the spindle scaling but now its perfect.
So ultimately in my custom.hal the pins were simply not connecting the to the spindle.0 commands, and the names had to be changed so they didnt conflict with ethercat.
So chatgpt DID get it right, it just didnt not know (how) to resolve the conflict and went on a bizarre hallucination.
Thanks guys, I think at the end of it I actually understand this all now, and am not just slapping random code in going "why's it borked?"
So ultimately in my custom.hal the pins were simply not connecting the to the spindle.0 commands, and the names had to be changed so they didnt conflict with ethercat.
So chatgpt DID get it right, it just didnt not know (how) to resolve the conflict and went on a bizarre hallucination.
Thanks guys, I think at the end of it I actually understand this all now, and am not just slapping random code in going "why's it borked?"
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
01 Nov 2025 06:12 #337615
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
hrm...
So i have no limit switches yet. i with the old servos and with these id just move the machine to the home position, then press the home all button in axis, and it would mark everything 0 and call it homed.
Now, I pressed home and the machine moved, at full rapid, into the end stops....
Because I didn't change anything at all in the ini since last time, I am confused.
What is the correct way to have the machine home without actually moving?
Also the machine z home offset is set to 110 at the top of the axis, but it slams down into the table. It also goes full rapid even if the rapid overide is 1% and the home approach speed is 1mm/m.
Clearly something is screwwy but i cant see it. I will add my INI and hall files in a moment.
So i have no limit switches yet. i with the old servos and with these id just move the machine to the home position, then press the home all button in axis, and it would mark everything 0 and call it homed.
Now, I pressed home and the machine moved, at full rapid, into the end stops....
Because I didn't change anything at all in the ini since last time, I am confused.
What is the correct way to have the machine home without actually moving?
Also the machine z home offset is set to 110 at the top of the axis, but it slams down into the table. It also goes full rapid even if the rapid overide is 1% and the home approach speed is 1mm/m.
Clearly something is screwwy but i cant see it. I will add my INI and hall files in a moment.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
01 Nov 2025 06:15 - 01 Nov 2025 06:39 #337616
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
config files
Last edit: 01 Nov 2025 06:39 by ihavenofish.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 936
- Thank you received: 228
01 Nov 2025 07:04 #337617
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
Ok, so I sorta understand what is going on. searchvel set to 0 is supposed to work. It was in my file before, HOWEVER it causes my ethercat drives to reset repeatedly, apparently cause the home routine toggles enable. This is basically what was happing with the M3 pins, some manner of conflict.
So how do we get around this?
So how do we get around this?
Please Log in or Create an account to join the conversation.
Time to create page: 0.109 seconds