New ethercat / probe basic control for minimonster
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 815
- Thank you received: 175
05 Mar 2025 16:46 #323289
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
ok, i've finished your instructions. now what? haha.
I've only ever set up linuxcnc with the mesa wizard. what guide should i follow now for the rest?
Thanks!
I've only ever set up linuxcnc with the mesa wizard. what guide should i follow now for the rest?
Thanks!
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 11127
- Thank you received: 3689
05 Mar 2025 20:42 #323311
by rodw
Replied by rodw on topic New ethercat / probe basic control for minimonster
Well now you need to write your hal file
Once you have motion, just start with one feature at time eg. estop, then homing, coolant/mist, then spindle.
I normally work in axis until I have the basics worked out before going to another GUI.
Here is my Ethercat mill config. Main thing here is there are some belts on the spindle so I have a component to scale the speed correctly.
It uses standard Linuxcnc homing with home sensors on all axes
Once you have motion, just start with one feature at time eg. estop, then homing, coolant/mist, then spindle.
I normally work in axis until I have the basics worked out before going to another GUI.
Here is my Ethercat mill config. Main thing here is there are some belts on the spindle so I have a component to scale the speed correctly.
It uses standard Linuxcnc homing with home sensors on all axes
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 11127
- Thank you received: 3689
05 Mar 2025 20:47 #323312
by rodw
Replied by rodw on topic New ethercat / probe basic control for minimonster
Ooops, you probably need the Ethercat xml too
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 815
- Thank you received: 175
05 Mar 2025 20:52 #323313
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
thanks!
this is what i assumed but did not know where to start. will try shortly.
im just poking this as i do other work so its taking a while
this is what i assumed but did not know where to start. will try shortly.
im just poking this as i do other work so its taking a while

Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 815
- Thank you received: 175
06 Mar 2025 04:16 #323326
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
tried your file, i get this
Note: Using POSIX realtime
lcec_conf: ERROR: unable to open config file ethercat-conf.xml
./VMNmillQT.hal:15: waitpid failed lcec_conf lcec_conf
./VMNmillQT.hal:15: lcec_conf exited without becoming ready
Could not open command file 'shutdown.hal'
23902
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Note: Using POSIX realtime
lcec_conf: ERROR: unable to open config file ethercat-conf.xml
./VMNmillQT.hal:15: waitpid failed lcec_conf lcec_conf
./VMNmillQT.hal:15: lcec_conf exited without becoming ready
Could not open command file 'shutdown.hal'
23902
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 815
- Thank you received: 175
06 Mar 2025 04:30 #323328
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
ok, that was my error. now it says failed to execute sdo download.
i think this is cause of course i dont have your servos/config (only one drive connected).
So i guess now i need to edit it to match my own?
i think this is cause of course i dont have your servos/config (only one drive connected).
So i guess now i need to edit it to match my own?
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 11127
- Thank you received: 3689
06 Mar 2025 04:41 #323329
by rodw
Replied by rodw on topic New ethercat / probe basic control for minimonster
Yes, I only shared the main hal file.
You need to run Ethercat slaves -v and get the vid and pid for your drive.
the main registers will be in the cia402.comp example. Mainly the registers with the 0x6000 addresses
The 2000's are vendor specific. So do the basics, then add in the vendor specific ones you need from your drive manual.
Note my drives have 4000 encoder counts per rev and on a 5mm pitch balls screw gives a scale of 800 per mm
note the byte data is in lo high format so 0x0102 will be formatted as 02 01 when setting SDOs
You need to run Ethercat slaves -v and get the vid and pid for your drive.
the main registers will be in the cia402.comp example. Mainly the registers with the 0x6000 addresses
The 2000's are vendor specific. So do the basics, then add in the vendor specific ones you need from your drive manual.
Note my drives have 4000 encoder counts per rev and on a 5mm pitch balls screw gives a scale of 800 per mm
note the byte data is in lo high format so 0x0102 will be formatted as 02 01 when setting SDOs
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 815
- Thank you received: 175
06 Mar 2025 05:25 #323330
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
so vid is vendior id and pid is product?
== Master 0, Slave 0 ===
Device: Main
State: PREOP
Flag: +
Identity:
Vendor Id: 0x00000083
Product code: 0x00000006
Revision number: 0x00020001
Serial number: 0x1001007d
DL information:
FMMU bit operation: no
Distributed clocks: yes, 64 bit
DC system time transmission delay: 0 ns
Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]
0 MII up open yes - 3318981850 0 0
1 MII up open yes 1 3318984170 2320 560
2 N/A down closed no - - - -
3 N/A down closed no - - - -
Mailboxes:
Bootstrap RX: 0x0000/0, TX: 0x0000/0
Standard RX: 0x1800/256, TX: 0x1c00/256
Supported protocols: CoE
General:
Group:
Image name:
Order number: R88D-KN02H-ECT
Device name: R88D-KN02H-ECT G5 Series ServoDrive/Motor
CoE details:
Enable SDO: yes
Enable SDO Info: yes
Enable PDO Assign: yes
Enable PDO Configuration: yes
Enable Upload at startup: no
Enable SDO complete access: yes
Flags:
Enable SafeOp: yes
Enable notLRW: no
Current consumption: 0 mA
== Master 0, Slave 0 ===
Device: Main
State: PREOP
Flag: +
Identity:
Vendor Id: 0x00000083
Product code: 0x00000006
Revision number: 0x00020001
Serial number: 0x1001007d
DL information:
FMMU bit operation: no
Distributed clocks: yes, 64 bit
DC system time transmission delay: 0 ns
Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]
0 MII up open yes - 3318981850 0 0
1 MII up open yes 1 3318984170 2320 560
2 N/A down closed no - - - -
3 N/A down closed no - - - -
Mailboxes:
Bootstrap RX: 0x0000/0, TX: 0x0000/0
Standard RX: 0x1800/256, TX: 0x1c00/256
Supported protocols: CoE
General:
Group:
Image name:
Order number: R88D-KN02H-ECT
Device name: R88D-KN02H-ECT G5 Series ServoDrive/Motor
CoE details:
Enable SDO: yes
Enable SDO Info: yes
Enable PDO Assign: yes
Enable PDO Configuration: yes
Enable Upload at startup: no
Enable SDO complete access: yes
Flags:
Enable SafeOp: yes
Enable notLRW: no
Current consumption: 0 mA
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 11127
- Thank you received: 3689
06 Mar 2025 06:07 #323333
by rodw
Replied by rodw on topic New ethercat / probe basic control for minimonster
yeh these
Vendor Id: 0x00000083
Product code: 0x00000006
Vendor Id: 0x00000083
Product code: 0x00000006
Please Log in or Create an account to join the conversation.
- ihavenofish
- Away
- Platinum Member
-
Less
More
- Posts: 815
- Thank you received: 175
06 Mar 2025 06:37 #323334
by ihavenofish
Replied by ihavenofish on topic New ethercat / probe basic control for minimonster
cool entered those. no change. (which i assume is expected)
I am looking at these hex things. where do i find the values? in the drive manual it lists them and then says the range.
eample:
<pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32"/>
<pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32"/>
I am looking at these hex things. where do i find the values? in the drive manual it lists them and then says the range.
eample:
<pdoEntry idx="6040" subIdx="00" bitLen="16" halPin="cia-controlword" halType="u32"/>
<pdoEntry idx="6060" subIdx="00" bitLen="8" halPin="opmode" halType="s32"/>
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.159 seconds