Pro
8 min

CCST 36 — Reading a Ladder Rung Description

ccstdocumentationrung-descriptionreading
CCST 36 — Reading a Ladder Rung Description 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

Given this written rung description: "Energise CONVEYOR_FWD when AUTO_MODE is set and either PART_SENSOR or MANUAL_CMD is true, provided ESTOP is not tripped." Implement it.

Objectives

  • Translate a verbal rung description into ladder logic
  • CONVEYOR_FWD := AUTO_MODE AND (PART_SENSOR OR MANUAL_CMD) AND NOT ESTOP

Hints

  • AND has higher precedence than OR in most PLCs — use parentheses
  • CONVEYOR_FWD := AUTO_MODE AND (PART_SENSOR OR MANUAL_CMD) AND NOT ESTOP

I/O Table

Inputs

AUTO_MODE

Auto mode active

BOOL · %I0.0

PART_SENSOR

Part detected

BOOL · %I0.1

MANUAL_CMD

Manual command

BOOL · %I0.2

ESTOP

E-stop tripped

BOOL · %I0.3

Outputs

CONVEYOR_FWD

Conveyor forward

BOOL · %Q0.0

Your program will be tested against:

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

  1. #1Runs in auto with part

    Runs in auto with part

  2. #2E-stop blocks

    E-stop blocks

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