Pro
10 min
CCST 28 — Servo Home Sequence
ccstmotionservohomingsequence
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
Implement a simple homing sequence: jog SERVO_JOG_CMD until HOME_SWITCH activates, then clear SERVO_JOG_CMD and assert HOMED.
Objectives
- Assert SERVO_JOG_CMD while not yet homed
- Stop jog and set HOMED when HOME_SWITCH activates
- HOMED latches TRUE until RESET_CMD
Hints
- HOMED latches on HOME_SWITCH and clears on RESET_CMD
- SERVO_JOG_CMD := NOT HOMED
I/O Table
Inputs
HOME_SWITCHHome limit switch
BOOL · %I0.0
RESET_CMDReset/rehome command
BOOL · %I0.1
Outputs
SERVO_JOG_CMDServo jog command
BOOL · %Q0.0
HOMEDHomed status
BOOL · %Q0.1
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1Jogs before homed
Jogs before homed
- #2Stops jog on home switch
Stops jog on home switch
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