Pivot

I am trying to understand DCC.

I have a Roco 21 with modern software and a schematic layout diagram the # numeric address of all points, triple points and double turn outs. The Roco app runs  on an ipad pro.
It has three zones isolated from each. Eack zone is supplied via a wiring bus under the track to which are connected the point motors via short dropper wires. There are no short circuits in the unused system without locomotives running.

I am using new modern IP digital point motors throughout.

 I have managed to install  triple turn out points and  double crossovers but it has been a trial and error pathway.
But I am now totally stuck at a triple point at the start of a set of sidings.

I want to go back to the beginning and confirm that my methods of programming are correct.

Can forum members please fill in my gaps or correct my assumptions so that I can have a logical set of instructions for wiring triple points and double turnouts.
Thanks.
Pivot.

The system uses an alternating current in a square wave form.

The frequency of  the waves can be altered. This altered frequency can be “Read” by the electronics within the point  motor connected  to the wiring  via the supply to the track or via a separate control bus connected to the motor..

Each packet of digital information  for a point motor  must consist of a “header” of digital information to identify  the point motor address followed by the digital command for either the 0, 1 or nothing?  if neither is highlighted.

Is this last statement correct, or will the point motor just keep the last position values if neither the 0 or 1 commands are highlighted? 

Are all the commands on a layout encoded into each wave form or does each wave form only hold the digital information for one address with the next wave holding information for another # numeric address.

Is the full layout  digital information continually encoded within the supply power from the Roco control box  when the system is switched on cycling through all the  information and then just restarting  or  is it only a pulse of altered frequency wave form which is emitted when an icon is activated and the wave form then  reverts to a standard frequency without any further information on it?

When a point motor is placed in the SET mode for the first time and a point icon on the schematic layout is activated in the CONTROL STATION mode within Roco21 the # numeric value for that icon is sent and placed within the software of the point motor. These values are then protected from alteration within the point motor along with the set of values relating to the 1 & 0 values when  the motor is set to RUN.

To change the # address of an existing point motor Do I only have to switch the point motor to SET  and activate a different point icon with its associated number for the existing #numeric  address to be erased and the one from the activated icon inserted instead,  and then stored when the motor is returned to RUN.

This  simple reprogramming using SET/ RUN does not always seem to have worked while I have attempted to programming this set of triple points.

So  do I have to remove  all locomotives from the track and using CV programming mode in the Roco app find the address of the point and change it if I want to give that point motor a different # numeric address?

Now to the bits where the above logic does  not cover

When I load a three way turn out icon  I get two different # numeric addresses within the icon box.

I have taken it that the number  which controls the straight ahead and turn out is placed on the opposite side of the straight ahead position to the turn out direction.

When the icon symbol is clicked and highlighted in Control mode and the settings symbol clicked  there is  a vertical column of the three  icon points positions displayed under “State” heading

  Beside this icon column is a vertical  double column of three rows for  the possible values of 1 & 0 for each icon under a heading of one of the point # numeric  values followed by a second double  column for 1 & 0 values for the other point # numeric value.

Why are there three values when only two will be used?

Are these separate point addresses activated  in a certain sequence ie the number in column next to the icons read first and activated first and then the next column. Are they read from the top down?.

Is the sequence of which icon is displayed important and does it affect the order in which the actions  are carried out so if a value in one column or row is in conflict with on in another will it be the last one read which produces the action of the motor?

Can the vertical order of the icons on the screen be changed?

Why do we need all three point positions  under each point # address  when  only two can be used for any point motor.

Why do each row have  to have a value in them when only two will have values which will be used to activate the actual point.

Why is it not possible just to leave the row for the direction  icon  under the point motor which cannot move the point in that direction blank with no value highlighted as will not activate the point.

Why will the system not program with one row left unhighlighted.

I thought I had the points programmed but running a locomotive fitted with a “stay alive” caused  the second point motor to activate.

I am no further forward after hours of trying and I am now frustrated.
I look forward to distilling your collective wisdom about this system into a detailed logical  instruction book for the X21

 

 

Reply 0 0
AHJAY
I think you are seriously over thinking it to be honest.
All of the first part is sort of irrelevant as only the system command station needs to know :-) :-)
* Make sure that your Z21 is properly adjusted with the service program so that it counts DCC addresses properly.
* as delivered, Z21 mis-counts by 4 as it tries to emulate older Marklin logic.

As to other gneral questions which really just confuse the question for anyone trying to help...
* DCC is a complex square wave that varies in frequency over a considerable range.
* Each accessory command is individual.
* Commands are only sent when needed and they are not constantly being transmitted.
* You cannot use program track mode to set accessory addresses etc.
* The Set-run process is very reliable and no other form of setting is required (or possible)
* A point motor only has two possible positions. Normal and reverse OR 0 and 1 if you prefer.
* You do not have to remove anything from the layout when setting accessory addresses with the Set-Run switch
* If you are getting errors when running locos with stay-alives something else / another problem is in play.... probably wiring related.
* Have you followed good wiring practice with adequate wiring, twisted as per recommendations or is it perhaps lots of fine wire?

So we can help work through it for you...
* I think you need to break down your request into simple bullet points and individual questions.
* That way we can work through things methodically and address them one at a time.
* In particular we need to separate Z21 related questions from motor address setting questions as much as possible.
* Diagrams, photos and perhaps screenshots will also help.

Lets take it one step at a time and I am sure we can help

regards, Ahjay
Reply 0 0
m.bryan
The Z21 automatically allocates two addresses to a 3-way point and double slip icon.
It presumes you are using decoders with sequential addressing - not single (integral) decoders such as the Digital IP
When a route is selected, it sends both addresses as a macro, so when the motor addressing switch is placed in the SET position, it only remembers that last address of the pair of commands sent.
The solution is to temporarily create two single points with the same pair of addresses as the 3-way/slip and allocate each motor address individually using these "dummy" points.

