Siemens Siemens SINAMICS G120 Modbus RTU template

Siemens SINAMICS G120

Frequency converter: speed, current, power, faults and remote start, stop and setpoint.

The Siemens SINAMICS G120 is a frequency converter that controls the speed of motors for pumps, fans and conveyors. This Modbus RTU template reads speed, current, power, energy and fault numbers, and lets you start and stop the drive, write the speed setpoint and change ramp times from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
192, read and write
Brand
Siemens
Key readings
Actual speed · Output frequency · Output current · Active power · Energy consumption · Fault number · DC link voltage
Available commands
Start and stop · Speed setpoint · Ramp times · Current limit · PID setpoint
Compatible models
SINAMICS G120 (Control Unit with RS485 interface) · SINAMICS G120C (RS485 version) · SINAMICS G120P
Last updated

Registers (192)

192 read, 147 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Speed SetpointrpmRead339FC03int16
Actual SpeedrpmRead340FC03int16
Output FrequencyHzRead341FC03int16
Output VoltageVRead342FC03int16
DC Link VoltageVRead343FC03int16
Output CurrentARead
Actual TorqueNmRead
Active PowerkWRead
Energy ConsumptionkWhRead
Control PriorityRead
Status WordRead
Main Actual ValueRead
Control WordRead and write
Main SetpointRead and write
Fault Number 1Read
Fault Number 2Read
Fault Number 3Read
Fault Number 4Read
Fault Number 5Read
Fault Number 6Read
Fault Number 7Read
Fault Number 8Read
Alarm NumberRead
Actual Alarm CodeRead
PRM Error CodeRead
Digital Output 0Read and write
Digital Output 1Read and write
Digital Output 2Read and write
Analog Output 0%Read
Analog Output 1%Read
Analog Output 2%Read
Analog Output 0 Setpoint%Read and write
Analog Output 1 Setpoint%Read and write
Analog Output 2 Setpoint%Read and write
Digital Input 0Read
Digital Input 1Read
Digital Input 2Read
Digital Input 3Read
Digital Input 4Read
Digital Input 5Read
Analog Input 0%Read
Analog Input 1%Read
Analog Input 2%Read
Analog Input 3%Read
Powerstack NumberRead
Firmware VersionRead
Rated PowerkWRead
Current LimitARead and write
Ramp-Up TimesRead and write
Ramp-Down TimesRead and write
Reference SpeedrpmRead and write
Technology Controller EnableRead and write
Technology Controller Setpoint%Read and write
Technology Controller Filter TimeRead and write
Technology Controller Actual Scaling%Read and write
Technology Controller GainRead and write
Technology Controller Integral TimesRead and write
Technology Controller D Time ConstantRead and write
Technology Controller Max Limit%Read and write
Technology Controller Min Limit%Read and write
Technology Controller Effective Setpoint%Read
Technology Controller Actual Value%Read
Technology Controller Output%Read
Multi-Pump Status WordRead
Multi-Pump Motor IndexRead
Multi-Pump Service Mode StatusRead
Motor 1 Operating HourshRead and write
Motor 2 Operating HourshRead and write
Motor 3 Operating HourshRead and write
Motor 4 Operating HourshRead and write
DS47 ControlRead and write
DS47 HeaderRead and write
DS47 Data 1Read and write
DS47 Data 2Read and write
DS47 Data 3Read and write
DS47 Data 4Read and write
DS47 Data 5Read and write
DS47 Data 6Read and write
DS47 Data 7Read and write
DS47 Data 8Read and write
DS47 Data 9Read and write
DS47 Data 10Read and write
DS47 Data 11Read and write
DS47 Data 12Read and write
DS47 Data 13Read and write
DS47 Data 14Read and write
DS47 Data 15Read and write
DS47 Data 16Read and write
DS47 Data 17Read and write
DS47 Data 18Read and write
DS47 Data 19Read and write
DS47 Data 20Read and write
DS47 Data 21Read and write
DS47 Data 22Read and write
DS47 Data 23Read and write
DS47 Data 24Read and write
DS47 Data 25Read and write
DS47 Data 26Read and write
DS47 Data 27Read and write
DS47 Data 28Read and write
DS47 Data 29Read and write
DS47 Data 30Read and write
DS47 Data 31Read and write
DS47 Data 32Read and write
DS47 Data 33Read and write
DS47 Data 34Read and write
DS47 Data 35Read and write
DS47 Data 36Read and write
DS47 Data 37Read and write
DS47 Data 38Read and write
DS47 Data 39Read and write
DS47 Data 40Read and write
DS47 Data 41Read and write
DS47 Data 42Read and write
DS47 Data 43Read and write
DS47 Data 44Read and write
DS47 Data 45Read and write
DS47 Data 46Read and write
DS47 Data 47Read and write
DS47 Data 48Read and write
DS47 Data 49Read and write
DS47 Data 50Read and write
DS47 Data 51Read and write
DS47 Data 52Read and write
DS47 Data 53Read and write
DS47 Data 54Read and write
DS47 Data 55Read and write
DS47 Data 56Read and write
DS47 Data 57Read and write
DS47 Data 58Read and write
DS47 Data 59Read and write
DS47 Data 60Read and write
DS47 Data 61Read and write
DS47 Data 62Read and write
DS47 Data 63Read and write
DS47 Data 64Read and write
DS47 Data 65Read and write
DS47 Data 66Read and write
DS47 Data 67Read and write
DS47 Data 68Read and write
DS47 Data 69Read and write
DS47 Data 70Read and write
DS47 Data 71Read and write
DS47 Data 72Read and write
DS47 Data 73Read and write
DS47 Data 74Read and write
DS47 Data 75Read and write
DS47 Data 76Read and write
DS47 Data 77Read and write
DS47 Data 78Read and write
DS47 Data 79Read and write
DS47 Data 80Read and write
DS47 Data 81Read and write
DS47 Data 82Read and write
DS47 Data 83Read and write
DS47 Data 84Read and write
DS47 Data 85Read and write
DS47 Data 86Read and write
DS47 Data 87Read and write
DS47 Data 88Read and write
DS47 Data 89Read and write
DS47 Data 90Read and write
DS47 Data 91Read and write
DS47 Data 92Read and write
DS47 Data 93Read and write
DS47 Data 94Read and write
DS47 Data 95Read and write
DS47 Data 96Read and write
DS47 Data 97Read and write
DS47 Data 98Read and write
DS47 Data 99Read and write
DS47 Data 100Read and write
DS47 Data 101Read and write
DS47 Data 102Read and write
DS47 Data 103Read and write
DS47 Data 104Read and write
DS47 Data 105Read and write
DS47 Data 106Read and write
DS47 Data 107Read and write
DS47 Data 108Read and write
DS47 Data 109Read and write
DS47 Data 110Read and write
DS47 Data 111Read and write
DS47 Data 112Read and write
DS47 Data 113Read and write
DS47 Data 114Read and write
DS47 Data 115Read and write
DS47 Data 116Read and write
DS47 Data 117Read and write
DS47 Data 118Read and write
DS47 Data 119Read and write
DS47 Data 120Read and write

