开云体育


Locked Re: Best Command Station to use with Decoder Pro

 

开云体育

I posted that as ‘here is what JMRI knows’ as I know very little about ESU beyond the decoders. Like “what is CabControl” vs the ECoS stuff?

?

-Ken Cameron, Member JMRI Dev Team

?

?


Locked Re: Best Command Station to use with Decoder Pro

 

开云体育


Ken (Cameron),
the JMRI support pages are for the ECoS system,? not the "CabControl" system.? ?There's nothing obvious on the JMRI pages about support for the CabControl system.??

The ESU pages say that connection is possible via the ethernet port, or via WiFi, but that's about it.? ?


- Nigel



------ Original Message ------
From "Ken Cameron" <kcameron@...>
Date 20/03/2025 23:45:19
Subject Re: [jmriusers] Best Command Station to use with Decoder Pro

Tom,

?

The question is if the ESU command station will work with JMRI. If it does, then you have something. But I don’t recall what level of ESU command station support has been written for JMRI. But if you look at this page, it will help you once your hardware arrives.

?

?

Fundamentally it looks like some degree of support has been around for a number of years.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Changing signal Mast Aspect with jython #jython #signalheads

 

thanks last night. I spent a good two hours playing around and I get the signals to change.
?
Frustrating though using the script
?
It doesn’t give me any feedback like syntax air like I’m used to with visual basic
?
For now, I have a track sensor DB 20, and as a locomotive approaches, I just want the signal to change
And then on a timing schedule the next four signals to change in succession but delayed
?
I want the engineer to see the signals change aspect
?
I really need a tutor on scripting.?

Anyone up for online classes?


Locked Re: Best Command Station to use with Decoder Pro

 

Ken Cameron,
?
You mention JMRI support for Ecos but there is no mention there of the CabControl system.

?

I've been using the CabControl for some months, but haven't yet implemented JMRI on the layout since I'm not to that point yet.

?

I assumed there would be JMRI connectivity with no problems.? I still feel that should be true but in checking on this computer it appears to be thru a wifi link to the CabControl's "esuwifi".

As with many, I have an older computer in the train room, with an ethernet connection to the outside world, and it's not connected to the "esuwifi".?

I know I can run ethernet to the esuwifi but then it gets dodgie...

The CabControl will not hook up to the Internet via ethernet or wifi that I know of, but then again I don't know a lot.

I have yet to figure out how to connect 2 outside sources at once:? I have an ethernet port and the wireless port, but the computer, a Dell XPS, doesn't seem to want to use both at once.

Being a greedy soul, I would prefer to have both Internet and JMRI connections from the computer to the CabControl at the same time...

?

I suppose it's an ESU support issue, but if you have any insight I'd appreciate it!

?

Thanks,

?

Ken Moordigian


Re: How to make multiple trains chase each other #automation #dispatcher

 

Thanks everyone for your input, I now have a lot to ponder and experiment with.
?
Scott


Re: How to make multiple trains chase each other #automation #dispatcher

 

I've done this with Dispatcher and SignalMasts using the "Held" state. Each train would release the next train's SignalMast when it completed it's run.
--SteveT


Re: How to make multiple trains chase each other #automation #dispatcher

 

Thank you, Willem, I’ll take a look at your scripts.


Locked Re: Best Command Station to use with Decoder Pro

 

开云体育

On Fri, 21 Mar 2025 03:55:12 EDT Mick Moignard wrote: Actually, the decoder is not asked 8 questions, one for each bit. In Direct Bit mode, its as 16 questions, because it asks whether each bit is 0 and then 1, to be sure of a positive answer for one of the questions. No assumptions here; the bit cant be assumed to be 1 if its not zero, because something could have gone wrong with the 0 question.


This makes sense. Mick
Is this failsafe procedure in the NMRA Standards? Ill try to check. Do you know if there is a command station manufacturer with a lazy coder who made the if it aint 0 it must be 1 assumption?

