U030600-G-5MM106 - Communication Manual - 902399
U030600-G-5MM106 - Communication Manual - 902399
COMMUNICATIONS MANUAL
FOR
HARMONY SERIES
Adjustable Speed AC Motor Drives
with Next Generation Control
• NXG I
• Version 2.6 (and later) NXG software
Supplementary Information:
The products herewith comply with the requirements of the Low Voltage Directive 73/23/EEC (as amended) and the EMC Directive
89/336/EEC (as amended).
LVD Safety Directive: The products listed above conform to the IEC Standard 61800-5-1. Additional standards used are:
IEC61800-5-1, IEC60529, and IEC60417.
EMC Directive: Siemens certifies that the apparatus to which this Declaration of Conformity relates conforms to the protection
requirements of Council Directive 89/336/EEC on the approximation of the Laws of the Member States relating to electromagnetic
compatibility. Testing performed under generic standards EN50081-2, EN50082-2, and EN61000-4-2 – ESD, EN61000-4-3 Radiated
Immunity; EN61000-4-4 – EFT, EN61000-4-6, Conducted RF Immunity and EN61000-4-5 – Surge Immunity. (Reference to
IEC61800-3).
Competent Body Assessment for EMC by York Services, Ltd. EMC Test Centre, Fleming Building, Donibristle Industrial Park, Dalgerty
Bay, Dunfermline, FIFE KY119HZ. Competent Body Certificate and Report No. 1084-2/CBC/CBR dated August 6, 2001.
Version History:
© 2005 by Siemens. No portion of this document may be reproduced either mechanically or electronically without the prior consent of Siemens.
NXG Communications Manual Table of Contents
Table of Contents
Chapter 1: Communications Overview ................................................................................ 1-1
Introduction............................................................................................................................ 1
RS232 Debug Port ................................................................................................................. 2
Dual Networks ....................................................................................................................... 3
Chapter 2: Modbus Communications................................................................................... 2-1
Introduction............................................................................................................................ 1
Fast Setup............................................................................................................................... 2
Remote Capabilities ............................................................................................................... 4
Menu Setup Procedures ......................................................................................................... 4
Network Interface .................................................................................................................. 5
Supported Command Set ....................................................................................................... 6
Setup Procedure ................................................................................................................... 14
Drive Control Defaults......................................................................................................... 17
User Programming via the SOP........................................................................................... 19
Net Control Type by Default: .................................................................................. 20
User programmable: ................................................................................................ 20
Modbus Address and Keypad Pick List Tables ................................................................... 22
Menu Parameters Tables...................................................................................................... 24
Display Network Monitor Function (Parameter ID 9950)................................................... 29
Chapter 3: DeviceNet™ DP Communications ..................................................................... 3-1
Introduction............................................................................................................................ 1
Network Termination............................................................................................................. 4
DeviceNet DP Network Address ........................................................................................... 5
Fast Setup............................................................................................................................... 5
Network Communications Setup ........................................................................................... 6
DeviceNet DP EDS File ........................................................................................................ 7
Network Data Transfer Methods ........................................................................................... 9
Networking and the System Program .................................................................................. 16
Power-up Sequence.............................................................................................................. 18
Troubleshooting Network Communications Problems........................................................ 19
Display Network Monitor Function (Menu ID 9950) ......................................................... 20
Chapter 4: Ethernet Modbus Communications................................................................... 4-1
Introduction............................................................................................................................ 1
Fast Setup............................................................................................................................... 3
Remote Capabilities ............................................................................................................... 5
Menu Setup Procedures ......................................................................................................... 5
Network Interface .................................................................................................................. 6
Supported Command Set ....................................................................................................... 8
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 as is; all others require optional controller cards, called
UCS modules or AnyBus modules, which plug into the communication board. Figure 1-1 below, 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.
Figure 1-1. NXG Communication Board
Modbus
Jumpers
Debug
JP3 JP8
Jumpers JP7 JP9
JP6 Board Designator
JP4 JP10
JP2 JP1 JP5 TX485 AnyBus1 AnyBus2 JP13
(Modbus) (Unused)
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:
• DeviceNet Drive Profile (DP)
• Modbus Plus
• Profibus
• DH+
AnyBus modules support:
• Profibus
• Ethernet Modbus (as Network 2 only)
• DeviceNet Profile 12
• Modbus Plus
• ControlNet
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
Board 1a BD2 1
Debug Port Available Debug Port Available
2
Modbus 1 No communication portb
BD1 3
BD1 3
a. You can use one board for the Ethernet Modbus/Modbus dual network if you do not require
a debug port. The single board must still be designated as BD2. See Figure 1-3 for the
board setup.
b. The ethernet network is connected to the microprocessor board and must be designated as
Network 1.
Debug Port
RS232
NOT
AVAILABLE
Modbus Port
RS485
Figure 1-3. Using One Board for Ethernet Modbus and Modbus Dual Network
Figures 1-4 and 1-5 show the board settings and connections for an Ethernet Modbus/Modbus dual network with a
debug port.
1
1. Set JP6 to BD1 on the board where the Debug port is available. BD1 will not have a communications port
available.
Debug Port
RS232
AVAILABLE
Modbus Port
RS485
NOT
AVAILABLE
Debug Port
RS232
NOT
AVAILABLE
Modbus Port
RS485
AVAILABLE
Note: If the system fails to boot-up, check the firmware on the Communications Board for current Version
* Number.
Menu function Network Module Types (9955) will display the types of UCS or Anybus modules installed in your
system.
∇ ∇ ∇
CHAPTER
2 Modbus Communications
2.1 Introduction
Every NXG control is shipped with the necessary hardware to support Modbus network protocol connectivity. 2
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 an Siemens VFD using a PLC over a
Modbus network.
This chapter features a fast setup section that will help you to start controlling your 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. You do not need to
hold down the [SHIFT] key while you press 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.
Note:
* • 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.
• Refer to Figure 1-1(found in Chapter 1.0 of this manual) for LED descriptions.
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 0x04 or 0x00 in register
40065.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
2.2.3 To control the motor using user defined bits controlled by the SOP 2
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. Two steps are required to do this:
1. Find the bits you want to use by referring to Table 2-2 below, and locate the keypad pick list variable
associated with the bits. By referring to Table 2-14, you 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 Tool
suite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file can be
used in the SOP program as shown below:
You chose ‘Data to Drive 03’ as your write register; by referring to Table 2-14, you 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.
2 Bit number
Table 2-3. General Status output from the drive
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
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.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, you
need to search Appendix A 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.
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 you are unsure which settings are correct for your interface, try one and then the
other. Nothing will be harmed with an incorrect setting. Jumpers are also provided to enable or disable the 120-ohm
terminator resistor.
Table 2-4. Modbus Related Jumpers on Communications Board
Jumper Setting
JP5 = 1-2 Terminator resistor disabled
JP5 = 2-3 Terminator resistor enabled
JP3 = 1-2 Data (B) on Pin 2
JP4 = 1-2 Data (A) on Pin 3
JP3 = 2-3 Data (B) on Pin 3
JP4 = 2-3 Data (A) on Pin 2
JP7 - JP8 Network Biasing
JP9 - JP10 Network Biasing
2
MODBUS Master
Note: Use twisted pair wiring if shielded connect only at one end
A
Max 32 connections
= Termination Note: A/B definitions are not standard, it may require swapping A and B if the unit d
TX
03 01 00 13 00 25 -- --
An example response to Read Output Status is shown below. The data is packed on 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-4. Sample Read Output Register of Read Coil Status Message
RX
03 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.
2
TX
01 03 00 04 00 02 -- --
RX
01 03 04 04 A5 90 B1 -- --
Figure 2-5. Sample Read Output Registers Command (TX) and Response (RX)
Data Value 2 (MSB) 0x90 This register is user high byte of item 2
0x90B1 programmable. See
Data Value 2 (LSB) 0xB1 Table 2-30. low byte of item 2
Note: For responses received from the drive (such as in Table 2-10), the keypad parameter Velocity
* Units (9080) is set to ‘Percent’ by default. Interpreted values (shown in the Scaled Value column of
Table 2-10) will differ if this parameter is configured differently. See Table A-1 in of Appendix A
for all data scaling.
2
TX
01 06 00 42 00 64 -- --
RX
01 06 00 42 00 64 -- --
Figure 2-6. Sample Write Input Register Command (TX) and Response (RX)
Table 2-11. Write Input Register Transmission (TX) from Master (same as (RX) Echo Response from Drive)
Field Name Value (in Hex) Notes
Slave Address 0x01 0x01 = 1 decimal
Function 0x06 Write input register command
Register Address (High) 0x00
register no. 40067
Register Address (Low) 0x42
Preset Data (High) 0x00
Value = 100
Preset Data (Low) 0x64
Error Check (CRC) byte 1 — byte 1 of CRC for this message
Error Check (CRC) byte 2 — byte 2 of CRC for this message
2 TX
01 08 00 40 03 E8 -- --
RX
01 08 00 40 03 E8 -- --
Figure 2-7. Loop back Test Command (TX) and Response (RX)
TX
01 0F 00 13 00 0A 02 CD 00 ----
RX
01 0F 00 13 00 0A -- --
Figure 2-8. Write Multiple Coils Command (TX) and Response (RX)
2 TX
01 10 00 43 00 02 04 00 64 24 E3 -- --
RX
01 10 00 43 00 02 -- --
Figure 2-9. Sample Write Multiple Input Registers Command (TX) and Response (RX)
Table 2-14. Write Multiple Input Registers Transmission (TX) from Master
Field Name Value (in Hex) Notes
Slave Address 0x01 0x01 = 1 decimal
Function 0x10 Write multiple input registers command
Starting Address (High) 0x00
Register number 40068
Starting Address (Low) 0x43
No. Registers (High) 0x00
Write to 0x0002 (2) registers
No. Registers (Low) 0x02
Byte Count 0x04 4 bytes total
Preset Data 1 (High) 0x00
Value = 0x0064 (100 decimal)
Preset Data 1 (Low) 0x64
Preset Data 2 (High) 0x24
Value = 0x24E3 (9443 decimal)
Preset Data 2 (Low) 0xE3
Error Check (CRC) byte 1 æ Byte 1 of CRC for this message
Error Check (CRC) byte 2 æ Byte 2 of CRC for this message
Table 2-15. Write Multiple Input Registers Response (RX) from Drive
Field Name Value (in Hex) Notes
Slave Address 0x01 0x01 = 1 decimal
Function 0x10 Write multiple input registers command
Starting Address (High) 0x00
Register number 40068
Starting Address (Low) 0x43
No. Registers (High) 0x00
Write to 0x0002 (2) registers
2
No. Registers (Low) 0x02
Error Check (CRC) byte 1 æ Byte 1 of CRC for this message
Error Check (CRC) byte 2 æ byte 2 of CRC for this message
Please note that your PLC can receive data from the drive without any changes to the SOP program. Only if you need
to control the drive through the Modbus network, will you need to set any flags in the SOP program.
If you need to control the drive through a Modbus network (or any other type of network), then you 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 you would like to control the drive
through a second network, then your 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, you will need to
change some of the drive’s control parameters using the keypad on the front of the drive.
The customer wants to set register 40003 to indicate output power. Table 2-14 indicates that this address is
programmable. Use Table 2-30 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 2-30 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-10. Sample Read Output Registers Command (TX) and Response (RX)
2 drctry.ngn bits are always located at Modbus address 40065 whether the default configuration is used or not. In order
to redefine the bits at this address, refer to section 2.8.2.
Table 2-19. If Set to FIXED (default command configuration):
Bit Default Definition
Network1FixedRegBit0_I Run forward
Network1FixedRegBit1_I Run reverse
Network1FixedRegBit2_I Fault reset
Network1FixedRegBit3_I Stop*
Network1FixedRegBit4_I Reserved
Network1FixedRegBit5_I Start stop control from network
Network1FixedRegBit6_I Speed commanded from network
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit11_I Not Used
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
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-21. Network 1 Programmable Input Bits (keypad parameter ID 9603-9664)
Pick list variable in ‘Data to Drive Reg an’ menus Related Drctry.ngn bits
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
2
Network1Flag32_O ~
Net1 Out Reg 3
Network1Flag47_O
Network1Flag48_O ~
Net1 Out Reg 4
Network1Flag63_O
a. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
b. Data From Drive—data that the PLC will receive from the drive in order 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.
c. 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.
d. Modbus Addresses—digital locations provided by the Modbus Protocol which store values for use by the
master (PLC) and slave (Siemens drive) devices. In order to establish functional communication between
the PLC and the drive, the control software in the drive needs to know what to use certain addresses for. That
is the key to configuring the drive’s Modbus connection.
2 Auxiliary Demand
Net Input Flag 1
Hz / 10 RPM * 1
None
% / 10 MUX 6 ID
MUX 7 ID
None
None
Net Input Flag 2 None MUX 8 ID None
Net Input Flag 3 None PTD1
Net Input Flag 4 None PTD2
Ratio % / 100 PTD3
Forward Max Lim / 10000 or %/100 PTD4
Reverse Max Lim / 10000 or %/100 Parallel Cmd 1
Forward Acc Time / 10 Torque Demand
Forward Dec Time / 10 PVCL Demand
Reverse Acc Time / 10 Flux Demand
Reverse Dec Time / 10 Node Count
Net Input Pulse In * 1 Node Index
Forward Min Lim / 10000 or %/100 Torque Acc Time
Reverse Min Lim / 10000 or %/100 Torque Dec Time
Torque Limit Torque Offset
MUX 1 ID None Torque Scalar
MUX 2 ID None Vars Command
2 •
•
19200
none
Modbus Parity 9047 None • odd
• even
Modbus • one
9048 1 • two
Stop Bits
Modbus Address 9070 1 1 247 Sets address of node on Modbus network.
Designates the units for velocity values
from the drive.
Velocity Units 9080 % • %
• RPM
• Hz
Scalar for input demand reference from
Demand Scalar 9912 1 -125 125
the network.
Aux Demand Auxiliary scalar for input demand
9913 1 -125 125
Scalar reference from the network.
Timeout for network determined to be non-
Network Timeout 9934 0 0 65535
responsive.
2
Register data to drive
Data To Drive Reg Velocity parameter 2. This
9602
02 Demand register is not
programmable.
Register data to drive
Data to Drive Reg 9603- parameters 3-64.
None
03-64 9664 These registers are
programmable.
2 •
•
19200
none
Modbus Parity 9947 None • odd
• even
Modbus • one
9948 1 • two
Stop Bits
Modbus
9920 1 1 247 Sets address of node on Modbus network.
Address
Designates the units for velocity values
from the drive.
Velocity Units 9924 • %
• RPM
• Hz
Scalar for input demand reference from
Demand Scalar 9926 1 -125 125
the network.
Aux Demand Auxiliary scalar for input demand
9927 1 -125 125
Scalar reference from the network.
Network Timeout for network determined to be
9935 0 0 65535
Timeout non-responsive.
2
Register data to drive
Data To Drive Velocity parameter 2. This
9702
Reg 02 Demand register is not
programmable.
Register data to drive
Data to Drive Reg parameters 3-64. These
9703-9764 None
03-64 registers are
programmable.
D NET1 Tx N-Reg:
01 00257 Line 1 data
H NET2 Rx N-Reg:
02 0F1B Line 2 data
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
only 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.
2
below represents a display. If you start with the cursor at position A and use the left arrow [←] key repeatedly, the
cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right arrow [→] key
repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
∇∇∇
CHAPTER
3 DeviceNet™ DP Communications
3.1 Introduction
This chapter features a fast setup section that will help you to start controlling your Siemens drive with NXG control
using a ControlNet 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. You do not need to
hold down the [SHIFT] key while you press the [→] key. A numerical value expressed as 0xnn (e.g.., 0x12) is being
3
represented in hexadecimal format.
Legend
M = Master (Active) Station
P = Peer
M M P
S S S S S S S S P P P P
SUBNET
The DeviceNet DP UCS module mounts to the communications 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.
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
The maximum cable length depends on the transmission speed and cable type. The maximum cable length/baud rates
are shown in Table 3-1.
Table 3-1. Maximum Values of DeviceNet DP Cable Length/Baud Rates
Baud Rate Trunk Distance (Thick Cable)
125 K 500 Meters (1640 Feet)
250 K 250 Meters (820 Feet)
500 K 100 Meters (328 Feet)
3 Figure 3-4. UCS Module Circuit Board Status Indicators (board orientation)
UCS Status 1
Network Status 2
Board Edge
4.
network.
Verify the DeviceNet DP UCS module status as indicated in Tables 3-23 and 3-24.
3
5. The system program will need to be modified if you want to run the drive from the network. The
modification will have to either fix the Network1RunEnable_O = TRUE; or conditionally true
depending on the application requirements.
Note: Setting the Network1RunEnable_O = TRUE; prevents 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.
3 Class Number
Table 3-4. DeviceNet DP Classes
Object Class Communication Messages handled by:
1 Identity UCS DeviceNet DP module
2 Message Route UCS DeviceNet DP module
3 DeviceNet DP™ UCS DeviceNet DP module
4 Assembly UCS DeviceNet DP module and NXG
5 Connection UCS DeviceNet DP module
40 Motor UCS DeviceNet DP module and NXG
41 Control Supervisor UCS DeviceNet DP module and NXG
42 AC/DC Drive UCS DeviceNet DP module and NXG
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.”
3 3.8.3 DeviceNet DP AC Drive Output Assembly Data (Assembly #21)
TheSiemens 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
speed reference in RPM. The range is 0 to 32767 RPM. Table 3-10 lists assembly output data bit definitions.
Table 3-9. DeviceNet DP Assembly Output Data
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Not Used NetRef NetCtrl Not Used Not Used Fault Reset Run Rev Run Fwd
1 Reserved (Not Used)
2 Speed Reference (Low Byte)
3 Speed Reference (High Byte)
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.”
3
Table 3-11. DeviceNet DP Motor Class Supported Attributes (1 Instance)
Class Attribute Data Data Type Description
(Hex) (Decimal) Access
0x28 3 Set USINT Motor Type (Refer to DeviceNet DP ODVA Specifications)
0x28 6 Set UINT Motor Rated Current (in .1 Amps)
0x28 7 Set UINT Motor Rated Volts (in Volts)
0x28 9 Set UINT Motor Rated Frequency (in Hz)
0x28 12 Set UINT Number of Poles
0x28 15 Get UINT Base Speed (in RPM)
3 0x2A
0x2A
19
22
Get
Get
UINT
SINT
Deceleration Time
Speed Scale
0x2A 23 Get SINT Current Scale
0x2A 26 Get SINT Power Scale
0x2A 27 Get SINT Voltage Scale
0x2A 28 Get SINT Time Scale
0x2A 29 Get Bool RefFromNet
Note:
* • 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)
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 A of this manual.
Table 3-17. DeviceNet DP Data from Drive Pick List Variables
Drive Pick List Variables
3
None Net1 Out Reg 3 Mux1 Echo Wago Inputs 33-48
Man Id Net1 Out Reg 4 Mux1 Data Wago Inputs 49-64
General Status Net2 Out Reg 1 Mux2 Echo Wago Inputs 65-80
Motor Voltage Net2 Out Reg 2 Mux2 Data Wago Inputs 81-96
Total Current Net2 Out Reg 3 Mux3 Echo Wago Outputs 1-16
Output Power Net2 Out Reg 4 Mux3 Data Wago Outputs 17-32
Motor Speed Torque Current Mux4 Echo Wago Outputs 33-48
Speed Demand Magnetizing Cur Mux4 Data Wago Outputs 49-64
Speed Reference Motor Flux Mux5 Data PFD1
Heartbeat Motor Torque Mux6 Echo PFD2
Drive State Flux Reference Mux6 Data PFD3
Inp RMS Current Input Voltage Mux7 Echo PFD4
Input Frequency Inp Power Factor Mux7 Data Drive Losses
Input Power Avg Input KVars Mux8 Echo Speed Droop Percent
Net1 Out Reg 1 Max Available Output Volts Mux8 Data Sync Motor Field Ref
Net1 Out Reg 2 Hottest Cell Temp Wago Inputs 1-16 Avail reactive Current
Wago Inputs 17-32 Dirve Efficiency
3 list, the first item of which is ‘None’. See Table 3-18 for a list of possible pick list choices for output from drive data.
Scroll through the pick list until you come to ‘Net1 Out Reg 1’, and then press [ENTER]. This setting will use the
first 16 bits of the possible 64 bits. To use the second set of 16 bits, select ‘Net1 Out Reg 2’, and so on. The
corresponding names of the bits related to the menu pick list items are found in Table 3-21.
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.
3
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
3
5 Check for shorted network wiring.
6 Check for shorted board components.
7 Check network termination resistors.
8 Check LED blink rates (refer to Figure 3-5).
9 Verify Network address is valid (> 0 and < 64) and unique for the network.
10 Verify network wiring and connection.
3 D NET1 Tx N-Reg:
01 00257 Line 1 data
H NET2 Rx N-Reg:
02 0F1B Line 2 data
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
only 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 3-6 below represents a display. If you start with the cursor at position A and use the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
3
H H
∇∇∇
CHAPTER
Notes:
* • AnyBus Ethernet Modbus is for Network 2 only!
• Ethernet Modbus Network 1 utilizes the CPU RJ-45 port.
Figure 4-1 shows the connector and indicators on the AnyBus Ethernet Modbus module. The DIP switches are not
used for the NXG application.
RJ-45
Connector
4
DIP Switches Status
NOT USED Indicators
Board Edge
4 Network1FixedRegBit4_I
Network1FixedRegBit5_I
Reserved
Start stop control from network
Network1FixedRegBit6_I Speed commanded from network
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit11_I Reserved for Future
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
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 0x04 or
0x00 in register 40065.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
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
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 you want to use by referring to Table 4-3 below, and locate the keypad pick list variable
associated with the bits. By referring to Table 4-21 you 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).
4
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or Tool
suite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file can be
used in the SOP program as shown below:
You chose ‘Data to Drive 03’ as your write register; by referring to Table 4-21, you 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*
Pick List Variable Drctry.ngn bits
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
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
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
11 Reserved for future use
4 12
13
Reserved for future use
Reserved for future use
14 Reserved for future use
15 Reserved for future use
See section 4.7 for details on how to read other drive data.
4
Figure 4-4: Net 2 Parameter Configuration Information
Ethernet
NXG Control
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)
TX
01 03 00 04 00 02 -- --
RX
01 03 04 04 A5 90 B1 -- --
Figure 4-7. Sample Read Output Registers Command (TX) and Response (RX)
Data Value 2 (MSB) 0x90 This register is user high byte of item 2
0x90B1 programmable. See Table
Data Value 2 (LSB) 0xB1 4-21. low byte of item 2
Note: For responses received from the drive (such as in Table 4-7), the keypad parameter Velocity Units
* (9080) is set to ‘Percent’ by default. Interpreted values (shown in the Scaled Value column of Table 4-7) will
differ if this parameter is configured differently. See Appendix B for all data scaling.
TX
01 06 00 42 00 64 -- --
RX
01 06 00 42 00 64 -- --
4
Figure 4-8. Sample Write Input Register Command (TX) and Response (RX)
Table 4-8. Write Input Register Transmission (TX) from Master (same as (RX) Echo Response from Drive)
Field Name Value (in Notes
Hex)
Slave Address 0x01 0x01 = 1 decimal
Function 0x06 Write input register command
Register Address (High) 0x00
register no. 40067
Register Address (Low) 0x42
Preset Data (High) 0x00
Value = 100
Preset Data (Low) 0x64
TX
01 10 00 43 00 02 04 00 64 24 E3 -- --
RX
01 10 00 43 00 02 -- --
Figure 4-9. Sample Write Multiple Input Registers Command (TX) and Response (RX)
Table 4-9. Write Multiple Input Registers Transmission (TX) from Master
Field Name Value (in Hex) Notes
Slave Address 0x01 0x01 = 1 decimal
Function 0x10 Write multiple input registers command
Starting Address (High) 0x00
Register number 40068
Starting Address (Low) 0x43
No. Registers (High) 0x00
Write to 0x0002 (2) registers
No. Registers (Low) 0x02
Byte Count 0x04 4 bytes total
Preset Data 1 (High) 0x00
Value = 0x0064 (100 decimal)
Preset Data 1 (Low) 0x64
Preset Data 2 (High) 0x24
Value = 0x24E3 (9443 decimal)
Preset Data 2 (Low) 0xE3
Table 4-10. Write Multiple Input Registers Response (RX) from Drive
4 Slave Address
Field Name Value (in Hex)
0x01 0x01 = 1 decimal
Notes
Note: If you are unfamiliar with drive system programming, you will need to refer to the System
* Programming chapter in your drive’s manual.
Please note that your master device can receive data from the drive without any changes to the SOP program. Only if
you need to control the drive through the Modbus network, will you need to set any flags in the SOP program.
If you need to control the drive through a Modbus network (or any other type of network), then you will need, at an
absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE;
In order 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 you would like to
control the drive through a second network, then your 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, you will need to
change some of the drive’s control parameters using the keypad on the front of the drive.
The customer wants to set register 40003 to indicate output power. Table 4-21 indicates that this address is
programmable. Use Table 4-21 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-23 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-10. Sample Read Output Registers Command (TX) and Response (RX)
4
Function 0x03 Read output registers command
Starting Address (High) 0x00
Register number 40004
Starting Address (Low) 0x03
Number of Registers to Read (High) 0x00
Read 1 (0x0001) register
Number of Registers to Read (Low) 0x01
Table 4-14. If ‘Net Control Type’ is set to FIXED (default command configuration):
Bit Default Definition
Network1FixedRegBit0_I Run forward
Network1FixedRegBit1_I Run reverse
Network1FixedRegBit2_I Fault reset
Network1FixedRegBit3_I Stop*
Network1FixedRegBit4_I reserved
Network1FixedRegBit5_I Start stop control from network
Network1FixedRegBit6_I Speed commanded from network
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit11_I Reserved for future use
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
4
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
4
10 SpeedInHz
11 Not used
12 Not used
13 Not used
14 Not used
15 Not used
Table 4-16. Relationship of ‘Fixed Reg Bits’ to Keypad Menus and drctry.ngn Bits (programmable bits
available for use in the SOP)
Pick list variable in ‘Data to Drive Reg Related Drctry.ngn bits Modbus Register Address
nn’ menus
Network1FixedRegBit0_I ~
Fixed Reg Bits (network 1) 40065 or 41025
Network1FixedRegBit15_I
Network2FixedRegBit0_I ~
Fixed Reg Bits (network 2) 41025
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.
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
Motor Speed
1 9402 Data From Drive 40002
(not changeable)
1 9403 - 9464 Data From Drive None 40003-40064
Fixed Reg Bits
1 9601 Data To Drived (not changeable)
40065 or 41025
Velocity Demand
1 9602 Data To Drive 40066 or 41026
(not changeable)
40067 - 40128 or
1 9603 - 9664 Data To Drive None
41027 - 41088
General Status
2 9501 Data From Drive 40001
(not changeable)
a. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
b. Modbus Addresses—digital locations provided by the Modbus Protocol which store values for use by the
master (master device) and slave (Siemens drive) devices. In order to establish functional communication
between the master device and the drive, the control software in the drive needs to “know” what to use cer-
tain addresses for. That is the key to configuring the drive’s Modbus connection.
c. Data from drive—data that the master device will receive from the drive in order 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.
d. Data to drive—data that the master device will send to the drive in order to control it. Each register con-
tains a 16-bit digital representation of the master device’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.
Table 4-22. Ethernet Modbus Communications Data To Drive Pick List Variables
Name Name
None MUX 3 ID
Fixed Reg Bits MUX 4 ID
Velocity Demand MUX 5 ID
Auxiliary Demand MUX 6 ID
Net Input Flag 1 MUX 7 ID
Net Input Flag 2 MUX 8 ID
Net Input Flag 3 PTD1
Net Input Flag 4 PTD2
Ratio PTD3
Forward Max Lim PTD4
Reverse Max Lim Parallel Cmd 1
Forward Acc Time Torque Demand
Forward Dec Time PVCL Demand
Reverse Acc Time Flux Demand
Reverse Dec Time
Net Input Pulse
Node Count
Node Index
4
Forward Min Lim Torque Acc Time
Reverse Min Lim Torque Dec Time
Torque Limit Torque Offset
MUX 1 ID Torque Scalar
MUX 2 ID Vars Command
Table 4-23. Ethernet Modbus Communications Data From Drive Pick List Variables
4
from the drive.
D NET1 Tx N-Reg:
01 00257 Line 1 data
H NET2 Rx N-Reg:
02 0F1B Line 2 data
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
only 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.
below represents a display. If you start with the cursor at position A and use the left arrow [←] key repeatedly, the
cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right arrow [→] key
repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
4
Figure 4-12. Cursor Movement Diagram
∇∇∇
CHAPTER
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. You do not need to hold
down the [SHIFT] key while you press the [→] key. A numerical value expressed as 0xnn (i.e., 0x12) is being
represented in hexadecimal format.
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
GM-HBDS-002 Modicon DEC Host Based Devices User’s Guide
PI-MBUS-300 Modicon Modbus Protocol Reference Guide
More information on Modbus Plus 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 network bus consists of twisted-pair shielded cable that is run in a direct pat between successive nodes. The two
data lines in the cable are no sensitive to polarity. For more detailed wiring diagram see Modicon manual
890USE10000.
5
The drive always acts as a Modbus Plus slave in master-slave configurations. If you want 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.
Status
Indicators
Modbus Plus
D-Sub Connector
UCS Status 1
Network Status 2
Board Edge
Status
Modbus Plus Switches
Indicators
D-Sub Connector NOT USED
5
Not Used 1 2 Error
Board Edge
2 flashes; on 160
MAC_IDLE never-getting-token state.
ms, off 480 ms
3 MBP Active
3 flashes; on 160
ms, off 240 ms, Not sensing an other nodes.
then off 1.6 s
4 flashes; on 160
ms, off 240 ms, Detecting duplicate node addresses
then off 1.2 s
For inputs to the drive, these are menu (9601, 9602) labeled as ‘Fixed Reg Bits’ and ‘Velocity Demand’ in Table 5-14
and outputs from the drive are menus (9401, 9402), labeled as ‘General Status’, and ‘Motor Speed’ in the same table.
These registers will referred to control registers here after and are interpreted as both input and output registers.
If you selected ‘Reg data only’ in the above menu, The ‘Modbus Plus Reg Control’ menu will not be displayed. This
means that the non-global command and speed control registers will be used. If you selected ‘Global data’ the
‘Modbus Plus Reg Control’ menu will appear as well as all global register menus. This menu in network #1 (9910),
and network #2 (9940), selects which register set, global or non-global the control is using. Set the menu to ‘Reg
data’ for non-global registers and ‘Global data’ to use global registers as appropriate for your application.
To summarize, setting the menus as described above gives you the option of using global data in your application.
You can also select to use global data control registers while using all other global data registers. You also have the
option of using global registers for all data except the control can be selected to use the non-global registers.
5 Bit
Network1FixedRegBit0_I
Default Definition
Run forward
Network1FixedRegBit1_I Run reverse
Network1FixedRegBit2_I Fault reset 0
Network1FixedRegBit3_I Stop*
Network1FixedRegBit4_I reserved
Network1FixedRegBit5_I Start stop control from network
Network1FixedRegBit6_I Speed commanded from network
Network1FixedRegBit7_I
Network1FixedRegBit8_I
Network1FixedRegBit9_I
Network1FixedRegBit10_I
Network1FixedRegBit11_I Reserved for Future
Network1FixedRegBit12_I
Network1FixedRegBit13_I
Network1FixedRegBit14_I
Network1FixedRegBit15_I
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 0x04 or 0x00 in register
40065.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
For example, if you chose ‘Data to Drive 03’ as your write register; by referring to Table 5-14, you 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*
Pick List Variable Drctry.ngn bits
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
5 10
11
SpeedInHz
Not used
12 Not used
13 Not used
14 Not used
15 Not used
See Section 5.8 for details on how to read other drive data.
The pick lists in the menus contain the most commonly used data variables. If a variable is not found in the lists, you
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.
5
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 you are unfamiliar with drive system programming, you will need to refer to the System
* Programming chapter in your drive’s manual.
Please note that your PLC can receive data from the drive without any changes to the SOP program. Only if you need
to control the drive through the Modbus Plus network, will you need to set any flags in the SOP program. If you need
to control the drive through a Modbus Plus network (or any other type of network), then you 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 you would like to control the
drive through a second network, then your 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, you will need to
change some of the drive’s control parameters using the keypad on the front of the drive.
program a register, refer to Table 5-14 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 PLC
register 40002 to indicate motor speed. This register is also not changeable. It is permanently set to indicate motor
speed. Table 5-6 shows some hypothetical desired settings for Modbus Plus addresses.
Table 5-6. Hypothetical Desired Address Settings
PLC Modbus Plus Register Data Scaling
40001(read only) General Status 16 bits
40002 (read only) Motor Speed RPM
40003 Output Power kW
40004 Number of faults 0 – 128
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-6 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 3000Note 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.
5
5.9 Drive Control Defaults
To control the drive using its default configuration, you need to send commands to its Fixed Reg Bits location. Refer
to Table 5-14 to see the location of the ‘Fixed Reg Bits.’ The drive’s default interpretation of the Fixed Reg Bits is
non-programmable and controlled by the drive’s control software. To ensure that the drive is set to its default setting,
use the keypad on the front of the drive to set parameter (9928) to ‘FIXED.’ This is the default configuration. Using
the default configuration, the Fixed Reg Bits are interpreted as shown in Table 5-7. Note that these particular
drctry.ngn bits are always located at Modbus Plus address 40065 for UCS modules or 41057 for AnyBus modules,
whether the default configuration is used or not. To redefine the bits at this address, refer to Section 5.9.2.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
5
otherwise this bit is Reserved
Note: If you are unfamiliar with drive system programming, you will need to refer to the System
* Programming chapter in your drive’s manual.
5
5.9.2 Running the drive using non-default settings
The drive can be run in a non-default manner by reprogramming the ‘Fixed Reg Bits’ register. As seen in Table 5-14,
the location is fixed at 40065 (UCS) or 41057 (AnyBus). However, the definition of the bits can be reprogrammed.
To change the interpretation of the control bits in Modbus Plus register 40065 (UCS) or 41057 (AnyBus), use the
following procedure:
By setting menu parameter 9944 (Net Control Type) to ‘SOP’, each bit from the ‘Fixed Reg Bits’ word can be used in
any desired manner, such as shown below.To make the definition of the ‘Fixed Reg Bits’ in Modbus Plus address
40065 programmable, use the drive’s keypad to set parameter 9944 (Net Control Type) to ‘SOP’. The source code
below shows how to use the SOP program to trip the input medium voltage when ‘1’ is sent to
Network1FixedRegBit9 in Modbus Plus register 40065 (UCS) or 41057 (AnyBus).
;ExternalDigitalOutput01h_O Use digital output to trip input medium Voltage
ExternalDigitalOutput01h_O = Network1FixedRegBit9_I;
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;
The drive’s interpretation of the bits in Table 5-9 is fixed by the drive’s control software unless you set 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)
Pick list variable in ‘Data to Drive Related Drctry.ngn bits Modbus Plus Register Address
Reg nn’ menus
Network1FixedRegBit0_I ~
Fixed Reg Bits (network 1) 40065
Network1FixedRegBit15_I
Network2FixedRegBit0_I ~
Fixed Reg Bits (network 2) 40065
Network2FixedRegBit15_I
User programmable: 5
The interpretation of these bits is programmable through the SOP fileThese bits can be programmed to set or reset
any other bits used within the SOP.
Table 5-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
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
5
(not changeable)
Velocity Demand
1 9202 (Global) Data To Drive N/A
(not changeable)
1 9203 – 9232 (Global) Data To Drive None N/A
a. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
b. 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” what to use certain addresses for. That is the key
to configuring the drive’s Modbus Plus connection.
c. Data from drive—data that the PLC will receive from the drive in order 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.
d. 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 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.
Name Name
None MUX 3 ID
Fixed Reg Bits MUX 4 ID
Velocity Demand MUX 5 ID
Auxiliary Demand MUX 6 ID
Net Input Flag 1 MUX 7 ID
Net Input Flag 2 MUX 8 ID
Net Input Flag 3 PTD1
Net Input Flag 4 PTD2
5 Ratio
Forward Max Lim
PTD3
PTD4
Reverse Max Lim Parallel Cmd 1
Forward Acc Time Torque Demand
Forward Dec Time PVCL Demand
Reverse Acc Time Flux Demand
Reverse Dec Time Node Count
Net Input Pulse Node Index
Forward Min Lim Torque Acc Time
Reverse Min Lim Torque Dec Time
Torque Limit Torque Offset
MUX 1 ID Torque Scalar
MUX 2 ID Vars Command
Table 5-16: Modbus Plus Data From Drive Pick List Variables
5 Global
Receive 9909 0 0 64
Address where drive receives its
global data from.
Address
Designates the units for velocity
values from the drive.
Velocity Units 9080 % • %
• RPM
• Hz
Demand Scalar for input demand reference
9912 1 -125 125
Scalar from the network.
Aux Demand Auxiliary scalar for input demand
9913 1 -125 125
Scalar reference from the network.
Network Timeout for network to be determined
9934 0 0 65535
Timeout non-responsive.
5
programmable.
Register data from drive
Data From Drive parameters 3-32These
9803-9832 None
03-64 registers are
programmable.
5 •
•
Data Highway +
ControlNet
5
Table 5-25. Network 2 Register Data From Drive Menu (9500)
Parameter ID Units Default Min Max Description
Register data from drive
Data From Drive General parameter 1. This
9501
01 Status register is not
programmable
Register data from drive
Data From Drive parameter 2. This
9502 Motor Speed
02 register is not
programmable.
Register data from drive
Data From Drive parameters 3-64. These
9503-9564 None
03-64 registers are
programmable.
5
programmable.
Register data to drive
Data to Drive parameters 3-64. These
9703-9764 None
Reg 03-64 registers are
programmable.
D NET1 Tx N-Reg:
01 00257 Line 1 data
H NET2 Rx N-Reg:
02 0F1B Line 2 data
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
only 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 you start with the cursor at position A and use the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right arrow
[→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
5 ∇∇∇
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 Robicon 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 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 Profibus UCS module has a nine pin DB-9F connector. Pin 3 is the positive data pin (RxD/TxD-P) and pin 8 is the
negative connection. (RxD/TxD-N)
This chapter features a fast setup section that will help you to start controlling your ROBICON 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. You do not need to hold
down the [SHIFT] key while you press 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).
Status
Indicators
Profibus
Connector
UCS Status 1
Network Status 2
Board Edge
6 Figure 6-3
1 UCS Status Off No power or hard/soft reset asserted.
Recoverable configuration fault (invalid firmware, OEM data,
Red, flashing
or personality data).
Red Hardware error or fatal runtime error.
Green, flashing No errors, data exchange interface is not open
Green No errors, data exchange interface is active.
Amber (red/green) Configuration mode.
2 Network Status Network interface disabled due to closed interface or client
Off
I/O fault.
Profibus
Connector
Termination Rotary
Status
Switch Switches
Indicators
(must be
set to 0)
6.3.1 Connector
The network connector is a nine-pin DB-9F connector. See Figure 6-2 for the pin assignments.
6
The rotary switches must both be set to 0, as shown in Figure 6-5.
90 90
1
1
23 4
23 4
78
78
6
5 5
Fieldbus
4 3 Off-line Status
Diagnostics
Board Edge
6 ON
Figure 6-7. AnyBus Profibus Termination Switch Shown in the Off Position
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 0x04 or 0x00 to
register Data To Drive Reg 01.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
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. Two steps are required to do this:
1. Find the bits you want to use by referring to Table 6-4 below, and locate the keypad pick list variable
associated with the bits. By referring to Table 6-14, you 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).
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or Tool
suite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file can be
used in the SOP program as shown below:
6
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
Refer to Section 6.6 for details on how to read other drive data.
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). The Robicon GSD file is
documented in Appendix C.
Note: If you are unfamiliar with drive system programming, refer to the System Programming chapter in
* your drive’s manual.
Please note that your PLC can receive data from the drive without any changes to the SOP program. Only if you need
to control the drive through the Profibus network, will you need to set any flags in the SOP program.
If you need to control the drive through a Profibus Plus network (or any other type of network), then you will need, at
an absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE; .
6
In order 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 you would like to
control the drive through a second network, then your 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, you will need to
change some of the drive’s control parameters using the keypad on the front of the drive.
Use Table 6-14 to determine the necessary parameter ID. Enter parameter 9403 (Data From Drive 03) using the
keypad on the front of the drive. Choose “output power” from the pick list. Enter parameter 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 6-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 be sent to the PLC using the Data
From Drive 04 register.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
Table 6-9. Relationship of ‘Fixed Reg Bits’ to Keypad Menus and drctry.ngn Bits (programmable bits available
for use in the SOP)
Pick list variable in ‘Data to Drive Related Drctry.ngn bits Profibus Network Data
Reg nn’ menus
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:
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
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
6
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
a. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive
b. Profibus Network Data—Profibus uses a predefined 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 be 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
your network data format (9953, 9954).
c. Data from drive—data that the PLC will receive from the drive in order to determine how the
drive is functioning. Each register contains a 16-bit digital representation of the status of a particu-
lar aspect of the drive’s functioning. Some registers are fixed to track certain drive functions; oth-
ers are programmable to track any of a number of drive status choices.
d. 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 PLC’s command for a particular aspect of the drive’s function-
ing. Some registers are fixed to control certain functions; others are programmable to control any
of a number of drive function choices.
Name Name
None MUX 3 ID
Fixed Reg Bits MUX 4 ID
Velocity Demand MUX 5 ID
Auxiliary Demand MUX 6 ID
Net Input Flag 1 MUX 7 ID
Net Input Flag 2 MUX 8 ID
Net Input Flag 3 PTD1
Net Input Flag 4
Ratio
PTD2
PTD3
6
Forward Max Lim PTD4
Reverse Max Lim Parallel Cmd 1
Forward Acc Time Torque Demand
Forward Dec Time PVCL Demand
Reverse Acc Time Flux Demand
Reverse Dec Time Node Count
Net Input Pulse Node Index
Forward Min Lim Torque Acc Time
Reverse Min Lim Torque Dec Time
Torque Limit Torque Offset
MUX 1 ID Torque Scalar
MUX 2 ID Vars Command
Table 6-16: Modbus Plus Data From Drive Pick List Variables
6
Type network connected to the drive.
• None
• Modbus
• DeviceNet
• Profibus
• Modbus Plus
• Ethernet Modbus
• Data Highway +
• ControlNet
6
Table 6-23. Network 2 Register Data From Drive Menu (9500)
Parameter ID Units Default Min Max Description
Register data from
Data From General drive parameter 1.
9501
Drive 01 Status This register is not
programmable
Register data from
Data From drive parameter 2.
9502 Motor Speed
Drive 02 This register is not
programmable.
Register data from
Data From drive parameters 3-64.
9503-9564 None
Drive 03 -64 These registers are
programmable.
6
D NET1 Tx N-Reg:
01 00257 Line 1 data
H NET2 Rx N-Reg:
02 0F1B Line 2 data
5. This two-digit numeric field indicates the number of the register being shown.
‘Tx’ 01-64 are Data from Drive 01 (9401) through “Data from Drive 64”
(parameter ID 9464).
‘Rx’ 01-64 are Data to Drive 01 (9601) through Data to Drive 64 (9664).
6. The value of the register. Since the registers all contain 16-bit digital words, they range in value from 0-
65535 (decimal), or 0-FFFF (hexadecimal).
7. Line 1 contains the following information:
The register value is shown in decimal format; the register is in network 1; the register is non-global; the
data is going to the drive; “to drive” register number 1 is showing; its value is 257.
8. Line 2 contains the following information:
The register value is shown in hexadecimal format; the register is in network 2; the register is non-global; to
data is coming from the drive; “from drive” register number 2 is showing; its value is 0xF1B (decimal
equivalent = 3,867).
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
only 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 you start with the cursor at position A and use the left arrow [←] key repeatedly,
the cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right arrow [→] key
repeatedly, the cursor will move to A, B, C, D, A, etc.
6 D D
H H
∇∇∇
CHAPTER
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 0x04 or 0x00 to
register ‘Data To Drive Reg 01’.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
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. Two steps
are required to do this:
1. Find the bits you want to use by referring to Table 7-2 below, and locate the keypad pick list variable
associated with the bits. By referring to Table 7-13, you 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).
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or Tool
suite. 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
You chose ‘Data to Drive Reg 03’ as your write register; by referring to Table 7-13, you 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 7-2: Sample Programmable Bits*
See Section 7.6 for details on how to read other drive data.
*
Note: If you are unfamiliar with drive system programming, you will need to refer to the System
Programming chapter, which can be found in your drive’s manual. 7
Note: Please note that your PLC can receive data from the drive without any changes to the SOP program.
* Only if you need to control the drive through the Data Highway Plus network, will you need to set any
flags in the SOP program.
If you need to control the drive through a Data Highway Plus network (or any other type of network), then you will
need, at an absolute minimum, the following network control flag to appear in the source code of the SOP program:
Network1RunEnable_O = TRUE;.
In order 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 you would like to
control the drive through a second network, then your 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, you will need to
change some of the drive’s control parameters using the keypad on the front of the drive.
Use Table 7-13 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. 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 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 A 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 be sent to the PLC using the ‘Data
From Drive 04’ register.
7
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
7 To change the interpretation of the control bits (‘Data To Drive Reg 01’), use the following procedure:
By setting menu parameter 9944 (Net Control Type) to ‘SOP’, each bit from the ‘Fixed Reg Bits’ word can be used in
any desired manner, such as shown below. In order to make the definition of the ‘Fixed Reg Bits’ in the ‘Data To
Drive Reg 01’ programmable, use the drive’s keypad to set parameter (9944) (Net Control Type) to ‘SOP’. The
source code below shows how to use the SOP program to trip the input medium voltage when ‘1’ is sent to
Network1FixedRegBit9 in Data Highway Plus ‘Data To Drive Reg 01’.
;ExternalDigitalOutput01h_O Use digital output to trip input medium Voltage
ExternalDigitalOutput01h_O = Network1FixedRegBit9_I;
Pick list variable in ‘Data to Related Drctry.ngn bits Data Highway Plus Network Data
Drive Reg nn’ menus
Network1FixedRegBit0_I ~
Fixed Reg Bits (network 1) Word 1 from network
Network1FixedRegBit15_I
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.
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
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
7 Net Input Flag 1
Network2Flag0_I ~
Network2Flag15_I
Network2Flag16_I ~
Net Input Flag 2
Network2Flag31_I
Network2Flag32_I ~
Net Input Flag 3
Network2Flag47_I
Network2Flag48_I ~
Net Input Flag 4
Network2Flag63_I
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Network1Flag0_O ~
Net1 Out Reg 1
Network1Flag15_O
Network1Flag16_O ~
Net1 Out Reg 2
Network1Flag31_O
Network1Flag32_O ~
Net1 Out Reg 3
Network1Flag47_O
Network1Flag48_O ~
Net1 Out Reg 4
Network1Flag63_O
Pick list variable in ‘Data to Drive Reg nn’ menus Related Drctry.ngn bits
Network2Flag0_O ~
Net2 Out Reg 1
Network2Flag15_O
Network2Flag16_O ~
Net2 Out Reg 2
Network2Flag31_O
Network2Flag32_O ~
Net2 Out Reg 3
Network2Flag47_O
Network2Flag48_O ~
Net2 Out Reg 4
Network2Flag63_O
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*
a. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive
b. Data from Drive—data that the PLC will receive from the drive in order 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.
c. 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.
d. 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 Robicon 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.
Name Name
None MUX 3 ID
Fixed Reg Bits MUX 4 ID
Velocity Demand MUX 5 ID
Auxiliary Demand MUX 6 ID
Net Input Flag 1 MUX 7 ID
Net Input Flag 2 MUX 8 ID
Net Input Flag 3 PTD1
Net Input Flag 4 PTD2
Ratio PTD3
Forward Max Lim PTD4
Reverse Max Lim Parallel Cmd 1
Forward Acc Time Torque Demand
Forward Dec Time PVCL Demand
Reverse Acc Time Flux Demand
Reverse Dec Time Node Count
Net Input Pulse Node Index
Forward Min Lim Torque Acc Time
Reverse Min Lim Torque Dec Time
Torque Limit Torque Offset
MUX 1 ID Torque Scalar
MUX 2 ID Vars Command
7 Output Power
Motor Speed
Net2 Out Reg 4
Torque Current
Mux3 Data
Mux4 Echo
Wago Outputs 17-32
Wago Outputs 33-48
Speed Demand Magnetizing Cur Mux4 Data Wago Outputs 49-64
Speed Reference Motor Flux Mux5 Data PFD1
Heartbeat Motor Torque Mux6 Echo PFD2
Drive State Flux Reference Mux6 Data PFD3
Inp RMS Current Input Voltage Mux7 Echo PFD4
Input Frequency Inp Power Factor Mux7 Data Drive Losses
Input Power Avg Input KVars Mux8 Echo Speed Droop Percent
Net1 Out Reg 1 Max Available Output Volts Mux8 Data Sync Motor Field Ref
Net1 Out Reg 2 Hottest Cell Temp Wago Inputs 1-16 Avail reactive Current
Wago Inputs 17-32 Drive Efficiency
D NET1 Tx N-Reg:
01 00257 Line 1 data
H NET2 Rx N-Reg:
02 0F1B Line 2 data
7
Global or non-global register
Network for this register (2) Register value
(4)
5. This two-digit numeric field indicates the number of the register being shown.
‘Tx’ 01-64 are “Data from Drive 01” (parameter ID 9401) through “Data from Drive 64”
(parameter ID 9464).
‘Rx’ 01-64 are “Data to Drive 01” (parameter ID 9601) through “Data to Drive 64” (parameter ID 9664).
6. The value of the register. Since the registers all contain 16-bit digital words, they range in value from 0-
65535 (decimal), or 0-FFFF (hexadecimal).
7. Line 1 contains the following information:
The register value is shown in decimal format; the register is in network 1; the register is non-global; the
data is going to the drive; “to drive” register number 1 is showing; its value is 257.
8. Line 2 contains the following information:
The register value is shown in hexadecimal format; the register is in network 2; the register is non-global; to
data is coming from the drive; “from drive” register number 2 is showing; its value is 0xF1B (decimal
equivalent = 3,867).
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
only 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 you start with the cursor at position A and use the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right arrow
[→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
7
∇∇∇
CHAPTER
8 ControlNet Communications
8.1 Overview
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). Refer to HMS Fieldbus Appendix Anybus-S ControlNet.
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 you to start controlling your Robicon 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. You do not need to hold
down the [SHIFT] key while you press 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.
Figure 8-1 shows the connectors, switches, and indicators on the AnyBus board that are relevant to Robicon operation
Anybus-S ControlNet Communications Board.
Figure 8-1 AnyBus-S ControlNet
1 8
2 7
3 4 5 6
8
FIGURE 8-1 NUMBER KEY DESCRIPTION
1 Connector
2 Network Access Port (NAP)
3 ControlNet Channel A
4 ControlNet Channel B
5 MacID switch (x10)
6 MacID switch (x1)
7 ControlNet status indicators
8 AnyBus-S Watchdog
8.2 Connectors
8.2.1 ControlNet Channels A & B
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.
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 0x04 or 0x00 to
register Data To Drive Reg 01.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
8.3.3 Controlling the Motor with User Defined Bits in the SOP
1. Use the keypad on the front of the drive to set Network 1 Type (9901) to ControlNet.
2. Set the ControlNet network address (9903).
3. Set the Net Control Type parameter (9944) to SOP.
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 you want to use by referring to Table 8-3 below, and locate the keypad pick list variable
associated with the bits. By referring to Table 8-14, you 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).
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or Tool
suite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file can be
used in the SOP program as shown below:
See Section 8.7 for details on how to read other drive data.
*
Note: The ControlNet master must be configured for 136 bytes of input and 136 bytes of output to
communicate to the Siemens NXG drive.
The manufacturer of the ControlNet device normally supplies EDS files. The Anybus EDS file is documented in
Appendix E.
8 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.
Note: If you are unfamiliar with drive system programming, refer to the Chapter 8: System Programming
* chapter in your drive’s manual. If you are using a water-cooled drive, your manual will be the Water
Cooled Perfect Harmony User’s Manual (Siemens part #902295) If you are using an air-cooled
drive, refer to the Startup and advanced Topics Manual (Siemens part #902232).
Please note that your PLC can receive data from the drive without any changes to the SOP program. Only if you need
to control the drive through the ControlNet network, will you need to set any flags in the SOP program.
If you need to control the drive through a ControlNet Plus network (or any other type of network), then you 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 you would like to control the
drive through a second network, then your 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, you will need to
change some of the drive’s control parameters using the keypad on the front of the drive.
Use Table 8-13 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. 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-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 A-3, 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 8
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.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
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-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
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
2 9234
(Global) Data To Drive Reg
01
Fixed Reg Bits
(not changeable)
network
N/A
8
(Global) Data To Drive Reg Velocity Demand
2 9235 N/A
02 (not changeable)
(Global) Data To Drive Reg
2 9236 – 9265 None N/A
03 - 64
a. Parameter ID Number—the number to enter using the keypad on the front of the drive
b. Data from drive—data that the PLC will receive from the drive in order 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.
c. 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 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.
d. 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 used. 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.
Name Name
None MUX 3 ID
Fixed Reg Bits MUX 4 ID
Velocity Demand MUX 5 ID
Auxiliary Demand MUX 6 ID
Net Input Flag 1 MUX 7 ID
Net Input Flag 2 MUX 8 ID
Net Input Flag 3 PTD1
Net Input Flag 4 PTD2
Ratio PTD3
Forward Max Lim PTD4
Reverse Max Lim Parallel Cmd 1
Forward Acc Time Torque Demand
Forward Dec Time PVCL Demand
Reverse Acc Time Flux Demand
Reverse Dec Time Node Count
Net Input Pulse Node Index
Forward Min Lim Torque Acc Time
Reverse Min Lim Torque Dec Time
Torque Limit Torque Offset
MUX 1 ID Torque Scalar
MUX 2 ID Vars Command
8 Data From
Drive 03 -64
9403-9464 None
drive parameters 3-64.
These registers are
programmable.
7.
65535 (decimal), or 0-FFFF (hexadecimal).
Line 1 contains the following information:
8
The register value is shown in decimal format; the register is in network 1; the register is non-global; the
data is going to the drive; “to drive” register number 1 is showing; its value is 257.
8. Line 2 contains the following information:
The register value is shown in hexadecimal format; the register is in network 2; the register is non-global; to
data is coming from the drive; “from drive” register number 2 is showing; its value is 0xF1B (decimal
equivalent = 3,867).
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
only 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 you start with the cursor at position A and use the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right arrow
[→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
∇∇∇
CHAPTER
Figure 9-1 shows the connectors, switches, and indicators on the AnyBus board that are relevant to Siemens
operation.
2 DeviceNet Connector
4 Status Indicators
5 AnyBus’ Watchdog
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
connectore. 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.
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.
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 0x04 or 0x00 to
register Data To Drive Reg 01.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
9
9.2.3 Controlling the Motor with User Defined Bits in the SOP
1. Use the keypad on the front of the drive to set Network 1 Type (9901) to DeviceNet (Profile 12).
2. Set the DeviceNet (Profile 12) network address (9908).
3. Set the Net Control Type parameter (9944) to SOP.
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 you want to use by referring to Table 9-5 below, and locate the keypad pick list variable
associated with the bits. By referring to Table 9-15, you 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).
2. Select the pick list variable (Net Input Flag 1, Net Input Flag 2, …) from the pick list in the keypad or Tool
suite. Now the corresponding bits (Network1Flag0_I, Network1Flag1_I, etc.) from the drctry.ngn file can
be used in the SOP program as shown below:
See Section 9.6 for details on how to read other drive data.
The manufacturer of the DeviceNet (Profile 12) device normally supplies EDS files. The Anybus EDS file is
documented in Appendix F.
Please note that your PLC can receive data from the drive without any changes to the SOP program. Only if you need
to control the drive through the DeviceNet (Profile 12) network, will you need to set any flags in the SOP program.
If you need to control the drive through a DeviceNet (Profile 12) Plus network (or any other type of network), then
you 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 you would like to control
the drive through a second network, then your 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, you will need to
change some of the drive’s control parameters using the keypad on the front of the drive.
9.6.2 Example
A customer needs to process four drive outputs on his/her PLC. These are status, motor speed, power, and number of
active faults. In order to program a register, refer to Table 9-15 to see if it is programmable. Data From Drive 01 is
not changeable; a change is neither necessary nor possible. It is already permanently set to indicate general status.
Data From Drive 02 is used to indicate motor speed. This register is also not changeable. It is permanently set to
indicate motor speed. Table 9-7 shows the data setup for the hypothetical example.
Table 9-7. Hypothetical Desired Data
PLC DeviceNet (Profile 12) Data Data Scaling
Data From Drive 01 General Status 16 bits
Data From Drive 02 Motor Speed RPM
Data From Drive 03 Output Power kW
Data From Drive 04 Number of faults 0 – 128
Use Table 9-15 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. 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 A, 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 be sent to the PLC using the
‘Data From Drive 04’ register.
*Network1FixedRegBit3_I functions as a drive stop control bit only if “Start Stop Control” (9945) is set to “Momentary” —
otherwise this bit is Reserved
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
Network1Flag0_I ~
Net Input Flag 1
Network1Flag15_I
Network1Flag16_I ~
Net Input Flag 2
Network1Flag31_I
Network1Flag32_I ~
Net Input Flag 3
Network1Flag47_I
Network1Flag48_I ~
Net Input Flag 4
Network1Flag63_I
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*
Network Drive Parameter ID Description Default Contents DeviceNet (Profile
Numbers 12) Network Data
General Status Bytes 01 & 02 to
1 9401 Data From Drive 01
(not changeable) network
Motor Speed Bytes 03 & 04 to
1 9402 Data From Drive 02
(not changeable) network
Bytes 05 – 128 to
1 9403 - 9464 Data From Drive 03-64 None
network
(Global) Data From Drive General Status
1 9801 N/A
01 (not changeable)
(Global) Data From Drive Motor Speed
1 9802 N/A
02 (not changeable)
(Global) Data From Drive
1 9803 - 9832 None N/A
03-32
Fixed Reg Bits Bytes 01 & 02 from
1 9601 Data To Drive Reg 01
(not changeable) network
Velocity Demand Bytes 03 & 04 from
1 9602 Data To Drive Reg 02
(not changeable) network
Bytes 05 – 128 from
1 9603 – 9664 Data To Drive Reg 03-64 None
network
(Global) Data To Drive Reg Fixed Reg Bits
1 9201 N/A
01 (not changeable)
(Global) Data To Drive Reg Velocity Demand
1 9202 N/A
02 (not changeable)
(Global) Data To Drive 03 –
1 9203 – 9232 None N/A
64
General Status Bytes 01 & 02 to
2 9501 Data From Drive 01
(not changeable) network
Motor Speed Bytes 03 & 04 to
2 9502 Data From Drive 02
(not changeable) network
Bytes 05 – 128 to
2 9503 – 9564 Data From Drive 03- 64 None
network
(Global) Data From Drive General Status
2 9834 N/A
01 (not changeable)
(Global) Data From Drive Motor Speed
2 9835 N/A
02 (not changeable)
(Global) Data From Drive
2 9836 – 9865 None N/A
03 –32
Fixed Reg Bits Bytes 01 & 02 from
2 9701 Data To Drive Reg 01
(not changeable) network
Velocity Demand Bytes 03 & 04 from
2 9702 Data To Drive Reg 02
(not changeable) network
Bytes 05 – 128 from
2 9703 – 9764 Data To Drive Reg 03-64 None
network
(Global) Data To Drive Reg Fixed Reg Bits
2 9234 N/A
01 (not changeable)
(Global) Data To Drive Reg Velocity Demand
2 9235 N/A
02 (not changeable)
(Global) Data To Drive Reg
2 9236 – 9265 None N/A
03 - 64
9
a. Drive Parameter ID Number—the number to enter using the keypad on the front of the drive.
b. Data From Drive—data that the PLC will receive from the drive in order 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.
c. 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 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.
d. 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 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.
Name Name
None MUX 3 ID
Fixed Reg Bits MUX 4 ID
Velocity Demand MUX 5 ID
Auxiliary Demand MUX 6 ID
Net Input Flag 1 MUX 7 ID
Net Input Flag 2 MUX 8 ID
Net Input Flag 3 PTD1
Net Input Flag 4 PTD2
Ratio PTD3
Forward Max Lim PTD4
Reverse Max Lim Parallel Cmd 1
Forward Acc Time Torque Demand
Forward Dec Time PVCL Demand
Reverse Acc Time Flux Demand
Reverse Dec Time Node Count
Net Input Pulse Node Index
Forward Min Lim Torque Acc Time
Reverse Min Lim Torque Dec Time
Torque Limit Torque Offset
MUX 1 ID Torque Scalar
MUX 2 ID Vars Command
9 programmable.
D NET1 Tx N-Reg:
01 00257 Line 1 data
H NET2 Rx N-Reg:
02 0F1B Line 2 data
9
data is coming from the drive; “from drive” register number 2 is showing; its value is 0xF1B (decimal
equivalent = 3,867).
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
only 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-4 represents a typical display. If you start with the cursor at position A and use the left arrow [←] key
repeatedly, the cursor will move to A, D, C, B, A, etc. If you start with the cursor at position A and use the right
arrow [→] key repeatedly, the cursor will move to A, B, C, D, A, etc.
D D
H H
∇∇∇
A
APPENDIX
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
A PTD2
PTD3
Menu ID
Write Value
Menu ID for Command
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
Limit Error in PFD1.
2 Hours (0-23)
3 Days
4 Month (1-12)
Year (1999-
5
2099)
A 9140*
9147*
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).
Table A-3.
9 Invalid Manual ID
12 Invalid Function ID
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.
∇∇∇
Appendix
B
Table B-6. Network 1 Output Flags
0 = False (off),
B
2652
8 – 15 ExternalDigitalInput06a_I – ExternalDigitalInput06h_I 1 = True (on).
0–7 ExternalDigitalInput07a_I – ExternalDigitalInput07h_I 0 = False (off),
2653
8 – 15 ExternalDigitalInput08a_I – ExternalDigitalInput08h_I 1 = True (on).
0–7 ExternalDigitalInput09a_I – ExternalDigitalInput09h_I 0 = False (off),
2654
8 – 15 ExternalDigitalInput10a_I – ExternalDigitalInput10h_I 1 = True (on).
0–7 ExternalDigitalInput11a_I – ExternalDigitalInput11h_I 0 = False (off),
2655
8 – 15 ExternalDigitalInput12a_I – ExternalDigitalInput12h_I 1 = True (on).
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
* information purposes only. For more information on these parameters, see the Troubleshooting and
Maintenance chapter of the appropriate user’s manual.
Differences between faults and alarms:
• Faults: Once a fault occurs, the drive is immediately tripped (stopped). It is not possible to run the drive
again until the fault is cleared.
• Alarms: An alarm is only an indication of some potential trouble condition. The alarm will not trip or stop
the drive. An alarm cannot be reset by any action. The only way an alarm is reset is when the condition that
caused the alarm ceases to exist. An alarm can be acknowledged by attempting to reset either by the
windows tool (reset button), keypad (reset key), or through a communication bit. Once an alarm condition
does not exist, and it has not been acknowledged, it is in an “unacknowledged” state and the
unacknowledged bits will remain high until they are acknowledged.
• Active Faults: This bit is high when the fault is active or in an active state.
Note: Bits that are NOT listed in the following tables are undefined.
*
Note: The values for the Faults/Alarms listed in Tables B-13 through B-23 are: 0 = False (off); 1 = True (on).
* B
Table B-11. Number of Faults/Alarms
*
Note: In the Alarm/Fault/Programmable column of Tables B-13 through B-23, Alarm = A, Fault = F, and
Programmable = P. In the Enable column: Fixed = F (always enabled an dnot changeable by the user),
Programmable to Enable = PE (default state is enabled), and Programmable to Disable = PD (default state is
disabled).
B
1 Over speed fault F PE
3 Under load fault F F
6 Mtr Therm Over Ld Fault F F
3030 8 Output phase open F F
10 IOC F F
12 Cell F F
14 In torq limit rollback P PE
Unacknowledged Warning Flags1 (3150)/
Active Warning Flags1 (3270)
(Note: All bits are associated with both Data IDs)
0 Over speed alarm A PE
2 Under load alarm A PE
4 Mtr Therm Over Load 1 A PE
5 Mtr Therm Over Load 2 A PE
3150/
7 Output phase imbal A F
3270
9 Output Ground fault A F
13 In torque limit A PE
14 In torq limit rollback P PE
15 Input phase loss A PD
B
1 Medium voltage low flt F F
5 Line over voltage fault F F
6 Input phase imbal P F
7 Input one cycle P F
3050 9 Encoder loss F F
10 Keypad communication P F
11 Network 1 communication P F
12 Network 2 communication P F
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 PE
4 Line over voltage 2 A PE
6 Input phase imbalance P F
7 Input one cycle P F
3170/
8 Input ground A PE
3290
9 Encoder loss A F
10 Keypad communication P PE
11 Network 1 communication P PE
12 Network 2 communication P PE
13 Motor over volt alarm A PE
15 Cell bypass comm alarm A F
B
1 All blowers not avail P PE
2 Clogged filters P PE
5 Reactor OT Fault P PE
8 Xformer OT Fault F PE
10 Both pumps not available P PE
3070 12 Coolant Conduct > 5 uS P PE
Inlet water temperature high Coolant Inlet Temp
13 P PE
> 60c alarm
Coolant Inlet Temp < 22cInlet water temperature
14 P PE
low
15 Cell water temperature high P PE
Unacknowledged Warning Flags5 (3190)/
Active Warning Flags5 (3310)
0 One blower not avail P PE
1 All blowers not avail P PE
2 Clogged filters P PE
3 Reactor temperature 1OT Alarm alarm A PE
4 Reactor temperature 2OT Trip Alarm alarm A PE
5 Reactor OT Fault P F
Transformer Xformer OT AlarmTemperature 1
6 A PE
alarm
Xformer OT Trip AlarmTransformer
7 A PE
3190/ temperature 2 alarm
3310 9 One pump not availablefailed A PE
10 Both pumps not available P PE
Coolant conductivity high AlarmCoolant
11 A PE
Conduct > 3 uS
12 Coolant Conduct > 5 uS P PE
Inlet water temperature highCoolant Inlet Temp
13 P PE
> 60c alarm
Coolant Inlet Temp < 22cInlet water temperature
14 P PE
low
15 Cell water temperature high P PE
Fault/
Programmable
Fault Flags6
0 Xfrm Cool OT Trip Alarm P PE B
2 Coolant Tank Level < 20” F PE
4 Low Coolant Flow < 20% P PE
3080 6 Loss all HEX fans P PE
8 Loss of drive enable F PE
12 A/D Hardware fault F F
14 Config File Read Error F F
Unacknowledged Warning Flags6 (3200)/
Active Warning Flags6 (3320)
0 Xfrm Cool OT Trip Alarm P PE
1 Coolant Tank Level < 30” A PE
3 Low Coolant Flow < 60% A PE
4 Low Coolant Flow < 20% P PE
5 Loss one HEX fan A PE
3200/
6 Loss all HEX fans P PE
3320
7 All HEX fans on A PE
9 Up transfer failed A F
10 Down transfer failed A F
11 A/D Hardware alarm A F
13 Config File Write Alarm A F
B
3100 0 ~ 15 Loss of signal 9 through 24 P PE
Unacknowledged Warning Flags8 (3220)/
Active Warning Flags8 (3340)
3220/
0 ~ 15 Loss of signal 9 through 24 P PE
3340
Table B-21.FW3_2
3130 0 ~ 15
User Fault 33 ~ 48
(bit number + 33)
P PD B
Unacknowledged Warning Flags11 (3250)/
Active Warning Flags11 (3370)
3250/ User Fault 33 ~ 48
0 ~ 15 P PD
3370 (bit number + 33)
B
3142 0-15 Reserved for future use - -
Unacknowledged Warning Flags13 (3262)/
Active Warning Flags13 (3382)
3262/
0-15 Reserved for future use - -
3382
B
Table B-52. Cell Status Phase A (4030), Phase B (4040), Phase C (4050)
Table B-53Table A-41. Bypass Status Phase A (4060), Phase B (4070), Phase C (4080)
Note for Modbus: If you are 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.
3633 State
3634 Status
∇∇∇
APPENDIX
[File]
C
DescText = "NXG Harmony Motor Drive";
CreateDate = 06-04-01;
CreateTime = 13:44:37;
ModDate = 10-02-02;
ModTime = 13:45:07;
Revision = 1.1;
[Device]
VendCode = 91;
VendName = "Robicon";
ProdType = 2;
ProdTypeStr = "AC Drive";
ProdCode = 4;
MajRev = 1;
MinRev = 1;
ProdName = "NXG DeviceNet";
Catalog = "";
[IO_Info]
Default = 0x0001;
PollInfo = 0x0001, 1, 1;
COSInfo = 0x0004, 1, 1;
CyclicInfo = 0x0008, 1, 1;
Input1=
4, 0, 0x000D,
Output1=
4, 0, 0x000D,
"Extended Speed Control Output",
6, "20 04 24 21 30 03",
"";
C
[ParamClass]
MaxInst = 96;
Descriptor = 0x000B;
CfgAssembly = 0;
[Params]
Param1=
0,
6, "20 28 24 01 30 03",
0x0010, 8, 1,
"Motor Type ",
"",
"Enter the Motor Type",
0, 10, 7,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param2=
0,
6, "20 28 24 01 30 06",
0x0024, 2, 2,
"Motor Rated Curr",
"A",
"Enter the Motor Rated Nameplate Current",
Param3=
0,
6, "20 28 24 01 30 07",
0x0020, 2, 2,
"Motor Rated Volts",
"V",
C
"The Motor Nameplate Rated Voltage",
380, 13800, 4160,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param4=
0,
6, "20 28 24 01 30 09",
0x0020, 2, 2,
"Motor Rated Freq",
"Hz",
"Enter the Motor Nameplate Frequency in Hertz",
15, 330, 60,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param5=
0,
6, "20 28 24 01 30 0C",
0x0020, 2, 2,
"Motor Poles",
"",
"Enter the Motor Nameplate Number of Poles",
2, 32, 4,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param6=
0,
6, "20 28 24 01 30 0F",
0x0030, 2, 2,
"Motor Base Speed",
C "RPM",
"Enter the Motor Nameplate Base Speed in RPM",
1, 19800, 1800,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param7=
0,
6, "20 29 24 01 30 03",
0x0032, 4, 1,
"Run Control Fwd",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param8=
0,
6, "20 29 24 01 30 04",
0x0032, 4, 1,
"Run Control Rev",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param9=
0,
6, "20 29 24 01 30 05",
0x0032, 4, 1,
"Network Control",
"",
"",
0, 1, 0,
1, 1, 1, 0,
C
0, 0, 0, 0,
0;
Param10=
0,
6, "20 29 24 01 30 06",
0x0032, 8, 1,
"Drive State",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param11=
0,
6, "20 29 24 01 30 07",
0x0032, 4, 1,
"Run Fwd Status",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param12=
0,
6, "20 29 24 01 30 08",
0x0032, 4, 1,
"Run Rev Status",
"",
"",
0, 1, 0,
1, 1, 1, 0,
C 0, 0, 0, 0,
0;
Param13=
0,
6, "20 29 24 01 30 09",
0x0032, 4, 1,
"Ready Status",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param14=
0,
6, "20 29 24 01 30 0A",
0x0032, 4, 1,
"Fault Status",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param15=
0,
6, "20 29 24 01 30 0C",
0x0032, 4, 1,
"Fault Reset",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param16=
C
0,
6, "20 29 24 01 30 0F",
0x0032, 4, 1,
"Control From Net",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param17=
0,
6, "20 2A 24 01 30 03",
0x0032, 4, 1,
"Drive At Ref",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param18=
0,
6, "20 2A 24 01 30 04",
0x0032, 4, 1,
"Network Ref",
"",
"",
0, 1, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param19=
C 0,
6, "20 2A 24 01 30 06",
0x0032, 8, 1,
"Drive Ctrl Mode",
"",
"",
0, 5, 1,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param20=
0,
6, "20 2A 24 01 30 07",
0x0030, 3, 2,
"Speed Actual",
"RPM",
"",
-32767, 32767, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param21=
0,
6, "20 2A 24 01 30 08",
0x0030, 3, 2,
"Speed Reference",
"RPM",
"",
-32767, 32767, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param22=
0,
6, "20 2A 24 01 30 09",
0x0030, 3, 2,
"Current Actual",
C
"",
"",
-32767, 32767, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param23=
0,
6, "20 2A 24 01 30 0F",
0x0030, 3, 2,
"Power Actual",
"",
"",
-32767, 32767, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param24=
0,
6, "20 2A 24 01 30 11",
0x0030, 3, 2,
"Output Voltage",
"V",
"",
-32767, 32767, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param25=
0,
6, "20 2A 24 01 30 12",
0x0024, 2, 2,
C "Accel Time",
"",
"",
0, 50000, 78,
64, 1000, 1, 0,
0, 0, 0, 0,
0;
Param26=
0,
6, "20 2A 24 01 30 13",
0x0024, 2, 2,
"Decel Time",
"",
"",
0, 50000, 78,
64, 1000, 1, 0,
0, 0, 0, 0,
0;
Param27=
0,
6, "20 2A 24 01 30 16",
0x0010, 5, 1,
"Speed Scale",
"",
"",
-127, 127, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param28=
0,
6, "20 2A 24 01 30 17",
0x0010, 5, 1,
"Current Scale",
"",
"",
-127, 127, 0,
C
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param29=
0,
6, "20 2A 24 01 30 1A",
0x0030, 5, 1,
"Power Scale",
"",
"",
-127, 127, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param30=
0,
6, "20 2A 24 01 30 1B",
0x0010, 5, 1,
"Voltage Scale",
"",
"",
-127, 127, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param31=
0,
6, "20 2A 24 01 30 1C",
0x0010, 5, 1,
"Time Scale",
"",
"",
-127, 127, 0,
C 1, 1, 1, 0,
0, 0, 0, 0,
0;
Param32=
0,
6, "20 2A 24 01 30 1D",
0x0032, 5, 1,
"Ref From Net",
"",
"",
-127, 127, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param33=
0,
6, "20 2A 24 01 30 65",
0x0030, 2, 2,
"Reg From Drive 03",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param34=
0,
6, "20 2A 24 01 30 66",
0x0030, 2, 2,
"Reg From Drive 04",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C
Param35=
0,
6, "20 2A 24 01 30 67",
0x0030, 2, 2,
"Reg From Drive 05",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param36=
0,
6, "20 2A 24 01 30 68",
0x0030, 2, 2,
"Reg From Drive 06",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param37=
0,
6, "20 2A 24 01 30 69",
0x0030, 2, 2,
"Reg From Drive 07",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C Param38=
0,
6, "20 2A 24 01 30 6A",
0x0030, 2, 2,
"Reg From Drive 08",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param39=
0,
6, "20 2A 24 01 30 6B",
0x0030, 2, 2,
"Reg From Drive 09",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param40=
0,
6, "20 2A 24 01 30 6C",
0x0030, 2, 2,
"Reg From Drive 10",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param41=
0,
6, "20 2A 24 01 30 6D",
0x0030, 2, 2,
C
"Reg From Drive 11",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param42=
0,
6, "20 2A 24 01 30 6E",
0x0030, 2, 2,
"Reg From Drive 12",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param43=
0,
6, "20 2A 24 01 30 6F",
0x0030, 2, 2,
"Reg From Drive 13",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param44=
0,
6, "20 2A 24 01 30 70",
0x0030, 2, 2,
Param45=
0,
6, "20 2A 24 01 30 71",
0x0030, 2, 2,
"Reg From Drive 15",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param46=
0,
6, "20 2A 24 01 30 72",
0x0030, 2, 2,
"Reg From Drive 16",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param47=
0,
6, "20 2A 24 01 30 73",
0x0030, 2, 2,
"Reg From Drive 17",
"",
"",
0, 65535, 0,
C
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param48=
0,
6, "20 2A 24 01 30 74",
0x0030, 2, 2,
"Reg From Drive 18",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param49=
0,
6, "20 2A 24 01 30 75",
0x0030, 2, 2,
"Reg From Drive 19",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param50=
0,
6, "20 2A 24 01 30 76",
0x0030, 2, 2,
"Reg From Drive 20",
"",
"",
0, 65535, 0,
C 1, 1, 1, 0,
0, 0, 0, 0,
0;
Param51=
0,
6, "20 2A 24 01 30 77",
0x0030, 2, 2,
"Reg From Drive 21",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param52=
0,
6, "20 2A 24 01 30 78",
0x0030, 2, 2,
"Reg From Drive 22",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param53=
0,
6, "20 2A 24 01 30 79",
0x0030, 2, 2,
"Reg From Drive 23",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C
Param54=
0,
6, "20 2A 24 01 30 7A",
0x0030, 2, 2,
"Reg From Drive 24",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param55=
0,
6, "20 2A 24 01 30 7B",
0x0030, 2, 2,
"Reg From Drive 25",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param56=
0,
6, "20 2A 24 01 30 7C",
0x0030, 2, 2,
"Reg From Drive 26",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C Param57=
0,
6, "20 2A 24 01 30 7D",
0x0030, 2, 2,
"Reg From Drive 27",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param58=
0,
6, "20 2A 24 01 30 7E",
0x0030, 2, 2,
"Reg From Drive 28",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param59=
0,
6, "20 2A 24 01 30 7F",
0x0030, 2, 2,
"Reg From Drive 29",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param60=
0,
6, "20 2A 24 01 30 80",
0x0030, 2, 2,
C
"Reg From Drive 30",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param61=
0,
6, "20 2A 24 01 30 81",
0x0030, 2, 2,
"Reg From Drive 31",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param62=
0,
6, "20 2A 24 01 30 82",
0x0030, 2, 2,
"Reg From Drive 32",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param63=
0,
6, "20 2A 24 01 30 83",
0x0030, 2, 2,
Param64=
0,
6, "20 2A 24 01 30 84",
0x0030, 2, 2,
"Reg From Drive 34",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param65=
0,
6, "20 2A 24 01 30 85",
0x0000, 2, 2,
"Reg To Drive 03",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param66=
0,
6, "20 2A 24 01 30 86",
0x0000, 2, 2,
"Reg To Drive 04",
"",
"",
0, 65535, 0,
C
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param67=
0,
6, "20 2A 24 01 30 87",
0x0000, 2, 2,
"Reg To Drive 05",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param68=
0,
6, "20 2A 24 01 30 88",
0x0000, 2, 2,
"Reg To Drive 06",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param69=
0,
6, "20 2A 24 01 30 89",
0x0000, 2, 2,
"Reg To Drive 07",
"",
"",
0, 65535, 0,
C 1, 1, 1, 0,
0, 0, 0, 0,
0;
Param70=
0,
6, "20 2A 24 01 30 8A",
0x0000, 2, 2,
"Reg To Drive 08",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param71=
0,
6, "20 2A 24 01 30 8B",
0x0000, 2, 2,
"Reg To Drive 09",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param72=
0,
6, "20 2A 24 01 30 8C",
0x0000, 2, 2,
"Reg To Drive 10",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C
Param73=
0,
6, "20 2A 24 01 30 8D",
0x0000, 2, 2,
"Reg To Drive 11",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param74=
0,
6, "20 2A 24 01 30 8E",
0x0000, 2, 2,
"Reg To Drive 12",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param75=
0,
6, "20 2A 24 01 30 8F",
0x0000, 2, 2,
"Reg To Drive 13",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C Param76=
0,
6, "20 2A 24 01 30 90",
0x0000, 2, 2,
"Reg To Drive 14",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param77=
0,
6, "20 2A 24 01 30 91",
0x0000, 2, 2,
"Reg To Drive 15",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param78=
0,
6, "20 2A 24 01 30 92",
0x0000, 2, 2,
"Reg To Drive 16",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param79=
0,
6, "20 2A 24 01 30 93",
0x0000, 2, 2,
C
"Reg To Drive 17",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param80=
0,
6, "20 2A 24 01 30 94",
0x0000, 2, 2,
"Reg To Drive 18",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param81=
0,
6, "20 2A 24 01 30 95",
0x0000, 2, 2,
"Reg To Drive 19",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param82=
0,
6, "20 2A 24 01 30 96",
0x0000, 2, 2,
Param83=
0,
6, "20 2A 24 01 30 97",
0x0000, 2, 2,
"Reg To Drive 21",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param84=
0,
6, "20 2A 24 01 30 98",
0x0000, 2, 2,
"Reg To Drive 22",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param85=
0,
6, "20 2A 24 01 30 99",
0x0000, 2, 2,
"Reg To Drive 23",
"",
"",
0, 65535, 0,
C
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param86=
0,
6, "20 2A 24 01 30 9A",
0x0000, 2, 2,
"Reg To Drive 24",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param87=
0,
6, "20 2A 24 01 30 9B",
0x0000, 2, 2,
"Reg To Drive 25",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param88=
0,
6, "20 2A 24 01 30 9C",
0x0000, 2, 2,
"Reg To Drive 26",
"",
"",
0, 65535, 0,
C 1, 1, 1, 0,
0, 0, 0, 0,
0;
Param89=
0,
6, "20 2A 24 01 30 9D",
0x0000, 2, 2,
"Reg To Drive 27",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param90=
0,
6, "20 2A 24 01 30 9E",
0x0000, 2, 2,
"Reg To Drive 28",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param91=
0,
6, "20 2A 24 01 30 9F",
0x0000, 2, 2,
"Reg To Drive 29",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C
Param92=
0,
6, "20 2A 24 01 30 A0",
0x0000, 2, 2,
"Reg To Drive 30",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param93=
0,
6, "20 2A 24 01 30 A1",
0x0000, 2, 2,
"Reg To Drive 31",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param94=
0,
6, "20 2A 24 01 30 A2",
0x0000, 2, 2,
"Reg To Drive 32",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
C Param95=
0,
6, "20 2A 24 01 30 A3",
0x0000, 2, 2,
"Reg To Drive 33",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
Param96=
0,
6, "20 2A 24 01 30 A4",
0x0000, 2, 2,
"Reg To Drive 34",
"",
"",
0, 65535, 0,
1, 1, 1, 0,
0, 0, 0, 0,
0;
[EnumPar]
Param7=
"False",
"True";
Param8=
"False",
"True";
Param9=
"Local Control",
"Network Control";
Param10=
C
"Vendor Specific",
"Startup",
"Not Ready",
"Ready",
"Enabled",
"Stopping",
"Fault Stop",
"Faulted";
Param11=
"Not Running Fwd",
"Running Fwd";
Param12=
"Not Running Rev",
"Running Rev";
Param13=
"Not Ready",
"Ready";
Param14=
"No Faults Present",
"Faulted";
Param15=
"No Action",
"Fault Reset";
Param16=
"Control is local",
"Control is from network";
Param17=
"Drive actual speed not at reference",
"Drive actual speed is at reference";
C Param18=
"Set reference not DN control",
"Set reference at DN control";
Param19=
"Vendor specific mode",
"Open loop speed (Frequency)",
"Closed loop speed control",
"Torque control",
"Process control",
"Position control";
Param32=
"Local speed/torque reference",
"DeviceNet speed/torque reference";
[Groups]
Group1=
"Motor", 6,
1, 2, 3, 4, 5, 6;
Group2=
"Control Supervisor", 10,
7, 8, 9, 10, 11, 12, 13, 14, 15, 16;
Group3=
"Drive", 16,
17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32;
Group4=
"Drive Extended", 64,
33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
91, 92, 93, 94, 95, 96;
———
Appendix
#Profibus_DP
MaxTsdr_6M = 200
MaxTsdr_12M = 200
; Slave Specific
Ident_Number = 0x0868
Freeze_Mode_Supp = 0
Sync_Mode_Supp = 0
Auto_Baud_Supp = 1
Set_Slave_Add_Supp = 0
Min_Slave_Intervall = 2
Modular_Station = 1
Max_Module = 32
Max_Input_Len = 244
Max_Output_Len = 244
Max_Data_Len = 400
Module = " 136 Bytes In / 136 Bytes Out " 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f,
0x1f, 0x1f, 0x17, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x27
EndModule
APPENDIX
[File]
DescText = “AnyBus-S ControlNet”;
CreateDate = 07-19-1999;
CreateTime = 11:11:51;
ModDate = 11-15-2002;
ModTime = 16:42:00;
Revision = 1.5;
[Device] E
VendCode = 90;
VendName = “HMS Industrial Networks AB (Hassbjer Micro Sys)”;
ProdType = 12;
ProdTypeStr = “Communication Adapter”;
ProdCode = 1;
MajRev = 1;
MinRev = 3;
ProdName = “AnyBus-S CNT”;
Catalog = “ABS CNT”;
[Device Classification]
Class1 = 1_RSNetWorx_Adapter;
Class2 = ControlNet;
[Port]
Port2 = ControlNet_Redundant,
“Port A”,
“20 F0 24 01”,
2;
[Params]
Param2 =
0, $ first field shall equal 0
,, $ path size,path
0x0000, $ descriptor
2, $ data type : 16-bit Unsigned Integer
2, $ data size in bytes
“Output Size”, $ name
““, $ units
““, $ help string
0,450,16, $ min,max,default data values
E 0,0,0,0, $ mult,dev,base,offset scaling not used
0,0,0,0, $ mult,dev,base,offset link not used
0; $ decimal places not used
Param3 =
0, $ first field shall equal 0
,, $ path size,path
0x0000, $ descriptor
2, $ data type : 16-bit Unsigned Integer
2, $ data size in bytes
“Input Size”, $ name
““, $ units
““, $ help string
8,454,20, $ min,max,default data values
0,0,0,0, $ mult,dev,base,offset scaling not used
0,0,0,0, $ mult,dev,base,offset link not used
0;
[Connection Manager]
Connection1 =
0x04010002, $ trigger & transport
$ 0-15 = supported transport classes (class
1)
$ 16 = cyclic (1 = supported)
$ 17 = change of state (0 = not supported)
$ 18 = on demand (0 = not supported)
$ 19-23 = reserved (must be zero)
$ 24-27 = exclusive owner
$ 28-30 = reserved (must be zero)
$ 31 = client 0 (don’t care for classes 0
and 1)
0x44240405, $ point/multicast & priority & realtime format
$ 0 = O=>T fixed (1 = supported)
$ 1 = O=>T variable (0 = not supported)
$ 2 = T=>O fixed (1 = supported)
$ 3 = T=>O variable (0 = not supported)
$
$
4-7
8-10
= reserved (must be zero)
= O=>T header (4 byte run/idle)
E
$ 11 = reserved (must be zero)
$ 12-14 = T=>O header
$ 15 = reserved (must be zero)
$ 16-19 = O=>T point-to-point
$ 20-23 = T=>O multicast
$ 24-27 = O=>T scheduled
$ 28-31 = T=>O scheduled
,Param2,, $ O=>T RPI,Size,Format
,Param3,, $ T=>O RPI,Size,Format
,, $ config part 1 (dynamic assemblies)
,, $ config part 2 (module configuration)
“Discrete Exclusive Owner”, $ connection name
““, $ Help string
“20 04 24 01 2C 96 2C 64”; $ exclusive output path
1_PLC5C_RTD_Format1 = 1_PLC5C_1794_Discrete_RTD_Format;
∇ ∇ ∇
APPENDIX
[File]
DescText = “ABS Standard Configuration”;
CreateDate = 12-08-98;
CreateTime = 10:31:30;
ModDate = 02-17-2005;
ModTime = 11:24:00;
Revision = 1.35; $ Revision of EDS file
[Device]
VendCode = 90; $ Vendor Code
ProdType = 12; $ Product Type
ProdCode = 12; $ Product Code
MajRev = 1; $ Major Rev
MinRev = 35; $ Minor Rev
VendName = “HMS Networks”;
ProdTypeStr = “Communications Adapter”;
ProdName = “AnyBus-S DeviceNet”;
F
Catalog = “AnyBus-S DeviceNet”;
[ParamClass]
MaxInst = 29; $ Max Instances - total # configuration parameters
Descriptor = 0x00;$ Parameter Class Descriptor - No parameters
CfgAssembly = 0x00;$ The config assembly is not supported.
[Params]
$ ****************************************************************************
$ Polled production
$ ****************************************************************************
$ ****************************************************************************
$ Polled consumtion
$ ****************************************************************************
F 6, “20 05 24 00 30 65”,
0x0002,
$ connection object
$ descriptor (Scaling)
198, 1, $ USINT, 4 bytes
“Polled consumtion”, $ parameter name
““, $ units string
““, $ help string
0, 5, 0, $ min, max, default (0)
0, 0, 0, 0, $ mult, div, base, offset scaling
, , , , $ scaling links not used
0; $ decimal places
$ ****************************************************************************
$ Strobed production
$ ****************************************************************************
$ ****************************************************************************
$ Strobed consumption
$ ****************************************************************************
$ ****************************************************************************
$ COS Production
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
F $
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
F , , , ,
0;
$ scaling links not used
$ decimal places
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
F
Param14 = 0, $ parameter value slot
6, “20 A0 24 00 30 68”, $ input mapping object
0x10, $ descriptor (Scaling)
199, 2, $ UINT, 2 bytes
“Input5 offset”, $ parameter name
““, $ units string
““, $ help string
0, 512, 0, $ min, max, default (0)
1, 1, 1, 0, $ mult, div, base, offset scaling
, , , , $ scaling links not used
0; $ decimal places
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
F ““,
““,
$ units string
$ help string
0, 512, 0, $ min, max, default (0)
1, 1, 1, 0, $ mult, div, base, offset scaling
, , , , $ scaling links not used
0; $ decimal places
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$ Output mappping
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
F $ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
$ ****************************************************************************
$
$ ****************************************************************************
[EnumPar]
Param1=
“Input 1”,
“Input 2”,
“Input 3”,
“Input 4”,
“Input 5”,
F “Input 6”;
Param2=
“Output 1”,
“Output 2”,
“Output 3”,
“Output 4”,
“Output 5”,
“Output 6”;
Param3=
“Input 1”,
“Input 2”,
“Input 3”,
“Input 4”,
“Input 5”,
“Input 6”;
Param4=
“Output 1”,
“Output 2”,
“Output 3”,
“Output 4”,
“Output 5”,
“Output 6”;
Param5=
“Input 1”,
“Input 2”,
“Input 3”,
“Input 4”,
“Input 5”,
“Input 6”;
Index
A G
assembly data 3-8, 3-9, 3-10 global data 3-6
auto mode 2-4, 4-5, 5-8, 6-8, 7-4, 8-5, 9-7 global data items 3-6
green LED 3-18
B
BA1 3-3, 3-19 J
BA2 3-3, 3-19 jumper 3-19
jumper settings
C debug port 1-2
cluster 3-2 Modbus port 2-5
common network topologies 3-2
communication board 1-1 L
communications board LED 3-18, 3-19
jumpers 2-5 linear bus topology 3-2
Communications menu (9)
Modbus network 2-4, 4-5, 5-8, 6-8, 7-4, 8-6, 9-7 M
CRC 2-7, 2-9, 2-10, 2-12, 2-13, 2-14, 2-16 master 2-6, 4-1, 4-8
master/slave 3-2, 3-8, 3-9
D Maximum length of user parameter D-2
data transfer 3-9 Maximum responder time D-1
data variables 2-5, 4-5, 5-9, 6-8, 7-4, 8-6, 9-7 Modbus address table 5-17, 6-16, 7-12, 8-13, 9-15
default Modbus network
control configuration 2-17, 4-13, 5-11, 6-11, 7-7, 8- baud rates 2-1
8, 9-10 communications diagram 2-5, 2-6, 4-2, 4-7
Device Data File D-1 data bits 2-1
DeviceNet( data frame 2-1
5-pin connector 3-3 flags 2-4, 4-5, 5-8, 6-8, 7-4, 8-5, 9-7
jumpers 3-3 jumpers 2-5
node address 3-6 master 2-1, 2-6, 2-8, 2-10, 2-13, 2-16, 4-1, 4-2, 4-8,
UCS Module 3-3 4-9, 4-10, 4-11, 4-13
UCS module 3-3 serial port 2-5
display network monitor function 2-29, 3-20, 4-25, 5-25, start bit 2-1
6-21, 7-18, 8-19, 9-21 stop bit 2-1, 4-1
supported commands 2-6, 4-1, 4-8, 5-10
E Modbus protocol 2-1, 2-2, 4-1
EDS files 3-7 remote terminal unit (RTU) format 2-1, 2-2, 4-1
electronic data sheets 3-7
emergency stop 2-4, 4-5, 5-8, 6-8, 7-4, 8-5, 9-7 N
explicit messages 3-8, 3-9 network communications problems 3-19
network status LED 3-18
F network termination 3-4, 9-3
fault reset 2-4, 4-5, 5-8, 6-8, 7-4, 8-5, 9-7 network topologies 3-2
fixed reg bits node 3-2
default definition 2-2, 4-3, 5-6, 6-5, 7-2, 8-3, 9-5
location 2-17, 4-13, 5-11, 6-11, 7-7, 8-8, 9-10 P
programmable definitions 2-19, 4-15, 5-13, 6-12, 7- peertopeer 3-2
8, 8-9, 9-11 pick list variables
flags 2-4, 4-5, 5-8, 6-8, 7-4, 8-5, 9-7 data from drive 3-15, 4-20, 8-15, 9-17
data to drive 3-13, 3-14, 4-20, 5-18, 6-17, 7-14
pointtopoint 3-8
T
termination 3-4, 9-3
topologies 3-2
U
UCS modules 1-1
user parameter maximum length D-2