Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked
Problem with a very simple signaling
#dcc-ex
#signals
I continue to explore JRMI and especially the signals.? I try to set up a three-light signal.
?
My environment : JRMI 5.8 on windows
DCC ++ running on a arduino mega
?
What I did :
With "Configure DCC ++ base station" I created three outputs (DT100,101 and 102) respectively connected to auduino pins 22,23 and 24. I can see the three outputs on the turnout table.
I created a signal Heads with these three outputs using the signal heads table. The signal works perfectly. I added this signal on my layout OK
?
Everything works perfectly, but after a few minutes the outputs are not controlled anymore (I can see it in the turnout table). ? It looks like that the link between the signals and the turnouts is lost ?
?
Any idea?
?
Thanks. |
Is this a DCC-EX connection issue, or is it about the steps needed to utilize the signal head once it exists in the signal heads table?
?
Did you follow the instructions to define the logic within JMRI, such as https://www.jmri.org/help/en/html/tools/signaling/AspectSignaling.shtml
?
If you want to check the connection to the command station,
use the DCC++ Traffic Monitor to capture the commands sent/received. Confirm that the expected commands are being sent by JMRI, etc.
(This is with the Traffic Monitor option checkboxes 'show timestamps' and 'show raw data' and not the translation.)
?
Change the Appearance drop-down in the Signal Heads table
?from RED TO GREEN? ?
12:35:14.553: [Z 217 1]? ? the command sent by JMRI?? 12:35:14.553: [Y 217 1]? ? the reply from the command station 12:35:14.555: [Z 216 1] ? 12:35:14.584: [Y 216 1] ? 12:35:14.585: [Z 215 0] ? 12:35:14.594: [Y 215 0] ? ?
Use the Send DCC++ Command window
upper case Z to see the list of defined digital outputs and their state
12:37:07.569: [Z] ?
12:37:07.570: [Y 215 25 0 0] ? 12:37:07.573: [Y 216 26 0 1] ? 12:37:07.585: [Y 217 27 0 1] ? ?
For further discussion regarding the connection to DCC-EX, check out the discord server.
?
Regards,
Ash__
? |
Hi, Whan I go from Red to Green I can see a strange command in the DCC ++ traffic monitor : 08:31:06.647: TX: Accessory Decoder Cmd: Address: 50, Subaddr: 3, State: OFF I have no accessory decoder ??? Any idea ? JeanLouisDelestre@... De: "Ash__" <mcc9345@...> ?: [email protected] ·¡²Ô±¹´Ç²â¨¦: Dimanche 6 Octobre 2024 15:10:29 Objet: Re: [jmriusers] Problem with a very simple signaling Is this a DCC-EX connection issue, or is it about the steps needed to utilize the signal head once it exists in the signal heads table?
?
Did you follow the instructions to define the logic within JMRI, such as https://www.jmri.org/help/en/html/tools/signaling/AspectSignaling.shtml
?
If you want to check the connection to the command station,
use the DCC++ Traffic Monitor to capture the commands sent/received. Confirm that the expected commands are being sent by JMRI, etc.
(This is with the Traffic Monitor option checkboxes 'show timestamps' and 'show raw data' and not the translation.)
?
Change the Appearance drop-down in the Signal Heads table
?from RED TO GREEN? ?
12:35:14.553: [Z 217 1]? ? the command sent by JMRI?? 12:35:14.553: [Y 217 1]? ? the reply from the command station 12:35:14.555: [Z 216 1] ? 12:35:14.584: [Y 216 1] ? 12:35:14.585: [Z 215 0] ? 12:35:14.594: [Y 215 0] ? ?
Use the Send DCC++ Command window
upper case Z to see the list of defined digital outputs and their state
12:37:07.569: [Z] ?
12:37:07.570: [Y 215 25 0 0] ? 12:37:07.573: [Y 216 26 0 1] ? 12:37:07.585: [Y 217 27 0 1] ? ?
For further discussion regarding the connection to DCC-EX, check out the discord server.
?
Regards,
Ash__
?
|
RE:? the DCC accessory command
?
LEDs can be connected to a DCC accessory decoder.??Some features in JMRI may provide the option to select how the LED is connected -- and provide the command needed.? Others may not have that flexibility.
?
For example, the JMRI Lights table only sends DCC accessory commands.? If you want to use the Lights table with DCC-EX vpin outputs, there is a work-around which uses myFilter.cpp in the DCC-EX sketch.
?
You may want to approach the issue by figuring out what signaling option to implement.
JMRI has various options
?
DCC-EX also has logic which can enable setting LEDs based on turnout state.
? ? - - example:
SIGNAL(36, 0, 37) ?// vpins red/amber/green
?
ONTHROW(3) ?// turnout ID 3
? RED(36) DONE ONCLOSE(3) ? GREEN(36) DONE ?
?
?
?
|
Ash, Thanks, but that was not really my question. I? have three double coil turnouts defined in myTurnout.h : // Turnout declarations ALIAS(T1, 200) ALIAS(T2, 201) ALIAS(T3, 202) // Dual_Coil turnouts DUAL_COIL_TURNOUT(T1, 40, 41, 42, "Turnout 1") DUAL_COIL_TURNOUT(T2, 43, 44, 45, "Turnout 2") DUAL_COIL_TURNOUT(T3, 46, 47, 48, "Turnout 2") I can see them in Configure DCC base station as Vpin. I can see them in JRMI the turnout table. But, when I click to change the state? this is what I can see on the DCC monitor: Strange .... Any idea ? JeanLouisDelestre@... De: "Ash__" <mcc9345@...> ?: [email protected] ·¡²Ô±¹´Ç²â¨¦: Lundi 7 Octobre 2024 10:39:30 Objet: Re: [jmriusers] Problem with a very simple signaling #dcc-ex #signals RE:? the DCC accessory command
?
LEDs can be connected to a DCC accessory decoder.??Some features in JMRI may provide the option to select how the LED is connected -- and provide the command needed.? Others may not have that flexibility.
?
For example, the JMRI Lights table only sends DCC accessory commands.? If you want to use the Lights table with DCC-EX vpin outputs, there is a work-around which uses myFilter.cpp in the DCC-EX sketch.
?
You may want to approach the issue by figuring out what signaling option to implement.
JMRI has various options
?
DCC-EX also has logic which can enable setting LEDs based on turnout state.
? ? - - example:
SIGNAL(36, 0, 37) ?// vpins red/amber/green
?
ONTHROW(3) ?// turnout ID 3
? RED(36) DONE ONCLOSE(3) ? GREEN(36) DONE ?
?
?
?
|
Jean-Louis,
?
Perhaps there is a setup step needed to select the BSTURNOUT 'Mode'.
To display the Mode column, use the checkbox in the turnouts table screen:
Show Feedback Information
?
The mode dropdown should be set to
DIRECT - for DCC accessory/turnout decoder commands
BSTURNOUT? - for vpin/other turnout Throw/Close commands
BSOUTPUT - for vpin digital output accessories
?
Use the 'Show Raw Data' checkbox in the Traffic Monitor to see the commands sent.
?-- examples:
15:26:08.441: [a 106 3 1] ?
15:26:11.261: [a 106 3 0] ? 15:26:21.231: [T 424 1] ? 15:26:21.233: [H 424 1] ? 15:26:23.867: [T 424 0] ? 15:26:23.869: [H 424 0] ? 15:26:33.210: [Z 424 0] ? 15:26:33.212: [X] ?? ? ? ? ? ?- X reply means it is not defined as digital output 15:26:34.303: [Z 424 1] ? 15:26:34.305: [X] ? ?
? |
Thats's it.? Thanks Ash. JeanLouisDelestre@... De: "Ash__" <mcc9345@...> ?: [email protected] ·¡²Ô±¹´Ç²â¨¦: Lundi 7 Octobre 2024 16:41:52 Objet: Re: [jmriusers] Problem with a very simple signaling #dcc-ex #signals Jean-Louis,
?
Perhaps there is a setup step needed to select the BSTURNOUT 'Mode'.
To display the Mode column, use the checkbox in the turnouts table screen:
Show Feedback Information
?
The mode dropdown should be set to
DIRECT - for DCC accessory/turnout decoder commands
BSTURNOUT? - for vpin/other turnout Throw/Close commands
BSOUTPUT - for vpin digital output accessories
?
Use the 'Show Raw Data' checkbox in the Traffic Monitor to see the commands sent.
?-- examples:
15:26:08.441: [a 106 3 1] ?
15:26:11.261: [a 106 3 0] ? 15:26:21.231: [T 424 1] ? 15:26:21.233: [H 424 1] ? 15:26:23.867: [T 424 0] ? 15:26:23.869: [H 424 0] ? 15:26:33.210: [Z 424 0] ? 15:26:33.212: [X] ?? ? ? ? ? ?- X reply means it is not defined as digital output 15:26:34.303: [Z 424 1] ? 15:26:34.305: [X] ? ?
?
|
to navigate to use esc to dismiss