PLC Simulator
Runnable Modbus integration example

Write an Alarm Reset Block With Modbus Function 15

A training annunciator accepts eight momentary reset bits in a contiguous coil block beginning at address 32. The linked sandbox opens the exact unit, function, address, quantity and value so the reader can verify the PDU rather than copy an unexplained hex string.

10 minutes PLC programmers, commissioning technicians and system integrators

Follow the workflow

Learn one step, use the product, inspect the evidence.

01

Identify the data model and access direction

This Alarm annunciator example uses Modbus function 15. Select the function from the documented object type and whether the operation is a read or write—not because two register names look similar.

Do this in the product

Open the preconfigured request and confirm the function-code label before running it.

Open the exercise
02

Translate the documented address

The request transmits protocol address 32. Human-facing 0xxxx, 1xxxx, 3xxxx and 4xxxx references are notation, not values to paste blindly into the 16-bit address field.

Do this in the product

Compare the address field with the expected PDU 0F 00 20 00 08.

Open the exercise
03

Check quantity, value and scaling

The request quantity is 8 and the training value is 0. Multiword data, signed values, enums and decimal scales remain application-map concerns beyond the core Modbus frame.

Do this in the product

Run the server grader and read each function-specific limit check before copying the request.

Open the exercise
04

Keep the response separate from physical proof

A normal Modbus response proves that a server accepted the request format. It does not by itself prove that a motor moved, a valve reached position or a process value is correctly scaled.

Do this in the product

Save the known-good request, then use a paid project to retain later fault and commissioning evidence.

Open the exercise

Core concepts

Know what the evidence means.

The simulator creates a repeatable result; these concepts make that result transferable to real vendor software and supervised practical work.

Protocol address

The transmitted address is a zero-based 16-bit field unless the specific device manual states a different table convention.

PDU evidence

The expected request begins 0F 00 20 00 08; TCP adds MBAP framing while RTU adds unit address, timing and CRC.

Application semantics

Function, address and response can be valid while units, signedness, scale or machine permissions remain wrong.

Common mistakes to avoid

  • × A quantity/byte-count mismatch or wrong bit packing changes the command block.
  • × Changing network, serial and register settings simultaneously instead of keeping one known-good control.
  • × Treating an echoed write as proof that the physical output changed.
  • × Reusing this fictional training map as though it were the manufacturer’s production register map.

Continue in the workspace

Turn this tutorial into retained training evidence.

Run the foundation exercise publicly, then use a subscription for advanced challenges, saved configurations, full attempt history, sharing, assigned paths and team reporting.

Technical reference questions

Questions before you continue.

The registered request begins 0F 00 20 00 08. The sandbox builds the complete supported PDU from the preloaded fields and checks function-specific limits.

Competency and practice field guide

Alarm-panel reset-coils exercise: practice plan

Direct answer

The learner can separate active condition, latched alarm, horn, lamp, acknowledgement and reset state, then prove every transition.

Written for controls learners implementing an alarm panel where acknowledgement silences annunciation while reset depends on the cleared process condition.

a supervised low-energy motor-starter and control-transformer bench with protective devices, terminal points and measurement access while studying alarm latching, acknowledgement, reset permissives and output-coil ownership
System map / 02

NODE 01observable

Scope

Process condition, active state, latched state, horn, lamp, acknowledgement, reset, first-out need, priority, operator message and restart policy.

NODE 02observable

Signal path

Field condition through evaluation, latch, annunciation outputs, operator action, reset permissive and returned-to-normal evidence.

NODE 03observable

Baseline practice

A new fault annunciates, acknowledgement silences the horn without hiding state and reset succeeds only after the cause clears.

NODE 04observable

Edge cases

Multiple alarms, acknowledge before clear, reset while active, new alarm after acknowledge, output conflict, restart, stale HMI and chattering process signal.

NODE 05observable

Fault practice

A process, evaluation, latch, acknowledge, reset, output ownership, display, timing or restart mismatch.

NODE 06observable

Transfer to the job

The logic reviewed against the approved alarm philosophy, human-factors needs and target-platform behavior.

Answer surface / 07

What is the difference between alarm acknowledge and reset?

Acknowledgement records operator recognition and often silences a horn; reset clears retained alarm state only when the approved process and permissive conditions allow it.

Why should an alarm lamp remain on after acknowledgement?

The condition may still be active. Keeping a steady acknowledged indication separates operator recognition from actual return to normal.