Loading registers…

The ModbusCloud Gateway, front at an angle, with the RS485 terminal and the antenna connectors

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Use cases

  • Show speed, current and power of every drive on a dashboard and compare pumps or fans across sites.
  • Get an email when a fault number appears or the output current rises above a threshold you set.
  • Track energy consumption per drive over 365 days to find motors that run longer than needed.
  • Lower the speed setpoint of a fan at night with an automation on a schedule.
  • Adjust ramp times or the PID setpoint remotely after commissioning without driving to site.

Installation

  1. Wire the RS485 terminals of the Control Unit to the RS485 port of the ModbusCloud Gateway and terminate the bus at both ends.

  2. On the converter, set p0015 = 21 and p2030 = 2, set the address with the switch or p2021, and check baud rate and parity (19200, even).

  3. Switch the converter off and on so the new address takes effect.

  4. In ModbusCloud, add a Modbus device (RTU) with address 1, 19200 baud, 8 data bits, even parity and 1 stop bit, and import this template.

  5. Check that DC link voltage and firmware version show plausible values.

Things to watch for

The converter does not answer. What should I check?

Check p2030 = 2, the address (the address switch has priority over p2021) and that baud rate and parity match: the factory setting is 19200 baud, even parity. Address changes only take effect after a power cycle. Swap A and B if nothing answers.

Why does the converter trip with fault F01910?

When the controller writes process data, the converter monitors the time between requests (p2040, 1000 ms by default). If it gets no new request in time it trips with F01910. Increase p2040 or set it to 0 when the converter is only monitored.

How do I start the drive and set the speed?

Write the control word with the ON, no OFF2, no OFF3, enable operation and control by PLC bits set, then the main setpoint, where 16384 equals 100 % of the reference speed p2000. Acknowledge faults with bit 7 of the control word.

What should I keep in mind when writing settings?

Writes take effect immediately. Too short a ramp-down time can trip an overvoltage fault, and writing a digital or analog output overrides its interconnection. Read the current value first and change one setting at a time.

Want to see how it works?

Electrician working in an open distribution board