Remote Commands (DCMD)¶
Send write commands to Modbus devices via Sparkplug DCMD messages.

What is DCMD?¶
DCMD (Device Command) is a Sparkplug B message that allows SCADA systems to write values to devices remotely.
Topic Format:
How It Works¶
- SCADA publishes DCMD message to MQTT
- Gateway receives command
- Validates tag is writable
- Writes value to Modbus register
- Logs result
Configuring Writable Tags¶

- Edit tag
- Enable Is Writable
- Tag must use HR (Holding Register)
- IR/IS are read-only
- Save tag
Command Logging¶
All commands are logged with: - Timestamp - User/source - Tag name - Old value - New value - Success/failure
Security¶
Commands require: - MQTT authentication - Proper topic permissions - Tag configured as writable