SMVector ESVZAR0 RS-485 Modbus Communication Module Communications Interface Reference Guide
About These Instructions This documentation applies to the ESVZAR0 RS-485/Modbus communications option for the SMVector inverter models up to 10HP. This documentation should be used in conjunction with the SMVector Operating Instructions (Document SV01) that shipped with the drive. These documents should be read in their entirety as they contain important technical data and describe the installation and operation of the drive and this option.
Contents 1 2 3 4 5 6 7 8 Safety Information..............................................................................................................................................................3 Introduction........................................................................................................................................................................5 2.1 Module Specifications................................................................................................
Contents 9 Drive Registers.................................................................................................................................................................19 9.1 Data Internal vs. Display Representation...............................................................................................................19 9.2 Drive Control Registers........................................................................................................................................
Safety Information 1 Safety Information General Some parts of Lenze controllers (frequency inverters, servo inverters, DC controllers) can be live, moving and rotating. Some surfaces can be hot. Non-authorized removal of the required cover, inappropriate use, and incorrect installation or operation creates the risk of severe injury to personnel or damage to equipment.
Safety Information Operation Systems including controllers must be equipped with additional monitoring and protection devices according to the corresponding standards (e.g. technical equipment, regulations for prevention of accidents, etc.). You are allowed to adapt the controller to your application as described in the documentation.
Introduction 2 Introduction This reference guide assumes that the reader has a working knowledge of the Modbus RTU Protocol and familiarity with the programming and operation of motion control equipment. This guide is intended as a reference only. Modbus is an internationally accepted asynchronous serial protocol designed for commercial and industrial automation applications. The Modbus RTU architecture is based upon a PLC to device communication structure and, as such is Master-Slave in orientation.
Introduction 2.2 Module Identification Figure 1 illustrates the labels on the SMV RS-485 communications module. The SMVector RS-485 module is identifiable by: • Two labels affixed to either side of the module. • The color coded identifier label in the center of the module.
Installation 3 Installation 3.1 Mechanical Installation 1. Ensure that for safety reasons the AC supply has been disconnected before opening the terminal cover. 2. Insert the RS-485 option module in the terminal cover and securely “click” into position as illustrated in Figure 2. 3. Wire the network cables to the connector provided, as detailed in paragraphs 3.2 (RS-485 Terminal Block) and 3.3 (Electrical Installation), and plug the connector into the option module. 4.
Installation 3.2 RS-485 Terminal Block Table 3 describes the RS-485 terminal block. The 5 pole connector provides 2-wire connection to the network. Table 3: RS-485 Terminal Block Terminal Description Important 1 Earth ground / shield For reliable communication make sure terminal is connected to the Modbus network GND/common. If only two wires are used (TXA and TXB) in the network, connect Terminal 1 to chassis/earth GND.
Installation 3.3.3 Network Termination For an RS-485 network it is essential to install the specified termination resistors (120W), i.e. one at both ends of a network segment. Failure to do so will result in signals being reflected back along the cable which will cause data corruption. An external 120W 1/4W resistor can be connected as shown in Figure 5.
Extended Parameters 4 Extended Parameters for Modbus RTU In addition to the drive parameters that are detailed in the Operating Instructions (SV01), the installation of the RS485/Modbus RTU module will give access to the 400 series parameters that are exclusive to this communication module. Table 4 lists these 400 Series parameters. 4.1 Parameter Menu Table 4: 400 Series Parameters for Modbus RTU Operation Code Possible Settings No.
Extended Parameters Code Possible Settings No. Name Default P425 Network Message time-out 10.0 P426 Network Message time-out action 4 IMPORTANT Selection {s} 0.0 300.0 0 Not active 1 STOP (see P111) 2 Quick stop 3 Inhibit 4 Trip fault, n P427 Valid Network messages Received P494 Communication Module software version • • Read only Format: x.
Modbus Protocol 5 Modbus Protocol Details 5.1 Data Transmission This drive uses the RTU (Remote Terminal Unit) transmission mode of the Modbus Protocol and operates as a Slave device on the network. All devices communicating with the drive(s) must be a Modbus Master. 5.2 Register Numbering Modbus 3X and 4X register numbers are always one greater than the actual drive register numbers. For example: drive register #24 would correspond to Modbus 3X / 4X register #25.
Modbus Message 6 Modbus Message Details These abbreviations will be used throughout this section to illustrate the message structure: R Read W Write RS Response SA Slave Address (01 ... F7 hex) EC Exception Code RH Register Address (high byte) RL Register Address (low byte) DxH Data (high byte) DxL Data (low byte) CRCH Cyclic Redundancy Check (high byte) CRCL Cyclic Redundancy Check (low byte) 6.1 Register Reading 6.1.
Modbus Message 6.1.3 Message structure for reading one 32-bit register Registers 511, 540 and 541 only R SA 03 RH RL 00 02 CRCH CRCL RS SA 03 04 DHH DHL DLH DLL CRCH CRCL DHH and DHL are the high and low bytes of the high word (i.e. the first 16 bits) of the 32-bit register value DLH and DLL are the high and low bytes of the low word (i.e. the last 16 bits) of the 32-bit register value Example: Total Run-time Hours (Register #540) = 305419896 (12345678h) 6.1.
Modbus Message 6.2 Register Writing 6.2.1 Message structure for reading one word All writable registers 6.3 W SA 06 RH RL DH DL CRCH CRCL RS SA 06 RH RL DH DL CRCH CRCL No Response Conditions The drive will not respond to any message that: 6.4 • contains one or more parity errors • has an invalid CRC value • was not directed to the drive’s network address. • This drive does not support the broadcast function of the Modbus protocol.
Commissioning 7 Commissioning 7.1 Drive Monitoring The network can always read drive parameters as long as the Modbus communications are enabled (i.e. P400 = 2) and configured properly (see P410-412). 7.2 Drive Programming and Control Network Control must be enabled for the network to program drive parameters or take control of an actual drive. This is done by … 1. Setting P121…P123 equal to 09 (NET ENABLE) and asserting the corresponding TB-13x terminal 2. Setting P100 to 00, 01, 03 or 04.
Commissioning 7.4 Network Watchdog Timer The drive is equipped with a network communications watchdog timer. If the Modbus Master wishes to control the drive (start, forward, reverse, etc.) it must first Unlock Controls (see Section 7.3). If the watchdog timer is enabled (i.e. P426 is not set to IGNORE) and drive controls have been unlocked, the Master must periodically communicate with the drive or a watchdog time-out will occur.
Network Applications 8 Typical Network Applications 8.1 Controlling the Drive The following is the sequence of events to start the drive via the network: 1. Unlock the Drive Control register (#1) by writing a 0 (or the drive password) to Register #48. 2. Control drive operation with various commands to Register #1 (Start, Stop, Forward, Reverse, etc.). To start the drive, a value of 0x0008 should be sent to Register #1. 3.
Drive Registers 9 Drive Registers 9.1 Data Internal vs. Display Representation Register data passed across the Modbus communications link is always in INTERNAL units, although the drive itself may show the information in some alternate DISPLAY units. For register values with 1 or more decimal places, the actual value sent over the Modbus communications will be the value times 10DP, where DP is the number of decimal places. Example An actual frequency of 34.3Hz would be sent over the network as 343 (34.
Drive Registers Reg # Register Name 60 Total Run Time hours (low word) 61 Total Run Time hours (high word) 64 Total Power-on Hours (low word) 65 Total Power-on Hours (high word) Range of Adjustment Default Important Read only. See P540 in drive manual Read only. See P541 in drive manual 0: de-energized, 1: energized 70 Network Controlled Digital Output (TB14) + Relay 71 Network Controlled Analog Output bit 9: TB-14 state bit 10: Relay state other bits are not used See section 9.2.14 9.2.
Drive Registers 9.2.2 Drive Size - Register #21 This register returns an index value that is associated with the voltage and power rating of the drive as shown in Table 7. Table 7: Drive Size - Register #21 Index Input Voltage 8 240 VAC, Single-Phase 12 13 14 240 VAC Single or Three-Phase Power Rating 0.33 HP (0.25 kW) 1.5 HP (1.1 kW) 2 HP (1.5 kW) 3 HP (2.2 kW) 21 0.5 HP (0.37 kW) 23 1 HP (0.75 kW) 24 1.5 HP (1.1 kW) 25 26 240 VAC Three-Phase 2 HP (1.5 kW) 3 HP (2.
Drive Registers 9.2.3 Drive Status - Register #23 Table 8 lists the status of the bits in Register 23, Drive Status. Table 8: Drive Status - Register #23 Bit 0 = STOP 1 = RUN 1 0 = Quick Stop not active 1 = Quick Stop active 2 0 = Direction Forward 1 = Reverse (commanded direction) 3 0 = Direction Forward 1 = Reverse (actual direction) 4 0 = Network Reference not active 1 = Network Ref.
Drive Registers 9.2.5 Run Status - Register #26 The low byte (DL) of register 26 provides the Operational Status as listed in Table 9. Table 9: Operational Status - Register #26 DL 9.2.
Drive Registers 9.2.8 Speed Source - Register #28 The high byte (DH) of register 28 provides the Speed Command Source as listed in Table 12. Table 12: Speed Source - Register #28 DH Value 9.2.9 Command Source 0 Keypad 1 0-10 VDC 2 4-20 mA 3 Preset #1 4 Preset #2 5 Preset #3 6 Preset #4 7 Preset #5 8 Preset #6 9 Preset #7 10 MOP 11 Network 12 JOG Auto/Manual Reference - Register #28 The low byte (DL) of register 28 provides the Auto/Manual Reference as shown in Table 13.
Drive Registers 9.2.10 Present Fault - Register #29 The high byte (DH) of register 29 provides the active Fault Message as listed in Table 14.
Drive Registers 9.2.13 Parameter Version - Register #50 The Parameter Version identifies the parameter set for the current version of software. If the Parameter version is different between two drives, it could indicate that a register has been added or deleted, a register’s min/max limits have changed, a register’s function has been changed, or a register’s default value has been changed. 9.2.
Programming Parameters 10 Programming Parameters Registers #100-399 are programming parameters used to set up the drive for a specific application. For details regarding these registers, refer to the SMV Operating Instructions (SV01) that accompanied the drive. Registers #400-499 are communication specific programming parameters and will vary depending on which, if any, of the optional communication modules is installed in the drive. Refer to Section 4.
Programming Parameters 10.3 Keypad Status (P531) When a read command is issued over the Modbus network to Programming Parameter P531 (register #531), the Keypad Status data returned is shown in Table 17.
Troubleshooting and fault elimination 11 Troubleshooting and Fault Elimination 11.1 Faults Table 18 lists faults relating to Modbus communication. Refer to section 9.2.10, Present Fault, for a list of drive faults. Table 18: Communication Faults 11.2 Display Status Cause Remedy n Module to Drive communication time out Connection between drive and module is not made.
Lenze AC Tech Corporation 630 Douglas Street • Uxbridge, MA 01569 • USA Sales: 800-217-9100 • Service: 508-278-9100 www.lenzeamericas.