Pro
5 min

CCST 01 — XIC/XIO Basic Contacts

ccstladdercontactsxicxio
CCST 01 — XIC/XIO Basic Contacts 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

Write a rung that energises OUTPUT_1 when SENSOR_A is TRUE and SENSOR_B is FALSE. Tests your understanding of Examine-If-Closed (XIC) and Examine-If-Open (XIO) contacts.

Objectives

  • Use an XIC contact for SENSOR_A
  • Use an XIO contact for SENSOR_B
  • Energise OUTPUT_1 when both conditions are met

Hints

  • XIC energises when the bit is 1 (TRUE)
  • XIO energises when the bit is 0 (FALSE) — insert a NOT in IEC
  • OUTPUT_1 := SENSOR_A AND NOT SENSOR_B

I/O Table

Inputs

SENSOR_A

Sensor A

BOOL · %I0.0

SENSOR_B

Sensor B

BOOL · %I0.1

Outputs

OUTPUT_1

Output 1

BOOL · %Q0.0

Your program will be tested against:

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

  1. #1OUTPUT off when both inputs false

    OUTPUT off when both inputs false

  2. #2OUTPUT on when A=T, B=F

    OUTPUT on when A=T, B=F

  3. #3OUTPUT off when B is also true

    OUTPUT off when B is also true

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