Overview This chapter states the safety instructions that must be followed when installing and operating the NMBA-01 Modbus Adapter Module. If neglected, physical injury and death may follow, or damage may occur to the frequency converter, the motor and driven equipment. The material in this chapter must be studied before attempting any work on, or with, the unit.
Page 6
These functions should not be selected if other equipment is not compatible with this kind of operation, or dangerous situations can be caused by such action. More Warnings and Notes are printed at appropriate instances along the text. NMBA-01 Installation and Start-up Guide...
NMBA-01 Module. Chapter 1 – Introduction to This Guide contains a short description of the Guide. Chapter 2 – Overview contains a short description of the NMBA-01 Modbus Adapter Module, a delivery checklist, and information on the manufacturer’s warranty. Chapter 3 – Mechanical Installation contains placing and mounting instructions for the module.
The communication with the communication module is activated with a drive parameter. NMBA-01 Modbus The NMBA-01 Adapter Module is one of the optional fieldbus adapter Adapter Module modules available for ABB drives. The NMBA-01 is a device through which an ABB drive is connected to a Modbus serial communication bus.
Modbus is designed for integration with Modicon PLCs or other automation devices, and the services closely correspond to the PLC architecture. The NMBA-01 ‘looks like’ a Modicon PLC on the network. The NMBA-01 Modbus The NMBA-01 Modbus Adapter Module is an optional device for...
XM IT TERMINATION Switch for bus termination ABB Drive O FF ERROR Figure 2-1 The construction of the Modbus link and the NMBA-01 Adapter Module. Compatibility The NMBA-01 is compatible with: • ACS 300 • ACS 400 • ACS 600 SingleDrive •...
18 months, from the date of delivery. Extended warranty may be available with certified start-up. Contact your local distributor for details. Your local ABB Drives company or distributor may have a different war- ranty period, which is specified in their sales terms, conditions, and warranty terms.
Page 14
- Control Techniques,emerson,saftronics -ac drive-servo motor Chapter 2 – Overview NMBA-01 Installation and Start-up Guide...
2. Fasten the rail and ensure the proper earthing as described above. 3. Push the module onto the rail. The module can be released by pulling the locking spring with a screwdriver (see Figure 3-1 ). Earthing Clip Figure 3-1 Mounting and removing the module. NMBA-01 Installation and Start-up Guide...
Observe the free space requirements for the module (min. 10 mm from adjoining equipment/wall). 7. Push the module onto the rail. The module can be released by pulling the locking spring with a screwdriver (see Figure 3-1 ). NMBA-01 Installation and Start-up Guide...
The minimum short term bend radius is 25 mm. Bus Termination The built-in terminating resistors must be switched on if the NMBA-01 module is installed at the end of the bus. Otherwise the resistors must be switched off. Terminating resistors prevent signal reflections from the bus cable ends.
ER ROR Figure 4-2 Fibre optic link connecting the NMBA-01 adapter to the drive. The NMBA-01 module is connected to the drive using a fibre optic cable link. Consult the drive documentation as to the corresponding terminals inside the drive.
Chapter 4 – Electrical Installation Earthing The NMBA-01 module earth is connected to the rail onto which the module is mounted. If the rail is fastened to an earthed metallic assembly plate, the module is automatically earthed, and no external earthing wire is needed.
- Control Techniques,emerson,saftronics -ac drive-servo motor Chapter 5 – Programming Overview This chapter gives information on configuring the Modbus master station and the drive for communication through the NMBA-01 Modbus Adapter Module. Configuring the After the NMBA-01 Modbus Adapter Module has been mechanically...
Page 22
MODBUS MODE Shows the logical protocol on the hardware communication option module (the NMBA-01 supports only the RTU mode) and the operating mode of the watch-dog reset. There are two selections: RTU wdg:flt Remote Terminal Unit (RTU) mode. On a watch-dog error, the module will indicate a watch-dog error.
Chapter 5 – Programming GOOD MESSAGES This diagnostics counter increases by one every time a valid Modbus message has been received by NMBA-01 Module. This counter will roll over from 32767 back to 0. During normal operation, this counter is increasing constantly.
Page 24
- Control Techniques,emerson,saftronics -ac drive-servo motor Chapter 5 – Programming NMBA-01 Installation and Start-up Guide...
Register addresses 4GGPP are shown in Table 6-1 Parameter Mapping . In this table GG is the group number, and PP is the parameter number within the group. NMBA-01 Installation and Start-up Guide...
Page 26
If there is an attempt to read or write outside the parameter addresses, the Modbus interface will return an exception code to the controller. Refer to the drive manuals for its data sets, group and parameter numbers supported. NMBA-01 Installation and Start-up Guide...
- Control Techniques,emerson,saftronics -ac drive-servo motor Chapter 6 – Communication Exception Codes The NMBA-01 supports the Modbus exception codes shown in Table 6-2 . Table 6-2 Exception Codes. Code Name Reason ILLEGAL FUNCTION Unsupported Command. ILLEGAL DATA Address does not exist or is read/write ADDRESS protected.
Multiple Drive Control It is possible to connect multiple (theoretical maximum 247) drives to one NMBA-01. Multiple Drive Control has the same control principle as the point-to-point connection. The NMBA-01 behaves like a multiple- address node on the Modbus network.
Broadcast messages cannot be used for changing parameters. Data Set Data sets 1, 3, 5,... (data from NMBA-01 to the drive) can be used in Communication broadcast messages. However, data sets 2, 4, 6,... (data from the drive to the NMBA-01) cannot be used in broadcast messages.
Page 30
- Control Techniques,emerson,saftronics -ac drive-servo motor Chapter 6 – Communication NMBA-01 Installation and Start-up Guide...
• the Modbus cable is connected correctly to terminal block X2. • 24 V d.c. power is connected to the power connectors. • the fibre cables between the drive and the NMBA-01 are correctly connected. • the fibre link connector colours match the drive and NMBA-01 con- nector colours.
Status LEDs The NMBA-01 has three status LEDs. These are from top to bottom: • XMIT LED. This LED will flash each time the NMBA-01 transmits a response or an exception on the Modbus network. • REC LED. This LED will flash each time the NMBA-01 receives a command from the Modbus network.
Page 33
Drive configuration write Check fibre optics, DDCS channel Fast blinking of ER- failed (DDCS link commu- and SW version of the drive. ROR LED for ap- nication fault). prox. 2 sec. repeated every few sec. NMBA-01 Installation and Start-up Guide...
Page 34
- Control Techniques,emerson,saftronics -ac drive-servo motor Chapter 7 – Fault Tracing NMBA-01 Installation and Start-up Guide...
Size of the Link: 247 stations including repeaters (31 stations and 1 repeater per segment) Medium: Shielded, twisted pair RS485 cable • Termination: built in the NMBA-01 Module • Modbus cable: Belden 9841 (typical) • Maximum Bus Length: 1200 m...
Page 37
Cable screen earthing (directly earthed) Power supply for the module (24 V d.c. ± 10 %); screened cable. +24 V Earth General: • All materials are UL/CSA approved • Complies with EMC Standards EN 50081-2 and EN 50082-2 NMBA-01 Installation and Start-up Guide...
Page 38
- Control Techniques,emerson,saftronics -ac drive-servo motor Appendix A – Technical Data NMBA-01 Installation and Start-up Guide...
Modbus protocol only to the level which is required to Protocol fully access the ABB drives. The Modbus protocol defines what is seri- ally transmitted on the communication link. The physical interface to the NMBA-01 is half-duplex RS-485.
Page 40
If an error occurs, the function code is modified to indi- cate that the response is an error response, and the data bytes contain a code that describes the error. The error check field allows the master to confirm that the message contents are valid. NMBA-01 Installation and Start-up Guide...
Modbus networks. It defines the bit contents of message fields transmitted serially on those networks. It determines how information will be packed into the message fields and decoded. The NMBA-01 supports only the RTU mode. Only the RTU mode is described in this document. RTU Mode...
CRC field will not be valid for the combined messages. A typi- cal message frame is shown below. START ADDRESS FUNCTION DATA CRC CHECK T1–T2–T3–T4 8 BITS 8 BITS n × 8 BITS 16 BITS T1–T2–T3–T4 Figure B-2 Message Frame NMBA-01 Installation and Start-up Guide...
The master device’s application program has the responsibility of han- dling exception responses. Typical processes are to post subsequent retries of the message, to try diagnostic messages to the slave, and to notify operators. NMBA-01 Installation and Start-up Guide...
(function code 0B hexa- decimal), the slave does not require any additional information. The NMBA-01 does not support the function code 0B hexadecimal. The function code alone specifies the action. Contents of the Error...
Note that a mes- sage addressed to a nonexistent slave device will also cause a time- out. A proper time-out value for the NMBA-01 is 100 ms. NMBA-01 Installation and Start-up Guide...
Only the eight bits of data in each character are used for generating the CRC. Start and stop bits, and the parity bit if one is used, do not apply to the CRC. NMBA-01 Installation and Start-up Guide...
For applications using host computers, a detailed example of CRC generation is contained later in this appendix. Modbus Function This chapter describes in detail the data content on every Modbus message supported by the NMBA-01. Formats How Numerical Values Unless specified otherwise, numerical values (such as addresses,...
Page 48
0000 0000 Starting Address Lo 0110 1011 No. of Registers Hi 0000 0000 No. of Registers Lo 0000 0011 Error Check CRC (16 bits) Trailer None Total Bytes: Figure B-3 Master Query with RTU Framing B-10 NMBA-01 Installation and Start-up Guide...
Page 49
0010 1011 Data Hi 0000 0000 Data Lo 0000 0000 Data Hi 0000 0000 Data Lo 0000 0000 Error Check CRC (16 bits) Trailer None Total Bytes: Figure B-4 Slave Response with RTU Framing NMBA-01 Installation and Start-up Guide B-11...
- Control Techniques,emerson,saftronics -ac drive-servo motor Appendix B – Modbus Protocol Function Codes The NMBA-01 supports three Modbus function codes. These allow the Master to read and write 16-bit integer values to the drive. 03 Read Holding Reads the binary contents of holding registers (4X references) in the Registers slave.
Page 51
The contents of register 40108 are shown as the two byte values of 02 2B hex, or 555 decimal. The contents of registers 40109–40110 are 00 00 and 00 64 hex, or 0 and 100 decimal. NMBA-01 Installation and Start-up Guide B-13...
Page 52
Here is an example of a response to the query on the opposite page: RESPONSE Field Name Example (Hex) Slave Address Function Register Address Hi Register Address Lo Preset Data Hi Preset Data Lo Error Check CRC CRC (16-Bits) Figure B-8 Preset Single Register - Response B-14 NMBA-01 Installation and Start-up Guide...
When broadcast, the function presets the same register references in all attached slaves. The NMBA-01 allows one or multiple registers to be written at one time using one Preset Multiple Regs function. Only registers within one group can be written at one time. If a write to one of the registers fails, the module will try to write to other registers, but the response will con- tain a corresponding exception message.
(for example, if the request is to read a non-existent coil or register), the slave will return an exception response informing the master of the nature of the error. The exception response message has two fields that differentiate it from a normal response: B-16 NMBA-01 Installation and Start-up Guide...
Page 55
Contents Example Slave Address Function Starting Address Hi Starting Address Lo No. of Coils Hi No. of Coils Lo EXCEPTION RESPONSE Slave Address Function Exception Code Figure B-11 Master Query and Slave Exception Response NMBA-01 Installation and Start-up Guide B-17...
Page 56
MEMORY PARITY The slave attempted to read extended ERROR memory, but detected a parity error in the memory. The master can retry the request, but service may be required on the slave device. B-18 NMBA-01 Installation and Start-up Guide...
6. Repeat Steps 2 through 5 for the next 8-bit byte of the message. Continue doing this until all bytes have been processed. 7. The final contents of the CRC register is the CRC value. NMBA-01 Installation and Start-up Guide B-19...
A pointer to the message buffer containing binary data to be used for generating the CRC vtrqÃu Ã9hhGr The quantity of bytes in the message buffer. The function returns the CRC as a type unsigned short. B-20 NMBA-01 Installation and Start-up Guide...
Installation Site Altitude: 0 to 2000 m above sea level. If the installation site is higer than 2000 m above sea level, please contact your local ABB distributor or office for further information. Vibration: Max 0.3 mm (2 to 9 Hz), max 1 m/s...
Page 62
- Control Techniques,emerson,saftronics -ac drive-servo motor Appendix C – Ambient Conditions NMBA-01 Installation and Start-up Guide...
Page 63
efesotomasyon.com - Control Techniques,emerson,saftronics -ac drive-servo motor...
Page 64
- Control Techniques,emerson,saftronics -ac drive-servo motor ABB Industry Oy Drives Group P.O.Box 184 FIN-00381 Helsinki FINLAND Telephone: +358 10 222 000 Telefax: +358 10 222 2681...