One more thing for the newbies. With DCC, there is always voltage on the tracks, somewhere around 14 to 16 volts, and it is AC voltage. The decoder in the locomotive rectifys the voltage, and sends signals to the motor for speed control. This allows the lights to remain on, in locomotives, and passenger cars, while the train is standing still.
Each locomotive has an address, which you program into the loco. This allows you to control any specific loco on a layout, or with another throttle, control a second loco separate from the first loco, on the same track, or layout. Most DCC systems allow you to add extra throttles. I have run three trains on my layout many times. I could run up to ten, but three is all my old brain can keep track of without mishaps.
Each locomotive has an address, which you program into the loco. This allows you to control any specific loco on a layout, or with another throttle, control a second loco separate from the first loco, on the same track, or layout. Most DCC systems allow you to add extra throttles. I have run three trains on my layout many times. I could run up to ten, but three is all my old brain can keep track of without mishaps.