SDF Trigger Conditions
This page documents the meaning of the trigger conditions that can defined in a Digitrax SDF
instruction.
- TRIG_NEVER
- Never triggers. This can be used to disable part of a SDF file.
- TRIG_MODE_CHNG
- TRIG_MATH
- TRIG_DISTANCE
- TRIG_SPD_INC
- Triggers when the motor speed is increased.
- TRIG_SPD_DEC
- Triggers when the motor speed is decreased.
- TRIG_CAM
- Triggers on either the actual cam input, or the autochuff mechanism.
- TRIG_NOT_TRIG
- Function 0 On
- Triggers when DCC function 0 is on.
- Function 28 On
- TRIG_DIRNOW_CHNG
- Triggers when the direction of the motor is changed.
- TRIG_MOVING
- If the motor is currently running at a non-zero speed.
- TRIG_SND_ACTV11
- Function 11
- TRIG_BSC0
- Triggers when a "binary state change" DCC packet is received for BSC 0.
- TRIG_BSC7
- TRIG_IN_0
- Trigger when the input connection goes active, usually used for a chuff input.
- TRIG_IN_7
- TRIG_NOTCH_CHNG
- TRIG_TIME_16PPS
- Triggers 16 times per second.
- TRIG_FACTORY_CVRESET
- TRIG_OPSPROGWR_CV
- Triggers when a CV is written in ops mode (on the main).
- TRIG_SCAT0
- TRIG_SCAT7
- T_SPD_MUTE
- T_SPD_TURNON
- T_SPD_IDLE
- T_SPD_ACCEL1
- T_SPD_ACC_CHNG
- T_SPD_ACCEL2
- T_SPD_IDLEXIT
- T_SPD_RUN
- T_SPD_DECEL1
- T_SPD_DEC_CHNG
- T_SPD_DECEL2
- T_SPD_DEC_IDLE
- T_SPD_TURNOFF
- T_SPD_DEC_SP1
- T_SPD_DEC_SP2
- T_SPD_DIR_CHNG