The answer probably lurks in either `ethercat sdos -p <leadshine ID number>` or the ESI file for the CS3E-D1008.
It doesn't look like I managed to add the CS3E series to
linuxcnc-ethercat.github.io/esi-data/devices/#Leadshine
yet, and I'm not at my LinuxCNC dev machine right now, so I can't really look it up. *Most likely* the Windows software just sets a bunch of 0x2xxx SDOs for resistance, current, etc, using a lookup table in the software, but you can probably get the right values out of Leadshine's datasheets.
I've been working on a
generic driver for CiA 402 devices
, and I'm keeping Leadshines in mind, but I'm starting with the RTelligent ECT60 first. It was slightly easier to order than any of the Leadshines

. There are some generic CiA 402 ways of setting/discussing motors, but I kind of doubt that any of the cheap drivers use them. They look kind of half-done, at least in the 2007 version of the spec that I'm looking at.