Program exercise · Challenging · Ladder · 24 min · Pro

Check three items

Read the stock of three items one request at a time, and light a lamp for each item below 10.

This exercise is part of Pro. Start the free trial to open it.

How it is checked.

  • Only one request at a time
  • Each lamp follows its own item
  • A failed reply leaves that lamp unchanged

Builds on the lesson Normally open and normally closed field devices, and a fail-safe Stop.

Part of Web API. All practice exercises.