Schneider Electric Schneider Electric Altivar ATV340 Modbus RTU template

Schneider Electric Altivar ATV340

Variable speed drive for machines with speed, current, torque, energy and fault data.

The Schneider Electric Altivar ATV340 is a variable speed drive that controls motors on machines such as conveyors, hoists, packaging lines and pumps. This Modbus RTU template reads frequency, current, torque, power, thermal states, energy and fault codes, and lets you write the command word and frequency or speed setpoints from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
383, read and write
Key readings
Motor frequency · Motor current · Motor torque · Mains voltage · Drive thermal state · Energy consumption · Status register · Last error
Available commands
Command register · Reference frequency · Speed setpoint · PID setpoint
Compatible models
Altivar Machine ATV340 (ATV340U07N4 to ATV340D75N4, including E versions) · Schneider Electric Altivar Machine ATV340 variable speed drive
Last updated

Registers (383)

383 read, 152 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Output VelocityrpmRead8604FC03int16
Motor FrequencyHzRead3202FC03int16
Motor Torque%Read3205FC03int16
Motor CurrentRead3204FC03uint16
Motor VoltageVRead3208FC03uint16
Motor Power In %%Read
Rotor Nominal FluxRead
Main InductanceRead
Load Maintain Remaining TimesRead
AO1 Physical Value Without FilterRead
Money SavedRead
Time Counter 1sRead
Time Counter 2sRead
Time Counter 3sRead
Time Counter 4sRead
Time Counter 5sRead
Co2 SavedRead
Active Electrical Output Power In KWRead
Energy SavedkWhRead and write
Fan Operation TimehRead and write
Input Energy (Wh)WhRead and write
Input Energy (kWh)kWhRead and write
Input Energy (MWh)MWhRead and write
Input Energy (GWh)Read and write
Input Energy (TWh)Read and write
Real Input Energy (Wh)WhRead and write
Real Input Energy (kWh)kWhRead and write
Real Input Energy (MWh)MWhRead and write
Real Input Energy (GWh)Read and write
Real Input Energy (TWh)Read and write
Active Electrical Input Power Estimation (100% = Drive Pow%Read
Instantaneous Active Input PowerRead
Last WarningRead
Motor Energy Consumption (Wh)WhRead and write
Motor Energy Consumption (kWh)kWhRead and write
Motor Energy Consumption (MWh)MWhRead and write
Motor Energy Consumption (GWh)Read and write
Motor Energy Consumption (TWh)Read and write
Electrical Energy Consumed By The Motor (Wh)WhRead and write
Electrical Energy Consumed By The Motor (KWh)kWhRead and write
Electrical Energy Consumed By The Motor (MWh)MWhRead and write
Electrical Energy Consumed By The Motor (GWh)Read and write
Electrical Energy Consumed By The Motor (TWh)Read and write
Electrical Energy Consumed TODAY By The Motor (KWh)kWhRead
Electrical Energy Consumed YESTERDAY By The Motor (KWh)kWhRead
Real Energy Consumption (Wh)WhRead and write
Real Energy Consumption (kWh)kWhRead and write
Real Energy Consumption (MWh)MWhRead and write
Real Energy Consumption (GWh)Read and write
Real Energy Consumption (TWh)Read and write
Electrical Energy Produced By The Motor (Wh)WhRead and write
Electrical Energy Produced By The Motor (KWh)kWhRead and write
Electrical Energy Produced By The Motor (MWh)MWhRead and write
Electrical Energy Produced By The Motor (GWh)Read and write
Electrical Energy Produced By The Motor (TWh)Read and write
Motor Mechanical Power EstimationRead
DI7 Frequency MeasuredHzRead
DI8 Frequency MeasuredHzRead
AO2 Physical Value Without FilterRead
Motor SpeedRead
Active Electrical Output Power In %%Read
Motor Mechanical SpeedRead
Input Reactive PowerRead
4 Quadrant Output Torque Value (100% = Cn Motor)%Read
4 Quadrant Output Torque Value (% Of Cn Motor In Q12) WithRead
Encoder Pulse CountRead
Encoder Pulse Count (32 Bits)Read
Encoder Resolution CharacteristicRead
Nominal Motor SlipHzRead
Signed Mechanical SpeedRead
M/S Master Speed ReferenceHzRead
M/S Master Torque ReferenceRead
M/S Local Speed ReferenceHzRead
M/S Local Torque ReferenceRead
Motor Torque In NmRead
M/S Device Speed ReferenceHzRead
M/S Device Torque ReferenceRead
Computed Nominal Motor TorqueRead
Torque Reference Before Ramp%Read
Stator FrequencyHzRead
Rotor FrequencyHzRead
Relative D-axis Error In %%Read
Control Scope Data 1Read
Control Scope Data 2Read
Control Scope Data 3Read
Control Scope Data 4Read
Nameplate Nominal FluxRead
Reference PositionRead and write
Fieldbus Module Reference PositionRead and write
Position Trajectory ReferenceRead and write
Actual PositionRead and write
DPAC Exchange 0Read and write
DPAC Exchange 1Read and write
DPAC Exchange 2Read and write
DPAC Exchange 3Read and write
DPAC Exchange 4Read and write
DPAC Exchange 5Read and write
DPAC Exchange 6Read and write
DPAC Exchange 7Read and write
DPAC Exchange 8Read and write
DPAC Exchange 9Read and write
DPAC Exchange 10Read and write
DPAC Exchange 11Read and write
DPAC Exchange 12Read and write
DPAC Exchange 13Read and write
DPAC Exchange 14Read and write
DPAC Exchange 15Read and write
DPAC Exchange 16Read and write
DPAC Exchange 17Read and write
DPAC Exchange 18Read and write
DPAC Exchange 19Read and write
DPAC Persistent 0Read and write
DPAC Persistent 1Read and write
DPAC Persistent 2Read and write
DPAC Persistent 3Read and write
DPAC Persistent 4Read and write
DPAC Persistent 5Read and write
DPAC Persistent 6Read and write
DPAC Persistent 7Read and write
DPAC Persistent 8Read and write
DPAC Persistent 9Read and write
DPAC Persistent 10Read and write
DPAC Persistent 11Read and write
DPAC Persistent 12Read and write
DPAC Persistent 13Read and write
DPAC Persistent 14Read and write
DPAC Persistent 15Read and write
DPAC Persistent 16Read and write
DPAC Persistent 17Read and write
DPAC Persistent 18Read and write
DPAC Persistent 19Read and write
Mains VoltageVRead
Drive Thermal State%Read
Motor Thermal State%Read
Motor Run TimesRead and write
Power-on TimesRead and write
AI1 Physical Value Without FilterRead
AI2 Physical Value Without FilterRead
AI3 Physical Value Without FilterRead
AI1 Input Physical Image (MAX = 8192)Read
AI2 Input Physical Image (MAX = 8192)Read
AI3 Input Physical Image (MAX = 8192)Read
AI4 Input Physical Image (MAX = 8192)Read
AI5 Input Physical Image (MAX = 8192)Read
Fan SpeedrpmRead
AI4 Physical Value Without FilterRead
AI5 Physical Value Without FilterRead
AI1 Thermal ValueRead
AI3 Thermal ValueRead
AI4 Thermal ValueRead
AI5 Thermal ValueRead
DC Bus VoltageVRead
Mains FrequencyHzRead
Thyristor Junction Temperature°CRead
DBR Thermal State%Read
PTI Frequency MeasuredHzRead
PTI Internal ValueRead
PTI Frequency Measured Without FilterHzRead
Mains Voltage Phase 1-2VRead
Mains Voltage Phase 2-3VRead
Mains Voltage Phase 3-1VRead
Encoder Thermal ValueRead
Encoder Thermal Resistor ValueΩRead
Speed Reference Before RamprpmRead
Speed Reference After RamprpmRead
Reference Frequency Before RampHzRead
Frequency Reference After RampHzRead
PID ReferenceRead
PID FeedbackRead
PID ErrorRead
PID OutputHzRead
Status RegisterRead
Device StateRead
Internal State RegisterRead
Channel For Reference FrequencyRead
Active Command ChannelRead
Active ConfigurationRead
Tune SelectionRead
Rotation Tune SelectionRead
Start Standstill TuneRead and write
Autotuning Flux Verification Value%Read
Status Of Motor Tune In Term Of SaliencyRead
EtherCAT Slave StatusRead and write
EtherCAT AddressRead and write
Auto Angle Setting StatusRead
Application StateRead
DRIVECOM : Status WordRead
Peak Electrical Output PowerRead
Status Registers 0Read
Status Registers 1Read
Status Registers 2Read
Status Registers 3Read
Status Registers 4Read
Status Registers 5Read
Status Registers 6Read
Status Registers 7Read
Status Registers 9Read
Status Registers 10Read
Status Registers 11Read
Status Registers 12Read
Status Registers 13Read
Status Registers 14Read
Status Registers 15Read
Status Registers 16Read
Status Registers 17Read
Status Registers 18Read
Status Registers 19Read
STOx Digital Input StateRead
Application Currency UnitRead and write
Application Temperature Unit (used As Default)Read and write
PTO Frequency ValueHzRead
Encoder Pulse FrequencyRead
Encoder FrequencyHzRead
M/S Function StatusRead
M/S Device StatusRead
Status Registers 20Read
Password StatusRead
Expert Nominal Motor TorqueRead
Nameplate Nominal Motor TorqueRead
Default Value Of Speed Measurement BandwidthHzRead
Mdb CRC ErrorsRead
Mdb NET CRC ErrorsRead
Mdb Frame NumberRead
Mdb NET FramesRead
Modbus Com. StatusRead
Mdb Com StatRead
Embedded RSTP Actual ConfigurationRead
RSTP Option Module Actual ConfigurationRead
Embedded RSTP Service StatusRead
RSTP Option Module Service StatusRead
Embedded RSTP Modification StatusRead
RSTP Option Module Modification StatusRead
RX Error CounterRead
TX Error CounterRead
Canopen NMT StateRead
Receive PDO1-1Read
Receive PDO1-2Read
Receive PDO1-3Read
Receive PDO1-4Read
Transmit PDO1-1Read
Transmit PDO1-2Read
Transmit PDO1-3Read
Transmit PDO1-4Read
Receive PDO2-1Read
Receive PDO2-2Read
Receive PDO2-3Read
Receive PDO2-4Read
Transmit PDO2-1Read
Transmit PDO2-2Read
Transmit PDO2-3Read
Transmit PDO2-4Read
Optimal Magnetizing CurrentRead
Optimal Confidence Index%Read
Optimal Rotor Time ConstantRead
Rotation Tune Status 2Read
DC Bus Ripple AmplitudeVRead
DC Bus Ripple Estimated FrequencyHzRead
DC Bus Ripple Time CounterhRead
Current Loop Default GainHzRead
Time Delay Control Minimum Ramp TimeRead
M/S Local Torque Reference (FTOR)Read
M/S Device Torque Reference (FXT)Read
M/S Master Torque Reference (FMTR)Read
Package VersionRead
Package TypeRead
Firmware Update Error CodeRead
Firmware Update StatusRead
Command ChannelRead
Channel For Reference Frequency (RFCC)Read
Runtime StatusRead
CiA402 Fault CodeRead
Last Error OccurredRead
Error SubCodeRead
Incorrect ConfigurationRead and write
Fieldbus Module Communication InterruptionRead and write
Internal Communication Interruption 1Read and write
Fault CounterRead
Ethernet Error CodeRead and write
Ethernet Embedded Fault (ETHF)Read and write
Incorrect Configuration 2Read and write
Logic Inputs StatesRead
Logic Outputs StatesRead and write
Physical Value AI1Read
Analog Input 1 Standardized ValueRead
Physical Value AI2Read
Analog Input 2 Standardized ValueRead
Physical Value AI3Read
Analog Input 3 Standardized ValueRead
AQ1 Physical ValueRead and write
Pulse Input Measured FrequencyHzRead
Analog Output 1 Standardized ValueRead and write
Physical Value AI4Read
Analog Input 4 Standardized ValueRead
Physical Value AI5Read
Analog Input 5 Standardized ValueRead
AO1 Output Physical Image (MAX = 8192)Read
AQ2 Physical ValueRead and write
AO2 Output Physical Image (MAX = 8192)Read
Analog Output 2 Standardized ValueRead and write
Logic Inputs Physical ImageRead
PTO FrequencyRead and write
Speed SetpointrpmRead and write
Reference FrequencyRead and write
PIDSet PointRead and write
AIV1 Image InputRead and write
Multiplying Coefficient%Read and write
Torque Reference%Read and write
Extended Control WordRead and write
Command RegisterRead and write
Counter ResetRead and write
Com Scan Output 1 ValueRead
Com Scan Output 2 ValueRead
Com Scan Output 3 ValueRead
Com Scan Output 4 ValueRead
Com Scan Output 5 ValueRead
Com Scan Output 6 ValueRead
Com Scan Output 7 ValueRead
Com Scan Output 8 ValueRead
Com Scan Input 1 ValueRead
Com Scan Input 2 ValueRead
Com Scan Input 3 ValueRead
Com Scan Input 4 ValueRead
Com Scan Input 5 ValueRead
Com Scan Input 6 ValueRead
Com Scan Input 7 ValueRead
Com Scan Input 8 ValueRead
DP Master ActiveRead and write
EtherCAT Second AddressRead and write
IPar Detected Error CodeRead
Scan Output 7 AddressRead and write
Scan Output 8 AddressRead and write
Scan Output 9 AddressRead and write
Scan Output 10 AddressRead and write
Scan Output 11 AddressRead and write
Scan Output 12 AddressRead and write
Scan Output 13 AddressRead and write
Scan Output 14 AddressRead and write
Scan Output 15 AddressRead and write
Scan Output 16 AddressRead and write
Scan Input 7 AddressRead and write
Scan Input 8 AddressRead and write
Scan Input 9 AddressRead and write
Scan Input 10 AddressRead and write
Scan Input 11 AddressRead and write
Scan Input 12 AddressRead and write
Scan Input 13 AddressRead and write
Scan Input 14 AddressRead and write
Scan Input 15 AddressRead and write
Scan Input 16 AddressRead and write
TPDO1 Event MaskRead and write
TPDO2 Event MaskRead and write
TPDO3 Event MaskRead and write
TPDO4 Event MaskRead and write
Velocity Max AmountrpmRead and write
Velocity Min AmountrpmRead and write
Acceleration Delta SpeedrpmRead and write
Acceleration Delta TimesRead and write
Deceleration Delta SpeedrpmRead and write
Setpoint Factor NumeratorRead and write
Setpoint Factor DenominatorRead and write
Type Of SwitchOn Disable StopRead and write
Quick Stop Option CodeRead and write
Save ConfigurationRead and write
Restore ConfigurationRead and write
Factory Setting GroupRead and write
Drive Systems Pre-settings StatusRead
FDR Error StatusRead
FDR Operating StateRead
FDR ActionRead and write
Enable FDR FunctionRead and write
Drive Nominal RatingRead
Drive Mains VoltageRead
Nominal Drive CurrentRead
Device Software VersionRead
Device Name (char 1 And 2)Read and write
Device Name (char 3 And 4)Read and write
Device Name (char 5 And 6)Read and write
Device Name (char 7 And 8)Read and write
Device Name (char 9 And 10)Read and write
Device Name (char 11 And 12)Read and write
Device Name (char 13 And 14)Read and write
Device Name (char 15 And 16)Read and write
Safe Torque Off Function StatusRead

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

  • Put motor frequency, current and torque of every ATV340 on one ModbusCloud dashboard.
  • Get an email when Last Error Occurred is not 0 or the drive thermal state passes your own limit.
  • Track input and motor energy per machine in the history to compare production shifts.
  • Change the reference frequency of a conveyor or pump remotely when the process asks for it.
  • Follow run time and power-on time per drive to plan maintenance on the machine.
  • Check mains voltage and drive temperature during a fault to find the cause faster.

Installation

  1. Connect the RJ45 Modbus port of the ATV340 to RS485 A and B of the ModbusCloud Gateway, and terminate both ends of the bus.

  2. On the drive, set [Modbus Address] (Add) to a free address from 1 to 247. The factory setting is OFF, so the drive does not answer until you set it.

  3. Keep 19200 baud and 8E1 or set [Modbus baud rate] (tbr) and [Modbus format] (tFO) to match the bus.

  4. In ModbusCloud, add a Modbus device (RTU) with the same address and settings, and import this template.

  5. Check that Mains Voltage and Device State show plausible values.

Things to watch for

The ATV340 does not answer at all. What should I check?

The Modbus address is OFF from the factory, so set [Modbus Address] (Add) first. Then check that speed and format match (19200 baud, 8E1 by default), that you use the RJ45 Modbus port and not another port, and swap A and B if needed. Terminate both ends of the bus.

Motor Current shows a large raw number. Is that right?

Some values, such as motor current and electrical power, use a scale that depends on the drive rating. ModbusCloud shows them raw. Compare one reading with the drive display and set the scale on that register in your own copy if you want amps or kilowatts.

How do I see which fault the drive has?

Last Error Occurred and Last Warning show the code as text. Device State tells you whether the drive is ready, running or in fault. An alarm on Last Error Occurred not equal to 0 in ModbusCloud tells you when a fault appears.

What should I know before writing commands?

The command register starts and stops the motor, so make sure the machine is safe to start. The drive only follows Modbus commands when Modbus is the active command and reference channel. Settings marked writable only at stop are refused while the drive runs.

Want to see how it works?

Electrician working in an open distribution board