Pro
12 min

CCST 26 — Drive Enable / Ready Handshake

ccstmotiondriveVFDhandshake
CCST 26 — Drive Enable / Ready Handshake scenario preview

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in

Briefing

A VFD (Variable Frequency Drive) requires: DRIVE_ENABLE → wait for DRIVE_READY feedback → then start DRIVE_RUN. Implement the handshake using a TON debounce.

Objectives

  • Assert DRIVE_ENABLE when START_CMD is given
  • Wait for DRIVE_READY feedback (50ms minimum)
  • Assert DRIVE_RUN after DRIVE_READY held for 50ms

Hints

  • TON for 50ms debounce on DRIVE_READY
  • DRIVE_RUN := DRIVE_ENABLE AND TON_1.Q

I/O Table

Inputs

START_CMD

Operator start command

BOOL · %I0.0

DRIVE_READY

Drive ready feedback

BOOL · %I0.1

Outputs

DRIVE_ENABLE

Drive enable signal

BOOL · %Q0.0

DRIVE_RUN

Drive run signal

BOOL · %Q0.1

Your program will be tested against:

All test cases run automatically when you submit. Assertions are hidden until you pass.

  1. #1Enable on start

    Enable on start

  2. #2Run after ready + 50ms

    Run after ready + 50ms

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in