Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

J1939 PGN Transmission Mode - Application Triggered

bvanbata
2013-02-20
2014-02-19
  • bvanbata

    bvanbata - 2013-02-20

    What is the method to trigger the transmission of J1939 PGNs from the application when using 'Transmission Mode' = "Application Triggered"? Is there a global variable that is used? A library function call, etc...? Please advise.

     
  • DavidWSteadman

    DavidWSteadman - 2013-11-18

    I think bvanbata may have moved on from this problem, but I have found the answer, in case anyone else is looking for it.

    If you have a device called J1939_ECU, then you call the function J1939_ECU.TriggerPGByIdx(). It takes an integer as its input - this is the index of the PGN you want to trigger in the list of PGNs for the device.

     
  • bburgess

    bburgess - 2014-01-13

    Related topic: need to find how determine j1939 message has been lost?
    In other words message has timed out and exceeded expected PRT. Like the receive
    Blocks in v2.3.

     
  • DavidWSteadman

    DavidWSteadman - 2014-02-19

    Ha! Yeah, I've been asking that question, too. Apparently, this will be supported in the J1939 stack as of V3.5 SP5. In the meantime, you have some options to do it manually using the CAN-API found in the CANbus example available for free at the CODESYS store.

     

Log in to post a comment.