Pro
12 min

CCST 35 — Recipe Download Simulation

ccstHMIrecipeSCADAsetpoint
CCST 35 — Recipe Download Simulation 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

An HMI downloads a recipe: RECIPE_LOADED goes TRUE, setting TEMP_SETPOINT and SPEED_SETPOINT from recipe data. When RECIPE_ACTIVE, use those setpoints for process control.

Objectives

  • When RECIPE_LOADED: TEMP_SETPOINT := 85, SPEED_SETPOINT := 1200
  • When RECIPE_ACTIVE: HEATER_ON := TEMP_PV < TEMP_SETPOINT
  • When RECIPE_ACTIVE: MOTOR_SPEED := SPEED_SETPOINT

Hints

  • Use IF RECIPE_LOADED to set the setpoints into internal INT variables
  • HEATER_ON := RECIPE_ACTIVE AND (TEMP_PV < TEMP_SETPOINT)

I/O Table

Inputs

RECIPE_LOADED

Recipe download strobe

BOOL · %I0.0

RECIPE_ACTIVE

Recipe running

BOOL · %I0.1

TEMP_PV

Temperature process value

INT · %IW0

Outputs

HEATER_ON

Heater output

BOOL · %Q0.0

MOTOR_SPEED

Motor speed setpoint output

INT · %QW0

Your program will be tested against:

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

  1. #1Heater on when below setpoint

    Heater on when below setpoint

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