Hi,
i'm working with ethercat and i have configured ESTUN PRONET following the instructions read on this forum (
forum.linuxcnc.org/27-driver-boards/3559...uxcnc-how-to-install
).
The driver work properly, and i tested velocity mode and position mode configurations with linuxcnc.
I have a problem with ESTUN EDM3 (dual motor drive). Reading the EDM3 manual, this drive seems to be equal to PRONET drive.
i have configured .xml file with the PDO for the second motor (these are shifted of 0x800) but using hal meter in linuxcnc i see al lcec pins to 0.
Ethercat configuration i think is ok, because with ethercat commands the drive work for example:
for motor 1
ethercat -p0 -t uint16 download 0x6040 0 0x0006 # EnableVoltage+QuickStop
ethercat -p0 -t uint16 download 0x6040 0 0x0007 # +SwitchOn
ethercat -p0 -t uint16 download 0x6040 0 0x000f # +EnableOperation
for motor 2
ethercat -p0 -t uint16 download 0x6840 0 0x0006 # EnableVoltage+QuickStop
ethercat -p0 -t uint16 download 0x6840 0 0x0007 # +SwitchOn
ethercat -p0 -t uint16 download 0x6840 0 0x000f # +EnableOperation
I can read the encoders and send command to move the motor. Etherlab module work fine.
The read/write operation with HAL lcec pins doesn't work.
I have connected two drives on ethercat, EDM3 slave 0 and PRONET slave 1, changing ethercat.xml file. The result is that reading HAL pins with HAL METER i see lcec pin of PRONET correctly but the pins of ED3M are fixed to 0.
Attached is the output of "ethercat slaves -v" command.
The slaves settings of the drive are little different. In particular there is a flags "Enable notLRW: yes" that is different from PRONET. I'm not expert of ethercat but probably read/write mode mybe different. Probably i must adjust the xml configuration for ED3M but i don't know how.
Suggestions are appreciated.
Thanks.