TwinCenter: what does it mean; P50 mode detected.

Post Reply
Superfly
Posts: 65
Joined: 12.12.2010, 14:03

TwinCenter: what does it mean; P50 mode detected.

Post by Superfly » 11.03.2014, 21:51

I have been trying to get a TC to work with RocRail, but no luck.
Old setup was ORD1, new setup is TC.
What I have tried;

- p50, p50x
- two different PC's
- setting the SO's (http://wiki.rocrail.net/doku.php?id=twi ... i=mystpihv)
- changing the COM1 (parity, bitrate, CTS/XON)
- resetting the TC and starting over
- with and without GiveIO
- changing the timeout to 6000ms

I keep getting errors. In P50, no real errors, just nothing works
In P50x;
- timeout on mutex trywait (what does this mean?)
- P50 mode detected (what does this mean?)
- timeout on serial read

When starting the server he claims to open the port (Com1) ok.
I looked through the forum, but cannot really find much on the mutex (trywait, error seems around more), nor on the P50 detected.

Anyone any thoughts? Can it be the cable, even though it worked with the ORD? Can it be both the PC's? Can it be the interface of the TC?
Can I test the latter somehow?

Thanks!
Max
Last edited by Superfly on 12.03.2014, 08:02, edited 1 time in total.

rjversluis
Site Admin
Posts: 39295
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: Wat does it mean; P50 mode detected! Mutex trywait?

Post by rjversluis » 11.03.2014, 22:27

Max,

what is a TC?
Train Controller?

If you mean Tams MC you should use the tamsmc library.
Forumsregeln
1) Read the Wiki first: http://wiki.rocrail.net
3) Make sure that the subject used for your posting covers the content.
4) If you are asking for support for Rocrail functionality, auto mode, switches, signals ... you have to post your rocrail.ini, plan file and the trace file.

peter&basti
Moderator
Posts: 6114
Joined: 09.01.2012, 22:09
Location: Vienna, Austria

Re: Wat does it mean; P50 mode detected! Mutex trywait?

Post by peter&basti » 11.03.2014, 23:27

Following the included link in this post, Fleischmann Twin Center is the issue.

Superfly
Posts: 65
Joined: 12.12.2010, 14:03

Re: Wat does it mean; P50 mode detected! Mutex trywait?

Post by Superfly » 12.03.2014, 07:54

rjversluis wrote:Max,

what is a TC?
[


Twin Center...Sorry!

rjversluis
Site Admin
Posts: 39295
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: TwinCenter: How to setup with Rocrail?

Post by rjversluis » 12.03.2014, 08:00

rocrail.ini?
rocrail.*.trc?

rjversluis
Site Admin
Posts: 39295
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: TwinCenter: what does it mean; P50 mode detected.

Post by rjversluis » 12.03.2014, 08:21

The Wiki says:
Bewährte Einstellungen in Verbindung mit Rocrail
Interface: Baudrate 19200, Syntax “IB only”
Thats wrong!
See:
http://wiki.rocrail.net/doku.php?id=int ... _up_the_ib
Syntax: 6050 & IB (“IB only” would not work)

rjversluis
Site Admin
Posts: 39295
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: TwinCenter: what does it mean; P50 mode detected.

Post by rjversluis » 12.03.2014, 08:26

I changed that trace line in the p50x library to:

Code: Select all

"Wrong protocol syntax detected! Set the interface syntax to 6050 & IB."

RainerK
Moderator
Posts: 3822
Joined: 29.04.2009, 09:31
Location: Sprockhövel (zwischen BO u. W)
Contact:

Re: TwinCenter: what does it mean; P50 mode detected.

Post by RainerK » 12.03.2014, 08:32

Hi Rob,
rjversluis wrote:The Wiki says:
Bewährte Einstellungen in Verbindung mit Rocrail
Interface: Baudrate 19200, Syntax “IB only”
Thats wrong!
See:
http://wiki.rocrail.net/doku.php?id=int ... _up_the_ib
Syntax: 6050 & IB (“IB only” would not work)
the de-wiki is now changed to Your corrections

Best Regards
RainerK

Superfly
Posts: 65
Joined: 12.12.2010, 14:03

Re: TwinCenter: what does it mean; P50 mode detected.

Post by Superfly » 12.03.2014, 08:37

Well, I don't know what you magicked from over there, but.....I went to get the trace and *.ini.
I booted everything up, and the first thing I see in Rocrail Server is some line scrolling by; Intellibox version 1.1000
Huh? Wait....I didn't see that yesterday...
So; suddenly all is working. Nothing changed since I shut down last night (timeouts on serial, mutex trywait, P50 Detected), but now all works just as expected!

I would post the solution for reference, but I don't know what it is...
As for the Syntax; I don't think you can select 050+IB in the menu, only;

= only TC-Syntax
= only IB-Syntax

Thanks very much for the quick help and responses!

rjversluis
Site Admin
Posts: 39295
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: TwinCenter: what does it mean; P50 mode detected.

Post by rjversluis » 12.03.2014, 08:43

With the Special Option 2 you can set the 6050 & IB mode:
http://wiki.rocrail.net/doku.php?id=twi ... al_options

Superfly
Posts: 65
Joined: 12.12.2010, 14:03

Re: TwinCenter: what does it mean; P50 mode detected.

Post by Superfly » 12.03.2014, 09:51

rjversluis wrote:With the Special Option 2 you can set the 6050 & IB mode:
http://wiki.rocrail.net/doku.php?id=twi ... al_options
AH ok, so I set it without knowing :-)
Thanks!

Post Reply

Return to “P50 and P50x”