J1939 connection

mgiul
2021-01-29
2022-05-11
  • mgiul - 2021-01-29

    Hello,

    I'm new in codesys... and I have a big problem with the J1939.

    I use a CR1059 panel of IFM and I use a CAN Line to connect the PLC at the engine motor.

    I want to know the value of rpm and i punt in the TAB TX_signal the PGN 61444 (EEC1).

    But when I put the variable mapped on the program I don't read nothing.

    I use the pcan view and I read the traffic on the net CAN J1939.
    I see that the ECU send automatically some PGN and I can read this, but I can't read the value that I want to read.

    Can you help me?

    Ciao

     
  • jaguerop - 2022-03-17

    hola, podrias enviar una foto para poder ayudarte

     
  • mgiul - 2022-05-09

    Good morning,

    some question:
    1. How you have configurated the J1939 manager?
    2. Are you sure that you check the J1939 channel? 4 messages is not a lot.

    Ciao
    Michele

     
  • mrossi - 2022-05-10

    Hi Michele
    my answers:
    1 In the master I inserted the file for my slave. (Picture Master). The other setting are still as defualt. Adjusted Baud @500Kbit/s.
    2 In the PeakView are present only 4 message, because only one slave is connected and nothing running on my Laptop. If i run the evaluation SW (win exe) on my laptop the number of message increase (Picture PCanView_SW_Running).

    Thank's

    Ciao.
    Mirko.

     
  • mgiul - 2022-05-10

    Hello Mirko,

    I can't understand what you want to do...

    But pay attention, TX signal is the signal received and not sended.

    Ciao
    Michele

     
  • mrossi - 2022-05-10

    Hello Michele,
    I try to receive the signals inside codesys, but i'm not able.
    Inside PCAN View I'm able to see the messages from motor.

    What it's wron in my configuration.
    If you want i can post a project.

    Ciao.
    Mirko.

     
  • mgiul - 2022-05-11

    Ok, post the project.

    I have Codesy 3.5.16.2 and 3.5.11

    Ciao
    Michele

     
  • mrossi - 2022-05-11

    Hello Michele,
    here the project.
    My version is 3.5.17.
    Ciao.
    Mirko.

     

    Last edit: mrossi 2022-05-11
  • mgiul - 2022-05-11

    Hi,
    I see the project but I have a previous version and I have some problem to open the project.

    I don't see problem... or wrong configuration... it will be helpful see the on-line behavior.

    Ciao
    Michele

     
  • mrossi - 2022-05-11

    Hi,
    ok thank you.
    My doubt now is related at the message format . Because in Twincat I'm able to recive data.
    The only different is that inside Twincat I see frame message 29bit.
    Inside Codesys i not found this parameter to change.
    BR.
    Mirko.

     

Log in to post a comment.