EtherCAT + 7i96s + Internet Success

More
29 Apr 2025 16:24 - 29 Apr 2025 16:28 #327303 by santy
Hello everyone.

I managed to get 3 separate NICs in a Fujitsu Desktop with a PCIe adapter, and now i have successfully connected to EtherCAT, Mesa 7i96s, and the internet simultaneously.

I have done this to move a XX,Y,Z gantry. I have 2 motors for 2 Z axis, which will work independently in 2 separate Qtplasmac configs.

I have created a simple 7i96s config from PNCCONF, and tried to adapt it into my CIA402 config. There have been some errors in trying to boot QTplasmac, because i keep getting different errors like the following.



I have to comment this line otherwise the system doesnt boot.
# ---JOINT ASSOCIATED WITH THE Z AXIS---
#net plasmac:axis-position joint.3.pos-fb => plasmac.axis-z-position

when i comment that line out, the config almost starts but then i get this.
Traceback (most recent call last): File "/usr/bin/qtvcp", line 555, in _qtvcp = QTVCP() ^^^^^^^ File "/usr/bin/qtvcp", line 261, in __init__ window.load_extension(opts.usermod) File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 269, in load_extension methods, self[obj].handler_module, self[obj].handler_instance = self._load_handlers([handlerpath], self.halcomp, self[obj]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 312, in _load_handlers objlist = h(halcomp, widgets, self.PATHS) # this sets the handler class signature ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 6107, in get_handlers return [HandlerClass(halcomp, widgets, paths)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 224, in __init__ float(self.iniFile.find('AXIS_Z', 'OFFSET_AV_RATIO')) * 60 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: float() argument must be a string or a real number, not 'NoneType' 




My main goal would be to start the config, and double the X axis signal into 2 motors, altering the cia402 config.

basically get a main axis and a tandem axis with ethercat, which will have 2 home input from the mesa card.

remove the problem of having to comment out the line which provides plasmac z axis position *listed above*

get 2 different Z motor driver slaves to run for Z axis, one for one config, and one for the other

Startup QTplasmac and finish my config according to the machine



Could anyone provide some tips in the right direction please ??
I attach my config below.


Thank you
best regards
Attachments:
Last edit: 29 Apr 2025 16:28 by santy.

Please Log in or Create an account to join the conversation.

More
30 Apr 2025 05:49 - 30 Apr 2025 05:49 #327328 by Hakan
Replied by Hakan on topic EtherCAT + 7i96s + Internet Success
Looks like it is missing a value for the OFFSET_AV_RATIO variable, doesn't it? Should be 0.5 I think but check the QtPlasmaC docs.
Last edit: 30 Apr 2025 05:49 by Hakan.

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds
Powered by Kunena Forum