Schneider Electric Schneider Electric Altivar ATV212 Modbus RTU template

Schneider Electric Altivar ATV212

HVAC variable speed drive for fans and pumps: speed, current, power, faults and run commands over Modbus RTU.

The Schneider Electric Altivar ATV212 is a variable speed drive that controls fans and pumps in heating, ventilation and air conditioning systems. This Modbus RTU template reads frequency, speed, current, power, energy, run hours and trip codes, and lets you start, stop and set the speed of the drive from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
81, read and write
Key readings
Output frequency · Output speed · Output current · Input power · Energy · Run hours · Trip code · Status word
Available commands
Command word · Frequency setpoint · Speed setpoint · Relay outputs · Analog output · Communication timeout
Compatible models
ATV212H (IP21, 0.75 to 75 kW) · ATV212W (IP55, 0.75 to 75 kW) · Schneider Electric Altivar 212 variable speed drives
Last updated

Registers (81)

79 read, 31 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Output FrequencyHzRead
Output SpeedrpmRead
Output Current%Read
Torque%Read
DC Bus Voltage%Read
Input PowerkWRead
Output PowerkWRead
Input EnergyWhRead
Output EnergyWhRead
Motor Load%Read
Drive Load%Read
Cumulative Run TimehRead
Cumulative Power On TimehRead
Status WordRead
Status Word 2Read
Status Word 3Read
Trip CodeRead
Alarm CodeRead
Run Time AlarmRead
Latest Trip CodeRead
2nd Previous Trip CodeRead
3rd Previous Trip CodeRead
4th Previous Trip CodeRead
Command Mode StatusRead
Setpoint Mode StatusRead
Digital Inputs StatusRead
Digital Outputs StatusRead
Analog Input VIARead
Analog Input VIBRead
Output Frequency At Last TripHzRead
Frequency Reference Before RampHzRead
Frequency Reference After RampHzRead
Estimated SpeedHzRead
PID Feedback ValueHzRead
Torque Current%Read
Exciting Current%Read
Output Voltage%Read
Status Word At Last TripRead
Status Word 2 At Last TripRead
Status Word 3 At Last TripRead
Digital Inputs At Last TripRead
Digital Outputs At Last TripRead
Command WordRead and write
Command Word 2Read and write
Frequency SetpointHzRead and write
Speed SetpointrpmRead and write
Relay Output CommandRead and write
Analog Output CommandRead and write
Damper FeedbackRead and write
Command ModeRead and write
Frequency ModeRead and write
Auto RampRead and write
Acceleration Time 1Read and write
LI R FunctionRead and write
Remote Speed Reference 2Read and write
RJ45 Baud RateRead and write
RJ45 ParityRead and write
Modbus AddressRead and write
Communication TimeoutsRead and write
Communication ChannelRead and write
Network Baud RateRead and write
Network ParityRead and write
Network ProtocolRead and write
Communication Fault SettingRead and write
Block Write Data 1Read and write
Block Write Data 2Read and write
Block Read Data 1Read and write
Block Read Data 2Read and write
Block Read Data 3Read and write
Block Read Data 4Read and write
Block Read Data 5Read and write
Indirect Read Value 1Read
Indirect Read Value 2Read
Indirect Read Value 3Read
Indirect Read Value 4Read
Indirect Read Value 5Read
Indirect Write Word 1Write
Indirect Write Word 2Write
Drive Model CodeRead
Drive Model Code F805Read
Drive ClassRead

Loading registers…

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.

Number of installations (optional)

Use cases

  • Show speed, current and power of every fan and pump drive in a building on one dashboard.
  • Send an alert when the trip code is not 0 so you know which fault stopped the drive.
  • Track energy and run hours per drive in the 365-day history to plan maintenance.
  • Start, stop or change the speed of a fan from an automation on a schedule.
  • Compare motor load and drive load across drives to spot a pump that works too hard.

Installation

  1. Connect RS485 A and B of the open style terminals or the RJ45 port to the RS485 port of the ModbusCloud Gateway, with termination at both bus ends.

  2. On the drive, set the Modbus address (F802), 19200 baud and even parity (F820 and F821 for the terminals, F800 and F801 for RJ45) and power cycle.

  3. To control the drive from Modbus, set CMOd to 2 and FMOd to 4.

  4. In ModbusCloud, add a Modbus RTU device with the same address, 19200 baud, 8 data bits, even parity, and import this template.

  5. Check that output frequency and status word show plausible values.

Things to watch for

The drive does not answer on the bus.

Check that F807 points to the port you wired: 0 is RJ45, 1 is the open style terminals. Baud rate and parity changes only take effect after a power cycle. Swap A and B if nothing answers, and make sure every device on the bus has its own address.

Some values read fine but a block read fails.

The Altivar 212 answers reads of one register at a time. Only the indirect block at the configured read block addresses returns up to five words in one request. Read each value as a single register.

The drive ignores the frequency setpoint or run command.

The drive only takes commands and setpoint from Modbus when CMOd is 2 and FMOd is 4, or when bit 15 and bit 14 of the command word are set. Writing 50176 runs the drive forward with Modbus priority. Without valid requests within the communication timeout, the drive trips on Err5 or Err8.

What should I check before writing to the drive?

A written command word starts or stops the motor right away, and a reset clears a trip. Agree on who controls the drive, keep the communication timeout active, and note that writing registers from ModbusCloud is switched on per gateway on request.

Want to see how it works?

Electrician working in an open distribution board