CAN-Bus HAL ?

More
11 Mar 2024 10:22 - 11 Mar 2024 10:41 #295624 by Ratman
CAN-Bus HAL ? was created by Ratman
Hello...

I have my Linux CNC running(RasPi4 with debian) the QPlasma and have full control of the table. (XY)
but now it comes to the PlasmaCutter.. The control of the ARC is done with a simple Relay (works)
but now I would also like to add the ARC ON feedback. I have found the plasmacutter to have CAN, and analysing the data I have come to see that:
CAN Packet # 0x9C4 Byte 2, contains 0x40 when off, and 0x41 when on, AKA Bit:0

is there anything that can MAP the BIT in the CAN msg -> HAL ?
The CAN interface used: www.waveshare.com/wiki/2-CH_CAN_FD_HAT
The interface seems to register as an NetInterface:



Maby like the Modbus (I have modbus running some status feedback from the servo drives)

/M
Last edit: 11 Mar 2024 10:41 by Ratman.

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

More
11 Mar 2024 22:13 #295692 by Ratman
Replied by Ratman on topic CAN-Bus HAL ?
Or a link to a GitHub that will make a good base for the new CANBus HAL module :)

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

Time to create page: 0.092 seconds
Powered by Kunena Forum