+1
Answered
J1939 Error - Caterpillar ECM
IQAN 3.18. MD4.
Communication with Caterpillar ECM over J1939.
When the machine control system is first powered up, and the engine is not running, the System Log logs several J1939 events related to a couple of PGNs.
Has anyone else seen this before?
I don't believe it is the PGN timeout, as there are several ECM PGNs with timeouts that don't log errors.
Anyone have any idea what "J1939 Error" Means?
Thanks!
As you can see, there are five J1939 errors that consistently show up on power cycle.
One of them is Engine Oil Pressure. Here is the PGN:
And the associated PIN:
Communication with Caterpillar ECM over J1939.
When the machine control system is first powered up, and the engine is not running, the System Log logs several J1939 events related to a couple of PGNs.
Has anyone else seen this before?
I don't believe it is the PGN timeout, as there are several ECM PGNs with timeouts that don't log errors.
Anyone have any idea what "J1939 Error" Means?
Thanks!
As you can see, there are five J1939 errors that consistently show up on power cycle.
One of them is Engine Oil Pressure. Here is the PGN:
And the associated PIN:
Customer support service by UserEcho
I changed the offending PGNs to priority 3. (They were all at 6.)
I'm going to keep an eye on the machine over the next several weeks, but that seems to have fixed it!
Jan, were you able to come up with any sort of resolution about it for the MD3?
About the J1939 error, you will get this status on a JPIN if it uses the property J1939 error check, and the bit-value is outside of the standard error detection range for J1939.
The error range for J1939 values depends on the size of the parameter:
- 2 bit: Error > 1
- 1 byte: Error > 250
- 2 byte: Error > 64255
The special case is when all bits are 1, then that means the parameter is not available.IQAN will use the status "J1939 not available" for the case where all bits are one, and "J1939 error" for all other cases where the parameter is outside of the error detection range.
"J1939 not available" will not be put in the log, but "J1939 error" will.
The strange thing is, I don't see why you would get a "J1939 error" on these parameters. It would be expected if the offset within the data field was set wrong on the JFIN, or if the lenght was wrong on the JPIN. But this looks correct.
Should the error range for 1 byte be 0xFE not 0xFA? And 2 bytes 0xFFFE not 0xFAFF?
Good point, the SAE defined "error indicator" is 0xFE for 1-byte and 0xFE00 - 0xFEFF for 2-byte.
"Valid signal" however is only up to 0xFA and 0xFAFF.
The IQAN JPIN channel will give the status "J1939 error" on all types of indicators; "parameter specific indicator", "reserved for future indicator" and "error indicator".
I experimented with different priorities, and with setting it to "don't care". I get inconsistent results with "don't care." Depending on the engine (we only use Caterpillar engines, but different sizes and age ranges), priority 3, 6, and "don't care" would sometimes cause the "J1939 Error" to show, and sometimes not.
I have more data now, and it seems to be pointing to a problem with the J1939 Error Check, as you suggested.
Here is a screenshot of an Analyze file, filtered to show only PGN 65262, engine temperature. I started the recording with power to the ECM off, and then turned the ignition on (ECM power-up) at 5 seconds. As you can see, the first two transmissions show 254 in the location of the engine temperature parameter.
The other parameters that show error also have too-high values for the first several transmissions. (Why, CAT, why?)
I guess my question at this point, is what exactly does "J1939 Error Check" do? It seems like the only thing it does is log errors if the J1939 data is outside acceptable limits... If that is so, I think we can run without it.
Here are screenshots of the corresponding parameter in the IQAN program:
The channel status will change from OK to error, and the channel value will become the Error value defined on the JPIN.
The error status will also be logged in the system log.
Below is a printrsceen from a simulation, in the IQANsimulate window on top the raw value is shown (254), and in the IQANdesign window, the channel value is shown, here it is 0°C, the error value defined on the JPIN.
If you set J1939 error check to No, the JPIN will not consider the value 254 to be an error, and instead use the value sent out to calculate a temperature that is outside of the data range for Engine coolant temperature (-40 to 210 °C). The JPIN would get the value 214°C.
Since there is conflicting information about the priority, I would recommend setting Priority to don't care. That way you can use the same application for both the priority 3 and priority 6 variants.