Author Topic: VALID ID FOR BLOCK TX CAN  (Read 8446 times)

Offline tronelec

  • PLUS+1 Developer
  • ***
  • Posts: 20
  • Karma: +0/-1
VALID ID FOR BLOCK TX CAN
« on: May 06, 2020, 09:10:57 PM »
HELLO, someone will have information about the valid id to use, generally I use id 0x0DB0001 to communicate a DP to an MC or from an MC to another MC (this id was given to me by an example a programmer from Brazil).
today I am communicating two DP720 A MC050 A MC024. the problem is that the service tool loses the MC024 sometimes I can't refresh the connection, change all the IDs A 0X00F10 onwards in each controller and the problem was solved, but I can't understand how an id number can generate communication conflict, (I'm using google translator, sorry)

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 296
  • Karma: +28/-1
Re: VALID ID FOR BLOCK TX CAN
« Reply #1 on: May 07, 2020, 02:17:58 PM »
Hi tronelec,

My first thought about this was that you used an ID that was within the Service Tool specific area, 0xCDA0000 to 0xCDBFFFF.  But you seem to clear that.

Did you lose connection to the MC024 with all the units or was it only with the Service Tool?
Best regards,
Tor
PLUS+1® SW PAE Team

Offline tronelec

  • PLUS+1 Developer
  • ***
  • Posts: 20
  • Karma: +0/-1
Re: VALID ID FOR BLOCK TX CAN
« Reply #2 on: May 07, 2020, 11:42:45 PM »
hi HILL, the error is strange, I just lose the mc024-120 from the service tool and recover it by scanning the network again, if I turn off the mc050 the error does not appear. if I turn on the mc050 the problem appears, it should be noted that the network I have 2 dp720 transmitting and receiving 1 mc050 transmitting and receiving and 1 mc024 transmitting and receiving, if I lose the mc024 from the service tool this will not at any time continue sending error and receiving the messages from the other drivers I only lose it from the service tool. now change all the id of the displays and microcontrollers as follows:
mc024 before tx1 id:0x01DB1111 now tx1 id: 00F40
MC050 before tx1 id:0x01DB0001 now tx1 id: 00F10
           before tx2 id:0x01DB0010 now tx1 id: 00F20
           before tx3 id:0x01DB0011 now tx1 id: 00F30
DP720 N°1 before tx1 id: 0x01DB0000 now tx1 id: 00F50
DP720 N°2 before tx1 id: 0x01DB0100 now tx1 id: 00F60

With the new id the problem does not appear, it is solved but I don't know why the old id caused a conflict with the service tool (I used version 11 and 12 for testing)

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 352
  • Karma: +8/-0
    • Marbek Elektronik
Re: VALID ID FOR BLOCK TX CAN
« Reply #3 on: May 09, 2020, 10:18:48 AM »
But why are you usning extended mode addresses?
Mostly I use 0x400-0x7ff  to communicate between controllers.
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung

Offline tronelec

  • PLUS+1 Developer
  • ***
  • Posts: 20
  • Karma: +0/-1
Re: VALID ID FOR BLOCK TX CAN
« Reply #4 on: May 11, 2020, 06:23:34 PM »

hello Marbek_Elektronik, I use extended mode because I have had in the past intermittent transmission, for example I transmit a joystick from one mc to another mc, and the signal blinks, since then I have always used extended mode (with trial and error I have never seen a document that explains this block)

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 296
  • Karma: +28/-1
Re: VALID ID FOR BLOCK TX CAN
« Reply #5 on: May 12, 2020, 08:03:19 AM »
Hi,

You can find information about the CAN Tx block by marking the component in the right "menu" in PLUS+1 GUIDE and press F1 (See image).

Best regards,
Tor
PLUS+1® SW PAE Team

Offline acmall

  • PLUS+1 Guru
  • *****
  • Posts: 201
  • Karma: +37/-1
Re: VALID ID FOR BLOCK TX CAN
« Reply #6 on: May 12, 2020, 09:20:58 AM »
If you need a bit more information on CAN and the difference between standard 11 bit ID's (CAN2.0A) and extended 29 bit ID's (CAN 2.0B) there is a basic introduction here: -
https://www.kvaser.com/can-protocol-tutorial/