{
  "format": "voltrus-device-template/1",
  "template_id": "schneider-electric-atv320",
  "manufacturer": "Schneider Electric",
  "model": "Altivar Machine ATV320",
  "protocol": "modbus",
  "description": "Variable speed drive for asynchronous and synchronous motors. The map covers the drive control and status words, speed and frequency references, motor measurements, fault code and fault history, identification, the Modbus line parameters and a set of key motor, ramp and speed settings. The full parameter list is in the communication parameters file. Register map: https://voltrus.id/registers/schneider-electric/atv320/",
  "version": "1.0.0",
  "verified": false,
  "verified_notes": "Generated by voltrus.id from NVE41316 V3.5 (ATV320 Communication Parameters, vendor-hosted) (https://download.se.com/files?p_Doc_Ref=NVE41316&p_File_Name=ATV320_CommunicationParameters_NVE41316_V3.5.xlsx&p_enDocType=Software%20-%20Data%20Library), read 2026-10-24. Not checked against a real device; confirm a known value before relying on it.",
  "quirks": [
    "Offsets are 0-based wire addresses. The manual prints 0-based addresses, the same as here.",
    "The manual does not state the word order for 32 and 64-bit values; big (AB CD) is set. Check one known value and change it if it reads wrong.",
    "Every variable is one 16-bit word except the device name string (8 words, two characters per word). The source does not state the byte order of the characters inside each word.",
    "The device speaks Modbus RTU. Voltrus SCADA polls Modbus TCP, so connect it through a Modbus RTU to TCP gateway: use the gateway's IP and port and the device's unit ID.",
    "Defaults from the manual: Modbus RTU through the integrated serial port. Factory settings: drive address OFF (set 1 to 247 before use), 19200 bps, 8 data bits with even parity and 1 stop bit (8E1), time-out 10 s (Modbus serial link manual NVE41308, pp. 31 to 33). Restart the drive after changing the Modbus parameters (NVE41308 p. 60).",
    "Not included, because templates have no 64-bit integer or string type: PAN."
  ],
  "license": "CC-BY-4.0",
  "port": 502,
  "unit_id": 1,
  "interval_ms": 1000,
  "endianness": "big",
  "registers": [
    {
      "name": "CMD",
      "offset": 8501,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Control word (Drivecom command register) (manual address 8501)",
      "writable": true
    },
    {
      "name": "CMI",
      "offset": 8504,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Extended control word (manual address 8504)",
      "writable": true
    },
    {
      "name": "LFRD",
      "offset": 8602,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "unit": "rpm",
      "description": "Speed setpoint (manual address 8602)",
      "writable": true
    },
    {
      "name": "LFR",
      "offset": 8502,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Frequency reference (manual address 8502)",
      "writable": true
    },
    {
      "name": "PISP",
      "offset": 8503,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "PID set point (manual address 8503)",
      "writable": true
    },
    {
      "name": "AIV1",
      "offset": 5281,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "%",
      "description": "Image input AIV1 (manual address 5281)",
      "writable": true
    },
    {
      "name": "MFR",
      "offset": 11831,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "%",
      "description": "Multiplying coefficient (manual address 11831)",
      "writable": true
    },
    {
      "name": "RPR",
      "offset": 3120,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Operating time reset (manual address 3120)",
      "writable": true
    },
    {
      "name": "ETA",
      "offset": 3201,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Status word (Drivecom state register) (manual address 3201)"
    },
    {
      "name": "ETAD",
      "offset": 8603,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Status word (Drivecom, second address) (manual address 8603)"
    },
    {
      "name": "HMIS",
      "offset": 3240,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Drive state (manual address 3240)"
    },
    {
      "name": "ETI",
      "offset": 3206,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Extended state register (manual address 3206)"
    },
    {
      "name": "CRC",
      "offset": 8441,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Reference channel (manual address 8441)"
    },
    {
      "name": "CCC",
      "offset": 8442,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Active command channel (manual address 8442)"
    },
    {
      "name": "CNFS",
      "offset": 8020,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Active configuration (manual address 8020)"
    },
    {
      "name": "RFRD",
      "offset": 8604,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "unit": "rpm",
      "description": "Output speed (manual address 8604)"
    },
    {
      "name": "RFR",
      "offset": 3202,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Output frequency (manual address 3202)"
    },
    {
      "name": "OTR",
      "offset": 3205,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "%",
      "description": "Motor torque (manual address 3205)"
    },
    {
      "name": "LCR",
      "offset": 3204,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "A",
      "description": "Motor current (manual address 3204)"
    },
    {
      "name": "UOP",
      "offset": 3208,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "V",
      "description": "Motor voltage (manual address 3208)"
    },
    {
      "name": "OPR",
      "offset": 3211,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "unit": "%",
      "description": "Motor power (manual address 3211)"
    },
    {
      "name": "FRHD",
      "offset": 8605,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "unit": "rpm",
      "description": "Speed reference before ramp (manual address 8605)"
    },
    {
      "name": "FROD",
      "offset": 8641,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "unit": "rpm",
      "description": "Speed reference after ramp (manual address 8641)"
    },
    {
      "name": "FRH",
      "offset": 3203,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Frequency reference before ramp (manual address 3203)"
    },
    {
      "name": "FRO",
      "offset": 9021,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Frequency reference after ramp (manual address 9021)"
    },
    {
      "name": "RPC",
      "offset": 11982,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "PID reference (manual address 11982)"
    },
    {
      "name": "RPF",
      "offset": 11981,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "PID feedback (manual address 11981)"
    },
    {
      "name": "RPE",
      "offset": 11980,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "description": "PID error (manual address 11980)"
    },
    {
      "name": "RPO",
      "offset": 11983,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "PID output (manual address 11983)"
    },
    {
      "name": "ULN",
      "offset": 3207,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "V",
      "description": "Line mains voltage (manual address 3207)"
    },
    {
      "name": "THD",
      "offset": 3209,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "%",
      "description": "Drive thermal state (manual address 3209)"
    },
    {
      "name": "THR",
      "offset": 9630,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "%",
      "description": "Motor thermal state (manual address 9630)"
    },
    {
      "name": "TAC",
      "offset": 3235,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "s",
      "description": "IGBT alarm counter (manual address 3235)"
    },
    {
      "name": "IL1R",
      "offset": 5202,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Logic inputs states (manual address 5202)"
    },
    {
      "name": "OL1R",
      "offset": 5212,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Logic outputs states (manual address 5212)",
      "writable": true
    },
    {
      "name": "AI1C",
      "offset": 5242,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.001,
      "unit": "V",
      "description": "Physical value AI1 (manual address 5242)"
    },
    {
      "name": "AI1R",
      "offset": 5232,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "description": "Analog input 1 standardized value (manual address 5232)"
    },
    {
      "name": "AI2C",
      "offset": 5243,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.001,
      "unit": "V",
      "description": "Physical value AI2 (manual address 5243)"
    },
    {
      "name": "AI2R",
      "offset": 5233,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "description": "Analog input 2 standardized value (manual address 5233)"
    },
    {
      "name": "AI3C",
      "offset": 5244,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.001,
      "unit": "mA",
      "description": "Physical value AI3 (manual address 5244)"
    },
    {
      "name": "AI3R",
      "offset": 5234,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "description": "Analog input 3 standardized value (manual address 5234)"
    },
    {
      "name": "AO1R",
      "offset": 5261,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 1,
      "description": "Analog output 1 standardized value (manual address 5261)",
      "writable": true
    },
    {
      "name": "FQS",
      "offset": 14603,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "Hz",
      "description": "Pulse input working frequency (manual address 14603)"
    },
    {
      "name": "ERRD",
      "offset": 8606,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "CiA402 fault code (manual address 8606)"
    },
    {
      "name": "LFT",
      "offset": 7121,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Last fault occurred (manual address 7121)"
    },
    {
      "name": "FNB",
      "offset": 7393,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Fault counter (manual address 7393)"
    },
    {
      "name": "DP0",
      "offset": 7200,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Fault code of the last fault (history record 0) (manual address 7200)"
    },
    {
      "name": "EP0",
      "offset": 7210,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "State word at the last fault (manual address 7210)"
    },
    {
      "name": "RFP0",
      "offset": 7250,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Output frequency at the last fault (manual address 7250)"
    },
    {
      "name": "LCP0",
      "offset": 7240,
      "register_type": "int16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "A",
      "description": "Motor current at the last fault (manual address 7240)"
    },
    {
      "name": "ULP0",
      "offset": 7270,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "V",
      "description": "Mains voltage at the last fault (manual address 7270)"
    },
    {
      "name": "THP0",
      "offset": 7280,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "%",
      "description": "Motor thermal state at the last fault (manual address 7280)"
    },
    {
      "name": "RTP0",
      "offset": 7260,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "h",
      "description": "Elapsed time at the last fault (manual address 7260)"
    },
    {
      "name": "NCV",
      "offset": 3011,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Drive nominal rating (manual address 3011)"
    },
    {
      "name": "VCAL",
      "offset": 3012,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Drive mains voltage (manual address 3012)"
    },
    {
      "name": "INV",
      "offset": 3017,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "A",
      "description": "Drive nominal current (manual address 3017)"
    },
    {
      "name": "VDP",
      "offset": 3302,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Drive software version (manual address 3302)"
    },
    {
      "name": "ADD",
      "offset": 6001,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Drive Modbus address (manual address 6001)",
      "writable": true
    },
    {
      "name": "TBR",
      "offset": 6003,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Modbus baud rate (manual address 6003)",
      "writable": true
    },
    {
      "name": "TFO",
      "offset": 6004,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Modbus data format (manual address 6004)",
      "writable": true
    },
    {
      "name": "TTO",
      "offset": 6005,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "s",
      "description": "Modbus time-out (manual address 6005)",
      "writable": true
    },
    {
      "name": "SCS",
      "offset": 8001,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Save configuration (manual address 8001)",
      "writable": true
    },
    {
      "name": "FCS",
      "offset": 8002,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Restore configuration (manual address 8002)",
      "writable": true
    },
    {
      "name": "LSP",
      "offset": 3105,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Low speed (manual address 3105)",
      "writable": true
    },
    {
      "name": "HSP",
      "offset": 3104,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "High speed (manual address 3104)",
      "writable": true
    },
    {
      "name": "TFR",
      "offset": 3103,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Maximum output frequency (manual address 3103)",
      "writable": true
    },
    {
      "name": "SFR",
      "offset": 3102,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "kHz",
      "description": "Drive switching frequency (manual address 3102)",
      "writable": true
    },
    {
      "name": "ACC",
      "offset": 9001,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "s",
      "description": "Acceleration ramp time (manual address 9001)",
      "writable": true
    },
    {
      "name": "DEC",
      "offset": 9002,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "s",
      "description": "Deceleration ramp time (manual address 9002)",
      "writable": true
    },
    {
      "name": "STT",
      "offset": 11201,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Normal stop mode (manual address 11201)",
      "writable": true
    },
    {
      "name": "BFR",
      "offset": 3015,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Standard motor frequency (manual address 3015)",
      "writable": true
    },
    {
      "name": "UNS",
      "offset": 9601,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "V",
      "description": "Nominal motor voltage (manual address 9601)",
      "writable": true
    },
    {
      "name": "FRS",
      "offset": 9602,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Nominal motor frequency (manual address 9602)",
      "writable": true
    },
    {
      "name": "NCR",
      "offset": 9603,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "A",
      "description": "Nominal motor current (manual address 9603)",
      "writable": true
    },
    {
      "name": "NSP",
      "offset": 9604,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "rpm",
      "description": "Nominal motor speed (manual address 9604)",
      "writable": true
    },
    {
      "name": "COS",
      "offset": 9606,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.01,
      "description": "Motor 1 cosine phi (manual address 9606)",
      "writable": true
    },
    {
      "name": "CTT",
      "offset": 9607,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "description": "Motor control type (manual address 9607)",
      "writable": true
    },
    {
      "name": "ITH",
      "offset": 9622,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "A",
      "description": "Motor thermal current (manual address 9622)",
      "writable": true
    },
    {
      "name": "UFR",
      "offset": 9623,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "%",
      "description": "IR compensation (manual address 9623)",
      "writable": true
    },
    {
      "name": "SLP",
      "offset": 9625,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 1,
      "unit": "%",
      "description": "Slip compensation (manual address 9625)",
      "writable": true
    },
    {
      "name": "CLI",
      "offset": 9201,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "A",
      "description": "Internal current limit (manual address 9201)",
      "writable": true
    },
    {
      "name": "JPF",
      "offset": 11301,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Skip frequency (manual address 11301)",
      "writable": true
    },
    {
      "name": "SP2",
      "offset": 11410,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Preset speed 2 (manual address 11410)",
      "writable": true
    },
    {
      "name": "SP3",
      "offset": 11411,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Preset speed 3 (manual address 11411)",
      "writable": true
    },
    {
      "name": "SP4",
      "offset": 11412,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Preset speed 4 (manual address 11412)",
      "writable": true
    },
    {
      "name": "SP5",
      "offset": 11413,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Preset speed 5 (manual address 11413)",
      "writable": true
    },
    {
      "name": "SP6",
      "offset": 11414,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Preset speed 6 (manual address 11414)",
      "writable": true
    },
    {
      "name": "SP7",
      "offset": 11415,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Preset speed 7 (manual address 11415)",
      "writable": true
    },
    {
      "name": "SP8",
      "offset": 11416,
      "register_type": "uint16",
      "register_area": "holding",
      "scale": 0.1,
      "unit": "Hz",
      "description": "Preset speed 8 (manual address 11416)",
      "writable": true
    }
  ]
}