Mark


Re: Startup/automation

 

Steve_G, I don't believe in anything "dumb luck". Genius.
?
AD, my "virtual" turnout occupancy block is not mired in Logix.
It looks complicated but really simple in either Logix or LogixNG:
  • For turnout state closed and both blocks on that path are active then turnout occupied (set virtual block active).
  • For turnout state thrown and both blocks on that path are active then turnout occupied (set virtual block active).
  • Otherwise, turnout is unoccupied (set virtual block inactive).
Proper timing to satisfy Dispatcher is done in the debounce times of the blocks indicating occupancy:
  • Blocks on either side of the turnout are set debounce active 500 ms, inactive 0 ms.
  • Virtual block debounce active 0 ms and inactive 500 ms.
The nice part of this is that there is no need for additional detection hardware and the block occupancy doesn't disappear.
And it's as simple as my old pea brain can keep track of.
?
The caveat is that all rolling stock is detected.
It's as close to prototype operating safety as I can achieve.
?
I have one other standard design feature that really doesn't affect any of this.?
I buffer each hardware detector sensor with a virtual sensor set by Logix(NG) - detect active makes virtual active, otherwise inactive.
I do that so I can simulate occupancy with a panel toggle for testing purposes.
?
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu
Blog: ?
Youtube:


Locked Re: Best Command Station to use with Decoder Pro

 

Yes the RailCommunity specs. are all in German but if you are a Merg member they are all available to you in English and all up to-date unlike the NMRA versions.
?
RailCom+ is known within the RailCommunity specs. as DCC - A (for automatic login).
?
Michael


Re: Signal Mast Logic #sml

 

Hi,
?
I have everything working now.
Many thanks for your help.
?
Regards
?
Dave


Locked Re: Best Command Station to use with Decoder Pro

 

Nigel

The NMRA is on the case now on RailCom, in partnership with RailCommunity.

Mick
______________________________________
Mick Moignard
mick@...
p:+44 7774 652504

The week may start M, T, but it always ends WTF!


Locked Re: Best Command Station to use with Decoder Pro

 

Actually, the decoder is not asked 8 questions, one for each bit. In Direct
Bit mode, it’s as 16 questions, because it asks whether each bit is 0 and
then 1, to be sure of a positive answer for one of the questions. No
assumptions here; the bit can’t be assumed to be 1 if it’s not zero,
because something could have gone wrong with the 0 question.

In both Page and Direct Byte mode, it’s up to 256 questions, because it
asks 0, 255, then 1,2,4 up to 254, stopping when it gets an
acknowledgement.

Remember the decoder can only say “yes” as a positive answer. It can’t say
“No” and the command station should not take the lack of an answer to be
the end of the question. It will (should!) only pass back an answer on
positive receipt of “Yes” - ack pulse - responses.

Mick
______________________________________
Mick Moignard
mick@...
p:+44 7774 652504

The week may start M, T, but it always ends WTF!


Re: Startup/automation

 

开云体育

Dear Steve

How do i tell the layout panel that the block the switch is in i a ghost block?

Tony



On Mar 20, 2025, at 9:18?AM, Steve_G via groups.io <RailRodder22@...> wrote:

?
Tony
Head Only.
This means that only the head of the train can be detected.
You must specify a train length and all your blocks must have their lengths specified.
It works best if you use speed profiles.
When the head of train leaves a block, that block will not be released until the calculated position of the tail is beyond it. The section will not show occupied, but it will continue to show allocated during this period.
?
The very serious disadvantages are that if a train breaks in two another train? can crash into the tail, if the head stutters, stalls or plays silly Bs then the position of the tail is nolonger reliable and another crash happens. It cannot be used for forth and back running. I recommend the use of a remotely controlled power outlet for the command station and boosters, no keep alives, no analog, no resume on track power on, and that a twenty year old in top mental and physical condition keeps the remote control in their hand.?
?
Ghosts.
Ghost blocks were designed for those short pieces of track needed to join 2 switchs and keep the block routing table / SML straight. The fact they appear to work for switchs was pure dumb luck.? Do not use with head only. The train must always be in a detected block and not disappear into a ghost.
?


