Scripted turntable, stumped.

Ghost42

Well-known member
As usual I start on something new and wont give up till it works.
Following the tutorial on ocatch I am using the AJS scripted turntable which works a treat on first operation (using AI).
After much head-scratching I realized that I needed two sets of instructions due to attaching to the other end of the consist every second visit.
Problem is that the turntable operates only on the first visit, maybe due to it being 180 degrees out.
This would need the second pass to be approached from the other side.
I hope that is a clear description
Someone must use these regularly and maybe could give me a hint?
 
After I use the turntable I always set it back to default position or each time I want to use it I set it up during the engines trip to it to be at the default position. Before the drive to turntable command set the turntable to 0 or default using the move turntable command. Another way is to place TM's just off the actual turning part of the table so the TM remains the same even if it is 180 degrees out.
 
I have switched from Auto to Manual, set it up with the InputTable Rule, it now rotates but will not leave the table under AI.
It is past one in the morning so I will turn in and resume tomorrow, thanks for your help.
 
Hi Ghost42

Relevant to T:ane I wrote a tutorial for the AJS turntable sometime ago. My fist question is are you using the trainz generated Turntable Number, or have you changed to a descriptive name of your own choosing?
If it's the first turntable number generated by T:ane it will be No.1, the second auto generated number would be 10, then 20, 30 etc.

There is a discrepancy in that first number 1
You can leave that as it is, Bring up your input table and check exactly as:

turntable, turntable 1, 24

Notice that double space between turntable and the figure 1. Reason for that it takes care of the unit column tens.
Note, that double space only applies to turntables that have single unit numbers ie. 1-9

There can be advantageous to reset turntables to Zero but it is not strictly required. One way to do that which is fail proof. On the approach road to your turntable place a trigger. On a short piece of track not connected in anyway to the layout itself, place a train, give it the these three instruction:
a)wait for trigger(trigger operated by any train)
b)move turntable > stop 0.
c) repeat.

Now every time any train approaches your turntable or leaves it, that track mark will instruct your hidden train to operate the turntable to point zero.
If you PM me I'll see what else besides the general info. and written operating instructions I have on file.
Kind regards
John P.
 
Last edited:
I have set up the remote loco as instructed, after 3 - 4 hrs work I can get the scripted turntable to rotate once, switching Auto off gets nowhere as it seems to jump back to Auto in driver.
I have swapped to the unscripted version and cannot get it to rotate at all.
As far as I know the stubs are attached as the loco will run over them without de-railing, the guide mentions yellow rings when attached but none seen.
It is turntable 3 and 'double-space' is applied.
Wondering if this has to be due to Tane.
 
Due to T:ane, no I do not think so, and those yellows always appear on my screen as white. Maybe that has something to do with how the colour is set up on the PC. and that colour change occurred also in TS12

If you can drive manual over the approach track and onto the turntable bridge then yes stubs and track are OK. You can also check that in Surveyor. Place any vehicle, it literally can be any rolling stock on the T/T bridge. Now use move function. If you can move that asset off the Bridge and along the track all is well with stubs and track connections my friend.
The unscripted version, and as you are probably doing, will only work by clicking on one of the red arrows. What is not always so obvious is the fact that you should also have that arrow within the footprint of the asset. Just try clicking more or less directly from above that will ensure you have the base the asset is built on also in the line of sight.
Another problem that has beset me a couple of times in the past is I have placed two identical assets one on top the other(Too many hasty clicks, result two assets and no ones fault except my own).
Not sure what you mean by switching Auto Off.
AI and manual control are separate.
AI will in most circumstances follow the instructions you give it.
Manual, is just that manual.
There is no "switch off" between them.
Manual train driven by you is started and stopped anytime anywhere by you. The Turntable scripted or otherwise will operate by placing your cursor on the arrow and clicking so long as pointer and arrow line up through the base of the asset.
AI requires a scripted T/Table. + "Move Turntable" command + "Input Table" with the turntable details. All of which you apparently have.
To help you further send me a PM with your email address. Then I can send you both pictorial and detailed advice.
Kind Regards
John P.
 
Good to know of the colour change.
The Auto and Manual are settings in the scripted model, on Auto it rotates w180 degrees when the loco sits on it. The bell can be heard in the next village :)
After switching to Manual it is a standard turntable operated by the MoveTurntable command but it does not seem to lock in Manual, hence the change to the standard model.
In an article it mentions that there are two MoveTurntable commands, one modified for ts12, I'll check on that.
PM sent.
 
turntable,Turntable 3,24 is what it should read in the input table T not t.


Thanks for that, will be off to modify.
Been doing a setup in ts12 and no luck so far, hope this is the key......
Rog

After many hours of trying I have abandoned the AJS series and am now using '120ft Turntable'. Much has been learned.
I tried to make the AJS series work in ts12 then import to Tane, no deal.
I have managed to bake a carrot cake while the circuit proves itself, the upside :)
The remote loco operating the turntable return does its job well.
I think I will leave well alone and incorporate into the main route.
 
Last edited:
Boxing Day update:

I have set up four turntables on the main route, they work well on a single pass then only the first remote loco sends the turntable back to zero leaving one turntable operational.
I have tried putting in wait commands and also put 'return to zero' in the driver commands, checked, checked and checked again that all instructions are identical - run out of ideas now.


Bingo!! maybe, set up a second turntable on my working demo, same result, second table wouldn't return to zero. but when the loco baulked at a signal and reversed over the trigger the table rotated! No visual clue but the trigger appears to be directional.
 
Last edited:
Ghost 42
May I join in?:hehe:

I tried the invisible loco trick on a UK branch line turntable...only problem was the trigger sited after the exit from the t/table was activated in both directions . So when a consist approached the t/table the invisible consist (in my case a visible consist on an invisible connecting track),triggered the table JUST as the consist approached.
Solution was to site the trigger ON the turntable edge where a consist would be leaving with a delay in the invisible consist driver command to allow the consist to be well clear, Command being Move turntable next and repeat Move turntable next to bring it around to the optimum alignment.

Hope this helps you.

Have a good new year,
regards
helian43
 
Ghost 42
May I join in?:hehe:

I tried the invisible loco trick on a UK branch line turntable...only problem was the trigger sited after the exit from the t/table was activated in both directions . So when a consist approached the t/table the invisible consist (in my case a visible consist on an invisible connecting track),triggered the table JUST as the consist approached.
Solution was to site the trigger ON the turntable edge where a consist would be leaving with a delay in the invisible consist driver command to allow the consist to be well clear, Command being Move turntable next and repeat Move turntable next to bring it around to the optimum alignment.

Hope this helps you.

Have a good new year,
regards
helian43

Hi helian43,
You can certainly add your expertise, gladly accepted.
The best result so far is to have the loco/consist set it to zero before approaching the turntable.
I have built two circuits with locos going back and forth which works without fault but when I link the two as would be in the main route one locks up.

Just noted that it had derailed on the edge of the table I so will increase the radius of the trackmark and leave it running overnight, feeling optimistic :)

Passed an eight hour soak test! Now off to the coast for a days break.


The derailed loco was just a red herring, when the circuits are linked up one loco will obey instructions till the second , which has a mind of its own, obstructs it.
Enough time has been spent now, the idea of using turntables on the industry yards is dead, I'll leave one and use loops to exit.
I can set uo a turntable with my eyes closed now but will wait for the final hotfix (if there is one) to return to the project.
 
Last edited:
Back
Top