0
Answered

TDA message to set date and time of MC43

Frank GUO 1 year ago in IQANdesign updated by Gustav Widén (System support) 1 year ago 9

To setup the date and time for MC43, is that just sending TDA message (PGN54528) onto any CANBUS with any SA?

Currently, I would need to setup the date and time of MC43 by ProDisplay. The message (PGN54528) has been sent on CAN, but MC43 could not pick it up to adjust its date and time.

Answer

Answer

Hi Frank.

When i Tested this i just used the CAN database in design and added the TDA message from there.

I did this on a MD4 in a separate project and had a J1939 bus on bus A.

Then i had another project with the MC43 and TDA enabled and added a J1939 bus on A and connected the two modules on A.


But i noticed now when testing that if you are not sending correct values in your TDA it will not work.

For example the offset on the year(1985), locale minute(-125) and local hour(-125) needs to be correct.

so the sending part looks like this for me.

Hello Frank.

The TDA message can be either broadcast or assigned to the DA of the MC43, the SA on the sending unit does not matter.

The TDA message needs to be on a CAN bus that you have a J1939 bus on in the IQAN application.

And you will also need to enable the J1939 TDA on the MC43 in the system layout.

MC43 SA is 39(dec)

We are sending the message like below on a 1000 ms cycle:

18D52728,  28 26 10 03 54 22 00 00   (Hex)

Time: 16:38:10

Date:  2019 March 21

But the MC43 date and time does not change

Could you please advise? Thanks!

Hello Frank.

It should work if you have a J1939 CAN bus added in the application you are sending this on.

Have you set the "J1939 TDA enable" option to Yes on the MC43?

Hi Thomas,

It does not work. TDA has been enabled. TDA message has been tested on CAN A and CAN B. None of them worked. Could you please advise? Could that be a bug?

Regards,

Frank

And you also have a J1939 bus in the IQANdesign system layout on those CAN you tested on?

Hi Thomas,

It does not work. Are you able to send me an example that could work on your end? i.e. the IQAN program and CAN message been sent.

Regards,

Frank

If you need, my email is frank.guo@clarkequipment.com  

Answer

Hi Frank.

When i Tested this i just used the CAN database in design and added the TDA message from there.

I did this on a MD4 in a separate project and had a J1939 bus on bus A.

Then i had another project with the MC43 and TDA enabled and added a J1939 bus on A and connected the two modules on A.


But i noticed now when testing that if you are not sending correct values in your TDA it will not work.

For example the offset on the year(1985), locale minute(-125) and local hour(-125) needs to be correct.

so the sending part looks like this for me.