Re: The future of control and automation - thoughts?

Group Moderator
 

Topics in this group need to be JMRI related and this topic is really pushing that. Please keep that in mind when responding.


Locked Re: Best Command Station to use with Decoder Pro

Group Moderator
 

This topic needs to stay related to JMRI. Some comments are really pushing that.


Locked Re: Best Command Station to use with Decoder Pro

 

Digitrax won't as it would wipe out the use of transponding, who would bother with such a clumsy system. Also there is the "Not made here" problem, they did not come up with it.
?
NCE probably won't as it would mess up all their old non NMRA compliant decoders, they don't play nice with the cutout used, it needs to be tweaked to let them run. Lenz has had settings in the command station even back years ago for that.
?
Tony


Re: Anyone Have a Schedule Strategy to Put Long Train Into Multiple Staging Cassettes? #operationspro

 

Building on Daniel’s suggestion…
?
Let’s say you would like three cassettes that hold 18 cars each (triple your current six).?

create three staging tracks each long enough to hold 18 cars. Call them RED, WHITE, BLUE for example. ?

Then build 9 cassettes and paint (or designate) three of each by color. ?You will have to break down your train onto the separate cassettes, but then at least it really doesn’t matter how they are blocked since the three cassettes will stay together as a group. ?


Re: Changing signal Mast Aspect with jython #jython #signalheads

 

Sorry, but that is garbage.

You cannot get an instance of an object by requesting the object from its class. ?It has to be done using the object's manager. ?The JMRI scripting environments includes aliases for the common managers, such as masts for signal masts.

Signal mast aspects are NOT set by changing the signal head appearance. ?That assumes that the signal mast is build using signal heads which is not a valid assumption. ?Even if built using signal heads, there can be more than one head.

import java
import jmri

signal_mast = masts.getSignalMast("Signal Mast, Table 12, Track 5, West Bound")
if signal_mast:
??? signal_mast.setAspect('aspect name')
else:
??? print("Signal Mast 'Signal Mast, Table 12, Track 5, West Bound' not found.")

Dave Sand



----- Original message -----
From: "Canadian Locomotive Logistics via groups.io" <CanadianLocomotiveLogistics=[email protected]>
Subject: Re: [jmriusers] Changing signal Mast Aspect with jython #jython #signalheads
Date: Thursday, March 20, 2025 6:47 PM

I have a new love now for ChatGPT....
?
# Import necessary JMRI classes
from jmri import SignalHead
from jmri import Reporter
# Get the SignalHead object for the signal mast
signal_mast = SignalHead.getSignalHead("Signal Mast, Table 12, Track 5, West Bound")
# Check if the signal mast exists
if signal_mast is not None:
? ? # To set the aspect, you'll need to use the setState method with one of the predefined aspects.
? ? # Here we set an example aspect. Adjust according to the available aspects.
? ??
? ? # For example, setting the signal to red (stop signal):
? ? signal_mast.setState(SignalHead.RED)
? ??
? ? # If you want to set to a different aspect, such as yellow or green, use:
? ? # signal_mast.setState(SignalHead.YELLOW) ?# for yellow
? ? # signal_mast.setState(SignalHead.GREEN) ? # for green
? ??
? ? # Optionally, you can get the current state to confirm if it was set correctly
? ? current_state = signal_mast.getState()
? ? print("Signal Mast aspect set to: ", current_state)
else:
? ? print("Signal Mast 'Signal Mast, Table 12, Track 5, West Bound' not found.")


Re: Changing signal Mast Aspect with jython #jython #signalheads

 

then again chatGPT use code for signal head.... try again. lol
?