DCC-EX vs JMRI ACK

murarduino Jun 29, 2023

  1. murarduino

    murarduino New Member

    8
    4
    1
    I haven't logged into Discord for a long time, and I can't join DCC++EX's channel. So I take the liberty of asking my question.
    I use the EX Station monitoring command <D ACK ON><R>to read the CV values of the locomotives in the programmed track. The callback value is always-1.
    Similarly, I use JRMI to connect EX Station (using DCC++), read the locomotive CV value in the programming track, can get the value and take ACK discharge action is normal.
    I feel that the JMRI and ACK limit current is different from the ACK limit current of the EX Station monitor. Is this the case? How to adjust?
     
  2. Ash

    Ash TrainBoard Member

    108
    69
    8
    https://dcc-ex.com/reference/tools/diagnostic-d-ack-command.html
    Code:
    <D ACK LIMIT 50>
    <D ACK MIN 2000>
    <D ACK MAX 20000>
    The default values were updated in version 4.0.2
    ACK defaults set to 50mA LIMIT, 2000uS MIN, 20000uS MAX

    Previous values were 60mA, 4000uS, 8500uS

    To add your preferences in DCC-EX
    https://dcc-ex.com/ex-commandstatio....html#adding-in-more-than-one-startup-command

    Commands can also be sent from JMRI.
    JMRI Menu items:
    DCC++ >> Send DCC++ Command
    DCC++ >> DCC++ Traffic Monitor -- and use the 'Show Raw Data' checkbox
     
    Erik84750, KC Smith and Sumner like this.
  3. murarduino

    murarduino New Member

    8
    4
    1
    Thank ash,Problem solved. It's my engine contacts that are not making good contact, not EXCS.
     
    Erik84750 likes this.
  4. Erik84750

    Erik84750 TrainBoard Member

    371
    154
    13
    Hi Ash,
    using DCC-EX version 5.0.9 I found that the acknowledge feedback to the loco being programmed took, for each CV programmed, the loco about 1 cm forward. While when programming using JMRI there is a very short feedback pulse to the loco taking it just a fraction of a mm forward.

    How should I get DCC-EX modified to get it to move the loco the same way as is done with JMRI?
     
  5. Ash

    Ash TrainBoard Member

    108
    69
    8
    When reading a decoder, JMRI will use its stored value and the verify byte command. That is my guess at the difference you noticed, as the read command is going to read each bit and verify the resulting byte. One step vs nine.

    Use the JMRI DCC++ Traffic Monitor with 'Show raw data' checked to see the commands JMRI is using.
     
  6. Erik84750

    Erik84750 TrainBoard Member

    371
    154
    13
    Ok, but is there a way to modify the DCC-EX code to get it to behave as JMRI when programming loco CV's?
     
  7. Ash

    Ash TrainBoard Member

    108
    69
    8
    Show me the logs from the JMRI Traffic Monitor and the logs when using DCC-EX. I would like to understand what you are thinking would change.

    Since JMRI is using DCC-EX, those same commands are available to be used from the DCC-EX serial monitor.
     
    Erik84750 likes this.
  8. Erik84750

    Erik84750 TrainBoard Member

    371
    154
    13
    I will do Ash; except it might take several weeks because currently I am in our holiday residence (Provence, FR) and I have no test track set up at the moment or here. I will get in touch as soon as that is done.
     

Share This Page