NCE Clock Monitor

When running in the NCE as clock master mode, the internal clock rate is adjusted to match time with the NCE command station clock. The goal is the minute should roll over at the same time for the internal clock and ProCab displays should change the same as clocks on PanelPro etc....

When running with the internal clock as master, the NCE clock is adjusted, forward or backwards, some number of seconds just before the minute rolls over. So NCE time does jump slightly as time is adjusted but the goal is the minutes tick off at the same time as the internal clock.

This service depends on being able to do memory read and write commands to the command station. This is currently supported by the serial connection on the command stations only. Those devices that rely on the NCE-USB adapter, like the PowerCab or SB3, are not currently supported due to lack of command station memory access.

Clock Status Lines

These lines display current status of each clock and settings. When running in sync mode, the line that is the master will be so marked. Also the current error between the NCE and internal clock will be displayed.

Clock Settings

These are the same as making changes from the ProCab throttle. If the sync mode is 'Internal Master' these are disabled and you have to make your changes via the internal clock control panel.

Changing clock settings while in sync mode will cause the sync mode to reset and perform initialization for that sync mode.

Polling Speed

This sets how often a clock read is made just for the purpose of updating the clock monitor display. Setting this low will increase the serial traffic to the command station. But setting this high will also cause the clock status display to lag considerable and the indicated 'error' will tend to look worse but that is cosmetic only.

PID Constants

These values should generally be left alone. They adjust how the calculations are handled to keep the NCE and internal clock in sync. It was a very loose 'PID' type calculation. Generally the clock sync will improve as it is allowed to run. The first few minutes may hunt around while finding the best adjustments.

P Factor

This adjusts how much the current error is used to adjust the clocks.

I Factor

This adjusts how much the difference between the current error and prior error is used in the clock adjustments.

D Factor

This adjusts how much the rate of change between the current error and the prior error is used in adjusting the clock.