Menu
CoddyTech

The Heater Interlock

Part of the Analog and Sequences section of Coddy's PLC Programming journey. Lesson 11 of 17.

The batch should leave warm, so the heater runs while it mixes and keeps running while it drains. But a heater must never run without liquid over it.

An interlock is a condition that blocks an output, whatever else asks for it. Low is TRUE only while liquid covers the heater, so a Low contact in series is the heater's interlock. As the tank drains below 20 %, the heater turns off, even though step 3 still asks for heat.

challenge icon

Challenge

Medium
  • turn Heater on in steps 2 and 3
  • interlock it with Low, so it turns off as the level drains below 20 %

Try it yourself

{"v":1,"lang":"ld","tags":[{"name":"Step","type":"INT"},{"name":"T1","type":"TON"}],"rungs":[{"els":[{"t":"cmp","op":"EQ","a":"Step","b":0},{"t":"no","tag":"Start"},{"t":"move","src":1,"dst":"Step"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":1},{"t":"no","tag":"High"},{"t":"move","src":2,"dst":"Step"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":2},{"t":"TON","inst":"T1","pt":"T#5s"},{"t":"move","src":3,"dst":"Step"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":3},{"t":"cmp","op":"EQ","a":"Level","b":0},{"t":"move","src":0,"dst":"Step"}]},{"els":[{"t":"nc","tag":"Stop"},{"t":"move","src":0,"dst":"Step"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":1},{"t":"coil","tag":"Fill"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":2},{"t":"coil","tag":"Mixer"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":3},{"t":"coil","tag":"Drain"}]}]}
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Analog and Sequences

Practice on your own: PLC playground