+1

CAN J1939/Generic data length

Marcel 4 weeks ago in IQANdesign updated by Gustav Widén (System support) 3 weeks ago 1

I'm using an Modbus <-> CAN converter to get communication working between an MC41 and a Modbus device. The converter expects variable data lengths of the CAN frame it receives. It is not possible to add a variable parameter to the data length of a CAN frame is it? It doesn't understand bytes with 'ff' or '00', it wil be processed as data.

The GFOUT lenght parameters is fixed, but you should be able to solve it by having multiple GFOUTs with the same identifier in the application, and trigger the one with the length you need.