0

Want to make J1939 bus speed selectable via adjust item for a bus that has multiple masters connected

Kerry Brock 3 days ago in IQANdesign updated 2 days ago 3

I have a MD5-5 and MC41 in a system with a J1939 bus connected to both masters.  When I select an integer parameter channel to select between 250 and 500 kbps, it creates an error. The channel is located in an Initialization function group.  If I remove the connection of the J1939 bus from one of the master modules the error is not generated.  Is there a limitation to only being able to have one IQAN master connected?  I have tried this with 7.04 and 7.05 with the same result. In the pic below, if I hover over the red diamond it says "Speed not supported."

Image 5029

Image 5030


Your variable shall be a combobox
0 = 250kbps

1 = 500 kbps

2 = 1000 kbps

But with IQAN Design 7.04, i cannot set a variable for speed parameters !

Hello Kerry.

You are getting this error because you are trying to set the Bus speed on two masters with a single parameter.

You can only set the speed with a parameter that is located in the initialization group, and that is read at startup.

So you can not set the speed of the bus on another master with that.

You need to have a init group and parameter on each master and set the speed on both of them.

But you can only have one parameter that you set the speed with so you need to use "two" j1939 busses

Something like this.

Image 5032

That should work.

Just remember to set both parameter to the same speed as it would cause issues if you have two different speed on the same CAN bus.

Thanks Thomas.  Glad to hear there is a way to do this.