0
Variant Source address adjust
Hello, I have a engine control project that I use the same base program but I swap from a Diesel engine to Natural gas. The Diesel uses Source address 0 and the Natural Gas uses 39. I have a MD4 and MC43FS. I have variant programs as it changes they control function between the Diesel and the Gas. That works good but i have to manually change the source address each time I upload. It would be good if we could in the initialization use a variant that would select the appropriate source address. Maybe there is already another way to do this? Or if we could set some CAN messages to accept from any source address.
Customer support service by UserEcho
Can't you just put both engines in the program as j1939 modules and enable one or the other based on the engine installed?
Yes but there is just a fair bit of interconnection and I do have to be careful as my program is quite large as it is and I already turn function groups on and off as use them. Just would be a nice feature to have a variant selected source address