In the track builder section, it makes sense to place the two points next to the 3-way in question in the same orientation as the two motors/point tiebars to make it easier to understand the operation. (The Z21 app does allow overwriting of the automatically allocated addresses)

Once the point motors work individually from the two "dummy" icons, you may have to reverse the direction of the two motors working with the Z21 3-way icon by altering the 0/1 state/logic table of the 3-way icon in the Z21 app.

(ESU Ecos does the same, but the motor direction cannot be reversed in the ESU icon - you have to use the Digital Ip special address of 197 to do this)

You do not need to remove any locos form the track as all Cobalt Digital IP addressing is carried out whilst the Z21 is in normal run mode.

We would recommend that you disable Railcom whilst addressing and if not using Railcom anyway, turn it off.

Hope this makes sense.
Mick
Layout Concepts Tech/Customer support
Reply 0 0
Mick Rogers
Hi Pivot,
Some additional input from a real world user of iP Digital motors controlled by a Z21.
1. The simplest way to control a 3-way point using the Z21 app is to ignore the 3-way icon provided in the app (incidentally, the point represented by this icon is a logical mirror image of the Peco 3-way point) and instead use separate right and left point icons to control the two motors under the 3-way point individually.   Also, if you are using the interlocking feature of the point motors combined with the Z21 route facility, you must allow sufficient waiting time for the first point motor to complete its operation before the second interlocked point is moved.   The default of 20ms in the Z21 route feature is woefully inadequate for this and I have found by experiment that a delay of at least 3500ms is required to get the point activations in a route where interlocking is involved to activate in sequence correctly.
2. Similarly, I configure double slips as two like points laid heel to heel to avoid the “feature” in the Z21 app which sequentially goes through the four options available with a double slip.
3. The Z21 app always assumes that tapping a point icon on the control diagram actually causes that point to activate as required. Not only does the app not get feedback to confirm that a point has actually changed position as required, it knows absolutely nothing about any wired interlocking that you may have in place, so due to this and the timing issues mentioned above, what is shown on your virtual control panel may not reflect reality.  It’s always best to visually check that routes are set correctly before running a train over them.
4. On power up, the Z21 virtual control panel will almost certainly not show the situation as it was when the layout was previously powered down.  From observation it seems that the power up virtual control panel image is derived from the current saved control station image, ignoring any point changes made during the previous running session.   Again visual checking is required before running trains, or you could set up a route which will set all of your points to a predefined start up position.
5. If you ever decide to make use of DCCConcepts ABC modules wired to your iP Digital motors, be aware that you cannot control two ABC modules, one set to slow your train and the second to stop it, from the same point motor.  The best that can be achieved is to have the slow module always active or control it from a second point motor and the stop module only active if the point is set against the track that it’s connected to.
6. Finally, I would dispute Ahjay’s assertion regarding the reliability of the SET/RUN switch on the iP Digital point motors as I have had to replace one motor which would consistently lose its own address and take the identity of some other point on the layout even though its switch was in the RUN position. I have a second motor that occasionally exhibits the same behaviour but I can live with that for the time being.  I have nearly 50 iP Digital motors on my layout, the two unreliable (I would prefer to describe them as defective) motors were installed under adjacent points on the first board that I wired up and came out of the same box of 12. Settle is not that far away, and I intend to present these two misbehaving motors for analysis on my next visit to the area.
Cheers
Mick
Reply 0 0
AHJAY
Useful information... well presented.

Re SET/RUN reliability, between accessory decoders of all types and Cobalt motors there are perhaps 400,000 individual channels using set / run already on layouts.

Any problem specific to this is exceptionally rare, with the exception of one part batch of IP Digitals which had a substituted microprocessor due to shortages. This exhibited an ability to lose addresses after random short circuiting of the layout.... but as it was not advised to us prior to manufacture we never saw the problem ahead of time. We are replacing or repairing 100% of these few as they crop up by replacing the entire circuit board free of charge.

So - given that this covered less than 0.001% of production, and was error rather than failure... I still maintain the claim for exceptional reliability of the Set/Run system which is by any calculation, far and away more reliable than any other approach!

Ahjay
Reply 1 0
Andrew Fryer deepfat
My DIP motors were no problem at all with a Z21/iTrain setup.  I'd echo @AHJAY the setup run of these motors is rock steady and the 2 motors for 3 way points is exactly at @M.Bryan states even in iTrain.
Reply 0 0
Pivot
Hi Mike, and the others who replied,
Sorry for the delay in replying.  I have been away.
 Mike you seem to have the most experience of real world problem solving with the system I have. So I am asking you supplementary questions first if you do not mind.
You say that in the Z21 app, three way point icon is a mirror image of  a peco three way point Do you mean that the image icon and controls are set to send commands to the left hand turn first followed by the right rather that the left first  which is what is required for the physical  peco point.
In the attached photos number 64 controls the right turn motor from straight to right and 63 the left turn.
If these signal commands are sequential do I need to have the first point  motor controlled by  lower  point number in the box.
Also can you tell me what happens when a line of commands in the command grid photo is left without a box highlighted. Does it mean  that nothing is sent or series of 0,0, are sent.
Finally if you ca stand it why are there three boxes in the table when only 4 should be required.
I understand you have developed "work arounds" to get the system to work.  but I would like if possible  to use the program as presented in the app.

Pivot.






Threeway point.jpg Instruction settings for three way points.jpg
Reply 0 0
Reply