I am new to this forum and this is my first topic.
Yes, I checked the already existing topics and postings to this, and did not find an answer yet.
In the last months, I build and setup my own cnc router.
Due to continues improvement, I decided to move away from parallel port to beckhof.
All my common input/output signals went already over to beckhof ethercat connectors.
No, I try to move my axis engines over to EL7041 (without extension "-1000").
All seems to be working so far (HAL driver seems to be ok,...), but when I try to move the axis,
LinuxCnc stops with message "joint 2 following error".
Please note that I am using the Beckhoff EL7041 without an encoder.
My engines are still simple 4 connector (A+ A- B+

engines.
I guess at the moment, that EL7041 is waiting for encoder signal, because when I start LinuxCnc machine,
I can see LEDs for RUN, ENCODER, DRIVER, POWER, ENABLE.
And when I try to move the engine, WARNING Led lights up, and ENABLE is getting dark.
My XML-File looks like this:
Code:
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1000">
<!-- -->
<!-- EK1100 EtherCAT-Koppler (2A E-Bus) -->
<slave idx="0" type="EK1100" name="D1"/>
<!-- -->
<!-- EL1084 4K. Dig. Eingang 24V, 3ms, negativ -->
<slave idx="1" type="EL1084" name="D2"/>
<!-- -->
<!-- EL2008 8K. Dig. Ausgang 24V, 0.5A -->
<slave idx="2" type="EL1008" name="D3"/>
<!-- -->
<!-- EL2008 8K. Dig. Ausgang 24V, 0.5A -->
<slave idx="3" type="EL1008" name="D4"/>
<!-- -->
<!-- EL1008 8K. Dig. Eingang 24V, 3ms -->
<slave idx="4" type="EL2008" name="D5"/>
<!-- -->
<!-- EL1008 8K. Dig. Eingang 24V, 3ms -->
<slave idx="5" type="EL2008" name="D6"/>
<!-- -->
<!-- EL1008 8K. Dig. Eingang 24V, 3ms -->
<slave idx="6" type="EL7041-1000" name="D7"/>
<!-- -->
<!-- EL6614 4 Port Switch (Ethernet, CoE) -->
<!--<slave idx="4" type="EL6614" name="D5"/> -->
</master>
</masters>
My HAL-File looks similar to this:
github.com/koppi/mk/blob/master/linuxcnc...c/koppi-cnc-axis.hal
github.com/koppi/mk/blob/master/linuxcnc...cnc/koppi-cnc-io.hal
Please understand that it feels a bit embarrassing for me if I would show you my HAL file,
as it has suffered hours and hours of try and error (I will clean it up within the next hours).
Thank you,
Hawkeye