[etherlab-users] el7031 stepper drivers - input registers always zero in PDO, ok in SDO

Michał Rawlik mrawlik at phys.ethz.ch
Wed Dec 14 09:27:59 CET 2016


I am having a peculiar issue with the el7031 stepper motor drivers.

I use them with the predefined PDO assignment "Positioning interface with info data":
SM2 (output): 0x1601 0x1602 0x1606
SM3 (input): 0x1A01 0x1A03 0x1A06

I have no problem with the output PDO entries and can operate motors. However, when I read the input registers I always get 0 (in particular I care about (0x6020 0x01 1 "busy") and (0x6020 0x11 32 "actual position"). At the same time I can get the correct values of those registers via SDO.

I do not use distributed clocks, have a cycle time of 5ms, run the program in userspace with the ethercat service, on openSUSE Leap 42.2, with generic ethernet driver.

I had a look in TwinCAT3 and there it is the same - okay in SDO, always zeros in PDO.


More information about the Etherlab-users mailing list