Skip to content
Lews Duino Gear
  • Home
  • The Layout Control Operating System
  • The Store
  • Support
    • My Tickets
    • Submit Ticket
  • My Account
    • Your Cart
  • About
    • Company & Product News
    • Contact Us

Basic Layout Objects, Part 2

Basic Layout Objects, Part 2

This is the second of 3 pages on basic layout objects in LCOS: blocks and turnouts.

This Part is about turnouts in LCOS and how to set them up on a Client Node.

Local Turnouts

LCOS can control the most common turnout motor types: stall motor ( Circuitron Tortoise), 2 wire coil (Kato Unitrack), 3-wire coil (Atlas, Peco) and servos.

Servos require a PCA9685 board.

The other turnout motor types are run by relays attached to DNOU8 Ports. For more information and wiring diagrams for relays, see Relays. You must configure your relays before you can use them to run turnout motors.

Remote Turnouts

A CLIENT node can also monitorup to 8 turnouts located on other nodes. When a remote turnout is added to a node’s turnout map, the node listens for messages concerning the remote turnout, and maintains a record of the turnout’s last reported status. Remote turnout information can be used by Signals and other automated processes.

The Turnout Tool

In the Main Window click turnouts button to invoke the Turnout Tool.

The Turnout Tool in its default state with no turnouts defined.

Terminology

LCOS uses the terms MAIN and DIVERGENT to describe turnout position. Among model railroad hobbyists, turnout position is frequently referred to as “closed” or “thrown.”

Most of the time MAIN means the same thing as “closed” and DIVERGENT means the same thing as “thrown.” In responding to DCC turnout commands, LCOS interprets “closed” to mean MAIN and “thrown” to mean DIVERGENT.

The fundamental difference between the terms is that “closed” and “thrown” describe the position of the points while the LCOS terms describe the route that results from the position of the points. In LCOS, MAIN can describe the “thrown” route, and DIVERGENT can describe the “closed” route.

How does that work? Its a simple byproduct of your ability to define the hardware settings for positioning the points. You can define the hardware settings to “throw” the points for the MAIN route and “close” them for the DIVERGENT route. Accordingly, in the context of LCOS it is more consistent to think in terms of routes rather than point positions.

Defining Local Turnouts

To define a local turnout, you must first select the motor type from the drop-down list at the top of the window.

After selecting a motor type from the list, the drop-down connector list to the right will auto-populate with appropriate connectors, if available. If you select Servo as the motor type, then the connector list will contain PWM ports; if you select either Stall Motor or Twin Coil, the connector list will contain any relays you’ve defined.

If there are no connector objects of the required type, then the connector list will remain disabled and you cannot add the turnout until you’ve added relays or pwm ports to the node’s configuration.

When you select Stall Motor for Motor Type, the connector list will load any relays you previously defined.

Select the PWM port or Relay attached to the turnout motor, then click add local turnout button to add the turnout to the map.

Additional Local Turnout Properties

After you add a new turnout, it will be loaded into the edit area so that you can configure additional properties.

>> If the new turnout is either a Stall Motor (e.g. Tortoise) or Twin Coil type, there are two additional properties to manage:

Stall Motor and Twin Coil machines both use relays and are configured the same way.

Default Alignment sets how the turnout is lined when the node starts up. Use the slider to select either MAIN or DIVERGENT.

Relay Default Aligns Turnout tells the system about how you have wired the relay to the turnout. “Relay Default” generally means the relay coils are not powered and the NC Contacts are engaged. On compound relay types such the DP3T, SPDT Break/Make and SPDT Select/Energize, the relay default is where the polarity or selector relay of the pair is in an unpowered default state. Use the slider to select either MAIN or DIVERGENT as the default relay alignment.

If on Node startup the turnout goes to the opposite position of the Default Alignment specified, reverse the Relay Default Aligns Turnout setting.

>> If the new turnout uses a Servo Motor, there are a few more settings to work with.

Default Alignment sets how the turnout is lined when the node starts up. Use the slider to select either MAIN or DIVERGENT.

Align MAIN specifies the servo position that lines the turnout for the MAIN route. The position value is expressed in PWM “ticks” between 150 [0 degree setting] and 650 [180 degree setting], with the default value 400 being the midpoint, or 90 degree setting. The values you use depend on the orientation of the servo and its horn.

Align DIVERGENT specifies the servo position that lines the turnout for the DIVERGENT route. The position value is expressed in PWM “ticks” between 150 [0 degree setting] and 650 [180 degree setting], with the default value 400 being the midpoint, or 90 degree setting. The values you use depend on the orientation of the servo and its horn.

