|
|
|
Basic Programming
Tsunami2 Diesel User’s Guide
32 Example: Alternating Ditch Lights This example details using CV 51 (FX3 Configuration) and CV 52 (FX4 Configuration) to enable 1. Add CV values for Grade-Crossing Logic and ditch light I. Add 64 for Grade-Crossing Logic and 9 for ditch light I: 64 + 9 = 73 2. Enter a value of 73 into CV 51 to set the FX3 lighting output to ditch light I (Phase A) and enable Grade-Crossing Logic. Add a value of 128 for LED Compensation Mode if 3. Add the CV values for Grade-Crossing Logic, phase offset, and ditch light I. Add 64 for Grade-Crossing Logic, 32 for phase offset, and 9 for ditch light I: 64 + 32 + 9 = 105 4. Enter a value of 105 into CV 52 to set the FX4 lighting output to ditch light I with phase offset (Phase B) and enable Grade-Crossing Logic. Add a value of 128 for LED As your locomotive approaches a grade crossing, turn on the long airhorn function (F2 by Crossing Logic. Ditch lights will assume a steady “on” state during the airhorn blast, and then the FX3 ditch light (Phase A) will flash opposite of the FX4 ditch light Example: Headlight and Backup Light Direction This example details using CVs 57 and 58 to configure the directionality of the headlight and 1. Note the bit definitions and the decimal value of each bit for CVs 57 and 58 (See Table G). Bits 0-5 correspond to lighting outputs. 2. Setting all bits (0-5) to 1 in CV 57 will enable all lights in the forward direction. To do this, simply add the decimal values of all the outputs: 1 + 2 + 4 + 8 + 16 + 32 = 63 3. Enter a value of 63 into CV 57 to enable all lights in the forward direction. 4. Setting all other bits (0-5) to 1 in CV 58 will enable all lights in the reverse direction. To do this, simply add the decimal values of all the outputs: 1 + 2 + 4 + 8 + 16 + 32 = 63 5. Enter a value of 63 into CV 58 to enable all lights in the reverse direction.
|