- Hardware & Machines
- Driver Boards
- Request custom bitfile: 5i25 + 7i77 (P3) + 7i74 (P2) with pktUART for Modbus
Request custom bitfile: 5i25 + 7i77 (P3) + 7i74 (P2) with pktUART for Modbus
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17936
- Thank you received: 5255
29 Jun 2026 23:56 #347409
by PCW
Replied by PCW on topic Request custom bitfile: 5i25 + 7i77 (P3) + 7i74 (P2) with pktUART for Modbus
What protocol does the pendant use?
Please Log in or Create an account to join the conversation.
- umerov
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 8
30 Jun 2026 05:40 #347413
by umerov
Replied by umerov on topic Request custom bitfile: 5i25 + 7i77 (P3) + 7i74 (P2) with pktUART for Modbus
The remote uses the RS422 protocol with a baud rate of 57600, configured for 8 data bits, no parity, and 1 stop bit (8N1).
For testing, I wrote a Python module to communicate with the remote via a COM-to-RS422 adapter, though I suspect it’s not very reliable.
My idea is to create a custom real-time LinuxCNC component, similar to the mesa_modbus component, and possibly use the internal hostmot2 C-API functions (hm2_pktuart_send(), hm2_pktuart_read(), and hm2_pktuart_setup()) to directly push and pull byte arrays into the FPGA’s transmit and receive FIFOs during the real-time servo thread.
For testing, I wrote a Python module to communicate with the remote via a COM-to-RS422 adapter, though I suspect it’s not very reliable.
My idea is to create a custom real-time LinuxCNC component, similar to the mesa_modbus component, and possibly use the internal hostmot2 C-API functions (hm2_pktuart_send(), hm2_pktuart_read(), and hm2_pktuart_setup()) to directly push and pull byte arrays into the FPGA’s transmit and receive FIFOs during the real-time servo thread.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
- Hardware & Machines
- Driver Boards
- Request custom bitfile: 5i25 + 7i77 (P3) + 7i74 (P2) with pktUART for Modbus
Time to create page: 0.085 seconds