Pro
12 min
CCST 35 — Recipe Download Simulation
ccstHMIrecipeSCADAsetpoint
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_LOADEDRecipe download strobe
BOOL · %I0.0
RECIPE_ACTIVERecipe running
BOOL · %I0.1
TEMP_PVTemperature process value
INT · %IW0
Outputs
HEATER_ONHeater output
BOOL · %Q0.0
MOTOR_SPEEDMotor 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.
- #1Heater on when below setpoint
Heater on when below setpoint
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