Skip to content

Driver Mode 20: Pulse + Hold with Cancel Switch

This page describes a mode of operation for a driver. See the Working with Drivers section of the FAST Serial Protocol documentation for details about how to use it.

Pulse and then indefinitely hold the driver on until the trigger is deactivated OR the cancel switch is activated.

This is similar to Driver Mode 18 but with the addition of a cancel switch.

[DL/DN]:<driver>,<trigger>,<on_switch>,20,<off_switch>,<pwm1_ms>,<pwm1_power>,<pwm2_power>,<rest_ms>

<driver_id>

  • FAST Driver number, zero based.

<trigger>

  • 0x00 = Disabled

  • 0x01 = FLIP Switch True, Flop Switch True

  • 0x11 = FLIP Switch False, Flop Switch True

  • 0x21 = FLIP Switch True, Flop Switch False

  • 0x31 = FLIP Switch False, Flop Switch False

  • 0xC1 = Virtual Switch True (causes FLIP)

  • 0x81 = Virtual Switch False (causes Flop)

<switch_id_ON>

  • FAST Switch number, zero based, which turns on flipflop.

<mode>

  • 0x20 = FlipFlop

<switch_id_OFF>

  • FAST Switch number, zero based, which turns off flipflop.

<PWM1_MAXONTIME>

  • PWM1 Max On-Time in Milliseconds (HEX)

<PWM1>

See PWM Byte Sequence Table

<PWM2>

See PWM Byte Sequence Table

<REST_TIME>

  • Rest Time in Milliseconds (HEX)

Flip-Flop Driver Comments

  • One-Shot will only trigger disable

  • Both switches must return false for cycle to repeat

  • Manual on will act as if the enable switch has been activated.

  • Manual off will act as if the disable switch has been activated

N or > jump the next page, P or < for previous, search with S or ?