Menu
CoddyTech

Rinse and Dry

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

Two more steps with the same shape: rinse the soap off with clean water, then dry the car with the blower.

After the dryer the sequence moves to step 5, the exit step, which comes next.

challenge icon

Challenge

Medium
  • step 3: Rinse on for 2 seconds, then move 4 into Step
  • step 4: Dryer on for 2 seconds, then move 5 into Step

Try it yourself

{"v":1,"lang":"ld","tags":[{"name":"Step","type":"INT"},{"name":"T1","type":"TON"},{"name":"T2","type":"TON"}],"rungs":[{"els":[{"t":"cmp","op":"EQ","a":"Step","b":0},{"t":"no","tag":"Start"},{"t":"no","tag":"CarIn"},{"t":"move","src":1,"dst":"Step"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":1},{"t":"TON","inst":"T1","pt":"T#2s"},{"t":"move","src":2,"dst":"Step"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":2},{"t":"TON","inst":"T2","pt":"T#2s"},{"t":"move","src":3,"dst":"Step"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":1},{"t":"coil","tag":"Soap"}]},{"els":[{"t":"cmp","op":"EQ","a":"Step","b":2},{"t":"coil","tag":"Brush"}]}]}

All lessons in Analog and Sequences

Practice on your own: PLC playground