- Posts: 1683
- Thank you received: 0
Modbus input for absolute encoder position?
My question is to discover if this is something Linuxcnc can take advantage of? I have a 6i25, 7i76, and 7i77 to work with. Any thoughts?
Thanks!!
Chris
Please Log in to join the conversation.
not directly useful to LinuxCNC, If the drives have a simulated encoder interface with index
for tge controller, that will allow homing to index.
Please Log in to join the conversation.
"11.3 Absolute encoders are used
11.3.1 Functional description
Using the servo motor with absolute encoders, the absolute value detection system can be built from the host device. With the absolute value detection system, it is not necessary to perform the home return operation each time the power is turned on. This function is based on MODBUS communication to read the absolute encoder number and position data, the upper device for processing control to achieve absolute encoder-related functions."
I also saw some blurbs in the manual about multi turn but I wasn't sure what it meant.
The manual file size is too late to attach, PDF format.
Chris
Please Log in to join the conversation.
I do suspect it would be a project to implement absolute encoder operation with non-reatime modbus initilaization
of position and then switching to quadrature for real time position feedback
Do the drives support any real time absolute position interfaces ( SSI, BISS etc )?
Please Log in to join the conversation.
Chris
Please Log in to join the conversation.
PCW wrote: OK if the drive manual says it can avoid homing than it must have multiturn absolute encoders
I do suspect it would be a project to implement absolute encoder operation with non-reatime modbus initilaization
of position and then switching to quadrature for real time position feedback
I don't think it would be that bad, actually.
1) A user-space Python module is loaded at startup, this pulls the data out of ttyUSB0 (or wherever the Modbus dongle ends up)
2) The three axis absolute positions are made available on HAL pins and added to the encoder module positions using a realtime sum2 module per axis.
3) The INI file specifies HOME_ABSOLUTE_ENCODER = 2 (New feature, 2.8 only) linuxcnc.org/docs/devel/html/config/ini-...t__lt_num_gt_section
I have a vaguely similar system on my lathe (with single-turn absolute resolvers) where the axis positions are saved to file on shutdown and then used to derive a full-turns count added to the resolver feedback.
Please Log in to join the conversation.
Chris
Please Log in to join the conversation.
linuxcnc.org/docs/devel/html/drivers/mb2hal.html
For the hardware interface, something like this:
There are lots on there. But get one with 3 terminals so you can connect GND.
Please Log in to join the conversation.
- Weiler810T
- New Member
-
- Thank you received: 0
Hardware-interface is:SEW Eurodrive DFE33B
download.sew-eurodrive.com/download/pdf/16725611.pdf
Please Log in to join the conversation.
Weiler810T wrote: .......realtime sum2 module ? what's that?
linuxcnc.org/docs/2.7/html/man/man9/sum2.9.html
It's one of many HAL modules, all listed here under "Realtime components and kernel modules"
linuxcnc.org/docs/2.7/html/
Please Log in to join the conversation.
