TwinCenter: what does it mean; P50 mode detected.

Moderator: Moderators

TwinCenter: what does it mean; P50 mode detected.

Postby 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.
Superfly
 

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

Postby 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.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

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

Postby peter&basti » 11.03.2014, 23:27

Following the included link in this post, Fleischmann Twin Center is the issue.
Liebe Grüße / best regards
Peter


System: DCC 2-Leiter H0, Rocrail 64bit auf Win10 Pro 64
Traktion: OpenDCC GBM
Fahrweg: RocNetNode & GCA PI01/2/3, GCA41/Arduino RFID, GCA145 Drehscheibe, etc.
Decoder: 99% Zimo
Experimentell: MQTT & Node-Red
peter&basti
 

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

Postby Superfly » 12.03.2014, 07:54

rjversluis wrote:Max,

what is a TC?
[


Twin Center...Sorry!
Superfly
 

Re: TwinCenter: How to setup with Rocrail?

Postby rjversluis » 12.03.2014, 08:00

rocrail.ini?
rocrail.*.trc?
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

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

Postby 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)
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

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

Postby 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."
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

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

Postby 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
Best Regards, es grüßt RainerK

Win10 64Bit / DCC++ with Arduino Uno / Motor shield and LocoNet GCA85, 50, 93 and 136.
Special interests: DIY electronic assemblies. http://www.rainermoba.blogspot.com
Planning replace the coincidence by the mistake
RainerK
 

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

Postby 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!
Superfly
 

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

Postby 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
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

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

Postby 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!
Superfly
 


Return to P50 and P50x

cron