开云体育

Connect to Marklin Central station with TCP #maerklin


 

Hello,
?
I would like to use the TCP protocol to connect to a M?rklin central station 3 (or, in my case, ?a surrogate). The current JMRI implementation uses UDP which has been deprecated in favor of TCP by M?rklin. The only thing changed is the switch from UDP to TCP; the data stream remains exactly the same. The TCP port is 15731. This should be a simple change in and of itself, but there may be need to be some change to the setup page. Any help and guidance is appreciated. Thanks.
?
Gopal


 

Could you try the installers at please?

I don’t have a good way to test a CS2 TCP connection, so I’m not sure these will work.

Bob

On Mar 14, 2025, at 8:33?PM, Gopal Patnaik via groups.io <gopalpatnaik@...> wrote:

Hello,
I would like to use the TCP protocol to connect to a M?rklin central station 3 (or, in my case, a surrogate). The current JMRI implementation uses UDP which has been deprecated in favor of TCP by M?rklin. The only thing changed is the switch from UDP to TCP; the data stream remains exactly the same. The TCP port is 15731. This should be a simple change in and of itself, but there may be need to be some change to the setup page. Any help and guidance is appreciated. Thanks.
Gopal

Bob Jacobsen
rgj1927@...


 

Bob,
?
It works perfectly! ?Thanks! I really appreciate the effort you put into JMRI, especially the support you give to obscure (in the US) hardware.
?
Regard,
Gopal
?
On Sat, Mar 15, 2025 at 09:07 AM, Bob Jacobsen wrote:

Could you try the installers at please?

I don’t have a good way to test a CS2 TCP connection, so I’m not sure these will work.

Bob

On Mar 14, 2025, at 8:33?PM, Gopal Patnaik via groups.io <gopalpatnaik@...> wrote:

Hello,
I would like to use the TCP protocol to connect to a M?rklin central station 3 (or, in my case, a surrogate). The current JMRI implementation uses UDP which has been deprecated in favor of TCP by M?rklin. The only thing changed is the switch from UDP to TCP; the data stream remains exactly the same. The TCP port is 15731. This should be a simple change in and of itself, but there may be need to be some change to the setup page. Any help and guidance is appreciated. Thanks.
Gopal

Bob Jacobsen
rgj1927@...


 

I have a few observations:
  1. In Preferences -> Defaults, I see two entries for Marklin-CS2. ?The second doesn't have any radio buttons selected. Probably just cosmetic.
  2. Tools -> New Throttle allows the selection of DCC, MFX, and Motorola protocols. ?This is great! It would be truly great if the protocol could be set in the roster for exisitng locos and used for throttles. ?There is a column already for protocol, but the value cannot be changed. Throttles created from the roster are DCC.
  3. Ops mode and Service mode programming are not available. This may be hard to implement without knowing the details of the Marklin protocol.
Regards,
Gopal