Step Delay specifies the delay, in microseconds, between servo movements. Servos move 1 tick at a time: motion speed is the combined effect of the distance (number of ticks) the horn has to move and the delay between each move. The default value of 20 microseconds will move a typical turnout (100 – 150 tick distance between alignments) in 2 to 3 seconds. The minimum effective delay is 10 microseconds; delays below that may not be honored because of higher priority tasks.

Servo Position Tool

Clicking the green button next to the two position fields calls the Servo Position Tool.

The tool comes up with the current setting, in this case the default center setting. When “Sync Servo Position” checked, the servo will stay in sync with the positioning slider, allowing you to see how the position affects the points.

Use the slider to move the servo until the points are positioned for the target route. Use or to nudge the servo one step either direction. When you are satisfied you’ve found the optimum setting for the route, click Save & Close.

Servo Tips

Servos work best if you set the horn (horns are repositionable on the drive stem) and mount the servo so that at the 90 degree position the linkage pushes the points to mid-way between the rails. Then use the Servo Position tool to find the settings for each route: swing the horn one direction for MAIN and the opposite direction for DIVERGENT. The will likely result in values of 350 -375 on one side, and 425 – 450 on the other.

Frog Power & Reversing Relays

You can link a frog power relay and/or a reverser relay to any local turnout. You must create your relay objects before you can link them to a turnout.

Click the Frog Relay checkbox to enable the link.

With the target turnout selected and loaded in the editor, click the Frog Relay checkbox, then select the appropriate relay from the list. The SPDT Break/Make relay is specifically designed to work with turnouts to manage frog power.

Default if Aligned sets the relay state to default (generally, unpowered — see above) when the turnout is aligned as indicated. Use the slider to select either MAIN or DIVERGENT. The correct settings depend on how the relay is wired; flip this setting if the behavior of the relay is the reverse of what you intend.

Click the Reverser Relay checkbox to enable the link.

Turnouts located at the throat or entry point for a reversing loop can control the power polarity relay for the loop. On a standard reversing loop, this feature can ensure track polarity is correct for the turnout alignment.

To link a reversing relay to a turnout, click the Reverser Relay checkbox, then select the appropriate relay from the list.

Control Objects

In addition to the relay options, a turnout can also be linked to Control Objects that are triggered by turnout alignment changes.

One Control Object can be linked to each turnout alignment.

Using this feature, a turnout can trigger any other object or collection of objects on a node. See Control Objects for more information.

Using this feature, you can

  • turn lighting or animations on or off depending on turnout position
  • cause other turnouts to move synchronously; this is useful for complex, compound turnout structures that have to function synchronously. For setting multiple independent turnouts, use Routes.

Saving and Testing

Click save turnout map button to write the configuration data to the Node.

To complete the change, the node must rebooted. On the Main Window, click reboot button to reboot and load the new configuration.

After reboot, the new configuration will be active. Click turnouts button to reopen the Turnout Tool. You can now select a local turnout and click test local turnout button to test turnout movement.

Adding Remote Turnouts

Remote turnout monitoring is an advanced feature that is used by the Signal system to extend the logical reach of signals. You do not need this feature if you are not using Signals, or your Signals do not need to monitor turnouts in other nodes.

To add a remote turnout to the turnout map, you only have to know the node id and the UID of the target turnout.

Enter the Node ID (the leading 0 is optional but recommended), then select the UID from the dropdown list of turnout UIDs.

After entering the Node ID and selecting the UID, click add remote turnout button to add the turnout to the turnout map. Click save turnout map button to write the configuration data to the Node.

After rebooting the node, you can test communication by selecting a remote turnout from the drop-down list then clicking test remote turnout button.

There is nothing to edit with remote turnouts. You can change to order of the turnouts on the map, or you can delete them. Select a turnout from the remote turnout drop-down list, then click the button for the action you wish to perform.

<< Basic Layout Objects 1Basic Layout Objects 3 >>

Index

Recent Posts

  • Checkout Issue Fixed
  • LCOS Manual is Live
  • Product On Sale Date
  • DCC Client Coming
  • LCOS Product Release Update

Recent Comments

    Categories

    • Company
    • New Releases
    • Products
    • System Events
    • Uncategorized

    Archives

    • January 2022
    • August 2021
    • January 2021

    About Us

    Creators of Intelligent Electronics for Model Railroads

    Copyright © 2021 - 2022, Beagle Bay Inc All Rights Reserved
    Theme by Colorlib Powered by WordPress
    We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
    Do not sell my personal information.
    Cookie settingsACCEPT
    Manage consent

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    Non-necessary
    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
    SAVE & ACCEPT