NXG Comunications Manual For Armony Series PDF
NXG Comunications Manual For Armony Series PDF
NXG Comunications Manual For Armony Series PDF
0 Vol 1
NXG
COMMUNICATIONS MANUAL
FOR
HARMONY SERIES
Version History
© 2010 by s. No portion of this document may be reproduced either mechanically or electronically without the prior consent of s LD A
3004014577BV1.0 Vol 1
NXG Communications Manual Table of Contents
Table of Contents
Safety Precautions and Warnings................................................................................... xi
About This Manual ........................................................................................................xiii
• Separation of Manuals ......................................................................................xiii
• Reference Tools ................................................................................................xiii
• Conventions Used in this Manual ..................................................................... xiv
Chapter 1: Communications Overview........................................................................1-1
1.1 Introduction ...................................................................................................1-1
1.2 RS232 Debug Port.........................................................................................1-2
1.3 Dual Networks...............................................................................................1-3
1.3.1 Dual Networks with UCS™ and AnyBus™ Modules........................1-3
1.3.2 Dual Networks with Modbus™ ..........................................................1-3
Chapter 2: Modbus™ Communications ......................................................................2-1
2.1 Introduction ...................................................................................................2-1
2.2 Fast Setup ......................................................................................................2-2
2.2.1 Set up Modbus™ for Motor Control using Default Configuration
(Fixed Reg Bits) ..................................................................................2-2
2.2.2 To Send a Motor Speed Setting to the Drive ......................................2-3
2.2.3 To Control the Motor Using User-defined Bits Controlled by the
SOP .....................................................................................................2-3
2.2.4 To Monitor Drive Status and Speed Feedback ...................................2-4
2.3 Remote Capabilities ......................................................................................2-4
2.4 Menu Setup Procedures.................................................................................2-5
2.5 Network Interface..........................................................................................2-5
2.5.1 Network 1 Interface.............................................................................2-5
2.5.2 Network 2 Interface.............................................................................2-6
2.5.3 Communication Board Configuration.................................................2-6
2.5.4 Siemens Modbus™ Module Configuration (for Network 2) ..............2-7
2.6 Supported Command Set...............................................................................2-9
2.6.1 Read Coil Command (0x01) ...............................................................2-9
2.6.2 Read Holding Registers Command (0x03) .......................................2-11
2.6.3 Write Input Register Command (0x06).............................................2-13
2.6.4 Loop Back Test Command (0x08)....................................................2-13
2.6.5 Write Multiple Coils Command........................................................2-14
s
A5E02924901A: Version AB iii
3004014577BV1.0 Vol 1
Table of Contents NXG Communications Manual
s
iv A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Table of Contents
A5E02924901A: Version AB
s v
3004014577BV1.0 Vol 1
Table of Contents NXG Communications Manual
s
vi A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Table of Contents
A5E02924901A: Version AB
s vii
3004014577BV1.0 Vol 1
Table of Contents NXG Communications Manual
s
viii A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Table of Contents
A5E02924901A: Version AB
s ix
3004014577BV1.0 Vol 1
Table of Contents NXG Communications Manual
s
x A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Safety Precautions and Warnings
s
A5E02924901A: Version AB xi
3004014577BV1.0 Vol 1
Safety Precautions and Warnings NXG Communications Manual
Warning!
• Always comply with local codes and requirements if disposal of failed components is necessary (for
example, CPU battery, capacitors, etc.).
• Always ensure the use of an even and flat truck bed to transport the Perfect Harmony drive system.
Before unloading, be sure that the concrete pad is level for storage and permanent positioning.
• Always confirm proper tonnage ratings of cranes, cables, and hooks when lifting the drive system.
Dropping the cabinet or lowering it too quickly could damage the unit.
• Never disconnect control power while medium voltage is energized. This could cause severe system
overheating and/or damage.
• Never store flammable material in, on, or near the drive enclosure. This includes equipment
drawings and manuals.
• Never use fork trucks to lift cabinets that are not equipped with lifting tubes. Be sure that the fork
truck tines fit the lifting tubes properly and are the appropriate length.
Additional safety precautions and warnings appear throughout this manual. These important messages should be
followed to reduce the risk of personal injury or equipment damage.
∇ ∇ ∇
s
xii A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual About This Manual
Reference Tools
Many steps have been taken to promote the use of this manual as a reference tool. Reference tools include the
following:
• A thorough table of contents for locating particular sections or subsections
• Chapter number thumb nails in the outer margins for easy location of chapters
• Special text styles are applied to easily differentiate between chapters, sections, subsections, regular text,
parameter names, software flags and variables, and test points
• A comprehensive index
If you have any comments or suggestions to improve the organization or increase the usability of this manual, please
complete the Reader’s Comments Form located at the end of this manual and return it to Siemens LD A R&D
Technical Documentation Department.
s
A5E02924901A: Version AB xiii
3004014577BV1.0 Vol 1
About This Manual NXG Communications Manual
* Note: Hand icons in the left margin alert readers to important operational or application information that
may have special significance. The associated text is enclosed in a border for high visibility.
Attention! Attention icons in the left margin alert readers to important safety and operational
precautions. These notes warn readers of potential problems that could cause equipment damage or
personal injury. The associated text is enclosed in a border for high visibility.
Caution - Electrical Hazard! Electrical hazard icons in the outer margins alert readers to important
safety and operational precautions. These notes warn readers of dangerous voltages, potential safety
hazards, or shock risks that could be life threatening. The associated text is enclosed in a border for high
visibility.
ESD Warning! These icons in the left margin alert readers to static sensitive devices. Proper
electrostatic discharge precautions should be taken before proceeding or handling the equipment.
∇ ∇ ∇
s
xiv A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Communications Overview
CHAPTER
1
1 Communications Overview
1.1 Introduction
Each Siemens NXG Control has a Communication Board that enables network communication via a variety of
protocols and enables modem connection. The system supports up to two networks. Only the Modbus™ and Ethernet
Modbus™ protocols are enabled with the Communication Board; all others require optional controller cards, called
UCS modules or AnyBus™ modules, which plug into the Communication Board. Figure 1-1 shows an NXG
Communication Board. Note the locations of the connectors for the UCS modules, AnyBus™ modules, the Modbus™
port, the debug port, the Modbus™ jumpers, board designator jumper, and the RS232 jumpers.
Modbus
Jumpers
Debug
JP3 JP8
Jumpers JP7 JP9
JP6 Board Designator
JP4 JP10 JP13
JP2 JP1 ABUS1 ABUS2
JP5 TX485 (Unused)
(Modbus)
TX232
(Debug)
Debug Port
RX232 RS232
(Debug)
Modbus Port
RS485
JP11 RX485
(Unused) JP12 (Modbus) UCS1 UCS2
(Unused)
The Modbus™ and Ethernet Modbus™ communication protocols are available without the addition of any UCS or
AnyBus™ modules. The Ethernet Modbus™ connection is on the microprocessor board. UCS modules, which
support the following protocols, are available from Siemens:
• Profibus™
• Ethernet Modbus (as Network 2 only)
• DeviceNet™ Profile 12
• Modbus™ Plus
• ControlNet™
s
A5E02924901A: Version AB 1-1
3004014577BV1.0 Vol 1
Communications Overview NXG Communications Manual
* Note: If the user is unfamiliar with drive system programming, refer to the System Programming
chapter in the drive’s manual.
Figure 1-2 below shows a communications connection between a PC and a drive. Table 1-1 shows RS-232
jumper settings.
TX
2 2
RX
3 3
5 GND 5
Personal Communications
Computer Board-J2
s
1-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Communications Overview
• DeviceNet™ DP
• Modbus™ Plus
• Profibus™
• DH+™
• Profibus™
• Ethernet Modbus
• DeviceNet™ Profile 12
• Modbus™ Plus
• ControlNet™
For the modules listed above, network designations follow the numbering of the board connection (e.g., UCS1 is
Network 1).
Two Communication Boards or one Communication Card and one Siemens Modbus™ are required to support dual
networks.
Table 1-2 shows the hardware used to support each of the two networks based on the control type:
s
A5E02924901A: Version AB 1-3
3004014577BV1.0 Vol 1
Communications Overview NXG Communications Manual
BD1 3
Modbus™ 1 port2
1. The user can use one board for the Ethernet Modbus™/Modbus™ dual network
if they do not require a debug port. The single board must still be designated as
BD2. See Figure 1-3 for the board setup.
2. The ethernet network is connected to the microprocessor board and must be
designated as Network 1.
Figure 1-3: Using One Board for Ethernet Modbus™ and Modbus™ Dual Network
s
1-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Communications Overview
Figures 1-4 and 1-5 show the board settings and connections for an Ethernet Modbus/Modbus dual network with a
debug port.
1. Set JP6 to BD1 on the board where the Debug port is available. BD1 will not have a communications port
1
available.
* Note: If the system fails to boot up, check the firmware on the Communication Board for current Version
Number.
Menu function Network Module Types (9955) will display the types of UCS or AnyBus™ modules installed in the
system.
∇ ∇ ∇
s
A5E02924901A: Version AB 1-5
3004014577BV1.0 Vol 1
Communications Overview NXG Communications Manual
s
1-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
CHAPTER
2 Modbus™ Communications
2
2.1 Introduction
Every NXG Control is shipped with the necessary hardware to support Modbus™ network protocol connectivity.
Connectivity using other network protocols is possible with optional controller cards that plug into the
Communication Board. This chapter contains instructions on how to control a Siemens VFD using a PLC over a
Modbus™ network.
This chapter features a Fast Setup section that will help the user to start controlling the Siemens drive with NXG
control via a Modbus™ PLC as quickly as possible. Section 2.2 is short, procedural, and covers a minimum of detail.
Please refer to the other sections for detailed information.
Note that in this chapter, a four-digit number inside of parentheses, e.g., (9403), indicates a parameter ID number for
the keypad on the front of the drive. Press [SHIFT] + [Ö] in order to enter this number directly. The user does not
need to hold down the [SHIFT] key while pressing the [Ö] key. A numerical value expressed as 0xnn (e.g., 0x12) is
being represented in hexadecimal format.
The Modbus™ control interface specification is an open architecture design. Information on Modbus™ is available
from:
Schneider Automation Inc.
One High Street
North Andover, MA 01845
Tel: (978) 794-0800
Fax: (978) 975-0910
Website: www.modicon.com
The Modbus™ communication interface is a serial interface that operates at standard baud rates up to 19.2 Kbaud.
The 10-bit data frame consists of 1 start bit, 8 data bits (no parity), and 1 stop bit. These data parameters are fixed for
the drive.
The drive always acts as a Modbus™ slave. This means that the drive does not initiate dialogue on the Modbus™
network. Rather, it listens to and then responds to the Modbus™ master (the PLC).
Currently, only register-based read and write functions of the Modbus™ protocol are supported. These functions are
used to monitor and control analog and digital inputs and outputs of the drive.
Notes:
• Users must already be familiar with Modicon’s Modbus™ protocol specification and terminology. If
*
additional information is required, please contact Schneider Automation, Inc. at the address given
above.
• Only the Remote Terminal Unit (RTU) format of the Modbus™ protocol is supported by the NXG
Control.
s
A5E02924901A: Version AB 2-1
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
2 2.2.1 Set up Modbus™ for Motor Control using Default Configuration (Fixed Reg Bits)
The drive can be controlled from a PLC using the following simple setup procedure. Using the keypad on the front of
the drive, set ‘Network 1 Type’ (9901) to Modbus™. Set the correct baud rate (9060) and address (9070). Finally, set
the ‘Status/Control Menu’ (9944) to FIXED. This sets the bits at Modbus™ address 40065 to have the definitions
shown below in Table 2-1. Next, add the following line to the SOP: Network1RunEnable_O = TRUE; (the semicolon
is part of the code).
The user can now control the drive through the PLC.
Table 2-1: Default meaning of ‘Fixed Reg Bits’
Network1FixedRegBit3_I Stop1
Network1FixedRegBit4_I Reserved
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to
“Momentary” — otherwise this bit is Reserved.
To run the motor, the PLC must send 0x21 in register 40065. This hexadecimal value sets bit 0 (run) and bit 5 (start/
stop control from network). Likewise, to command the motor to stop, the PLC must send 0x08 or 0x00 in register
40065.
s
2-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
2. The PLC needs to send the desired speed setting to the drive in Modbus™ register 40066. This is a reserved
register only used to hold speed settings (refer to Table 2-27).
2
3. Send 0x61 in Modbus™ register 40065. The motor will accept the PLC commanded speed setting.
2.2.3 To Control the Motor Using User-defined Bits Controlled by the SOP
Use the keypad on the front of the drive to set ‘Network 1 Type’ (9901) to Modbus™. Set the correct baud rate (9060)
and address (9070). Finally, set the ‘Status/Control’ menu (9944) to SOP. To control the motor this way, the drive
needs to know what bits will be used in the SOP program. Three steps are required to do this:
1. Find the bits required by referring to Table 2-2 below, and locate the keypad pick list variable associated
with the bits. By referring to Table 2-27, the user can see that the first available data to drive register is at
Modbus™ address 40067, which corresponds to keypad parameter ID (9603). Using the keypad on the drive,
go to menu item ‘Data To Drive 03’ (9603).
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or
ToolSuite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file
can be used in the SOP program, as shown below:
If the user chose ‘Data to Drive 03’ as the write register; by referring to Table 2-27, they can see that the PLC now
needs to send 0x02 in Modbus™ address 40067 to run the drive, or 0x01 in the same register to stop the drive.
Table 2-2: Sample Programmable Bits*
s
A5E02924901A: Version AB 2-3
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
To read the data from the drive, no SOP flags are needed. Set ‘Network 1 Type’ (9901) to Modbus™. Set the correct
Baud Rate (9060) and Address (9070). Set Velocity Units (9080) to desired motor speed units. By referring to Table
2-27, the user can see the Modbus™ addresses needed to read drive status and speed feedback from the drive by
2 sending from the PLC Modbus™ are 40001 and 40002, respectively. The definitions of the status bits, which are
always found in Modbus™ register 40001, are shown below.
Table 2-3: General Status output from the drive
0 Fault
1 Alarm
2 RunningForward
3 RunningReverse
4 DriveReady
5 StartStopControlFromNetwork
6 SpeedFromNetwork
7 AtSpeedReference
0 = False; 1 = True
8 SpeedInPercent
9 SpeedInRPM
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
See Section 2.7 for details on how to read other drive data.
s
2-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
All Modbus™ setup functions are contained in the Configure Parameters Menu (9902), which is a submenu of the
2
Communications Menu (9). Access is security-controlled at Level 7; therefore, the user must enter the proper security
code to access these parameters. The menus required for initial setup of the Modbus™ interface are listed in
Table 2-32. For the correct setup procedure, please refer to Section 2.7.
Select menu contents by using pick lists. The Modbus™ address of each menu item is fixed. For example, for network
1, ‘Data from Drive 01’ (9401) can be read by sending the read register request in address 40001. The menu ‘Data
from Drive 02’ (9402) can be read in address 40002, and so on. The complete address references can be found in
Table 2-33.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, the
user will need to search Appendix B to locate it. If found, use the corresponding data ID number to enter the variable
into the read registers. The procedure for doing this is described in Section 2.7.1.
Modbus™ Network 1 is supported by the Communication Board. (see Section 2.5.3 for Communication Board
settings and configuration).
M ax 32 co nne ct io ns
= Termination No te: A/B definition s a re not standard, it may requ ire swapping A and B if the un it does not wo rk.
s
A5E02924901A: Version AB 2-5
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
Modbus™ Network 2 has two different hardware configurations available, based on the control method provided.
*
Note: The menu setup for both Network 2 configurations are the same, regardless of the control
2 method used.
• NXG Control - Features include a 14 slot backplane with spare ISA slots. Modbus™ Network 2 is supported
by adding a Communication Board into the ISA backplane (see Section 2.5.3 for Communication Board
settings and configuration).
• NXGII Control - Features include an 8 slot backplane and does not contain any spare ISA slots. Modbus™
Network 2 is supported by adding a Siemens Modbus™ module onto the ABUS2 connector located on the
Communication Board (see Section 2.5.4 for Siemens Modbus™ module settings and configuration).
The Modbus™ serial port for the NXG Control is located on the Communication Board (Figure 2-2 shows the pin
designations used for the output connector.
* Note: The Modbus™ serial port is an optically isolated two-wire (shielded, twisted pair), half-duplex,
RS-485 serial interface.
Pin 2-Data A or B
Pin 3-Data B or A
Pin 5-Ground
Jumper settings are available for configuring data(+) and data(-) signals. These settings swap the functions of pins 2
and 3 on the output connector. If the user is unsure of which settings are correct for the interface, try one and then the
other. Jumpers are also provided to enable or disable the 120-ohm terminator resistor.
*
Note: When verifying settings are correct for the interface, note that nothing will be harmed with an
incorrect setting.
s
2-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
Jumper Setting
The Siemens Modbus™ module (see Figure 2-3) was designed to support a second Modbus connection without the
need for a second Communication Board.
The module plugs into the ABUS2 connector (see Figure 1-1 in Chapter 1) located on the Communication Board.
s
A5E02924901A: Version AB 2-7
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
The red LED is used to indicate that the module is sending data to the Modbus™ network.
The green LED is used to indicate that the module is receiving data from the Modbus™ network.
*
Note: The green LED does not indicate the network traffic is for this specific device, it only indicates
network traffic is present.
The module has fixed-pin designations for Data A and Data B (see Figure 2-4 for RS-485 output pin configuration).
Pin 2-Data A
Pin 3-Data B
Pin 5-Ground
The module contains a jumper (JP5) which can be used to terminate the network line. (see Table 2-7)
Jumper Setting
JP5= 1-2 Terminator resistor disabled
JP5= 2-3 Terminator resistor enabled
s
2-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
TX
01 01 00 13 00 25 -- --
An example response to Read Output Status is shown below. The data is packed with one bit for each coil. The
response includes the slave address, function code, quantity of data characters, the data characters, and error
checking. Data will be packed with one bit for each coil (1 = ON, 0 = OFF). The low order bit of the first character
contains the addressed coil, and the remainder bits follow. For coil quantities that are not even multiples of eight, the
last characters will be filled in with zeros at high order end.
Figure 2-6: Sample Read Output Register of Read Coil Status Message
RX
01 01 CD 6B B2 0E 1B -- --
The status of coils 20-27 is shown as CD (HEX) = 1100 1101 (Binary). Reading left to right, this shows that coils 27,
26, 23, 22, and 20 are all on. The other coil data bytes are decoded similarly. Due to the quantity of coil statuses
requested, the last data field, which is shown as 1B (HEX) = 001 1011 (Binary), contains the status of only five coils
(52-56) instead of eight coils. The three left-most bits are provided as zeros to fill the 8-bit format.
s
A5E02924901A: Version AB 2-9
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
s
2-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
The read holding registers command allows the Modbus™ master to read up to 64 consecutive memory registers from
the drive. A sample read holding register command and its associated response are shown (in hexadecimal) in
Figure 2-7. This sample request to read two registers (40005 and 40006) is detailed in Table 2-10. The drive’s read
holding register response is detailed in Table 2-11. Parameter names and their corresponding data ID numbers are
listed in Appendix B of this manual.
2
TX
01 03 00 04 00 02 -- --
RX
01 03 04 04 A5 90 B1 -- --
Figure 2-7: Sample Read Output Registers Command (TX) and Response (RX)
s
A5E02924901A: Version AB 2-11
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
Actual
Field Name Value (in Hex) Scaled Value Notes
Result
Data Value 1 (MSB) 0x04 This register is user high byte of item 1
0x04A5
Data Value 1 (LSB) 0xA5 programmable. See Table 2-33. low byte of item 1
Data Value 2 (MSB) 0x90 This register is user high byte of item 2
0x90B1
Data Value 2 (LSB) 0xB1 programmable. See Table 2-33. low byte of item 2
Note: For responses received from the drive (such as in Table 2-11), the keypad parameter Velocity Units
* (9080) is set to ‘Percent’ by default. Interpreted values (shown in the Scaled Value column of Table 2-11)
will differ if this parameter is configured differently. See Table B-1 in Appendix B for all data scaling.
s
2-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
The write input register command allows the Modbus™ master to write a value to a specified input register in the
drive. A sample write input register command and its associated response are shown (in hexadecimal) in Figure 2-8.
This sample request to write a value to register 40067 is detailed in Table 2-12. The write input register response from
the drive is an echo of the transmission; therefore only one table is shown below. Parameter names are listed in
Appendix B of this manual.
2
TX
01 06 00 42 00 64 -- --
RX
01 06 00 42 00 64 -- --
Figure 2-8: Sample Write Input Register Command (TX) and Response (RX)
Table 2-12: Write Input Register Transmission (TX) from Master (same as (RX) Echo Response from Drive)
The loop back test command allows the Modbus™ master to test the communication link to the drive. The drive’s
response to a legal Modbus™ message is an echo of the transmission. A sample loop back test message is shown with
the associated response (in hexadecimal) in Figure 2-9.
TX
01 08 00 00 03 E8 -- --
RX
01 08 00 00 03 E8 -- --
Figure 2-9: Loop back Test Command (TX) and Response (RX)
s
A5E02924901A: Version AB 2-13
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
TX
01 0F 00 13 00 0A 02 CD 00 ----
RX
01 0F 00 13 00 0A -- --
Figure 2-10: Write Multiple Coils Command (TX) and Response (RX)
s
2-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
The write multiple input registers command allows the Modbus™ master to write up to 64 values (in a single
command) to multiple input registers in the drive. A sample request to write to two registers is shown with the
associated response (in hexadecimal) in Figure 2-11. The sample request is detailed in Table 2-15. The associated
response is detailed in Table 2-16. Parameter names and descriptions are listed in Appendix B. 2
TX
01 10 00 43 00 02 04 00 64 24 E3 -- --
RX
01 10 00 43 00 02 -- --
Figure 2-11: Sample Write Multiple Input Registers Command (TX) and Response (RX)
Table 2-15: Write Multiple Input Registers Transmission (TX) from Master
Table 2-16: Write Multiple Input Registers Response (RX) from Drive
s
A5E02924901A: Version AB 2-15
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
1. Using the keypad, enter Network 1 Type (parameter ID 9901), scroll to Modbus™, then press [ENTER]. The
2 Modbus™ configuration parameters will be viewable.
2. Set the Modbus™ Baud Rate (9060) to the desired rate, which must match the PLC controller’s baud rate.
4. Set the Modbus™ Address (9070) to the desired Modbus™ address for the drive.
5. Select the Velocity Units (9080). This sets the units for motor commanded speed and motor feedback speed
scaling.
6. If needed, set the Demand Scalar (9912) to n*command speed where –125n125.
7. Set the Aux Demand Scalar (9913) if used.
8. Use Table 2-27 to program the drive to send data to and receive commands from available Modbus™
addresses. Each Modbus™ address from 40001 through 40128 corresponds with a keypad parameter ID,
which will be used to tell the drive what data to send to, or what commands to receive from, a particular
Modbus™ address. Note that (4) Registers (40001, 40003, 40065, & 40067) are already programmed, giving
the drive basic send and receive functionality. The data in these addresses are not changeable.
9. The definition of the bits in the available Modbus™ addresses may be entered from a choice of pick list
variables in the keypad menus, or custom programmed using the drive’s SOP program. See Section 2.9 for
details.
*
Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual.
Please note that the PLC can receive data from the drive without any changes to the SOP program. Only if the user
needs to control the drive through the Modbus™ network will they need to set any flags in the SOP program.
If the user needs to control the drive through a Modbus™ network (or any other type of network), then they will need,
at an absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE;
To control a drive through a network by sending commands to the drive, first ensure that the drive’s SOP file contains
the line of code mentioned above. Note that the semicolon is part of the code. If the user would like to control the
drive through a second network, then the SOP program must also contain this line:
Network2RunEnable_O = TRUE;
After ensuring that the SOP file has the necessary code to enable control of the drive over a network, the user will
need to change some of the drive’s control parameters using the keypad on the front of the drive.
s
2-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
The customer wants to set register 40003 to indicate output power. Table 2-27 indicates that this address is
programmable. Use Table 2-27 to determine the necessary parameter ID. Enter parameter ID (9403) “Data from drive
03” using the keypad on the front of the drive. Choose “output power” from the pick list.
The customer wants to set register 40004 to indicate the number of active faults. Enter parameter ID (9404) “Data
from drive 04” using the keypad on the front of the drive. Scroll through the pick list to find “number of active
faults”. Note that “number of active faults” is not a choice in the pick list. Therefore, it needs to be specified
manually. Refer to Table 2-29 for a list of data from drive pick list variables. Since “number of active faults” is not a
choice in the pick list, choose “ManId” from the pick list. Find “number of active faults” in Appendix A of this
manual and look for its data ID number. Its data ID number is 3000. Note that the data ID number is not the same as
a parameter ID number. “ManId-0000” will be shown on display. Use arrows or number keys to enter 3000, and press
[ENTER]. The display should show “ManId-3000”. If the data ID number could not be found, the error message
“Invalid Id Entered” will be displayed. Ensure that the data ID is correct. Now the number of active faults will appear
at register 40004 on the PLC.
An example of how the PLC interacts with the drive to read information is given below.
TX
01 03 00 03 00 01 -- --
RX
01 03 02 00 00 -- --
Figure 2-12: Sample Read Output Registers Command (TX) and Response (RX)
s
A5E02924901A: Version AB 2-17
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
Actual
Field Name Value (in Hex) Scaled Value Notes
Result
s
2-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
Network1FixedRegBit3_I Stop1
Network1FixedRegBit4_I Reserved
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to
“Momentary” — otherwise this bit is Reserved.
s
A5E02924901A: Version AB 2-19
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
0 Fault
1 Alarm
2 RunningForward
3 RunningReverse
4 DriveReady
5 StartStopControlFromNetwork
6 SpeedFromNetwork
7 AtSpeedReference
0 = False; 1 = True
8 SpeedInPercent
9 SpeedInRPM
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
s
2-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
This example shows how to use the Modbus™ network to trip the input medium voltage. In this example, our PLC
will be writing to Modbus™ register 40067, which we programmed to Net Input Flag 1. We will use the SOP program
to set a flag bit that will use digital output to trip input medium voltage. The PLC will write the contents of ‘Net Input
Flag 1’, bit 9 (Network1Flag9_I) to create an input medium voltage trip. The SOP source code is shown below:
;ExternalDigitalOutput01h_O Use digital output to trip input medium Voltage
ExternalDigitalOutput01h_O = Network1FixedRegBit9_I;
s
A5E02924901A: Version AB 2-21
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
User Programmable:
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
Table 2-23: Network 1 Programmable Input Bits (keypad parameter ID 9603-9664)
2 Pick list variable in ‘Data to Drive Reg an’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
2-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
Drive Parameter
Network
ID Numbers1
Description Default Contents Modbus™ Addresses2
2
General Status
1 9401 Data From Drive 013 (not changeable)
40001
Motor Speed
1 9402 Data From Drive 023 (not changeable)
40002
Velocity Demand
1 9602 Data To Drive 024 (not changeable)
40066
General Status
2 9501 Data From Drive 013 (not changeable)
40001
Motor Speed
2 9502 Data From Drive 023 (not changeable)
40002
Velocity Demand
2 9702 Data To Drive 024 (not changeable)
40066
1. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
2. Modbus™ Addresses—digital locations provided by the Modbus™ Protocol, which store values for use by
the master (PLC) and slave (Siemens drive) devices. To establish functional communication between the
PLC and the drive, the control software in the drive needs to know for what certain addresses are used. That
is the key to configuring the drive’s Modbus™ connection.
3. Data From Drive—data that the PLC will receive from the drive to determine how the drive is functioning.
Each register contains a 16-bit digital representation of the status of a particular aspect of the drive’s
functioning. Some registers are fixed to track certain drive functions; others are programmable to track any
of a number of drive status choices.
4. Data To Drive—data that the PLC will send to the drive in order to control it. Each register contains a 16-
bit digital representation of the PIC’s command for a particular aspect of the drive’s functioning. Some
registers are fixed to control certain functions; others are programmable to control any of a number of drive
function choices.
s
A5E02924901A: Version AB 2-23
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
MUX 4 ID NA None
s
2-24 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
Table 2-29: Modbus™ Communications Data From Drive Pick List Variables
None N/A Net1 Out Reg 4 B Mux2 Echo N/A Wago™ Inputs 65-80 B
Man Id N/A Net2 Out Reg 1 B Mux2 Data N/A Wago™ Inputs 81-96 B
2
General Status B Net2 Out Reg 2 B Mux3 Echo N/A Wago™ Outputs 1-16 B
Motor Voltage U Net2 Out Reg 3 B Mux3 Data N/A Wago™ Outputs 17-32 B
Total Current U Net2 Out Reg 4 B Mux4 Echo N/A Wago™ Outputs 33-48 B
Output Power U Torque Current U Mux4 Data N/A Wago™ Outputs 49-64 B
Inp RMS Current U Inp Power Factor U Mux8 Echo N/A Excess React I U
Input Frequency U Input KVars U Mux8 Data N/A Speed Droop Percent U
Max Available
Input Power Avg U
Output Volts
U Wago™ Inputs 1-16 B Sync Motor Field Ref U
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo N/A Wago™ Inputs 33-48 B Drive Efficiency U
Net Control Type 9944 Sop Bit definition is fixed or defined in Sop program
Start Stop Control 9945 Maintained Start/Stop bit inputs are treated as maintained or momentary.
s
A5E02924901A: Version AB 2-25
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
s
2-26 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
Data From
Status
Motor
This register is not programmable
s
A5E02924901A: Version AB 2-27
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
s
2-28 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
Data To Drive
Reg Bits
Velocity
This register is not programmable.
s
A5E02924901A: Version AB 2-29
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
s
2-30 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Communications
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and down
*
arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys. The
cursor will move to the beginning of the second line after it reaches the last possible position on the first
line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
2
position on the second line.
Figure 2-14 represents the display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
∇ ∇ ∇
s
A5E02924901A: Version AB 2-31
3004014577BV1.0 Vol 1
Modbus™ Communications NXG Communications Manual
s
2-32 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
CHAPTER
3 DeviceNet™ DP Communications
3.1 Introduction
This chapter features a fast setup section that will help the user to start controlling the Siemens drive with NXG 3
Control using a DeviceNet™ network as quickly as possible. Section 3.4 is short and procedural, and covers a
minimum of detail. Please refer to the other sections of this chapter for detailed information.
Note that in this chapter, a four-digit number inside of parentheses, e.g., (9403), indicates a parameter ID number for
the keypad on the front of the drive. Press [SHIFT] + [→] in order to enter this number directly. The user does not
need to hold down the [SHIFT] key while pressing the [→] key. A numerical value expressed as 0xnn (e.g., 0x12) is
being represented in hexadecimal format.
DeviceNet™ Drive Profile (DP) uses linear bus topology. This topology is configured as a series of clusters. A cluster
is a collection of nodes that are logically connected. A node may belong to one or more clusters. The linear bus
topology is illustrated in Figure 3-1. Three clusters are shown using master/slave or peer-to-peer.
Notes:
• Siemens drives use master/slave connections and do not support DeviceNet™ DP “strobe”
* connections.
• The Siemens DeviceNet™ DP UCS board functions only as a slave device and cannot initiate
communications (it can only respond to requests).
s
A5E02924901A: Version AB 3-1
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
Legend
P = Peer
3
CLUSTER A CLUSTER B CLUSTER C
M M P
S S S S S S S S P P P P
SUBNET
s
3-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
The DeviceNet™ DP UCS module mounts to the Communication Board of the NXG Control. Figure 3-2 shows the
connectors, jumpers, and status indicators on the DeviceNet™ DP UCS board.
* Note: To properly configure the DeviceNet™ DP UCS module, jumpers BA1 and BA2 must be removed
from the board.
3
Jumpers BA1 and BA2 Connector to NXG Board
(Removed from board)
Status
Indicators
DeviceNet 5-
pin connector
3.1.3 Connector
The UCS DeviceNet™ DP interface module uses a DeviceNet™ DP compatible 5-pin connector.
DeviceNet
Color Code
1 V- (power conductor) Black
3 SHIELD Bare
s
A5E02924901A: Version AB 3-3
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
The maximum cable length depends on the transmission speed and cable type. The maximum cable length/baud rates
are shown in Table 3-1.
Figure 3-4 shows the status indicators. Table 3-2 describes the LED states. At startup, the UCS™ module tests the
UCS™ Status indicator by making it red for 250 msec, green for 250 msec, then off.
UCS Status 1
Network Status 2
Board Edge
Figure 3-4: UCS™ Module Circuit Board Status Indicators (Board Orientation)
s
3-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
Number from
Indication State Description
Figure 3-4
1 UCS™ Off No power or hard/soft reset asserted.
Status
Recoverable configuration fault (invalid firmware, OEM
Red, Flashing1 data, or personality data).
3
Red Hardware error or fatal runtime error.
s
A5E02924901A: Version AB 3-5
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
This example will permit control of the drive from a PLC using the following simple set-up procedure:
*
Note: Setting the Network1RunEnable_O = TRUE; may prevent the drive from being started and
stopped locally from the keypad or panel-mounted start/stop switches.
6. Set the (NetRef) bit true (1) to request that the speed demand input to the drive originate from the
DeviceNet™ DP network.
7. From the PLC, set the VFD Speed Reference to the desired speed.
8. Set the (NetCtrl) bit true (1) to request that the start/stop functionality be controlled from the DeviceNet™
DP network.
9. Set the (Run fwd) bit true (1) to request that the drive run in the forward direction. Bit 1 (Run Rev) must be
low (0).
10. The VFD should run at the commanded speed.
s
3-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
1. Start by selecting the pick list item “DeviceNet DP” from the pick list of the ‘Network 1 Type’ menu.
2. Set the DeviceNet™ DP Address to the desired node address (Mac Id) for the drive. The valid range is 1
through 63.
3. Set up the ‘Register Data From Drive’ (to select the data to be sent by the drive) or ‘Register Data To Drive’
(to select the data to be received by the drive). Register Data From Drive are data that the PLC will receive
from the drive to determine how the drive is functioning. Each register contains a 16-bit digital
representation of the status of a particular aspect of the drive’s functioning. Some registers are fixed to track
certain drive functions; others are programmable to track any of a number of drive status choices.
Register Data To Drive are data that the PLC will send to the drive to control it. Each register contains a
16-bit digital representation of the PLC’s command for a particular aspect of the drive’s functioning. Some
registers are fixed to control certain functions; others are programmable to control any of a number of drive
function choices. Continue at step 4 for ‘Register Data From Drive’ or step 5 for “Register Data To Drive”
setup.
4. The ‘Register Data From Drive’ menu provides the user the ability to define up to 32 register-based data
items that can be sent from the drive via keypad parameters (9401–9432) “Data From Drive 01-32”. Each of
these items can now be independently defined as desired. Upon selecting any of the send data items, the user
is prompted to enter the data to be transmitted from a predefined pick list. As an alternative, an ID may
reference a specific item if not found in the pick list. Most pick list items simply require scrolling through
the menu to the desired item and pressing the ENTER key. For ID entry, the user is prompted for the 4-digit
ID code of the data item and the desired data type. ID’s are listed in Appendix B of this manual.
5. The ‘Register Data To Drive’ menus provides the user the ability to define up to 32 register-based data items
that can be received from the drive via keypad parameters (9601–9632) “Data To Drive Reg 01-32”. Each of
these items can now be independently defined as desired. Upon selecting any of the receive data items, the
user is prompted to enter the data to be received from a predefined pick list.
s
A5E02924901A: Version AB 3-7
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
Drive Parameter ID
Network Description Default Contents
Numbers
General Status
1 9401 Data From Drive 01
(not changeable)
Motor Speed
3 1 9402 Data From Drive 02
(not changeable)
Velocity Demand
1 9602 Data To Drive Reg 02
(not changeable)
General Status
2 9501 Data From Drive 01
(not changeable)
Motor Speed
2 9502 Data From Drive 02
(not changeable)
Velocity Demand
2 9702 Data To Drive Reg 02
(not changeable)
s
3-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
The DeviceNet™ DP network consists of the UCS DeviceNet™ DP module, the UCS firmware, and NXG Control
software. Siemens configures the DeviceNet™ DP network as master/slave, point-to-point communication 3
connections. The master may use explicit messages to control the drive. The UCS DeviceNet™ DP module acts as a
slave on the DeviceNet™ DP network. It uses I/O assembly data as the basis for drive control. Only the UCS
firmware handles DeviceNet™ DP classes 1-3 and 5. The UCS firmware and the NXG Control software work
together to handle DeviceNet™ DP classes 4 and 40-42. The Siemens UCS DeviceNet™ DP module supports the
DeviceNet™ DP classes listed in the Table 3-4 below:
Class
Object Class Communication Messages handled by:
Number
DeviceNet™ DP networks use data types in two different manners. These manners are explained below.
Each class attribute has a pre-defined data type. The Open DeviceNet™ DP Vendor Association (ODVA) defines the
data types used. Table 3-5 is an abbreviated list of the DeviceNet™ DP data types.
s
A5E02924901A: Version AB 3-9
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
s
3-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
The Siemens UCS DeviceNet™ DP Module uses assembly data to transfer data to and from the drive. DeviceNet™
DP networks have pre-defined assemblies to allow multiple similar devices from different vendors to communicate in
the same manner. The pre-defined assemblies allow substitution of one manufacturer’s device for another without
having to change the communication software.
3
3.8.2 DeviceNet™ DP AC Drive Input Assembly Data (Assembly #71)
The Siemens UCS DeviceNet DP module uses the predefined Input Assembly ‘Extended Speed Control Input’ for
AC Drives as the default I/O assembly.
The ‘Extended Speed Control Input’ assembly (assembly #71) uses 4 bytes of data. The assembly data is passed from
the drive to the UCS DeviceNet™ DP module via the NXG Control. The DeviceNet™ DP master can obtain the
Siemens drive data via a master/slave communication. The 4 bytes of assembly input data are defined below. The first
byte of data is broken down into bits used to define the operating status of the drive. The second byte of data is the
drive state. The third and fourth bytes of data are combined together to form a 16-bit signed number representing the
drive speed in RPM. The range is 0 to 32767 RPM. Refer to Tables 3-6, 3-7, and 3-8 for more information on
assembly data bits and bytes.
Ref Ctrl
At Running2 Running1
0 From From Ready Warning Faulted
Reference (Rev) (Fwd)
Net Net
1 Drive State
s
A5E02924901A: Version AB 3-11
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
Set true (1) when the drive speed matches (±1.5%) the drive reference speed (not
7 AtReference
ramping up or down).
Set true (1) when the speed demand input to the drive originates from the
6 RefFromNet
3 DeviceNet DP network.
Set true (1) when the start/stop functionality is controlled from the DeviceNet DP
5 CtrlFromNet
network.
4 Ready Set true (1) when the drive is not running and is in a non-faulted state.
3 Running2 (Rev) Set true (1) when the drive is running in the Reverse direction.
2 Running1 (Fwd) Set true (1) when the drive is running in the Forward direction.
1 Warning Set true (1) when the drive has an active Alarm.
4 Enabled (Running)
Note: The term “Ready” is defined as “Not Faulted” and “Not Running.” The lack of a permissive is not
* considered a fault. The drive will change from the “Ready” state to the “Enabled” (running) state when all
drive permissive signals are “True.”
s
3-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
The Siemens UCS DeviceNet™ DP module uses the predefined input assembly ‘extended speed control output’ for
AC Drives as the default I/O assembly.
The ‘extended speed control output’ assembly (assembly #21) uses 4 bytes of data. The assembly data is consumed
by the UCS DeviceNet™ DP module and passed to the drive. The master updates the data to the UCS DeviceNet™
DP module. The 4 bytes of assembly output data are defined in Table 3-9. The first byte of data is broken down into
bits used to control the operating mode of the drive. The second byte of data is not used (all bits are 0). The third and
fourth bytes of data are combined together to form a 16-bit signed number representing the DeviceNet™ DP network
3
speed reference in RPM. The range is 0 to 32767 RPM. Table 3-10 lists assembly output data bit definitions.
0 Not Used NetRef NetCtrl Not Used Not Used Fault Reset Run Rev Run Fwd
1 Reserved (Not Used)
Set true (1) to request that the speed demand input to the drive originate from the
6 NetRef
DeviceNet™ DP network.
5 NetCtrl Set true (1) to request that the start/stop functionality be controlled from the DeviceNet™
DP network.
Set true (1) to request that the drive run in the reverse direction. Bit 0 (Run Fwd) must be
1 Run Rev
low (0).
Set true (1) to request that the drive run in the forward direction. Bit 1 (Run Rev) must be
0 Run Fwd
low (0).
s
A5E02924901A: Version AB 3-13
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
The UCS DeviceNet™ DP module contains only one instance of the three classes. The supported attributes and the
access type for each of the classes can be found in Tables 3-11, 3-12, 3-13, and 3-14.
3
Note: The term “Ready” is defined as “Not Faulted” and “Not Running.” The lack of a permissive is not
* considered a fault. The drive will change from the “Ready” state to the “Enabled” (running) state when all
drive permissive signals are “True.”
s
3-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
Notes:
* • Attributes 101-130 are used for Register Data from Drive.
• Attributes 131-160 are used for Register Data to Drive.
Table 3-14: DeviceNet™ DP AC/DC Drive Class Extension Supported Attributes (1 Instance)
s
A5E02924901A: Version AB 3-15
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
MUX 4 ID NA None
s
3-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
The ‘Register Data From Drive’ menu provides the user the ability to define up to 32 register-based data items that
can be sent from the drive via keypad parameters (9401–9432) ‘Data From Drive 01-32’. Each of these items can
now be independently defined as desired. Upon selecting any of the send data items, the user is prompted to enter the
data to be transmitted from a predefined pick list. As an alternative, an ID may reference a specific item if not found
in the pick list. Most pick list items simply require scrolling through the menu to the desired item and pressing the
ENTER key. For ID entry, the user is prompted for the 4-digit ID code of the data item and the desired data type. IDs
are listed in Appendix B of this manual. 3
Table 3-16: DeviceNet™ DP Data from Drive Pick List Variables
None N/A Net1 Out Reg 4 B Mux2 Echo N/A Wago™ Inputs 65-80 B
Man Id N/A Net2 Out Reg 1 B Mux2 Data N/A Wago™ Inputs 81-96 B
General Status B Net2 Out Reg 2 B Mux3 Echo N/A Wago™ Outputs 1-16 B
Motor Voltage U Net2 Out Reg 3 B Mux3 Data N/A Wago™ Outputs 17-32 B
Total Current U Net2 Out Reg 4 B Mux4 Echo N/A Wago™ Outputs 33-48 B
Output Power U Torque Current U Mux4 Data N/A Wago™ Outputs 49-64 B
Inp RMS Current U Inp Power Factor U Mux8 Echo N/A Excess React I U
Input Frequency U Input KVars U Mux8 Data N/A Speed Droop Percent U
Max Available
Input Power Avg U
Output Volts
U Wago™ Inputs 1-16 B Sync Motor Field Ref U
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo N/A Wago™ Inputs 33-48 B Drive Efficiency U
s
A5E02924901A: Version AB 3-17
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
3 The corresponding names of the bits related to the menu pick list items are found in Table 3-18.
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
Table 3-17: Network 1 Programmable Input Bits (keypad parameter ID 9603-9632)
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
3-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Note: Use of status flags in the system program requires a thorough understanding of the system program
* and how it is edited, compiled, and downloaded. Use of system program flags should be limited to only
qualified and experienced individuals.
Network1RunEnable_O This flag must be set TRUE for the Drive to be run from network 1.
Network2RunEnable_O This flag must be set TRUE for the Drive to be run from network 2.
s
A5E02924901A: Version AB 3-19
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
3. Next, if the DeviceNet™ DP UCS card is on an active network, the green LED will come on solid green.
3 (Refer to Table 3-2).
4. At this point, the UCS Network Status LED reflects the state of the DeviceNet™ DP UCS board on the
DeviceNet™ DP network.
5. The interface between the DeviceNet™ DP UCS board and the NXG is opened. The UCS™ Status LED
turns green.
# Things to Check
1 Verify that the UCS module is securely seated on the Communication board.
2 Verify the DeviceNet™ DP UCS board is properly secured using the mounting hardware.
3 Verify the jumpers BA1 and BA2 have been removed from the DeviceNet™ DP UCS board.
s
3-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ DP Communications
s
A5E02924901A: Version AB 3-21
3004014577BV1.0 Vol 1
DeviceNet™ DP Communications NXG Communications Manual
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and
*
down arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys.
The cursor will move to the beginning of the second line after it reaches the last possible position on the
first line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
position on the second line.
3 Figure 3-6 below represents a display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
∇ ∇ ∇
s
3-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
CHAPTER
The Modbus™ control interface specification is an open architecture design. Information on Modbus™ is available
from:
Schneider Automation Inc.
One High Street
North Andover, MA 01845
Tel: (978) 794-0800
Fax: (978) 975-0910
Website: www.modicon.com
The Ethernet Modbus™ communication interface is based on the TCP/IP protocol. All addressing is based on IP
addresses.
The drive always acts as a Modbus™ slave. This means that the drive does not initiate dialogue on the Ethernet
Modbus™ network. Rather, it listens to and then responds to the Ethernet Modbus™ master.
Currently, only register-based read and write functions of the Modbus™ protocol are supported by the NXG Control.
These functions are used to monitor and control analog and digital inputs and outputs of the drive.
Notes:
• Users must already be familiar with Modicon’s Modbus™ protocol specification and terminology.
*
If additional information is required, please contact Schneider Automation Inc. at the address
given above.
• Only the Remote Terminal Unit (RTU) format of the Modbus™ protocol is supported by the NXG
Control. All requests are sent via register port 502.
s
A5E02924901A: Version AB 4-1
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
Each of these supported commands are listed and described in the sections that follow. Each of these commands is
issued by the Modbus™ master (PLC) and sent over the network (to the Siemens slave[s]).
Notes:
* •
• AnyBus Ethernet Modbus™ is for Network 2 only!
4 Figure 4-1 shows the connector and indicators on the AnyBus Ethernet Modbus™ module. The DIP switches are not
used for the NXG application.
R J-4 5
C o n n e c to r
D IP S w itc h e s S ta tu s
NOT USED In d ic a to rs
Module
Link Preset 1 2
Status
Network
Data Activity 4Board Edge
3 Status
s
4-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
Number from
Indication State Description
Figure 4-2
s
A5E02924901A: Version AB 4-3
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
4.2.1 To Set Up Ethernet Modbus™ for Control Using Default Configuration (Fixed Reg Bits)
The drive can be controlled from a master device using the following simple setup procedure. Using the keypad on
the front of the drive, set ‘Network 1 Type’ (9901) to “Ethernet Modbus™”. This setup assumes that there is an
existing working TCP/IP network established. Verify the network settings for Subnet mask, and Gateway address
4 (9320, 9330). The IP address (9310) must be unique to the drive. The default Subnet Mask and Gateway address will
work for most network configurations. Finally, set the ‘Net Control Type’ parameter (9944) to FIXED. This sets the
bits at Modbus™ address 40065 to have the definitions shown below in Table 4-2. Next, add the following line to the
SOP: Network1RunEnable_O = TRUE; (the semicolon is part of the code). The user can now control the drive
through the master device.
Table 4-2: Default Meaning of ‘Fixed Reg Bits
Network1FixedRegBit3_I Stop1
Network1FixedRegBit4_I Reserved
Network1FixedRegBit5_I Start stop control from network
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945)
is set to “Momentary” — otherwise this bit is Reserved
To run the motor, the master device must send 0x21 in register 40065. This hexadecimal value sets bit 0 (run) and bit
5 (start/stop control from network). Likewise, to command the motor to stop, the master device must send 0x08 or
0x00 in register 40065.
s
4-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
3. Send 0x61 in Modbus™ register 40065. The motor will accept the master device commanded speed setting.
4.2.3 To Control the Motor Using User-defined Bits Controlled by the SOP
Use the keypad on the front of the drive to set ‘Network 1 Type’ (9901) to “Ethernet Modbus™”. This setup assumes
that there is an existing working TCP/IP network established. Verify the network settings for Subnet mask, and
4
Gateway address (9320, 9330). The IP address (9310) must be unique for the drive. The default Subnet Mask and
Gateway address will work for most network configurations. To enable speed settings from the network, add the
following line to the SOP program file:
RawDemandNetwork1_O = true;
Finally, set the ‘Net Control Type’ parameter (9944) to SOP. To control the motor this way, the drive needs to know
what bits will be used in the SOP program. Two steps are required to do this:
1. Find the bits required by referring to Table 4-3 below, and locate the keypad pick list variable associated
with the bits. By referring to Table 4-23 the user can see that the first available data to drive register is at
Modbus address 40067, which corresponds to keypad parameter ID (9603). Using the keypad on the drive,
go to menu item ‘Data To Drive 03’ (9603).
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or
ToolSuite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file
can be used in the SOP program as shown below:
If the user chose ‘Data to Drive 03’ as the write register; by referring to Table 4-23 they can see that the master device
now needs to send 0x02 in Modbus™ address 40067 to run the drive, or 0x01 in the same register to stop the drive.
Table 4-3: Sample Programmable Bits*
s
A5E02924901A: Version AB 4-5
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
To read the data from the drive, no SOP flags are needed. Set ‘Network 1 Type’ (9901) to “Ethernet Modbus™”. This
setup assumes that there is an existing working TCP/IP network established. Verify the network settings for Subnet
mask, and Gateway address (9320, 9330). The IP address (9310) must be unique to the drive. The default Subnet
Mask and Gateway address will work for most network configurations. Set Velocity Units (9080) to desired motor
speed units. By referring to Table 4-23, the user can see the Modbus™ addresses needed to read drive status and
speed feedback from the drive by sending from the master device Modbus™ are 40001 and 40002, respectively. The
definitions of the status bits, which are always found in Modbus™ register 40001, are shown below.
Table 4-4: General Status Output from the Drive
4 Bit number Meaning in drive control software Value
0 Fault
1 Alarm
2 RunningForward
3 RunningReverse
4 DriveReady
5 StartStopControlFromNetwork
6 SpeedFromNetwork
7 AtSpeedReference
0 = False; 1 = True
8 SpeedInPercent
9 SpeedInRPM
10 SpeedInHz
See Section 4.7 for details on how to read other drive data.
*
Note: The discrete controls and the user-defined control/feedback flags are configured via the drive’s
built-in system program (provided with each drive).
s
4-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
All Modbus™ setup functions are contained in the Configure Parameters Menu (9902), which is a submenu of the
Communications Menu (9). Access is security controlled at Level 7; therefore, the user must enter the proper security
code to access these parameters. The menus required for initial setup of the Modbus™ interface are listed in Section
4.11. For the correct setup procedure, please refer to Section 4.7.
Select menu contents by using pick lists. The Modbus™ address of each menu item is fixed. For example, for network
4
1, ‘Data from Drive 01’ (9401) can be read by sending the read register request in address 40001. The menu ‘Data
from Drive 02’ (9402) can be read in address 40002, and so on. The complete address references can be found in
Table 4-25.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, the
user needs to search Appendix B to locate it. If found, use the corresponding data ID number to enter the variable into
the read registers. The procedure for doing this is described in Section 4.7.1.
The Ethernet communications between a Modbus™ Ethernet device and the NXG Drive Control Software have two
different configurations. The choice of which configuration to use depends on the site infrastructure. To use the LAN
connection to control one or more drives on an existing network, assign a unique IP address to each drive. Go to each
drive and set the menu items of the “Config Parameters” menu ID (9300). The menu items below will need to be
updated based on the settings unique to the network.
Table 4-5: Net 1 Parameter Configuration Information
s
A5E02924901A: Version AB 4-7
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
The Direct connection is intended for a single Ethernet Modbus™ device connected to the Drive using a special
Ethernet crossover cable.
Ethernet
NXG Control
4 Modbus
Device
Crossover cable
and Coupler
NXG Control
Ethernet
HUB
Modbus
Device
NXG Control
ZCC31805XX 25' SNAG-PROOF Ethernet cable Cat5 RJ-45 (xx - choose color)
s
4-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
Protocol Identifier = 0
Protocol Identifier = 0
Length Field (upper byte) = 0 (all messages are less than 256 bytes)
The read holding registers command allows the Modbus™ master to read up to 64 consecutive memory registers from
the drive. A sample read holding register command and its associated response are shown (in hexadecimal) in
Figure 4-5. This sample request to read two registers (40005 and 40006) is detailed in Table 4-8. The drive’s read
holding register response is detailed in Table 4-9. Parameter names and their corresponding data ID numbers are
listed in Appendix B.
TX
01 03 00 04 00 02 -- --
RX
01 03 04 04 A5 90 B1 -- --
Figure 4-5: Sample Read Output Registers Command (TX) and Response (RX)
s
A5E02924901A: Version AB 4-9
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
Actual
Field Name Value (in Hex) Scaled Value Notes
Result
Transaction Identifier 0
Transaction Identifier 0
Protocol Identifier 0
Protocol Identifier 0
Data Value 2 (MSB) 0x90 This register is user high byte of item 2
0x90B1
Data Value 2 (LSB) 0xB1 programmable. See Table 4-21. low byte of item 2
Note: For responses received from the drive (such as in Table 4-8), the keypad parameter Velocity Units
* (9080) is set to ‘Percent’ by default. Interpreted values (shown in the Scaled Value column of Table 4-9)
will differ if this parameter is configured differently. See Appendix B for all data scaling.
s
4-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
The write input register command allows the Modbus™ master to write a value to a specified input register in the
drive. A sample write input register command and its associated response are shown (in hexadecimal) in Figure 4-6.
This sample request to write a value to register 40067 is detailed in Table 4-10. The write input register response from
the drive is an echo of the transmission; therefore only one table is shown below.
TX
01 06 00 42 00 64 -- --
4
RX
01 06 00 42 00 64 -- --
Figure 4-6: Sample Write Input Register Command (TX) and Response (RX)
Table 4-10: Write Input Register Transmission (TX) from Master (same as (RX) Echo Response from Drive)
TX
01 10 00 43 00 02 04 00 64 24 E3 -- --
RX
01 10 00 43 00 02 -- --
Figure 4-7: Sample Write Multiple Input Registers Command (TX) and Response (RX)
s
A5E02924901A: Version AB 4-11
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
Table 4-11: Write Multiple Input Registers Transmission (TX) from Master
Table 4-12: Write Multiple Input Registers Response (RX) from Drive
s
4-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
1. Using the keypad, enter Network 1 Type parameter ID (9901), scroll to Ethernet Modbus™, then press
[ENTER]. The Modbus™ configuration parameters will be viewable.
2. Select the Velocity Units (9080). This sets the units for motor commanded speed and motor feedback speed
scaling.
3. If needed, set the Demand Scalar (9912) to n*command speed where –125n125
4. Set the Aux Demand Scalar (9913) if used
5. Use Table 4-23 to program the drive to send data to and receive commands from available Modbus™
4
addresses. Each Modbus™ address from 40001 through 40128 corresponds with a keypad parameter ID,
which will be used to tell the drive what data to send to, or what commands to receive from a particular
Modbus™ address. Note that four such addresses are already programmed, giving the drive basic send and
receive functionality. The data in these addresses are not changeable.
6. The definition of the bits in the available Modbus™ addresses may be entered from a choice of pick list
variables in the keypad menus, or custom programmed using the drive’s SOP program. See Section 4.9 for
details.
*
Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual.
Please note that the master device can receive data from the drive without any changes to the SOP program. Only if
the user needs to control the drive through the Modbus™ network will they need to set any flags in the SOP program.
If the user needs to control the drive through a Modbus™ network (or any other type of network), then they will need,
at an absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE;
To be able to control a drive through a network by sending commands to it, first ensure that the drive’s SOP file
contains the line of code mentioned above. Note that the semicolon is part of the code. If the user would like to
control the drive through a second network, then the SOP program must also contain this line:
Network2RunEnable_O = TRUE;
After ensuring that the SOP file has the necessary code to enable control of the drive over a network, change some of
the drive’s control parameters using the keypad on the front of the drive.
4.7.1 A Practical Setup Example
A customer needs to process four drive outputs on his/her master device. These are status, motor speed, power, and
number of active faults. The customer would like to set Modbus™ master device register 40001 to indicate drive
general status. To program a register, refer to Table 4-23 to see if it is programmable. Register 40001 is not
changeable; a change is neither necessary nor possible. It is already permanently set to indicate general status. This
customer wants to set master device register 40002 to indicate motor speed. This register is also not changeable. It is
permanently set to indicate motor speed. Table 4-13 shows some hypothetical settings for Modbus™ addresses.
s
A5E02924901A: Version AB 4-13
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
4 The customer wants to set register 40003 to indicate output power. Table 4-23 indicates that this address is
programmable. Use Table 4-23 to determine the necessary parameter ID. Enter parameter ID (9403) “Data from drive
03” using the keypad on the front of the drive. Choose “output power” from the pick list.
The customer wants to set register 40004 to indicate number of active faults. Enter parameter ID (9404) “Data from
drive 04” using the keypad on the front of the drive. Scroll through the pick list to find “number of active faults”.
Note that “number of active faults” is not a choice in the pick list. Therefore, it needs to be specified manually. Refer
to Table 4-25 for a list of data from drive pick list variables. Since “number of active faults” is not a choice in the pick
list, choose “Man Id” from the pick list. Find “number of active faults” in Appendix B, and look for its data ID
number. Its data ID number is 3000. Note that the data ID number is not the same as a parameter ID number. “ManId-
0000” will be shown on display. Use arrows or number keys to enter 3000, and press [ENTER]. The display should
show “Man Id-3000”. If the data ID number could not be found, the error message “Invalid Id Entered” will be
displayed. Ensure that the data ID is correct. Now the number of active faults will appear at register 40004 on the
master device.
An example of how the master device interacts with the drive to read information is given below.
TX
01 03 00 03 00 01 -- --
RX
01 03 02 00 00 -- --
Figure 4-8: Sample Read Output Registers Command (TX) and Response (RX)
s
4-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
Value Actual
Field Name Scaled Value Notes
(in Hex) Result
s
A5E02924901A: Version AB 4-15
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
Network1FixedRegBit3_I Stop1
Network1FixedRegBit4_I reserved
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to
“Momentary” — otherwise this bit is Reserved
s
4-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
0 Fault
1 Alarm
2 RunningForward 4
3 RunningReverse
4 DriveReady
5 StartStopControlFromNetwork
6 SpeedFromNetwork
7 AtSpeedReference
0 = False; 1 = True
8 SpeedInPercent
9 SpeedInRPM
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
s
A5E02924901A: Version AB 4-17
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
This example shows how to use the Modbus™ network to trip the input medium voltage. In this example, our master
device will be writing to Modbus™ register 40067, which we programmed to Net Input Flag 1. We will use the SOP
program to set a flag bit that will use digital output to trip input medium voltage. The master device will write the
contents of ‘Net Input Flag 1’, bit 9 (Network1Flag9_I) to create an input medium voltage trip. The SOP source code
is shown below:
;ExternalDigitalOutput01h_O Use digital output to trip input medium voltage
ExternalDigitalOutput01h_O = Network1Flag9_I;
This example shows how to use the Modbus™ network to detect a trip on the input medium voltage. In this example,
our master device will be reading Modbus™ register 40003, which we programmed to ‘Net1 Out Reg 1’. We will use
the SOP program to set a flag bit that corresponds to a medium voltage low fault. We will use bit 9 of ‘Net1 Out Reg
1’, which is Network1Flag9_O, to set the network flag true if the medium voltage low fault is active. The master
device will read the contents of Net 1 Out Reg 1, bit 9 (Network1Flag9_O) to determine if a medium voltage fault
occurred. The SOP source code is shown below:
; Monitor medium voltage fault on the Modbus network
Network1Flag9_O = MediumVoltageLowFault_I;
s
4-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
Table 4-18: Relationship of ‘Fixed Reg Bits’ to Keypad Menus and drctry.ngn Bits
(programmable bits available for use in the SOP)
User Programmable
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
Table 4-19: Network 1 Programmable Input Bits (keypad parameter ID 9603-9664)
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Net Input Flag 1 Network2Flag0_I ~ Network2Flag15_I
s
A5E02924901A: Version AB 4-19
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
4-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
General Status
1 9401 Data From Drive 013 (not changeable)
40001
Motor Speed
1 9402 Data From Drive 023 40002
(not changeable)
4
1 9403 - 9464 3 None 40003-40064
Data From Drive 03-64
Velocity Demand
1 9602 Data To Drive 024 (not changeable)
40066
40067 - 40128 or
1 9603 - 9664 Data To Drive 03-644 None
41027 - 41088
General Status
2 9501 Data From Drive 013 (not changeable)
40001
Motor Speed
2 9502 Data From Drive 023 (not changeable)
40002
Velocity Demand
2 9702 Data To Drive 024 (not changeable)
41026
1. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
2. Modbus™ Addresses—digital locations provided by the Modbus™ Protocol, which store values for use by the master
(PLC) and slave (Siemens drive) devices. To establish functional communication between the PLC and the drive, the
control software in the drive needs to know for what certain addresses are used. That is the key to configuring the drive’s
Modbus™ connection.
3. Data From Drive—data that the PLC will receive from the drive to determine how the drive is functioning. Each
register contains a 16-bit digital representation of the status of a particular aspect of the drive’s functioning. Some
registers are fixed to track certain drive functions; others are programmable to track any of a number of drive status
choices.
4. Data To Drive—data that the PLC will send to the drive in order to control it. Each register contains a 16-bit digital
representation of the PIC’s command for a particular aspect of the drive’s functioning. Some registers are fixed to
control certain functions; others are programmable to control any of a number of drive function choices.
Network 1 Data to drive may use either listed register range. Both ranges are equivalent. Two ranges are available to be
compatible with the AnyBus™ module on Network 2, and remain backward compatible with the older Ethernet
Modbus™ implementation.
s
A5E02924901A: Version AB 4-21
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
MUX 4 ID NA None
s
4-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
Table 4-25: Ethernet Modbus™ Communications Data From Drive Pick List Variables
General Status B Net2 Out Reg 2 B Mux3 Echo NA Wago™ Outputs 1-16 B
Motor Voltage U Net2 Out Reg 3 B Mux3 Data NA Wago™ Outputs 17-32 B
Total Current U Net2 Out Reg 4 B Mux4 Echo NA Wago™ Outputs 33-48 B 4
Output Power U Torque Current U Mux4 Data NA Wago™ Outputs 49-64 B
Inp RMS Current U Inp Power Factor U Mux8 Echo NA Excess React I U
Max Available
Input Power Avg U
Output Volts
U Wago™ Inputs 1-16 B Sync Motor Field Ref U
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo NA Wago™ Inputs 33-48 B Drive Efficiency U
s
A5E02924901A: Version AB 4-23
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
s
4-24 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
s
A5E02924901A: Version AB 4-25
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
Gateway
9938 172.16.1.1 TCP/IP gateway address
Address
s
4-26 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Ethernet Modbus™ Communications
s
A5E02924901A: Version AB 4-27
3004014577BV1.0 Vol 1
Ethernet Modbus™ Communications NXG Communications Manual
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and
*
down arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys.
The cursor will move to the beginning of the second line after it reaches the last possible position on the
first line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
position on the second line.
4 Figure 4-10 represents a display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
∇ ∇ ∇
s
4-28 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
CHAPTER
s
A5E02924901A: Version AB 5-1
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
Refer to the following publications for further information about the Modbus Plus network and other network related
products.
840 USE 100 00 Modicon™ Quantum Automation Series Hardware Reference Guide
840 USE 101 00 Modicon™ Ladder Logic Block Library User Guide
840 USE 104 00 Modicon™ Modbus Plus Network I/O Servicing Guide
890 USE 102 00 Modicon™ IBM Host Based devices User’s Guide
890 USE 103 00 Modicon Modbus™ Plus Network BM85 Bridge Multiplexer User’s Guide
The drive always acts as a Modbus™ Plus slave in master-slave configurations. If the user wants to have drive to
drive communications, utilize the global data transfer methods as described in this document.
The Communication Board supports both UCS Modbus™ Plus modules and Anybus Modbus™ Plus modules.
s
5-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
UCS Status 1
Network Status 2
Board Edge
Number from
Indication State Description
Figure 5-3
1 UCS™ Status Off No power or hard/soft reset asserted
s
A5E02924901A: Version AB 5-3
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
Board Edge
s
5-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
Number from
Indication State Description
Figure 5-5
1 Not Used — —
The AnyBus-S Modbus™ Plus has two ways of exchanging data. The first method is Global Data that uses a fast
cyclic I/O. The second method is a somewhat slower protocol for point-to-point register data transfer.
The maximum Global Data is 32 16-bit words on the bus, with the ability to set an offset within the Source node
Global Data. The point-to-point data transfer is handled by using one of the following Modbus™ functions: Read
holding Registers, Preset Single Register, or Preset multiple Registers (40,000 registers).
Set the ‘Modbus™ Plus Mode’ parameter (9910) for Network 1 or parameter (9941) for Network 2 to “Reg data
only”.
*
Note: When the ‘Modbus™ Plus Mode’ parameter is set to “Reg data only” the menu parameters
‘Modbus™ Plus Reg Control’ and ‘Global receive address’ are not used.
Set the ‘Modbus™ Plus Mode’ parameter (9910) for Network 1 or parameter (9941) for Network 2 to “Reg/Glob
data”.
The menu parameter ‘Modbus™ Plus Reg Control’ is used to select the source of the Motor Speed and Fixed Reg Bits
which can be controlled from either global data or register data.
If the drive Fixed Reg Bits and Motor Speed are to be controlled from register data, set the ‘Modbus™ Plus Reg
Control’ parameter (9910) for Network 1 or parameter (9942) for Network 2 to “reg data”. Otherwise, set the
parameter to “Global data”.
Set the ‘Global Receive address’ parameter (9909) for Network 1 or parameter (9923) for Network 2, to the address
of the network device that will be used as the source for the drives to receive global data.
s
A5E02924901A: Version AB 5-5
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
5.4.3 Non-global Registers: To Set Up Modbus™ Plus for Motor Control Using
Default Configuration (Fixed Reg Bits)
The drive can be controlled from a PLC using the following simple setup procedure:
1. Using the keypad on the front of the drive, set ‘Network 1 Type’ (9901) to Modbus™ Plus.
2. Set the correct address (9907).
3. Set the ‘Net Control Type’ parameter (9944) to FIXED. This sets the bits at Modbus™ Plus address 40065 to
have the definitions shown in Table 5-3.
4. Add the following line to the SOP:
Network1RunEnable_O = TRUE; (the semicolon is part of the code).
5 The user can now control the drive through the PLC.
Table 5-3: Default Meaning of ‘Fixed Reg Bits’ (Input Control Registers)
To run the motor, the PLC must send 0x21 in register 40065. This hexadecimal value sets bit 0 (run) and bit 5
(start/stop control from network). Likewise, to command the motor to stop, the PLC must send 0x08 or 0x00 in
register 40065.
s
5-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
2. The user can see that the PLC needs to send the desired speed setting to the drive in Modbus™ Plus register
40066 for UCS modules, or 41058 for AnyBus™ modules. This is a reserved register only used to hold speed
settings (refer to Table 5-14).
3. Send 0x61 in Modbus™ Plus register 40065 for UCS modules, or 41057 for AnyBus™ modules. The motor
will accept the PLC commanded speed setting.
5.4.5 Non-global Registers: To Control the Motor Using User-defined Bits Controlled by the SOP
The drive can be controlled from a PLC using the following simple setup procedure.
1. Using the keypad on the front of the drive, set ‘Network 1 Type’ (9901) to Modbus Plus. 5
2. Set the correct address (9907).
3. Set the ‘Net Control Type (9944) to SOP.
4. To enable speed settings from the network, add the following line to the SOP program file:
RawDemandNetwork1_0 = true;
To control the motor this way, the drive needs to know what bits will be used in the SOP program. Two steps are
required to do this:
1. Find the bits required by referring to Table 5-4 below, and locate the keypad pick list variable associated
with the bits. By referring to Table 5-14, the user can see that the first available data to drive register is at
Modbus™ Plus address 40067 for UCS modules or 41059 for AnyBus™ modules, which corresponds to
keypad parameter ID (9603). Using the keypad on the drive, go to menu item ‘Data To Drive 03’ (9603).
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or
ToolSuite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file
can be used in the SOP program, as shown below:
;Network1Flag0_I Use bit 0 for Stop bit
;Network1Flag1_I Use bit 1 for Run Forward bit
RunRequest_O = /Network1Flag0_I * Network1Flag1_I;Run drive using bit 1,stop
using bit 0
For example, if the user chose ‘Data to Drive 03’ as the write register, by referring to Table 5-14 the user can see that
the PLC now needs to send 0x02 in Modbus™ Plus address 40067 to run the drive, or 0x01 in the same register to
stop the drive.
Table 5-4: Sample Programmable Bits*
s
A5E02924901A: Version AB 5-7
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
See Section 5.8 for details on how to read other drive data.
s
5-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
*
Note: The discrete controls and the user-defined control/feedback flags are configured via the drive’s
built-in system program (provided with each drive).
Select menu contents by using pick lists. The Modbus™ Plus address of each menu item is fixed. For example, for
Network 1, ‘Data from Drive 01’ (9401) can be read by sending the read register request in address 40001. The menu
‘Data from Drive 02’ (9402) can be read in address 40002, and so on. The complete address references can be found
in Table 5-16.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, the
user will need to search Appendix B to locate it. If found, use the corresponding data ID number to enter the variable
into the read registers. The procedure for doing this is described in Section 5.8.1.
s
A5E02924901A: Version AB 5-9
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
1. Using the keypad, enter Network 1 Type (9901), scroll to Modbus™ Plus, then press [ENTER]. The
Modbus™ Plus configuration parameters will be viewable.
2. Set the Modbus™ Plus Address (9907) to the desired Modbus™ Plus address for the drive.
3. Select the Velocity Units (9080). This sets the units for motor commanded speed, and motor feedback speed
scaling.
4. If needed, set the Demand Scalar (9912) to n*command speed where –125n125.
5. Set the Aux Demand Scalar (9913) if used.
5 6. Use Table 5-15 to program the drive to send data to and receive commands from available Modbus™ Plus
addresses. Each Modbus™ Plus address from 40001 through 40128 for UCS modules, or 40033 through
40096 for AnyBus™ modules, corresponds with a keypad parameter ID, which will be used to tell the drive
what data to send to, or what commands to receive from, a particular Modbus™ Plus address. Note that four
such addresses are already programmed, giving the drive basic send and receive functionality. The data in
these addresses are not changeable.
7. The definition of the bits in the available Modbus™ Plus addresses may be entered from a choice of pick list
variables in the keypad menus, or custom programmed using the drive’s SOP program. See Section 5.10 for
details.
*
Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual.
Please note that the PLC can receive data from the drive without any changes to the SOP program. Only if the user
needs to control the drive through the Modbus™ Plus network will they need to set any flags in the SOP program. If
the user needs to control the drive through a Modbus™ Plus network (or any other type of network), then they will
need, at an absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE;
To be able to control a drive through a network by sending commands to it, first ensure that the drive’s SOP file
contains the line of code mentioned above. Note that the semicolon is part of the code. If the user would like to
control the drive through a second network, then the SOP program must also contain this line:
Network2RunEnable_O = TRUE;
After ensuring that the SOP file has the necessary code to enable control of the drive over a network, the user will
need to change some of the drive’s control parameters using the keypad on the front of the drive.
s
5-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
The customer wants to set register 40003 to indicate output power. Table 5-14 indicates that this address is
programmable. Use Table 5-14 to determine the necessary parameter ID. Enter parameter ID (9403) “Data from drive
03” using the keypad on the front of the drive. Choose “output power” from the pick list.
The customer wants to set register 40004 to indicate number of active faults. Enter parameter ID (9404) “Data from
drive 04” using the keypad on the front of the drive. Scroll through the pick list to find “number of active faults.”
Note that “number of active faults” is not a choice in the pick list. Therefore, it needs to be specified manually. Refer
to Table 5-16 for a list of data from drive pick list variables. Since “number of active faults” is not a choice in the pick
list, choose “Man Id” from the pick list. Find “number of active faults” in Appendix B, and look for its data ID
number. Its data ID number is 3000. Note that the data ID number is not the same as a parameter ID number. “ManId-
0000” will be shown on display. Use arrows or number keys to enter 3000, and press [ENTER]. The display should
show “Man Id-3000.” If the data ID number could not be found, the error message “Invalid Id Entered” will be
displayed. Ensure that the data ID is correct. Now the number of active faults will appear at register 40004 on the
PLC.
s
A5E02924901A: Version AB 5-11
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
Network1FixedRegBit3_I Stop1
Network1FixedRegBit4_I Reserved
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to
“Momentary” — otherwise this bit is Reserved
s
5-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
*
Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual.
s
A5E02924901A: Version AB 5-13
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
5 This example shows how to use the Modbus™ Plus network to trip the input medium voltage. In this example, our
PLC will be writing to Modbus™ Plus register 40067 (UCS™) or 41059 (AnyBus™), which we programmed to Net
Input Flag 1. We will use the SOP program to set a flag bit that will use digital output to trip input medium voltage.
The PLC will write the contents of ‘Net Input Flag 1’, bit 9 (Network1Flag9_I) to create an input medium voltage
trip. The SOP source code is shown below:
;ExternalDigitalOutput01h_O Use digital output to trip input medium voltage
ExternalDigitalOutput01h_O = Network1Flag9_I;
This example shows how to use the Modbus™ Plus network to detect a trip on the input medium voltage. In this
example, our PLC will be reading Modbus™ Plus register 40003, which we programmed to ‘Net1 Out Reg 1’. We
will use the SOP program to set a flag bit that corresponds to a medium voltage low fault. We will use bit 9 of ‘Net1
Out Reg 1’, which is Network1Flag9_O, to set the network flag true if the medium voltage low fault is active. The
PLC will read the contents of Net 1 Out Reg 1, bit 9 (Network1Flag9_O) to determine if a medium voltage fault
occurred. The SOP source code is shown below:
; Monitor medium voltage fault on the Modbus Plus network
Network1Flag9_O = MediumVoltageLowFault_I;
s
5-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
The drive’s interpretation of the bits in Table 5-9 is fixed by the drive’s control software unless the user sets
parameter (9928) “Status/Control” to ‘SOP.’ To change the default interpretation of these bits, see Section 5.9.2.
Table 5-9: Relationship of ‘Fixed Reg Bits’ to Keypad Menus and drctry.ngn Bits
(programmable bits available for use in the SOP)
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
s
A5E02924901A: Version AB 5-15
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
s
5-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
s
A5E02924901A: Version AB 5-17
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
1. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
N/A
2. Modbus™ Plus Address—digital locations provided by the Modbus™ Plus Protocol, which store values
for use by the master (PLC) and slave (Siemens drive) devices. To establish functional communication
between the PLC and the drive, the control software in the drive needs to “know” for what certain
addresses are used. That is the key to configuring the drive’s Modbus™ Plus connection.
3. Data from drive—data that the PLC will receive from the drive to determine how the drive is
functioning. Each register contains a 16-bit digital representation of the status of a particular aspect of the
drive’s functioning. Some registers are fixed to track certain drive functions; others are programmable to
track any of a number of drive status choices.
4. Data to drive—data that the PLC will send to the drive to control it. Each register contains a 16-bit digital
representation of the PLC’s command for a particular aspect of the drive’s functioning. Some registers are
fixed to control certain functions; others are programmable to control any number of drive function
choices.
s
5-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
MUX 4 ID NA None
s
A5E02924901A: Version AB 5-19
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
Table 5-16: Modbus Plus Data From Drive Pick List Variables
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo N/A Wago™ Inputs 33-48 B Drive Efficiency U
Net1 Out Reg 3 B Mux1 Data N/A Wago™ Inputs 49-64 B
s
5-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
s
A5E02924901A: Version AB 5-21
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
s
5-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
s
A5E02924901A: Version AB 5-23
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
5 Data From
Drive 01
9834
General
Status
Register data from drive parameter 1.
This register is not programmable
Data From Motor Register data from drive parameter 2.
9835
Drive 02 Speed This register is not programmable.
Data From 9836- Register data from drive parameters 3-32.
None
Drive 03-32 9865 These registers are programmable.
s
5-24 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Modbus™ Plus Communications
s
A5E02924901A: Version AB 5-25
3004014577BV1.0 Vol 1
Modbus™ Plus Communications NXG Communications Manual
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and
* down arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys.
The cursor will move to the beginning of the second line after it reaches the last possible position on the
first line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
position on the second line.
Figure 5-7 below represents a display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
5
D D
H H
∇ ∇ ∇
s
5-26 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
CHAPTER
6 Profibus™ Communications
6.1 Introduction
Profibus™ is a token ring network. Master devices (or active stations) are those devices that initiate communication.
When a master receives the “‘token,” it may then perform master-slave communications with its slaves (or passive
stations).
The Siemens NXG drive acts as a slave (passive station) on the Profibus™ network. The Drive auto detects the baud rate
from the network, and is capable of baud rates of up to 12 Mbit/sec.
The UCS Profibus™ and Anybus Profibus™ module supports the following baud rates: 9.6 kbit/sec, 19.2 kbit/sec, 93.75
kbit/sec, 187.5 kbit/sec, 187.5 kbit/sec, 500 kbit/sec, 750 kbit/sec, 1 Mbit/sec, 3 Mbit/sec, 6 Mbit/sec, and 12 Mbit/sec.
The UCS Profibus™ and Anybus Profibus™ module have a nine pin DB-9F connector. Pin 3 is the positive data pin
6
(RxD/TxD-P) and pin 8 is the negative connection (RxD/TxD-N).
This chapter features a fast setup section that will help to start controlling the Siemens drive with NXG Control via a
Profibus™ network as quickly as possible. Section 6-4 is short, procedural, and covers a minimum of detail. Please
refer to the other sections for detailed information.
Note that in this chapter, a four-digit number inside of parentheses, i.e. (9403), indicates a parameter ID number for
the keypad on the front of the drive. Press [SHIFT] + [→] to enter this number directly. The user does not need to
hold down the [SHIFT] key while pressing the [→] key. A numerical value expressed as 0xnn (i.e., 0x12) is being
represented in hexadecimal format.
Profibus™ (Process Field Bus) is registered trademark of the Profibus™ Trade Organization.
Profibus™ DP (Decentralized Periphery) is a product line of protocols and is a registered trademark of the Profibus™
Trade Organization (PTO).
s
A5E02924901A: Version AB 6-1
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
UCS Status 1
Network Status 2
Board Edge
s
6-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
Number from
Indication State Description
Figure 6-3
Off No power or hard/soft reset asserted
Recoverable configuration fault (invalid firmware,
Red, flashing
OEM data, or personality data)
s
A5E02924901A: Version AB 6-3
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
6.3.1 Connector
The network connector is a nine-pin DB-9F connector. See Figure 6-2 for the pin assignments.
90 90
1
1
23 4
23 4
78
78
6
5 5
Fieldbus
4 3 Off-line Status
Diagnostics
Board Edge
s
6-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
Number from
Indication State Description
Figure 6-6
1 — — —
The end nodes in a Profibus-DP™ network must be terminated to avoid reflections on the bus line. The AnyBus-S
Profibus-DP™ module is equipped with a termination switch (see Figure 6-4) to easily accomplish the termination. If
the module is used at either of the physical ends in a network, the termination switch has to be in the ON (down)
position. In any other case, the switch must be in the OFF (up) position. See Figure 6-7 for the switch settings.
ON
Figure 6-7: AnyBus Profibus™ Termination Switch Shown in the Off Position
s
A5E02924901A: Version AB 6-5
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
To set up Profibus™ for motor control using the default configuration (Fixed Reg Bits), the drive can be controlled
from the PLC using the following setup procedure:
1. Using the keypad on the front of the drive, set ‘Network 1 Type’ (9901) to Profibus™.
To run the motor, the PLC must send 0x21 to Data To Drive Reg 01. This hexadecimal value sets bit 0 (run) and
bit 5 (start/stop control from network). Likewise, to command the motor to stop, the PLC must send 0x08 or 0x00 to
register Data To Drive Reg 01.
s
6-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
6.4.3 To Control the Motor using User-defined Bits Controlled by the SOP
Use the keypad on the front of the drive to set ‘Network 1 Type’ (9901) to Profibus™. Set the Profibus™ network
address (9904). Finally, set the parameter ‘Net Control Type’(9944) to SOP. To control the motor this way, the drive
needs to know what bits will be used in the SOP program. Three steps are required to do this:
1. Find the bits required by referring to Table 6-4 below, and locate the keypad pick list variable associated
with the bits. By referring to Table 6-14, the user can see that the first available data to drive register is Data
to Drive Reg 03, which corresponds to keypad parameter (9603). Using the keypad on the drive, go to menu
item Data To Drive Reg 03 (9603). 6
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or
ToolSuite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file
can be used in the SOP program, as shown below:
RawDemandNetwork1_O = true;.
If the user chose Data to Drive Reg 03 as the write register, by referring to Table 6-14, they can see that the PLC
now needs to send 0x02 in Data To Drive Reg 03 to run the drive, or 0x01 in the same register to stop the drive.
Table 6-4: Sample Programmable Bits*
s
A5E02924901A: Version AB 6-7
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
To read the data from the drive, no SOP flags are needed. ‘Set Network 1 Type’ (9901) to Profibus™. Set the
Profibus™ network Address (9904). Set Velocity Units (9080) to desired motor speed units. By referring to
Table 6-14, the user can see the registers needed to read drive status and speed feedback from the drive are Data
From Drive 01 and Data From Drive 02, respectively. The definitions of the status bits, which are always found in
Data From Drive 01 register, are shown below.
Table 6-5: General Status output from the drive
0 Fault
1 Alarm
2 RunningForward
3 RunningReverse
6 4 DriveReady
5 StartStopControlFromNetwork
6 SpeedFromNetwork
7 AtSpeedReference
0 = False; 1 = True
8 SpeedInPercent
9 SpeedInRPM
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
Refer to Section 6.6 for details on how to read other drive data.
s
6-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
Select menu contents by using pick lists. The Profibus™ data mapping is done via the Data To Drive Registers and
Data From Drive Registers as described in Table 6-15.
6
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, the
user will need to search Appendix B of this manual to locate it. If found, use the corresponding data ID number to
enter the variable into the read registers. The procedure for doing this is described in Section 6.8.1.
* Note: The Profibus™ master must be configured to have the same quantity of Bytes that are set by
the parameter ‘Network I/O Size’ (9951) to communicate with the Siemens NXG drive.
The manufacturer of the Profibus™ device normally supplies GSD files. The PTO maintains a home page on the
Internet, which contains libraries of approved GSD files (http:/www.profibus.com).
s
A5E02924901A: Version AB 6-9
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
1. Using the keypad, enter ‘Network 1 Type’ (9901), scroll to Profibus™, then press [ENTER]. The Profibus™
configuration parameters will be viewable.
2. Set the ‘Profibus Address’ (9904) to the desired Profibus™ network address for the drive.
3. Select the ‘Velocity Units’ (9080). This sets the units for motor commanded speed, and motor feedback
speed scaling.
4. If needed, set the ‘Demand Scalar’ (9912) to n*command speed where –125n125.
5. Set the ‘Aux Demand Scalar’ (9913) if used.
6. Use Table 6-15 to program the drive to send data to and receive data from Profibus™ network. Each
Profibus™ Register corresponds with a keypad parameter ID, which will be used to tell the drive what data
to send to, or what commands to receive from, a particular Profibus™ Register. Note that four such registers
6 are already programmed, giving the drive basic send and receive functionality. The data in these registers are
not changeable.
7. The definition of the bits in the available Profibus™ registers may be entered from a choice of pick list
variables in the keypad menus, or custom programmed using the drive’s SOP program. See Section 6.10 for
details.
*
Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual.
Please note that the PLC can receive data from the drive without any changes to the SOP program. Only if the user
needs to control the drive through the Profibus™ network will they need to set any flags in the SOP program.
If the user needs to control the drive through a Profibus™ network (or any other type of network), then they will need,
at an absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE;
To be able to control a drive through a network by sending commands to it, first ensure that the drive’s SOP file
contains the line of code mentioned above. Note that the semicolon is part of the code. If the user would like to
control the drive through a second network, then the SOP program must also contain this line:
Network2RunEnable_O = TRUE;
After ensuring that the SOP file has the necessary code to enable control of the drive over a network, the user will
need to change some of the drive’s control parameters using the keypad on the front of the drive.
s
6-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
s
A5E02924901A: Version AB 6-11
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
Network1FixedRegBit4_I Reserved
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control”
(9945) is set to “Momentary” — otherwise this bit is Reserved
s
6-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
s
A5E02924901A: Version AB 6-13
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
This example shows how to use the Profibus™ network to trip the input medium voltage. In this example, our PLC
will be writing data to ‘Data To Drive Reg 03’, which we programmed to Net Input Flag 1. We will use the SOP
program to set a flag bit that will use digital output to trip input medium voltage. The PLC will write the contents of
6 ‘Net Input Flag 1’, bit 9 (Network1Flag9_I) to create an input medium voltage trip. The SOP source code is shown
below:
;ExternalDigitalOutput01h_O Use digital output to trip input medium voltage
ExternalDigitalOutput01h_O = Network1Flag9_I;
This example shows how to use the Profibus™ network to detect a trip on the input medium voltage. In this example,
our PLC will be reading ‘Data From Drive 03’, which we programmed to ‘Net1 Out Reg 1’. We will use the SOP
program to set a flag bit that corresponds to a medium voltage low fault. We will use bit 9 of ‘Net1 Out Reg 1’, which
is Network1Flag9_O, to set the network flag true if the medium voltage low fault is active. The PLC will read the
contents of Net 1 Out Reg 1, bit 9 (Network1Flag9_O) to determine if a medium voltage fault occurred. The SOP
source code is shown below:
; Monitor medium voltage fault on the Profibus network
Network1Flag9_O = MediumVoltageLowFault_I;
s
6-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
Network1FixedRegBit0_I ~
Fixed Reg Bits (network 1) Bytes 01 & 02 from network
Network1FixedRegBit15_I
Network2FixedRegBit0_I ~
Fixed Reg Bits (network 2) Bytes 01 & 02 from network
Network2FixedRegBit15_I
User Programmable:
6
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
Table 6-10: Network 1 Programmable Input Bits (keypad parameter ID 9603-9664)
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Net Input Flag 1 Network2Flag0_I ~ Network2Flag15_I
s
A5E02924901A: Version AB 6-15
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
6-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
General Status
1 9401 Data From Drive 013 (not changeable)
Bytes 01 & 02 to network
Motor Speed
1 9402 Data From Drive 023 (not changeable)
Bytes 03 & 04 to network
1 9403 - 9464 Data From Drive 03-643 None Bytes 05 - 128 to network
General Status
2 9501 Data From Drive 013 (not changeable)
Bytes 01 & 02 to network
Motor Speed
2 9502 Data From Drive 023 (not changeable)
Bytes 03 & 04 to network
2 9503 - 9564 Data From Drive 03-643 None Bytes 05 - 128 to network
Velocity Demand
2 9702 Data To Drive 024 (not changeable)
Bytes 03 & 04 to network
1. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
2. Profibus™ Network Data—Profibus™ uses a pre-defined byte count to communicate between the master and the drive.
The Siemens NXG drive uses up to 136 bytes for input and output; 128 bytes are used to form the 64 16-bit registers (2
bytes per register) and 8 bytes are ‘reserved’ for future used. The data received (128 bytes) is mapped to the 64 Data to
Drive Registers and the data sent to the PLC is defined using the 64 Data From Drive Registers.
Network data size may be limited to 16, 32, 64, 96, 128, or 136 bytes in and out using menu items (9951) and (9952). At
136 bytes, only 128 are available to the user. The master must set up to match the number of bytes in and out. Each
Network Register is 16 bits (2 bytes). The order of the bytes can be swapped to match the network data format (9953,
9954).
3. Data From Drive—data that the PLC will receive from the drive to determine how the drive is functioning. Each
register contains a 16-bit digital representation of the status of a particular aspect of the drive’s functioning. Some
registers are fixed to track certain drive functions; others are programmable to track any of a number of drive status
choices.
4. Data To Drive—data that the PLC will send to the drive in order to control it. Each register contains a 16-bit digital
representation of the PIC’s command for a particular aspect of the drive’s functioning. Some registers are fixed to
control certain functions; others are programmable to control any of a number of drive function choices.
s
A5E02924901A: Version AB 6-17
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
Ratio U
B None
% /100
PTD4
Parallel Cmd 1
NA None
None
Forward Max Lim U /10000 or % /100 Torque Demand /1000
MUX 4 ID NA None
s
6-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
None N/A Net1 Out Reg 4 B Mux2 Echo N/A Wago™ Inputs 65-80 B
Man Id N/A Net2 Out Reg 1 B Mux2 Data N/A Wago™ Inputs 81-96 B
General Status B Net2 Out Reg 2 B Mux3 Echo N/A Wago™ Outputs 1-16 B
Motor Voltage U Net2 Out Reg 3 B Mux3 Data N/A Wago™ Outputs 17-32 B
Total Current U Net2 Out Reg 4 B Mux4 Echo N/A Wago™ Outputs 33-48 B
Output Power U Torque Current U Mux4 Data N/A Wago™ Outputs 49-64 B
Inp RMS Current U Inp Power Factor U Mux8 Echo N/A Excess React I U
Input Frequency U Input KVars U Mux8 Data N/A Speed Droop Percent U
Max Available
Input Power Avg U
Output Volts
U Wago™ Inputs 1-16 B Sync Motor Field Ref U
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo N/A Wago™ Inputs 33-48 B Drive Efficiency U
s
A5E02924901A: Version AB 6-19
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
Network I/O Size 9951 136 16 136 Number of bytes in and out.
s
6-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
Data To Drive
Reg 01
9601
Fixed
Reg Bits
Register data to drive parameter 1.
This register is not programmable.
6
Data To Drive Velocity Register data to drive parameter 2.
9602
Reg 02 Demand This register is not programmable.
Data to Drive 9603- Register data to drive parameters 3-64.
None
Reg 03-64 9664 These registers are programmable.
s
A5E02924901A: Version AB 6-21
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
Net2 Swap
9954 Off Swap register byte order
Bytes
Data To
9703- Register data to drive parameters 3-64.
Drive Reg None
9764 These registers are programmable.
03-64
s
6-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Profibus™ Communications
s
A5E02924901A: Version AB 6-23
3004014577BV1.0 Vol 1
Profibus™ Communications NXG Communications Manual
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and
*
down arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys.
The cursor will move to the beginning of the second line after it reaches the last possible position on the
first line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
position on the second line.
Figure 6-9 represents a display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
6 H H
∇ ∇ ∇
s
6-24 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
CHAPTER
Data Highway Plus™ and DH+™ are registered trademarks of Allen-Bradley Company Inc.
7.2.1 To Set Up Data Highway Plus™ for Motor Control using Default Configuration
(Fixed Reg Bits)
The drive can be controlled from the PLC using the following simple setup procedure. Using the keypad on the front
of the drive, set ‘Network 1 Type’ (9901) to Data Highway Plus. Set the Data Highway Plus network address (9931)
and baud rate (9930). Finally, set the ‘Net Control Type’ (9944) to FIXED. This sets ‘Data To Drive Reg 01’ to have
the definitions shown in Table 7-1. Next, add the following line to the SOP:
Network1RunEnable_O = TRUE; (the semicolon is part of the code)
The user can now control the drive through the PLC.
s
A5E02924901A: Version AB 7-1
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
Network1FixedRegBit3_I Stop1
Network1FixedRegBit4_I Reserved
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
7 Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
To run the motor, the PLC must send 0x21 to ‘Data To Drive Reg 01’. This hexadecimal value sets bit 0 (run) and bit
5 (start/stop control from network). Likewise, to command the motor to stop, the PLC must send 0x08 or 0x00 to
register ‘Data To Drive Reg 01’.
s
7-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
7.2.3 To Control the Motor using User-defined Bits Controlled by the SOP
Use the keypad on the front of the drive to set ‘Network 1 Type’ (9901) to Data Highway Plus™. Set the Data
Highway Plus™ network address (9931) and baud rate (9930). Finally, set the ‘Net Control Type’ parameter menu
(9944) to SOP. To control the motor this way, the drive needs to know what bits will be used in the SOP program.
Three steps are required to do this:
1. Find the bits required by referring to Table 7-2 below, and locate the keypad pick list variable associated
with the bits. By referring to Table 7-13, the user can see that the first available data to drive register is ‘Data
to Drive Reg 03’, which corresponds to keypad parameter ID (9603). Using the keypad on the drive, go to
menu item ‘Data To Drive Reg 03’ (9603). 7
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or
ToolSuite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file
can be used in the SOP program as shown below:
If the user chose ‘Data to Drive Reg 03’ as the write register, the user can refer to Table 7-13, which shows that the
PLC now needs to send 0x02 in ‘Data To Drive Reg 03’ to run the drive, or 0x01 in the same register to stop the
drive.
Table 7-2: Sample Programmable Bits*
s
A5E02924901A: Version AB 7-3
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
To read the data from the drive, no SOP flags are needed. Set ‘Network 1 Type’ (9901) to Data Highway Plus™. Set
the Data Highway Plus™ network Address (9931) and baud rate (9930). Set Velocity Units (9080) to desired motor
speed units. By referring toTable 7-13, the user can see the registers needed to read drive status and speed feedback
from the drive are ‘Data From Drive 01’ and ‘Data From Drive 02’ respectively. The definitions of the status bits,
which are always found in ‘Data From Drive 01’ register, are shown in Table 7-3.
Table 7-3: General Status Output from the Drive
0 Fault
1 Alarm
2 RunningForward
3 RunningReverse
4 DriveReady
7 5
6
StartStopControlFromNetwork
SpeedFromNetwork
7 AtSpeedReference
0 = False; 1 = True
8 SpeedInPercent
9 SpeedInRPM
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
See Section 7.6 for details on how to read other drive data.
* Note: The discrete controls and the user-defined control/feedback flags are configured via the drive’s
built-in system program (provided with each drive).
s
7-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
Select menu contents by using pick lists. The Data Highway Plus™ data mapping is done via the ‘Data To Drive
Registers’ and ‘Data From Drive Registers’ as described in Table 7-13.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, the
user will need to search Appendix B of this manual to locate it. If found, use the corresponding data ID number to
enter the variable into the read registers. The procedure for doing this is described in Section 7.6.1.
0x0F
0x0F
0x00
0x01
Word Range Write
Word Range Read
7
0x0F 0x26 Word / Read / Modify / Write
s
A5E02924901A: Version AB 7-5
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
1. Using the keypad, enter ‘Network 1 Type’ parameter ID (9901), scroll to Data Highway Plus™, then press
[ENTER]. The Data Highway Plus™ configuration parameters will be viewable.
2. Next, set the Data Highway Plus™ baud Rate (9930) to the desired baud rate, which must match the PLC
controller’s baud rate.
3. Set the Data Highway Plus™ Address (9931) to the desired Data Highway Plus™ network address for the
drive.
4. Select the Velocity Units (9080). This sets the units for motor commanded speed and motor feedback speed
scaling.
5. If needed, set the Demand Scalar (9912) to uncommonly speed where –125n125
6. Set the Aux Demand Scalar (9913) if used.
7. Use Table 7-13 to program the drive to send data to and receive data from Data Highway Plus™ network.
Each Data Highway Plus™ Register corresponds with a keypad parameter ID, which will be used to tell the
7 drive what data to send to, or what commands to receive from, a particular Data Highway Plus™ Register.
* Note: Four such registers are already programmed, giving the drive basic send and receive functionality.
The data in these registers are not changeable.
8. The definition of the bits in the available Data Highway Plus™ registers may be entered from a choice of
pick list variables in the keypad menus, or custom programmed using the drive’s SOP program. See Section
7.8 for details.
* Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual.
Please note that the PLC can receive data from the drive without any changes to the SOP program. Only if the user
needs to control the drive through the Data Highway Plus™ network will they need to set any flags in the SOP
program.
If the user needs to control the drive through a Data Highway Plus™ network (or any other type of network), then
they will need, at an absolute minimum, the following network control flag to appear in the source code of the SOP
program:
Network1RunEnable_O = TRUE;
To be able to control a drive through a network by sending commands to it, first ensure that the drive’s SOP file
contains the line of code mentioned above. Note that the semicolon is part of the code. If the user would like to
control the drive through a second network, then the SOP program must also contain this line:
Network2RunEnable_O = TRUE;
After ensuring that the SOP file has the necessary code to enable control of the drive over a network, the user will
need to change some of the drive’s control parameters using the keypad on the front of the drive.
s
7-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
Use Table 7-13 to determine the necessary parameter ID. Enter parameter ID ‘Data From Drive 03’(9403) using the
keypad on the front of the drive. Choose “output power” from the pick list. Enter parameter ID ‘Data From Drive 04’
(9404) using the keypad on the front of the drive. Scroll through the pick list to find “number of active faults.”
7
Note that “number of active faults” is not a choice in the pick list. Therefore, it needs to be specified manually. Refer
to Table 7-15 for a list of ‘Data From Drive’ pick list variables. Since “number of active faults” is not a choice in the
pick list, choose “Man Id” from the pick list. Find “number of active faults” in Appendix B and look for its data ID
number. Its data ID number is 3000. Note that the data ID number is not the same as a parameter ID number.
“ManId-0000” will be shown on the display. Use arrows or number keys to enter 3000, and press [ENTER]. The
display should show “Man Id-3000”. If the data ID number could not be found, the error message “Invalid Id
Entered” will be displayed. Ensure that the data ID is correct. Now the number of active faults will be sent to the PLC
using the ‘Data From Drive 04’ register.
s
A5E02924901A: Version AB 7-7
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
Network1FixedRegBit3_I Stop1
7 Network1FixedRegBit4_I Reserved
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
s
7-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
0 Fault
1 Alarm
2 RunningForward
3 RunningReverse
4 DriveReady
5 StartStopControlFromNetwork
6 SpeedFromNetwork
8
AtSpeedReference
SpeedInPercent
0 = False; 1 = True 7
9 SpeedInRPM
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
s
A5E02924901A: Version AB 7-9
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
s
7-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
Network2FixedRegBit0_I ~
Fixed Reg Bits (network 2) Word1 from network
Network2FixedRegBit15_I
User Programmable:
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
7
Table 7-9: Network 1 Programmable Input Bits (keypad parameter ID 9603-9664)
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
A5E02924901A: Version AB 7-11
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
7-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
7.9 Data Highway Plus™ Network Data and Keypad Pick List Tables
Table 7-13: Correspondence between Drive Parameter ID and Data Highway Plus™ Network Data*
General Status
1 9401 Data From Drive 013 (not changeable)
Word 1 to network
Motor Speed
1 9402 Data From Drive 023 (not changeable)
Word 2 to network
Velocity Demand
1 9602 Data To Drive Reg 024 (not changeable)
Word 2 from network
1 9603 – 9664 Data To Drive Reg 03-644 None Words 3- 64 from network 7
General Status
2 9501 Data From Drive 013 (not changeable)
Word 1 to network
Motor Speed
2 9502 Data From Drive 023 (not changeable)
Word 2 to network
2 9503 – 9564 Data From Drive 03- 643 None Words 3- 64 to network
Velocity Demand
2 9702 Data To Drive Reg 024 (not changeable)
Word 2 from network
2 9703 – 9764 Data To Drive Reg 03-644 None Words 3- 64 from network
1. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
2. Data From Drive—data that the PLC will receive from the drive to determine how the drive is functioning. Each
register contains a 16-bit digital representation of the status of a particular aspect of the drive’s functioning. Some
registers are fixed to track certain drive functions; others are programmable to track any of a number of drive status
choices.
3. Data To Drive—data that the PLC will send to the drive in order to control it. Each register contains a 16-bit digital
representation of the PIC’s command for a particular aspect of the drive’s functioning. Some registers are fixed to
control certain functions; others are programmable to control any of a number of drive function choices.
4. Data Highway Plus™ Network Data—Data Highway Plus™ uses input and output “files”. This column defines the
offset from the beginning of the file. The Siemens NXG drive uses 64 words for input (data to drive). The input data is
mapped to the 64 ‘Data To Drive Registers’. The drive has 64 words for output (data from drive); this data is mapped
from the ‘Data from Drive’ registers.
s
A5E02924901A: Version AB 7-13
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
MUX 4 ID NA None
s
7-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
None N/A Net1 Out Reg 4 B Mux2 Echo N/A Wago™ Inputs 65-80 B
Man Id N/A Net2 Out Reg 1 B Mux2 Data N/A Wago™ Inputs 81-96 B
General Status B Net2 Out Reg 2 B Mux3 Echo N/A Wago™ Outputs 1-16 B
Motor Voltage U Net2 Out Reg 3 B Mux3 Data N/A Wago™ Outputs 17-32 B
Total Current U Net2 Out Reg 4 B Mux4 Echo N/A Wago™ Outputs 33-48 B
Output Power U Torque Current U Mux4 Data N/A Wago™ Outputs 49-64 B
Inp RMS Current U Inp Power Factor U Mux8 Echo N/A Excess React I U
Input Frequency U Input KVars U Mux8 Data N/A Speed Droop Percent U
Max Available
Input Power Avg U
Output Volts
U Wago™ Inputs 1-16 B Sync Motor Field Ref U
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo N/A Wago™ Inputs 33-48 B Drive Efficiency U
s
A5E02924901A: Version AB 7-15
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
s
7-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
Data To
Drive Reg 02
9602
Velocity
Demand
Register data to drive parameter 2.
This register is not programmable. 7
Data to Drive 9603- Register data to drive parameters 3-64.
None
Reg 03-64 9664 These registers are programmable.
s
A5E02924901A: Version AB 7-17
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
s
7-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Data Highway Plus™ Communications
7
Figure 7-1: Diagram of Display Network Monitor Function
s
A5E02924901A: Version AB 7-19
3004014577BV1.0 Vol 1
Data Highway Plus™ Communications NXG Communications Manual
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and
* down arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys.
The cursor will move to the beginning of the second line after it reaches the last possible position on the
first line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
position on the second line.
Figure 7-2 below represents a display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
7 Figure 7-2: Cursor Movement Diagram
∇ ∇ ∇
s
7-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
CHAPTER
8 ControlNet™ Communications
8.1 Introduction
The AnyBus-S ControlNet™ module is classified as a ControlNet™ adapter, i.e., it cannot originate connections on its
own, but a scanner node can open a connection to it. The module is implemented according to the ControlNet™
International specification for a communication adapter (profile no. 12).
The ControlNet™ Anybus module has two BNC contacts for connection to the ControlNet™ network. These two
contacts are for redundant connection to the network.
This chapter features a fast setup section that will help the user to start controlling the Siemens drive with NXG
Control using a ControlNet™ network as quickly as possible. Section 8.3 is short and procedural, and covers a
minimum of detail. Please refer to the other sections of this chapter for detailed information.
Note that in this chapter, a four-digit number inside of parentheses, e.g., (9403), indicates a parameter ID number for
the keypad on the front of the drive. Press [SHIFT] + [→] to enter this number directly. The user does not need to
hold down the [SHIFT] key while pressing the [→] key. A numerical value expressed as 0xnn (e.g., 0x12) is being
represented in hexadecimal format.
For more information, visit the ControlNet™ International web site at www.controlnet.org. 8
Figure 8-1 shows the connectors, switches, and indicators on the AnyBus™ board that are relevant to Siemens
operation Anybus-S ControlNet™ Communications Board.
1 8
2
3 4 5 6 7
s
A5E02924901A: Version AB 8-1
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
1 Connector
3 ControlNet Channel A
4 ControlNet Channel B
8 AnyBus-S Watchdog
8.2 Connectors
8.2.1 ControlNet Channels A & B
8 The module is equipped with two BNC contacts for connection to ControlNet. If redundant operation is desired, both
connectors are used. Otherwise, connector A or B is used.
s
8-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
Number from
Indication State Description
Figure 8-2
1 Module Status Green Connection in Run State
Red, flashing
configured
s
A5E02924901A: Version AB 8-3
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
8.3.1 Configuring ControlNet™ for Motor Control with Default Settings (Fixed Reg Bits)
The drive can be controlled from the PLC using the following setup procedure.
1. Using the keypad on the front of the drive, set ‘Network 1 Type’ (9901) to ControlNet™.
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is
set to “Momentary” — otherwise this bit is Reserved
To run the motor, the PLC must send 0x21 to Data To Drive Reg 01. This hexadecimal value sets bit 0 (run) and
bit 5 (start/stop control from network). Likewise, to command the motor to stop, the PLC must send 0x08 or 0x00 to
register Data To Drive Reg 01.
s
8-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
8.3.3 To Control the Motor using User-defined Bits Controlled by the SOP
1. Use the keypad on the front of the drive to set ‘Network 1 Type’ (9901) to ControlNet.
RawDemandNetwork1_O = true;
If the user chose Data to Drive Reg 03 as the write register; by referring to Table 8-14 they can see that the PLC now
needs to send 0x02 in Data To Drive Reg 03 to run the drive, or 0x01 in the same register to stop the drive.
Table 8-4: Sample Programmable Bits*
s
A5E02924901A: Version AB 8-5
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
See Section 8.7 for details on how to read other drive data.
*
Note: The discrete controls and the user-defined control/feedback flags are configured via the drive’s
built-in system program (provided with each drive)
s
8-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
Select menu contents by using pick lists. The ControlNet™ data mapping is done via the Data To Drive Registers
and Data From Drive Registers as described in Table 8-14.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, the
user must search Appendix B to locate it. Once found, use the corresponding data ID number to enter the variable into
the read registers. The procedure for doing this is described in Section 8.7.1.
* Note: The ControlNet™ master must be configured for 136 bytes of input and 136 bytes of output to
communicate with the Siemens NXG drive.
2. Set the ‘ControlNet™ Address’ (9903) to the desired ControlNet™ network address for the drive.
3. Some networks require a 4-byte header in the data from the drive. To use this, set ControlNet Header
(9936) to On.
4. Select the ‘Velocity Units’ (9080). This sets the units for motor commanded speed, and motor feedback
speed scaling.
5. If needed, set the ‘Demand Scalar’ (9912) to n*command speed where –125n125.
6. Set the ‘Aux Demand Scalar’ (9913) if used.
7. Use Table 8-14 to program the drive to send data to and receive data from ControlNet™ network. Each
ControlNet™ Register corresponds with a keypad parameter ID, which will be used to tell the drive what
data to send to, or what commands to receive from, a particular ControlNet™ Register. Note that four such
registers are already programmed, giving the drive basic send and receive functionality. The data in these
registers are not changeable.
8. The definition of the bits in the available ControlNet™ registers may be entered from a choice of pick list
variables in the keypad menus, or custom programmed using the drive’s SOP program. See Section 8.9 for
details.
s
A5E02924901A: Version AB 8-7
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
*
Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual.
Please note that the PLC can receive data from the drive without any changes to the SOP program. Only if the user
needs to control the drive through the ControlNet™ network, will they need to set any flags in the SOP program.
If the user needs to control the drive through a ControlNet™ network (or any other type of network), then they will
need, at an absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE;
To be able to control a drive through a network by sending commands to it, first ensure that the drive’s SOP file
contains the line of code mentioned above. Note that the semicolon is part of the code. If the user would like to
control the drive through a second network, then the SOP program must also contain this line:
Network2RunEnable_O = TRUE;
After ensuring that the SOP file has the necessary code to enable control of the drive over a network, the user will
need to change some of the drive’s control parameters using the keypad on the front of the drive.
Use Table 8-14 to determine the necessary parameter ID. Enter parameter ID ‘Data From Drive 03’ (9403) using the
keypad on the front of the drive. Choose “output power” from the pick list. Enter parameter ‘Data From Drive’ (9404)
using the keypad on the front of the drive. Scroll through the pick list to find “number of active faults.”
Note that “number of active faults” is not a choice in the pick list. Therefore, it needs to be specified manually. Refer
to Table 8-16 for a list of ‘Data From Drive’ pick list variables. Since “number of active faults” is not a choice in the
pick list, choose Man Id from the pick list. Find “number of active faults” in Appendix B, and look for its data ID
number. Its data ID number is 3000. Note that the data ID number is not the same as a parameter ID number.
“ManId-0000” will be shown on the display. Use arrows or number keys to enter 3000, and press [ENTER]. The
display should show “Man Id-3000”. If the data ID number could not be found, the error message “Invalid Id
Entered” will be displayed. Ensure that the data ID is correct. Now the number of active faults will be sent to the PLC
using the ‘Data From Drive 04’ register.
s
8-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control”
(9945) is set to “Momentary” — otherwise this bit is Reserved
s
A5E02924901A: Version AB 8-9
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
8 11
12
Not used
Not used
13 Not used
14 Not used
15 Not used
s
8-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
This example shows how to use the ControlNet™ network to trip the input medium voltage. In this example, our PLC
will be writing data to Data To Drive Reg 03, which we programmed to Net Input Flag 1. We will use the SOP
program to set a flag bit that will use digital output to trip input medium voltage. The PLC will write the contents of
Net Input Flag 1, bit 9 (Network1Flag9_I) to create an input medium voltage trip. The SOP source code is shown
below:
;ExternalDigitalOutput01h_O Use digital output to trip input medium voltage
ExternalDigitalOutput01h_O = Network1Flag9_I;
This example shows how to use the ControlNet™ network to detect a trip on the input medium voltage. In this
example, our PLC will be reading Data From Drive 03, which we programmed to Net1 Out Reg 1. We will use the
SOP program to set a flag bit that corresponds to a medium voltage low fault. We will use bit 9 of Net1 Out Reg 1,
which is Network1Flag9_O, to set the network flag true if the medium voltage low fault is active. The PLC will read
the contents of Net 1 Out Reg 1, bit 9 (Network1Flag9_O) to determine if a medium voltage fault occurred. The
SOP source code is shown below:
; Monitor medium voltage fault on the ControlNet network
Network1Flag9_O = MediumVoltageLowFault_I;
s
A5E02924901A: Version AB 8-11
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
Network2FixedRegBit0_I ~
Fixed Reg Bits (network 2) Word 1 from network
Network2FixedRegBit15_I
User programmable:
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
Table 8-10: Network 1 Programmable Input Bits (keypad parameter ID 9603-9664)
8 Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
8-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
A5E02924901A: Version AB 8-13
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
Motor Speed
1 9402 Data From Drive 023 (not changeable)
Bytes 03 & 04 to network
1 9403 - 9464 Data From Drive 03-643 None Bytes 05 – 128 to network
Fixed Reg Bits
1 9601 Data To Drive 014 (not changeable)
Bytes 01 & 02 from network
Velocity Demand
1 9602 Data To Drive 024 (not changeable)
Bytes 03 & 04 from network
1 9603 – 9664 Data To Drive 03-644 None Bytes 05 – 128 from network
General Status
2 9501 Data From Drive 013 (not changeable)
Bytes 01 & 02 to network
Motor Speed
8 2 9502 Data From Drive 023 (not changeable)
Bytes 03 & 04 to network
2 9503 – 9564 Data From Drive 03-643 None Bytes 05 – 128 to network
Fixed Reg Bits
2 9701 Data To Drive 014 (not changeable)
Bytes 01 & 02 from network
Velocity Demand
2 9702 Data To Drive 024 (not changeable)
Bytes 03 & 04 from network
2 9703 – 9764 Data To Drive 03-644 None Bytes 05 – 128 from network
1. Parameter ID Number—the number to enter using the keypad on the front of the drive.
2. ControlNet™ Network Data—ControlNet™ uses a predefined byte count to communicate between the master and the
drive. The Siemens NXG drive uses 136 bytes for input and output; 128 bytes are used to form the 64 16-bit registers (2
bytes per register) and 8 bytes are ‘reserved’ for future use. The master must be set up to communicate using 136 bytes
of input data and 136 bytes of output data. The data received (128 bytes) is mapped to the 64 Data To Drive Registers
and the data sent to the PLC is defined using the 64 Data From Drive Registers.
3. Data from drive—data that the PLC will receive from the drive to determine how the drive is functioning. Each register
contains a 16-bit digital representation of the status of a particular aspect of the drive’s functioning. Some registers are
fixed to track certain drive functions; others are programmable to track any of a number of drive status choices.
4. Data to drive—data that the PLC will send to the drive to control it. Each register contains a 16-bit digital
representation of the PLC’s command for a particular aspect of the drive’s functioning. Some registers are fixed to
control certain functions; others are programmable to control any of a number of drive function choices.
s
8-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
MUX 4 ID NA None
s
A5E02924901A: Version AB 8-15
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
None N/A Net1 Out Reg 4 B Mux2 Echo N/A Wago™ Inputs 65-80 B
Man Id N/A Net2 Out Reg 1 B Mux2 Data N/A Wago™ Inputs 81-96 B
General Status B Net2 Out Reg 2 B Mux3 Echo N/A Wago™ Outputs 1-16 B
Motor Voltage U Net2 Out Reg 3 B Mux3 Data N/A Wago™ Outputs 17-32 B
Total Current U Net2 Out Reg 4 B Mux4 Echo N/A Wago™ Outputs 33-48 B
Output Power U Torque Current U Mux4 Data N/A Wago™ Outputs 49-64 B
Input Frequency U Input KVars U Mux8 Data N/A Speed Droop Percent U
Max Available
Input Power Avg U
Output Volts
U Wago™ Inputs 1-16 B Sync Motor Field Ref U
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo N/A Wago™ Inputs 33-48 B Drive Efficiency U
s
8-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
s
A5E02924901A: Version AB 8-17
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
™
Turns the 4-byte ControlNet™ Header
ControlNet 9957 Off
Header • On
• Off
Designates the units for velocity
values from the drive.
Velocity
9924 % • %
Units
• RPM
• Hz
Demand Scalar for input demand reference
9926 1 -125 125
Scalar from the network.
Aux Demand Auxiliary scalar for input demand
9927 1 -125 125
Scalar reference from the network.
s
8-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
s
A5E02924901A: Version AB 8-19
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
8
Figure 8-3: Diagram of Display Network Monitor Function
s
8-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual ControlNet™ Communications
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and
*
down arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys.
The cursor will move to the beginning of the second line after it reaches the last possible position on the
first line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
position on the second line.
Figure 8-4 represents a typical display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
8
∇ ∇ ∇
s
A5E02924901A: Version AB 8-21
3004014577BV1.0 Vol 1
ControlNet™ Communications NXG Communications Manual
s
8-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
CHAPTER
The Anybus DeviceNet™ (Profile 12) module supports baud rates of 125 kbit/s, 250 kbit/s, and 500 kbit/s. The baud
rate and network address is selected through the drive menu system.
This chapter features a fast setup section that will help the user to start controlling the Siemens drive with NXG
Control using a DeviceNet™ (Profile 12) network as quickly as possible. Section 9-2 is short and procedural, and
covers a minimum of detail. Please refer to the other sections of this chapter for detailed information.
Note that in this chapter, a four-digit number inside of parentheses, e.g., (9403), indicates a parameter ID number for
the keypad on the front of the drive. Press [SHIFT] + [→] to enter this number directly. The user does not need to
hold down the [SHIFT] key while pressing the [→] key. A numerical value expressed as 0xnn (e.g., 0x12) is being
represented in hexadecimal format.
For more information, visit the ODVA web site at www.odva.org.
s
A5E02924901A: Version AB 9-1
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
Figure 9-1 shows the connectors, switches, and indicators on the AnyBus™ board that are relevant to Siemens
operation.
s
9-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
9.1.1 Connectors
DeviceNet Connector
The module supports both 5.08mm and 3.84mm pluggable screw connectors as well as a 10-pin 2mm board -to-board
connectors. The module supports both 5.08 mm and 3.84 mm pluggable screw connectors as well as a 10-pin, 2mm
board-to-board connector. Figure 9-2 shows the pin assignments for the connector.
DeviceNet
Color Code
1 V- (power conductor) Black
3 SHIELD Bare
The maximum cable length depends on the transmission speed and cable type. The maximum cable length/baud rates
are shown in Table 9-2. 9
Table 9-2: Maximum Values of DeviceNet Cable Length/Baud Rates
Network Termination
The nodes at the physical ends of the network should each have a terminating resistor installed. The termination
resistor is connected across the data lines. Refer to the recommendations of the Open DeviceNet™ Vendor
Association (ODVA) for values of network termination resistors.
Configuration Switches
The configuration switches are not used.
s
A5E02924901A: Version AB 9-3
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
Number from
Indication State Description
Figure 9-3
1 Reserved — Reserved for future use
2 Network Status Off Not powered/Not online
Green, steady Link OK, on line, connected
Green, flashing On line, not connected
9 Red, steady Critical link failure
Red, flashing Connection timeout
3 Module Status Off No power to drive
Green, steady Device operational
Green, flashing Data size bigger than configured
Red, steady Unrecoverable fault
Red, flashing Minor fault
4 Reserved — Reserved for future use
s
9-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
9.2.1 Configuring DeviceNet™ (Profile 12) for Motor Control with Default Settings (Fixed Reg
Bits)
The drive can be controlled from the PLC, using the following setup procedure:
1. Using the keypad on the front of the drive, set ‘Network 1 Type’ (9901) to DeviceNet™ (Profile 12).
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control”
(9945) is set to “Momentary” — otherwise this bit is Reserved
To run the motor, the PLC must send 0x21 to Data To Drive Reg 01. This hexadecimal value sets bit 0 (run) and
bit 5 (start/stop control from network). Likewise, to command the motor to stop, the PLC must send 0x08 or 0x00 to
register Data To Drive Reg 01.
s
A5E02924901A: Version AB 9-5
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
9.2.3 To Control the Motor using User-defined Bits Controlled by the SOP
1. Use the keypad on the front of the drive to set ‘Network 1 Type’ (9901) to DeviceNet (Profile 12).
RawDemandNetwork1_O = true;
To control the motor with the SOP, the drive needs to know what bits will be used in the SOP program. Two steps are
required to do this:
1. Find the bits required by referring to Table 9-5 below, and locate the keypad pick list variable associated
with the bits. By referring to Table 9-15, the user can see that the first available data to drive register is Data
to Drive Reg 03, which corresponds to keypad parameter ID (9603). Using the keypad on the drive, go to
menu item Data To Drive Reg 03 (9603).
9 2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or
ToolSuite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file
can be used in the SOP program as shown below:
s
9-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
0 Fault
1 Alarm
2 RunningForward
3 RunningReverse
4 DriveReady
5 StartStopControlFromNetwork
6 SpeedFromNetwork
7 AtSpeedReference
0 = False; 1 = True
8 SpeedInPercent
9 SpeedInRPM
9
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
See Section 9.6 for details on how to read other drive data.
s
A5E02924901A: Version AB 9-7
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
Select menu contents by using pick lists. The DeviceNet™ (Profile 12) data mapping is done via the Data To Drive
Registers and Data From Drive Registers as described in Table 9-15.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, the
user needs to search Appendix B to locate it. If found, use the corresponding data ID number to enter the variable into
the read registers. The procedure for doing this is described in Section 9.6.1.
The Anybus™ EDS provides for more than 136 bytes of input and output. Siemens only uses up to 136 bytes of input
and output. However, if the configuration tool cannot accommodate 136 bytes, the I/O size may be modified by menu
options.
9 * Note: The DeviceNet™ (Profile 12) master must be configured to have the same quantity of bytes that are
set by the parameter ‘Network I/O Size’ (9951).
The manufacturer of the DeviceNet™ (Profile 12) device normally supplies EDS files.
s
9-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
1. Using the keypad, enter ‘Network 1 Type’ (9901), scroll to DeviceNet™ (Profile 12), then press [ENTER].
The DeviceNet™ (Profile 12) configuration parameters will be viewable.
2. Set the ‘DeviceNet™ (Profile 12) Address’ (9908) to the desired DeviceNet’ (Profile 12) network address
for the drive.
3. Select the ‘Velocity Units’ (9080). This sets the units for motor commanded speed, and motor feedback
speed scaling.
4. If needed, set the ‘Demand Scalar’ (9912) to n*command speed where –125n125.
5. Set the ‘Aux Demand Scalar’ (9913) if used.
6. Use Table 9-15 to program the drive to send data to and receive data from DeviceNet™ (Profile 12) network.
Each DeviceNet™ (Profile 12) Register corresponds with a keypad parameter ID, which will be used to tell
the drive what data to send to, or what commands to receive from, a particular DeviceNet™ (Profile 12)
Register. Note that four such registers are already programmed, giving the drive basic send and receive
functionality. The data in these registers are not changeable.
7. The definition of the bits in the available DeviceNet™ (Profile 12) registers may be entered from a choice of
pick list variables in the keypad menus, or custom programmed using the drive’s SOP program. See Section
9.8 for details.
*
Note: If the user is unfamiliar with drive system programming, refer to the System Programming chapter
in the drive’s manual. 9
Please note that the PLC can receive data from the drive without any changes to the SOP program. Only if the user
needs to control the drive through the DeviceNet™ (Profile 12) network will they need to set any flags in the SOP
program.
If the user needs to control the drive through a DeviceNet™ (Profile 12) Plus network (or any other type of network),
then they will need, at an absolute minimum, the following network control flag to appear in the source code of the
SOP program:
Network1RunEnable_O = TRUE;
To be able to control a drive through a network by sending commands to it, first ensure that the drive’s SOP file
contains the line of code mentioned above. Note that the semicolon is part of the code. If the user would like to
control the drive through a second network, then the SOP program must also contain this line:
Network2RunEnable_O = TRUE;
After ensuring that the SOP file has the necessary code to enable control of the drive over a network, the user will
need to change some of the drive’s control parameters using the keypad on the front of the drive.
s
A5E02924901A: Version AB 9-9
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
Use Table 9-15 to determine the necessary parameter ID. Enter parameter ID ‘Data From Drive 03’ (9403)using the
keypad on the front of the drive. Choose “output power” from the pick list. Enter parameter ‘Data From Drive’ (9404)
using the keypad on the front of the drive. Scroll through the pick list to find “number of active faults.”
Note that “number of active faults” is not a choice in the pick list. Therefore, it needs to be specified manually. Refer
to Table 9-17 for a list of ‘Data From Drive’ pick list variables. Since “number of active faults” is not a choice in the
pick list, choose Man Id from the pick list. Find “number of active faults” in Appendix B, and look for its data ID
number. Its data ID number is 3000. Note that the data ID number is not the same as a parameter ID number.
9 “ManId-0000” will be shown on display. Use arrows or number keys to enter 3000, and press [ENTER]. The display
should show “Man Id-3000”. If the data ID number could not be found, the error message “Invalid Id Entered” will be
displayed. Ensure that the data ID is correct. Now the number of active faults will be sent to the PLC using the ‘Data
From Drive 04’ register.
s
9-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
1. Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control”
(9945) is set to “Momentary” — otherwise this bit is Reserved
s
A5E02924901A: Version AB 9-11
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
s
9-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
This example shows how to use the DeviceNet™ (Profile 12) network to trip the input medium voltage. In this
example, our PLC will be writing data to Data To Drive Reg 03, which we programmed to Net Input Flag 1. We will
use the SOP program to set a flag bit that will use digital output to trip input medium voltage. The PLC will write the
contents of Net Input Flag 1, bit 9 (Network1Flag9_I) to create an input medium voltage trip. The SOP source code
is shown below:
;ExternalDigitalOutput01h_O Use digital output to trip input medium voltage
ExternalDigitalOutput01h_O = Network1Flag9_I;
This example shows how to use the DeviceNet™ (Profile 12) network to detect a trip on the input medium voltage. In
this example, our PLC will be reading Data From Drive 03, which we programmed to Net1 Out Reg 1. We will use
the SOP program to set a flag bit that corresponds to a medium voltage low fault. We will use bit 9 of Net1 Out Reg
1, which is Network1Flag9_O, to set the network flag true if the medium voltage low fault is active. The PLC will
read the contents of Net 1 Out Reg 1, bit 9 (Network1Flag9_O) to determine if a medium voltage fault occurred.
The SOP source code is shown below:
; Monitor medium voltage fault on the ControlNet network
Network1Flag9_O = MediumVoltageLowFault_I;
s
A5E02924901A: Version AB 9-13
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
Network2FixedRegBit0_I ~
Fixed Reg Bits (network 2) Word 1 from network
Network2FixedRegBit15_I
User Programmable:
The interpretation of these bits is programmable through the SOP file. These bits can be programmed to set or reset
any other bits used within the SOP.
Table 9-11: Network 1 Programmable Input Bits (keypad parameter ID 9603-9664)
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Network1Flag16_I ~ Network1Flag31_I
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
9-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
s
A5E02924901A: Version AB 9-15
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
9.9 DeviceNet™ (Profile 12) Network Data and Keypad Pick List Tables
Table 9-15: Correspondence between Drive Parameter ID and DeviceNet™ (Profile 12) Network Data*
Motor Speed
1 9402 Data From Drive 023 (not changeable)
Bytes 03 & 04 to network
1 9403 - 9464 Data From Drive 03-643 None Bytes 05 – 128 to network
Fixed Reg Bits
1 9601 Data To Drive Reg 014 (not changeable)
Bytes 01 & 02 from network
Velocity Demand
1 9602 Data To Drive Reg 024 (not changeable)
Bytes 03 & 04 from network
1 9603 – 9664 Data To Drive Reg 03-644 None Bytes 05 – 128 from network
General Status
2 9501 Data From Drive 013 (not changeable)
Bytes 01 & 02 to network
Motor Speed
2 9502 Data From Drive 023 (not changeable)
Bytes 03 & 04 to network
2 9503 – 9564 Data From Drive 03- 643 None Bytes 05 – 128 to network
Velocity Demand
2 9702 Data To Drive Reg 024 (not changeable)
Bytes 03 & 04 from network
2 9703 – 9764 Data To Drive Reg 03-644 None Bytes 05 – 128 from network
1. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
2. DeviceNet™ (Profile 12) Network Data—DeviceNet™ (Profile 12) uses a predefined byte count to communicate
between the master and the drive. The Siemens NXG drive uses 136 bytes for input and output; 128 bytes are used to
form the 64 16-bit registers (2 bytes per register) and 8 bytes are ‘reserved’ for future used. The master must be set up to
match the number of bytes used by the network “I/O Size Parameters”. Network data size may be limited to 16, 32, 64,
96, 128, or 136 bytes for input and output, using menu items (9951) and (9952). The data received (128 bytes) is mapped
to the 64 Data To Drive Registers and the data sent to the PLC is defined using the 64 Data From Drive Registers.
3. Data From Drive—data that the PLC will receive from the drive to determine how the drive is functioning. Each
register contains a 16-bit digital representation of the status of a particular aspect of the drive’s functioning. Some
registers are fixed to track certain drive functions; others are programmable to track any of a number of drive status
choices.
4. Data To Drive—data that the PLC will send to the drive to control it. Each register contains a 16-bit digital
representation of the PLC’s command for a particular aspect of the drive’s functioning. Some registers are fixed to
control certain functions; others are programmable to control any of a number of drive function choices.
s
9-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
MUX 4 ID NA None
s
A5E02924901A: Version AB 9-17
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
None N/A Net1 Out Reg 4 B Mux2 Echo N/A Wago™ Inputs 65-80 B
Man Id N/A Net2 Out Reg 1 B Mux2 Data N/A Wago™ Inputs 81-96 B
General Status B Net2 Out Reg 2 B Mux3 Echo N/A Wago™ Outputs 1-16 B
Motor Voltage U Net2 Out Reg 3 B Mux3 Data N/A Wago™ Outputs 17-32 B
Total Current U Net2 Out Reg 4 B Mux4 Echo N/A Wago™ Outputs 33-48 B
Output Power U Torque Current U Mux4 Data N/A Wago™ Outputs 49-64 B
Inp RMS Current U Inp Power Factor U Mux8 Echo N/A Excess React I U
Input Frequency U Input KVars U Mux8 Data N/A Speed Droop Percent U
9 Max Available
Input Power Avg U
Output Volts
U Wago™ Inputs 1-16 B Sync Motor Field Ref U
Net1 Out Reg 1 B Hottest Cell Temp U Wago™ Inputs 17-32 B Avail reactive Current U
Net1 Out Reg 2 B Mux1 Echo N/A Wago™ Inputs 33-48 B Drive Efficiency U
s
9-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
s
A5E02924901A: Version AB 9-19
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
s
9-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
s
A5E02924901A: Version AB 9-21
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
s
9-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual DeviceNet™ (Profile 12) Communications
Note: The underscores in the picture of the display show possible cursor movement. To move the cursor
within the display, use the left and right arrow keys. Alphabetic fields are only edited with the up and
*
down arrow keys. Numeric fields are edited with either the up and down arrow keys or the numeric keys.
The cursor will move to the beginning of the second line after it reaches the last possible position on the
first line. Likewise, the cursor will move to the beginning of the first line after it reaches the last possible
position on the second line.
Figure 9-5 represents a typical display. If the user starts with the cursor at position A and uses the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If the user starts with the cursor at position A and uses the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
∇ ∇ ∇
9
s
A5E02924901A: Version AB 9-23
3004014577BV1.0 Vol 1
DeviceNet™ (Profile 12) Communications NXG Communications Manual
s
9-24 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Parameter Read / Write
APPENDIX
A
A Parameter Read / Write
A.1 Introduction
Parameter Read/Write allows to use a PLC to read and write parameter values in the drive. The Parameters To Drive
(PTD) registers read and write ID commands, read and write parameter commands, read and write pick list items, and
execute certain functions. The Parameters From Drive (PFD) registers echo the PTD command, hold the PTD read
command results, and produce an error code if the PTD command cannot be performed.
s
A5E02924901A: Version AB A-1
3004014577BV1.0 Vol 1
Parameter Read / Write NXG Communications Manual
s
A-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Parameter Read / Write
2 Read Next ID
25 Read IP Address
26 Write IP Address
Bits 8-11 Exponent Exponent to be used for Write Parameter Value command
PTD3 Write Value Value to be used for Write Parameter Value command—Least Significant 16-Bits
s
A5E02924901A: Version AB A-3
3004014577BV1.0 Vol 1
Parameter Read / Write NXG Communications Manual
PFD3: 1 = Error
5045 Set Current As Default Not used
PFD4: Not used
PFD3: 1 = Error
6240 Alarm/Fault Log Clear Not used
PFD4: Not used
PTD3 = Value
8030 Preset Hour Meter Not Used
PTD4 = Exponent
PTD3 = Value
8060 Alarm/Fault Log Clear Not Used
PTD4 = Exponent
PTD3 = Value
8074 Preset Input KWH Meter Not used
PTD4 = Exponent
0 Seconds (0-59)
Invalid combinations of
1 Minutes (0-59)
PTD3/PTD4 return a
2 Hours (0-23) Limit Error in PFD1.
3 Days
4 Month (1-12)
5 Year (1999-2099)
s
A-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Parameter Read / Write
9140* Display Sys Prog Name Not used PFD3 = String Length
9195* Show Active Config File Not used PFD3 = String Length
* IDs that support the use of the function string commands (commands 42-47).
s
A5E02924901A: Version AB A-5
3004014577BV1.0 Vol 1
Parameter Read / Write NXG Communications Manual
9 Invalid Manual ID
12 Invalid Function ID
13-
Reserved for Future Use
255
Read Value Value returned from read parameter value command—Least Significant
16-Bits.
PFD3 If command is Get ID, this register contains the least significant 16 bits.
If command is Read String, the 1st two bytes are returned.
s
A-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Parameter Read / Write
∇ ∇ ∇
s
A5E02924901A: Version AB A-7
3004014577BV1.0 Vol 1
Parameter Read / Write NXG Communications Manual
s
A-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
APPENDIX
s
A5E02924901A: Version AB B-1
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
s
B-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
Serial Flags: For use with Tables B-2 through B-5. There are 64 bits that can be used with any other valid input or
output bits. For example, packing bits from multiple addresses into a single telegram.
Table B-2: Serial Flags 1 S1_1
s
A5E02924901A: Version AB B-3
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
s
B-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
s
A5E02924901A: Version AB B-5
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
Enable Faults: Faults can either be always enabled or enabled by a bit in the SOP drctry file. If they are always
enabled, then when the fault occurs, the fault bit will be set. If enabled by the SOP bit, then the fault bit will only be
set if the enable bit is set on the SOP drtry file.
Note: SOP programs are intended to be written and modified by Siemens engineers. This is just for
B * information purposes only. For more information on these parameters, see the Troubleshooting and
Maintenance chapter of the appropriate user’s manual.
* Note: Bits that are NOT listed in the following tables are undefined.
* Note: The values for the Faults/Alarms listed in Tables B-14 through B-24 are: 0 = False (off); 1 = True (on).
Note: In the Alarm/Fault/Programmable column of Tables B-14 through B-24, Alarm = A, Fault = F, and
* Programmable = P. In the Enable column: Fixed = F (always enabled and not changeable by the user),
Programmable to Enable = PE (default state is enabled), and Programmable to Disable = PD (default state
is disabled).
s
B-6 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
s
A5E02924901A: Version AB B-7
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
B Fault Flags2
Programmable
0 Phase sequence P PD
2 CPU Temperature Fault F PD
4 Cell over temp fault F F
5 Modulator Configuration F F
6 Cell count mismatch F F
7 Power supply F F
3040
8 Wago™ communication fault F PE
9 Wago™ configuration F PE
10 Cell bypass COM fail F F
11 Cell bypass acknowledge F F
12 Cell bypass link F F
14 System program F F
Unacknowledged Warning Flags2 (3160)/
Active Warning Flags2 (3280)
0 Phase sequence P PD
1 CPU Temperature Alarm A F
3160/
3 Cell over temp alarm A F
3280
13 Weak battery* A F
15 Medium voltage low 1 A PD
s
B-8 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
Fault Flags3
Programmable
B
1 Medium voltage low flt F F
5 Line over voltage fault P F
6 Input phase imbal P F
7 Input one cycle P* F
3050 9 Encoder loss P PD
10 Keypad communication P PD
11 Network 1 communication P PD
12 Network 2 communication P PD
14 Motor over volt fault F F
Unacknowledged Warning Flags3 (3170)/
Active Warning Flags3 (3290)
0 Medium voltage low 2 A F
2 Cell alarm A F
3 Line over voltage 1 A PD
4 Line over voltage 2 A PD
6 Input phase imbalance A F
7 Input one cycle P F
3170/
8 Input ground A F
3290
9 Encoder loss P PD
10 Keypad communication P PD
11 Network 1 communication P PD
12 Network 2 communication P PD
13 Motor over volt alarm A PE
15 Cell bypass comm alarm A F
s
A5E02924901A: Version AB B-9
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
B Fault Flags4
Programmable
s
B-10 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
Fault Flags5
Programmable
B
1 All blowers not avail P PD
2 Clogged filters A PD
5 Reactor OT Fault P PD
8 Xformer OT Fault P PD
3070 10 Both pumps not available P PD
12 Coolant Conductivity P PD
13 Inlet water temperature high Coolant Inlet Temp P PD
14 Coolant Inlet Temp Inlet water temperature low P PD
15 Cell water temperature high P PD
Unacknowledged Warning Flags5 (3190)/
Active Warning Flags5 (3310)
0 One blower not avail P PD
1 All blowers not avail P PD
2 Clogged filters P PD
3 Reactor temperature 1OT Alarm alarm A PD
4 Reactor temperature 2OT Trip Alarm alarm A PD
5 Reactor OT Fault P PD
6 Transformer Xformer OT Temperature 1 alarm A PD
Xformer OT Trip Transformer temperature 2
3190/ 7 A PD
alarm
3310
9 One pump not AvailableFailed A PD
10 Both pumps not available P PD
Coolant conductivity high AlarmCoolant
11 A PD
Conductivity
12 Coolant Conductivity P PD
13 Inlet water temperature HighCoolant Inlet Temp P PD
14 Coolant Inlet Temp Inlet water temperature low P PD
15 Cell water temperature high P PD
s
A5E02924901A: Version AB B-11
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
Fault/
B Fault Flags6
Programmable
s
B-12 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
Fault Flags8
Programmable
B
3100 0 ~ 15 Loss of signal 9 through 24 P PD
Unacknowledged Warning Flags8 (3220)/
Active Warning Flags8 (3340)
3220/
0 ~ 15 Loss of signal 9 through 24 P PD
3340
s
A5E02924901A: Version AB B-13
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
B Fault Flags11
Programmable
User Fault 33 ~ 48
3130 0 ~ 15 P PD
(bit number + 33)
Unacknowledged Warning Flags11 (3250)/
Active Warning Flags11 (3370)
3250/ User Fault 33 ~ 48
0 ~ 15 P PD
3370 (bit number + 33)
s
B-14 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
Fault Flags14
Programmable
B
3142 0-15 Reserved for future use - -
Unacknowledged Warning Flags13 (3262)/
Active Warning Flags13 (3382)
3262/
0-15 Reserved for future use - -
3382
s
A5E02924901A: Version AB B-15
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
B 1
2
Over speed fault
Under load alarm
3 Under load fault
4 Mtr Therm Over Load 1
5 Mtr Therm Over Load 2
6 Mtr Therm Over Ld Fault
7 Output phase imbal
3400
8 Output phase open
9 Output Ground fault
10 IOC
11 MenuInit
12 Cell (Any cell)
13 In torque limit
14 In torq limit rollback
15 Input phase loss
s
B-16 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
s
A5E02924901A: Version AB B-17
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
B 1
2
All blowers not avail
Clogged filters
3 Reactor temperature 1OT Alarm
4 Reactor temperature 2OT Trip Alarm
5 Reactor OT Fault
6 Transformer Xformer OT Temperature 1 alarm
7 Xformer OT Trip Transformer temperature 2 alarm
3404
8 Xformer OT Fault
9 One pump not availablefailed
10 Both pumps not available
11 Coolant conductivity high AlarmCoolant Conductivity
12 Coolant Conductivity
13 Inlet water temperature HighCoolant Inlet Temp
14 Coolant Inlet Temp Inlet water temperature low
15 Cell water temperature high
s
B-18 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
s
A5E02924901A: Version AB B-19
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
B 3417
3418
0 – 15
0 – 15
See table Fault/Alarm Flags Flags2-2
See table Fault/Alarm Flags Flags2-3
3419 0 – 15 See table Fault/Alarm Flags Flags2-4
s
B-20 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
3436
1
2
Loss of internal analog input #2
Loss of internal analog input #3
B
3-15 Reserved for future use.
s
A5E02924901A: Version AB B-21
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
B 4010
4020
Cells
Cells
Active cells phase B
Active cells phase C
0–8
0–8
Table B-53: Cell Status Phase A (4030), Phase B (4040), Phase C (4050)
s
B-22 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
Table B-54: Bypass Status Phase A (4060), Phase B (4070), Phase C (4080)
Note for Modbus™: If the user is using a control software version earlier than 2.0, these data can be
* accessed directly in fixed Modbus™ addresses. The first cell of the first table is Modbus™ address 46001.
Increment the Modbus™ address by one for each table cell downward.
s
A5E02924901A: Version AB B-23
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
s
B-24 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
3633 State
3634 Status
s
A5E02924901A: Version AB B-25
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
s
B-26 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Output Data IDs
5000 Handshake
∇ ∇ ∇
s
A5E02924901A: Version AB B-27
3004014577BV1.0 Vol 1
Output Data IDs NXG Communications Manual
s
B-28 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Network Implementation
APPENDIX
C Network Implementation
C.1 Overview
To support recent and future drive control features, a new communications network has been established. This
network, the “Internal Network,” is designed to connect programmable devices within the drive system to the NXG
Control.
*
Note: The values of the input and output register data are dependent on the external device. Please see the
appropriate documentation for register data definitions.
s
A5E02924901A: Version AB C-1
3004014577BV1.0 Vol 1
Network Implementation NXG Communications Manual
Manual ID Description
5000 Handshake
s
C-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Network Implementation
C.2.5 Handshaking C
An additional SOP input flag, InternalNetCommOk_I, indicates the health of the Internal Network communications.
This flag is set if the Net Input Pulse (40101) is unchanged for 3 seconds.
∇ ∇ ∇
s
A5E02924901A: Version AB C-3
3004014577BV1.0 Vol 1
Network Implementation NXG Communications Manual
s
C-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Index
Index
B G
BA1 3-3, 3-20 global data 3-7
BA2 3-3, 3-20 items 3-7
green LED 3-20
C
cluster 3-1, 3-2 J
common network topologies 3-2 jumper 3-20
communication board xiii, 1-1 settings
jumpers 2-7 debug port 1-2
Communications menu (9) Modbus port 2-7
Modbus network 2-5, 4-7, 5-9, 6-9, 7-5, 8-7, 9-8
Configure Parameters Menu 2-5 L
ControlNet 8-2 LED 3-20
Conventions xiv linear bus topology 3-1
CRC 2-10, 2-11, 2-12, 2-13, 2-14, 2-15, 2-18 Lock-out/tag-out
procedures 2-xi
D
data transfer 3-11 M
data variables 2-5, 4-7, 5-9, 6-9, 7-5, 8-7, 9-8 Manuals xiii
default master 2-9, 4-2, 4-9
control configuration 2-19, 4-16, 5-12, 6-12, 7-8, master/slave 3-2, 3-9, 3-11
8-9, 9-11 Modbus address table 7-13, 8-14, 9-16
DeviceNet( Modbus network
5-pin connector 3-3 baud rates 2-1
jumpers 3-3 communications diagram 2-9, 4-2, 4-8
node address 3-7 data bits 2-1
UCS Module 3-3 data frame 2-1
UCS module 3-3 flags 2-4, 4-6, 5-9, 6-9, 7-4, 8-6, 9-7
display network monitor function 2-30, 3-21, 4-27, jumpers 2-7
5-25, 6-23, 7-19, 8-20, 9-22 master 2-1, 2-9, 2-11, 2-13, 2-15, 2-18, 4-1, 4-2,
4-9, 4-10, 4-11, 4-12, 4-15
E serial port 2-6
EDS files 3-8 start bit 2-1
electronic data sheets 3-8 stop bit 2-1, 4-1
Electrostatic discharge xii supported commands 2-9, 4-2, 4-9, 5-9
emergency stop 2-4, 4-6, 5-9, 6-9, 7-4, 8-6, 9-7 Modbus protocol 2-1, 2-2, 4-1
explicit messages 3-9, 3-11 remote terminal unit (RTU) format 2-1, 2-2, 4-1
F N
fault reset 2-4, 4-6, 5-9, 6-9, 7-4, 8-6, 9-7 network
fixed reg bits communications problems 3-20
default definition 2-2, 4-4, 5-6, 6-6, 7-2, 8-4, 9-5 status LED 3-20
s
A5E02924901A: Version AB Index-1
3004014577BV1.0 Vol 1
Index NXG Communications Manual
s
Index-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual NOTES
NOTES
s
A5E02924901A: Version AB Notes-1
3004014577BV1.0 Vol 1
NOTES NXG Communications Manual
s
Notes-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual NOTES
s
A5E02924901A: Version AB Notes-3
3004014577BV1.0 Vol 1
NOTES NXG Communications Manual
∇ ∇ ∇
s
Notes-4 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Reader Comments Form
What improvements would you like to see? (Please be specific and cite examples, if possible.)
Did you find any technical inaccuracies or mistakes? If so, please indicate page number(s) and information
that needs to be corrected.
What feature of the manual did you find the most useful? The least useful?
s
A5E02924901A: Version AB Reader Comments-1
3004014577BV1.0 Vol 1
Reader Comments Form NXG Communications Manual
Additional Comments
Thank you for your comments. Please mail, fax or e-mail your comments to:
∇ ∇ ∇
s
Reader Comments-2 A5E02924901A: Version AB
3004014577BV1.0 Vol 1
NXG Communications Manual Startup/Warranty Registration and Service Solutions
Startup/Warranty Registration
and Service Solutions
To assure timely technical updates on your equipment, please complete and return this form. This information is to be
completed by the end user or equipment owner. For information on post sale service solutions, please check the
appropriate boxes below before returning this form to Siemens Industry, Inc.
Company Name
Contact Name
Company Address
Phone
Fax
E-mail
Part Number (P/N) (see system door or system panel)
Sales Order Number (SO #) (see system door or
system panel)
Start-up Date
Start-up Completed by
For additional information by phone, please complete the table above and check the appropriate items below:
• Extended Warranty
• Full Service Agreement
• Preventative Maintenance Agreement
• In-House Training at Siemens
• On-Site Training at your Location
• Spare Parts Kits
Return this information to Siemens at the address below, or fax it to (724) 339-9562 or call 1-800-333-7421 for
technical assistance. Please visit our web site at www.siemens.com.
Attention: Customer Service Operations
Siemens Industry, Inc.
I DT LD A
500 Hunt Valley Road
New Kensington, PA 15068
USA
s
A5E02924901A: Version AB Warranty-1
3004014577BV1.0 Vol 1
Startup/Warranty Registration and Service Solutions NXG Communications Manual
s
Warranty-2 A5E02924901A: Version AB