Pro
10 min

CCST 28 — Servo Home Sequence

ccstmotionservohomingsequence
CCST 28 — Servo Home Sequence 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

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_SWITCH

Home limit switch

BOOL · %I0.0

RESET_CMD

Reset/rehome command

BOOL · %I0.1

Outputs

SERVO_JOG_CMD

Servo jog command

BOOL · %Q0.0

HOMED

Homed status

BOOL · %Q0.1

Your program will be tested against:

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

  1. #1Jogs before homed

    Jogs before homed

  2. #2Stops jog on home switch

    Stops jog on home switch

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