Pro
12 min
CCST 26 — Drive Enable / Ready Handshake
ccstmotiondriveVFDhandshake
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_CMDOperator start command
BOOL · %I0.0
DRIVE_READYDrive ready feedback
BOOL · %I0.1
Outputs
DRIVE_ENABLEDrive enable signal
BOOL · %Q0.0
DRIVE_RUNDrive 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.
- #1Enable on start
Enable on start
- #2Run after ready + 50ms
Run after ready + 50ms
Related scenarios
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