Results 1 to 4 of 4

Thread: Engine Status and Speed Control using PGN 0000

  1. #1
    Join Date
    Aug 2009
    Location
    ifm Exton, PA
    Posts
    196

    Default Engine Status and Speed Control using PGN 0000

    Attached is an expot that when imported into a program (firmware 5 or higher) will demonstrate how to use J1939 to recieve common engine PGN's as well as how to control an engine RPM using PGN 0 (Torque Speed Control). Note that this is usually not available on highway engines, there you would need to use PTO control.

    If you are using init_1 as a global first scan variable, remove it from the variable declaration in POU's:
    ENGINE_STATUS,
    J1939_CFG,
    PGN0_SPEED_CTRL.

    Also attached is a sample prg file using version 6 firmware on a CR0020.
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2014
    Location
    Chicago
    Posts
    5

    Default

    One thing to be careful of is that the engine may not respond to the TSC1 message. You need to first configure the FROM ID of the J1939 header enabled on the engine ECU side. On our Cummins engines out of the box the engine will not respond to the TSC1 message unless the TSC1 message is from a specific ID that is configured in the engine ECU.

  3. #3
    Join Date
    May 2009
    Location
    Minneapolis, MN
    Posts
    299

    Default

    Good point Steve. Just because you transmit the TSC1 message doesn't mean it will work. All engines need to be setup for TSC1 and you need to know what Source Address the message has to come from.

  4. #4

    Default

    This works well, I was able to implement it on a truck today.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •