Modbus TCP Operating Instructions MG90P202
Modbus TCP Operating Instructions MG90P202
Operating Instructions
MCA 122 Modbus TCP
Safety MCA 122 Modbus TCP
Safety
Safety Note
Safety
Copyright, Limitation of Liability and
WARNING
Revision Rights HIGH VOLTAGE
The voltage of the frequency converter is dangerous
whenever connected to mains. Incorrect installation of the
This publication contains information proprietary to
motor, frequency converter, or fieldbus may damage the
Danfoss. By accepting and using this manual the user
equipment, cause serious personal injury, or death.
agrees that the information contained herein is used solely
Consequently, the instructions in this manual, as well as
for operating equipment from Danfoss or equipment from
national and local rules and safety regulations, must be
other vendors if such equipment is intended for communi-
complied with.
cation with Danfoss equipment over an Ethernet serial
communication link. This publication is protected under
the Copyright laws of Denmark and most other countries. Safety Regulations
• temporary overload
WARNING
ELECTRICAL HAZARD
Touching the electrical parts may be fatal - even after the
equipment has been disconnected from mains.
Contents
1 Introduction 3
1.1 Introduction 3
1.1.1 About this Manual 3
1.1.2 Assumptions 3
1.1.3 Background Knowledge 3
1.1.4 Available Literature 3
1.1.5 Modbus Conformance 3
1.1.6 Abbreviations 4
2 How to Install 5
2.1 The Modbus TCP Option 5
2.1.1 How to Install Option in Frequency Converter 5
2.1.2 LED Behaviour 6
2.1.3 Topology 7
2.1.4 Network 8
2.1.5 Recommended Design Rules 8
2.1.6 EMC Precautions 10
3 How to Configure 11
3.1 IP Settings 11
3.2 Ethernet Link Parameters 11
3.3 Configuring the Scanner 12
3.4 IP Traffic 15
4 How to Control 17
4.1 How to Control the Frequency Converter 17
4.1.1 Function Codes Supported by Modbus TCP 17
4.2 Modbus TCP Message Framing Structure 17
4.2.1 Function Code 17
4.2.2 Data Field 17
4.2.3 Parameter Handling 17
4.2.4 Storage of Data 17
4.2.5 IND 18
4.2.6 Text Blocks 18
4.2.7 Conversion Factor 18
4.2.8 Parameter Values 18
4.2.9 Modbus Exception Codes 18
4.3 PROFIdrive Control Profile 19
4.3.1 Control Word according to PROFIdrive Profile (CTW) 19
4.3.2 Status Word according to PROFIdrive Profile (STW) 20
5 Parameters 27
5.1 Parameter Group 8-** 27
5.2 Parameter Group 12-** 30
5.2.1 12-0* IP Settings 30
5.2.2 12-1* Ethernet Link Parameters 31
5.2.3 12-2* Process Data 32
5.2.4 Modbus TCP 32
5.2.5 12-8* Other Ethernet Services 33
5.2.6 12-9* Advanced Ethernet Settings 33
5.3 Parameter List 34
5.4 Data Types 36
5.4.1 Data Types Supported by FC 102/FC 202/FC 302 36
6 Troubleshooting 37
6.1 Step-by-step Troubleshooting 37
6.2 Alarm Word and Warning Word 37
Index 41
1 Introduction
These operating instructions are under the conditions that - The VLT® AutomationDriveFC 302 IP21/Type 1
the MCA 122 Modbus TCP option is used with a Danfoss Instruction, provides information for installing the
FC 100/FC 202/FC 300 frequency converter, and that the IP21/Type 1 option.
installed option supports the interfaces described in this - The VLT® AutomationDriveFC 302 24 V DC Backup
document and that all the requirements stipulated in the Instruction, provides information for installing the
option, as well as the frequency converter, are strictly 24 V DC Backup option.
observed along with all limitations herein.
Danfoss technical literature is also available online at
www.danfoss.com/BusinessAreas/DrivesSolutions/
1.1.3 Background Knowledge Documentations/Technical+Documentation.htm.
1.1.6 Abbreviations
1 1 Abbreviation
API
Definition
Actual Packet Interval
CC Control Card
CIP Common Industrial Protocol
CTW Control Word
DHCP Dynamic Host Configuration Protocol
EMC Electromagnetic Compatibility
I/O Input/Output
IP Internet Protocol
LCP Local Control Panel
LED Light Emitting Diode
LSB Least Significant Bit
MAR Major Recoverable fail
MAU Major Unrecoverable fail
MAV Main Actual Value (actual output)
MSB Most Significant Bit
MRV Main Reference Value
N/A Not applicable
ODVA Open DeviceNet Vendor Association
PC Personal Computer
PLC Programmable Logic Controller
PNU Parameter Number
REF Reference (=MRV)
RTC Real Time Clock
s Second
STP Spanning tree Protocol
STW Status Word
2 How to Install
130BD190.10
Ethernet Port 1 Ethernet Port 2
MCA122 Option A
MS LED MS
130B1196
MODBUS TCP
NS1
NS LEDs MAC 00-1B-08-00-00-00
NS2
Address
ON
SW. ver. TM. ver.
8 7 6 5 4 3 2 1 OFF
Instructions NOTICE
1. Remove LCP panel from the frequency converter. After installing the MCA 122 option, be aware of the
2. Remove the frame located beneath and discard it. following parameter settings:
8-01 Control Site: [2] control word only or [0] Digital and ctrl.
3. Push the option into place. The Ethernet
word
connectors must be facing upwards.
2 2
8-02 Control Word Source: [3] Option A
4. Remove both knock-outs on the fieldbus option
adapter frame.
5. Push the fieldbus option adapter frame for the
frequency converter into place.
6. Replace the LCP and attach cable.
NOTICE
Do not strip the Ethernet cable and ground it via the strain
relief-plate! The grounding of screened Ethernet cable is
done through the RJ-45 connector on the option.
2.1.3 Topology
The MCA 122 features a built-in Ethernet-switch, thus having two Ethernet RJ-45 connectors. This enables the possibility for
connecting several Modbus TCP options in a line topology as an alternative to the typical star-topology.
The two ports are equal, in the sense that they are transparent for the option. If only one connector is used, either port can
be used. 2 2
130BA903.10
Illustration 2.4 Star Topology
130BA904.10
Illustration 2.5 Line Topology
NOTICE
For line topology, refer to 2.1.5 Recommended Design Rules. In a line topology all frequency converters must be powered,
either by mains or by their 24 V DC option cards, for the built-in switch to work.
NOTICE
Observe that mounting frequency converters of different power-sizes in a line topology may result in unwanted power-off
behaviour.
Smaller frequency converters discharge faster than bigger frequency converters. This can result in loss of link in the line
topology, which may lead to control word timeout.
To avoid this, mount the frequency converters with the longest discharge time first in the line topology.
2 2
½
VLT VLT VLT VLT VLT VLT VLT
AutomationDrive AutomationDrive AutomationDrive AutomationDrive AutomationDrive AutomationDrive AutomationDrive
130BA905.10
Illustration 2.6 Ring/Redundant Line Topology
Optical fibres can be used for gapping longer distances It is not recommended to connect more than 32 frequency
and providing galvanic isolation. converters in a line at any API. Exceeding the
recommended design rules, may result in failing communi-
For connecting Modbus TCP devices both hubs and cation.
switches can be used. It is, however, always recommended
to use suitable industrial graded Ethernet switches. For
2 2
Illustration 2.7
2.1.6 EMC Precautions coupling of high frequency noise from one cable
to another
NOTICE • Maintain the greatest possible distance (min. 200
Relevant national and local regulations, for example mm (8 inches)) between cables. Especially, where
regarding protective earth connection, must be observed. cables run in parallel over long distances.
130BC509.10
3 How to Configure
Parameter Value
12-00 IP Address [1] DHCP/[2] BOOTP
• 12-10 Link Status
3 3 present port. If the link is broken the counter resets. 3.3 Configuring the Scanner
12-12 Auto Negotiation – is a feature that enables two For configuring the scanner to communicate to the
connected Ethernet devices to choose common frequency converter, no system (for example, EDS, GSD file)
transmission parameters, such as speed and duplex mode. file is needed. The frequency converter is handled as a
In this process, the connected devices first share their generic device and as such, configured directly in the
capabilities as for these parameters and then choose the scanner. The following example sets up the scanner to IP
fastest transmission mode they both support. addresses 192.168.1.20 and the FC 302 to address
By default this function is enabled. 192.168.1.20.
Incapability between the connected devices, may lead to
decreased communication performance. Configuring a Modicon scanner
To prevent this, Auto Negotiation can be disabled. The following example uses the Unity Pro tool from Group
If 12-12 Auto Negotiation is set to OFF, link speed and Schneider to configure the PLC. The example only shows
duplex mode can be configured manually in 12-13 Link the setting up of the Protocol and assigning I/O mapping
Speed and 12-14 Link Duplex. to internal memory of the PLC.
12-13 Link Speed – displays/sets the link speed per port. Under network, add a network by right clicking the
“None” is displayed if no link is present. Network menu and select “New Network”
By selecting this menu, assign a name to the new network. Menu Menu point Setting
In this example “Danfoss” has been chosen.
Model Family Model Family NOE 0100, NOE 110
Model Utilities IO Scanning YES
Global Data NO
Address Server NO
IP address configu- Configured/From a Configured
ration server
IP address
Subnetwork mask
192.168.001.020
255.255.255.0
3 3
Illustration 3.2 Assigning a Network Name Gateway address 0.0.0.0
Ethernet Configu- Ethernet Configu- Ethernet II
ration ration
After clicking [OK], the network “Danfoss” should show up
Table 3.4 Menu Settings
under Networks and by selecting the Network, the main
configuration page is shown. In the IP Configuration tab, press the [Configured] key, and the IP
address and fill out [Subnetwork mask]. In this example the address
192.168.1.20 is used as the address for the master.
3 3
At this time the “Danfoss” Protocol is assigned to the Scanner and the last step is to configure the scanner to read and
write holding registers of the FC 302.
By first selecting the Danfoss network and second, selecting the IO Scanning tab, the scanning list appears. Fill out the list
as shown in Illustration 3.5.
130BB261.11
3 3
4 How to Control
Table 4.2 Subfunction Codes For information on the parameters, size and converting
index, consult the product relevant programming guide.
4.3 PROFIdrive Control Profile When bit 02="1", the frequency converter is in State 1:
“Switching on inhibited”.
This section describes the functionality of the control word Refer to Illustration 4.1.
and status word in the PROFIdrive profile. Select this
Bit 03, Coasting/No coasting
profile by setting 8-10 Control Word Profile.
Coasting stop Bit 03="0" leads to a stop. When bit 03="1",
the frequency converter can start if the other start
4.3.1 Control Word according to PROFIdrive conditions are satisfied.
Profile (CTW)
NOTICE
The selection in 8-50 Coasting Select determines how bit 03
The Control word is used to send commands from a is linked with the corresponding function of the digital
master (for example, a PC) to a slave. inputs.
4 4
Bit Bit=0 Bit=1 Bit 04, Quick stop/Ramp
00 OFF 1 ON 1
Quick stop using the ramp time of 3-81 Quick Stop Ramp
Time.
01 OFF 2 ON 2
When bit 04="0", a quick stop occurs.
02 OFF 3 ON 3
When bit 04="1", the frequency converter can start if the
03 Coasting No coasting
other start conditions are satisfied.
04 Quick stop Ramp
05 Hold frequency output Use ramp NOTICE
06 Ramp stop Start The selection in 8-51 Quick Stop Select determines how bit
07 No function Reset 04 is linked with the corresponding function of the digital
08 Jog 1 OFF Jog 1 ON inputs.
09 Jog 2 OFF Jog 2 ON
10 Data invalid Data valid Bit 05, Hold frequency output/Use ramp
11 No function Slow down When bit 05="0", the current output frequency is being
12 No function Catch up maintained even if the reference value is modified.
13 Parameter set-up Selection lsb When bit 05="1", the frequency converter can perform its
regulating function again; operation occurs according to
14 Parameter set-up Selection msb
the respective reference value.
15 No function Reverse
Bit 06, Ramp stop/Start
Table 4.4 Control Word Bits Normal ramp stop using the ramp times of the actual
ramp as selected. In addition, activation of the output relay
Explanation of the control bits 01 or 04 if the output frequency is 0 Hz if Relay 123 has
been selected in 5-40 Function Relay. Bit 06="0" leads to a
Bit 00, OFF 1/ON 1 stop. When bit 06="1", the frequency converter can start if
Normal ramp stops using the ramp times of the actual the other start conditions are satisfied.
selected ramp.
Bit 00="0" leads to the stop and activation of the output
NOTICE
The selection in 8-53 Start Select determines how bit 06 is
relay 1 or 2 if the output frequency is 0 Hz and if [Relay
linked with the corresponding function of the digital
123] has been selected in 5-40 Function Relay.
inputs.
When bit 0="1", the frequency converter is in State 1:
“Switching on inhibited”.
Refer to Illustration 4.1. Bit 07, No function/Reset
Reset after switching off.
Bit 01, OFF 2/ON 2
Acknowledges event in fault buffer.
Coasting stop
When bit 07="0", no reset occurs.
When bit 01="0", a coasting stop and activation of the
When there is a slope change of bit 07 to "1", a reset
output relay 1 or 2 occurs if the output frequency is 0 Hz
occurs after switching off.
and if [Relay 123] has been selected in 5-40 Function Relay.
When bit 01="1", the frequency converter is in State 1: Bit 08, Jog 1 OFF/ON
“Switching on inhibited”. Refer to Illustration 4.1. Activation of the pre-programmed speed in 8-90 Bus Jog 1
Speed. JOG 1 is only possible if bit 04="0" and bit
Bit 02, OFF 3/ON 3
00-03="1".
Quick stop using the ramp time of 3-81 Quick Stop Ramp
Time. When bit 02="0", a quick stop and activation of the
output relay 1 or 2 occurs if the output frequency is 0 Hz
and if [Relay 123] has been selected in 5-40 Function Relay.
4 4
contained in the telegram, regardless of which type of
Bit Bit=0 Bit=1
telegram is used.
00 Control not ready Control ready
Bit 11, No function/Slow down 01 Drive not ready Drive ready
Is used to reduce the speed reference value by the amount 02 Coasting Enable
given in 3-12 Catch up/slow Down Value value. When bit 03 No error Trip
11="0", no modification of the reference value occurs. 04 OFF 2 ON 2
When bit 11="1", the reference value is reduced.
05 OFF 3 ON 3
Bit 12, No function/Catch up 06 Start possible Start not possible
Is used to increase the speed reference value by the 07 No warning Warning
amount given in 3-12 Catch up/slow Down Value. 08 Speed ≠ reference Speed=reference
When bit 12="0", no modification of the reference value 09 Local operation Bus control
occurs. 10 Out of frequency limit Frequency limit ok
When bit 12="1", the reference value is increased.
11 No operation In operation
If both slowing down and accelerating are activated (bit 11
12 Drive OK Stopped, autostart
and 12="1"), slowing down has priority, that is, the speed
13 Voltage OK Voltage exceeded
reference value is reduced.
14 Torque OK Torque exceeded
Bits 13/14, Set-up selection 15 Timer OK Timer exceeded
Bits 13 and 14 are used to choose between the four
parameter set-ups according to Table 4.5. Table 4.6 Status Word Bits
When bit 03="1", the frequency converter has tripped and Bit 12, Drive OK/Stopped, autostart
requires a reset signal before it can start. When bit 12="0", there is no temporary overloading of the
inverter.
Bit 04, ON 2/OFF 2
When bit 12="1", the inverter has stopped due to
When bit 01 of the Control word is "0", then bit 04="0".
overloading. However, the frequency converter has not
When bit 01 of the Control word is "1", then bit 04="1".
switched off (trip) and will start again after the overloading
Bit 05, ON 3/OFF 3 has ended.
When bit 02 of the Control word is "0", then bit 05="0".
Bit 13, Voltage OK/Voltage exceeded
When bit 02 of the Control word is "1", then bit 05="1".
When bit 13="0", the voltage limits of the frequency
Bit 06, Start possible/Start not possible converter are not exceeded.
If PROFIdrive has been selected in 8-10 Control Word Profile, When bit 13="1", the direct voltage in the intermediate
bit 06 will be "1" after a switch-off acknowledgment, after
4 4
circuit of the frequency converter is too low or too high.
activation of OFF2 or OFF3, and after switching on the
Bit 14, Torque OK/Torque exceeded
mains voltage. Start not possible is reset, with bit 00 of the
When bit 14="0", the motor torque is below the limit
Control word being set to "0" and bit 01, 02 and 10 being
selected in 4-16 Torque Limit Motor Mode and 4-17 Torque
set to "1".
Limit Generator Mode. When bit 14="1", the limit selected
Bit 07, No warning/Warning in 4-16 Torque Limit Motor Mode or 4-17 Torque Limit
Bit 07=“0” means that there are no warnings. Generator Mode is exceeded.
Bit 07=“1” means that a warning has occurred.
Bit 15, Timer OK/Timer exceeded
Bit 08, Speed≠reference/Speed=reference When bit 15="0", the timers for the thermal motor
When bit 08="0", the current speed of the motor deviates protection and thermal frequency converter protection
from the set speed reference value. This may occur, for have not exceeded 100%.
example, when the speed is being changed during start/ When bit 15="1", one of the timers has exceeded 100%.
stop through ramp up/down.
When bit 08="1", the current speed of the motor
corresponds to the set speed reference value.
4.3.3 PROFIdrive State - Transition Diagram
Bit 09, Local operation/Bus control
Bit 09="0" indicates that the frequency converter has been In the PROFIdrive Control profile, the control bits 0 to 3
stopped with the stop button on the LCP, or that [Linked perform the basic start-up/power down functions, whereas
to hand] or [Local] has been selected in 3-13 Reference Site. the control bits 4-15 perform application-oriented control.
When bit 09="1", the frequency converter can be
controlled through the serial interface.
Illustration 4.1 shows the basic state-transition diagram,
Bit 10, Out of frequency limit/Frequency limit OK where control bits 0 to 3 control the transitions, and the
When bit 10="0", the output frequency is outside the limits corresponding status bit indicates the actual state. The
set in 4-52 Warning Speed Low and 4-53 Warning Speed black bullets indicate the priority of the control signals,
High. When bit 10="1", the output frequency is within the where fewer bullets indicate lower priority, and more
indicated limits. bullets indicate higher priority.
Bit 11, No operation/Operation
When bit 11="0", the motor does not turn.
When bit 11="1", the frequency converter has a start
signal, or the output frequency is higher than 0 Hz.
4 4
4 4
profile
NOTICE
In 8-50 Coasting Select a selection is made to define how
Bit 03 gates with the corresponding function on a digital
Bit Bit value=0 Bit value=1
input.
00 Reference value External selection LSB
01 Reference value External selection MSB
Bit 04, Quick stop
02 DC brake Ramp
Bit 04=‘0’ causes a stop, in which the motor speed is
03 Coasting No coasting
ramped down to stop via 3-81 Quick Stop Ramp Time.
04 Quick stop Ramp
05 Hold output frequency Use ramp Bit 05, Hold output frequency
06 Ramp stop Start
Bit 05=‘0’ causes the present output frequency (in Hz) to
freeze. The frozen output frequency can then be changed
07 No function Reset
only with the digital inputs (5-10 Terminal 18 Digital Input
08 No function Jog
to 5-15 Terminal 33 Digital Input) programmed to Speed up
09 Ramp 1 Ramp 2
and Speed down.
10 Data invalid Data valid
11 No function Relay 01 active NOTICE
12 No function Relay 04 active If Freeze output is active, the frequency converter can only
13 Parameter set-up Selection LSB be stopped by the following:
14 Parameter set-up Selection MSB • Bit 03 Coasting stop
15 No function Reverse
• Bit 02 DC braking
Table 4.7 Control Word Bits • Digital input (5-10 Terminal 18 Digital Input to
5-15 Terminal 33 Digital Input) programmed to DC
Explanation of control bits braking, Coasting stop or Reset and coasting stop
Bits 00/01
Bits 00 and 01 are used to choose between the four
reference values, which are pre-programmed in 3-10 Preset Bit 06, Ramp stop/start
Reference according to Table 4.8. Bit 06=‘0’ causes a stop, in which the motor speed is
ramped down to stop via the selected ramp down
Programmed Parameter Bit 01 Bit 00 parameter.
ref. value Bit 06=‘1’ permits the frequency converter to start the
1 3-10 [0] 0 0 motor, if the other starting conditions have been fulfilled.
2 3-10 [1] 0 1 NOTICE
3 3-10 [2] 1 0 In 8-53 Start Select Start select a selection is made to define
4 3-10 [3] 1 1 how Bit 06 Ramp stop/start gates with the corresponding
function on a digital input.
Table 4.8 Reference Values
Bit 09, Selection of ramp 1/2 4.4.1 Status Word according to Frequency
Bit 09=‘0’ means that ramp 1 is active (3-40 Ramp 1 Type to Converter Profile (STW)
3-47 Ramp 1 S-ramp Ratio at Decel. Start). Bit 09=‘1’ means
that ramp 2 (3-50 Ramp 2 Type to 3-57 Ramp 2 S-ramp Ratio
at Decel. Start) is active. →
Bit 04=‘1’ means that there is a frequency converter error Bit 15, Thermal OK/limit exceeded
but no trip. Bit 15=‘0’ means that the timers for both motor thermal
protection and frequency converter thermal protection,
Bit 05, Reserved
have not exceeded 100%.
Bit 05 is not used in the status word.
Bit 15=‘1’ means that one of the limits has exceeded 100%.
Bit 06, No error/Trip lock
Bit 06=‘0’ means that the frequency converter is not in
fault mode. 4.5 Reference Handling
Bit 06 = ‘1’ means that the frequency converter is tripped,
and locked. 4.5.1 Bus Speed Reference Value
Bit 07, No warning/Warning
0%=0 hex
Bit 07=‘0’ means that there are no warnings.
Bit 07=‘1’ means that a warning has occurred. 100%=4000 hex 4 4
Bit 08, Speed≠ reference/Speed=reference -100%=C000 hex
Bit 08=‘0’ means that the motor is running, but that the Depending of the setting of 3-00 Reference Range, the
present speed is different from the preset speed reference. reference is scaled from – Max. to + Max. or from Min. to
For example, this might occur while the speed is being Max.
ramped up/down during start/stop.
Bit 08=‘1’ means that the present motor speed matches -100% 0% 100%
130BA277.10
the preset speed reference. (C000hex) (0hex) (4000hex)
Par.3-00 set to
Bit 09, Local operation/Bus control (1) -max- +max
Reverse Forward
control unit, or that Local control in 3-13 Reference Site is Max reference Max reference
(4000hex)
CAUTION
If the bus speed reference is negative, and the control
word contains a run reverse signal, the frequency
converter will run clockwise (- to - is +).
4 4
5 Parameters
5 5 8-06 Reset Control Word Timeout [14] T32 DI status. The bit indicates the status of terminal 32.
“0” indicates that the terminal is low
This parameter is active only when [0] Hold set-up has been
“1” indicates that the terminal is high
selected in 8-05 End-of-Timeout Function.
[15] T33 DI status. The bit indicates the status of terminal 33.
Option: Function: “0” indicates that the terminal is low
[0] Do not reset Retains the set-up specified in 8-04 Control “1” indicates that the terminal is high
Word Timeout Function, following a control [16] T37 DI status The bit indicates the status of terminal 37.
word time-out. ”0” indicates T37 is low (safe stop)
[1] Do reset Returns the frequency converter to the original “1” indicates T37 is high (normal)
set-up following a control word time-out. The [21] Thermal The thermal warning turns on when the
frequency converter performs the reset and warning temperature exceeds the limit in the
then immediately reverts to the [0] Do not reset motor, the frequency converter, the brake
setting resistor, or the thermistor.
[30] Brake fault Output is Logic ‘1’ when the brake IGBT is
8-10 Control Word Profile (IGBT) short-circuited. Use this function to
Select the interpretation of the control and status words protect the frequency converter if there is
corresponding to the installed fieldbus. Only the selections valid a fault on the brake modules. Use the
for the fieldbus installed in slot A will be visible in the display. output/relay to cut out the main voltage
For guidelines in selection of [0] FC profile and [1] PROFIdrive from the frequency converter.
profile refer to the Serial communication via RS-485 Interface [40] Out of ref.
section. range
For additional guidelines in the selection of [1] PROFIdrive profile, [60] Comparator 0 See parameter group 13-1* Comparators. If
[5] ODVA and [7] CANopen DSP 402, refer to the Operating Comparator 0 is evaluated as TRUE, the
Instructions for the installed fieldbus. output goes high. Otherwise, it is low.
8-13 Configurable Status Word STW 8-14 Configurable Control Word CTW
Option: Function: Option: Function:
[71] Logic Rule 1 See parameter group 13-4* Logic Rules. If Selection of control word bit 10, if it is active
Logic Rule 1 is evaluated as TRUE, the low or active high.
output goes high. Otherwise, it is low.
[0] None
[72] Logic Rule 2 See parameter group 13-4* Logic Rules. If
[1] Profile default
Logic Rule 2 is evaluated as TRUE, the
[2] CTW Valid,
output goes high. Otherwise, it is low.
active low
[73] Logic Rule 3 See parameter group 13-4* Logic Rules. If
[3] Safe Option
Logic Rule 3 is evaluated as TRUE, the
Reset
output goes high. Otherwise, it is low.
[4] PID error When enabled, it inverts the resulting error
[74] Logic Rule 4 See parameter group 13-4* Logic Rules. If
inverse from the process PID controller. Available
Logic Rule 4 is evaluated as TRUE, the
only if "Configuration Mode" is set to "Surface
output goes high. Otherwise, it is low.
Winder", "Extended PID Speed OL" or
[75] Logic Rule 5 See parameter group 13-4* Logic Rules. If
Logic Rule 5 is evaluated as TRUE, the
"Extended PID Speed CL". 5 5
output goes high. Otherwise, it is low. [5] PID reset I When enabled, resets the I-part of the Process
[80] SL Digital See 13-52 SL Controller Action. The output part PID controller. Equivalent to 7-40 Process PID
Output A goes high whenever the Smart Logic I-part Reset. Available only if "Configuration
Action [38] Set digital out A high is Mode" is set to "Surface Winder", "Extended
executed. The output goes low whenever PID Speed OL" or "Extended PID Speed CL".
the Smart Logic Action [32] Set digital out [6] PID enable When enabled, enables the extended process
A low is executed. PID controller. Equivalent to 7-50 Process PID
[81] SL Digital See 13-52 SL Controller Action. The input Extended PID. Available only if "Configuration
Output B goes high whenever the Smart Logic Mode" is set "Extended PID Speed OL" or
Action [39] Set digital out B high is "Extended PID Speed CL".
executed. The input goes low whenever
the Smart Logic Action [33] Set digital out 8-50 Coasting Select
B low is executed. Option: Function:
[82] SL Digital See 13-52 SL Controller Action. The input
Select control of the coasting function via the
Output C goes high whenever the Smart Logic
terminals (digital input) and/or via the bus.
Action [40] Set digital out C high is
executed. The input goes low whenever [0] Digital Activates Start command via a digital input.
the Smart Logic Action [34] Set digital out input
C low is executed. [1] Bus Activates Start command via the serial
[83] SL Digital See 13-52 SL Controller Action. The input communication port or fieldbus option.
Output D goes high whenever the Smart Logic [2] Logic AND Activates Start command via the fieldbus/serial
Action [41] Set digital out D high is communication port, AND additionally via one
executed. The input goes low whenever of the digital inputs.
the Smart Logic Action [35] Set digital out
[3] Logic OR Activates Start command via the fieldbus/serial
D low is executed.
communication port OR via one of the digital
[84] SL Digital See 13-52 SL Controller Action. The input
inputs.
Output E goes high whenever the Smart Logic
Action [42] Set digital out E high is
8-51 Quick Stop Select
executed. The input goes low whenever
the Smart Logic Action [36] Set digital out Select control of the Quick Stop function via the terminals
E low is executed. (digital input) and/or via the bus.
[85] SL Digital See 13-52 SL Controller Action. The input Option: Function:
Output F goes high whenever the Smart Logic [0] Digital input
Action [43] Set digital out F high is [1] Bus
executed. The input goes low whenever [2] Logic AND
the Smart Logic Action [37] Set digital out [3] Logic OR
F low is executed.
[0] Digital Activates Start command via a digital input. [2] Logic AND Activates the set-up selection via the fieldbus/
input serial communication port, AND additionally via
[1] Bus Activates Start command via the serial communi- one of the digital inputs.
cation port or fieldbus option.
[3] Logic OR Activate the set-up selection via the fieldbus/
5 5
Range: Function: [1] Link
[000.000.000.000 – Read only. Displays the IP address
255.255.255.255] of the found DHCP or BOOTP 12-11 Link Duration
server. Range: Function:
Size related* [ 0 - 0 ] Read only. Displays the duration of the
NOTICE present link on each port in dd:hh:mm:ss.
A power-cycle is necessary after setting the IP parameters
manually.
12-12 Auto Negotiation
12-05 Lease Expires Option: Function:
Range: Function: Configures Auto Negotiation of Ethernet link
Size related* [ 0 - 0 ] Read only. Displays the lease-time left for parameters, for each port: ON or OFF.
the current DHCP-assigned IP address. [0] Off Link Speed and Link Duplex can be configured in
12-13 Link Speed and 12-14 Link Duplex.
12-06 Name Servers [1] On
Range: Function:
12-13 Link Speed
0* [0 - 2147483647 ] IP addresses of Domain Name Servers.
Can be automatically assigned when Option: Function:
using DHCP. Forces the link speed for each port in 10 or 100
Mbps. If 12-12 Auto Negotiation is set to: [ON],
12-07 Domain Name this parameter is read only and displays the
actual link speed. “None” is displayed if no link
Range: Function:
is present.
0 [0 - 2147483647 ] Domain name of the attached network.
[0] * None
Can be automatically assigned when
[1] 10 Mbps
using DHCP network.
[2] 100 Mbps
12-08 Host Name 12-14 Link Duplex
Range: Function: Option: Function:
Blank [0-19 characters] Logical (given) name of option. Forces the duplex for each port to Full or Half
12-09 Physical Address duplex. If 12-12 Auto Negotiation is set to: [ON],
this parameter is read only.
Range: Function:
0* [0 - 0 ] Read only. Displays the Physical (MAC) address of [0] Half Duplex
the option. [1] Full Duplex
NOTICE
In POWERLINK this parameter is locked to half duplex.
0* [0 - 0 ]
12-29 Store Always
Option: Function: 12-42 Slave Exception Message Count
Activates function that always stores received Range: Function:
parameter data in non-volatile memory (EEPROM). Read only.
[0] * Off Displays the number of Modbus messages for
[1] On which the slave has sent an exception response.
0* [0 - 0 ]
Range: Function:
12-94 Broadcast Storm Protection
0* [0–9999] Configures the TCP port-number for the transent
Range: Function:
socket channel. This enables Frequency converter-
telegrams to be sent transently on Ethernet via -1 %* [-1 - The built-in switch is capable of protecting the
TCP. Default value is 4000, 0 means disabled. 20 %] switch system from receiving too many
broadcast packages, which can use up network
resources. The value indicates a percentage of
5.2.6 12-9* Advanced Ethernet Settings the total bandwidth that is allowed for broadcast
messages.
12-90 Cable Diagnostic
Example:
Option: Function: The “OFF” means that the filter is disabled - all
Enables/disables advanced Cable diagnosis broadcast messages passes through. The value
function. If enabled, the distance to cable errors “0%” means that no broadcast messages passes
can be read out in 12-93 Cable Error Length. The through. A value of “10%” means that 10% of
parameter resumes to the default setting of Disable the total bandwidth is allowed for broadcast
after the diagnostics have finished. messages, if the amount of broadcast messages
[0] Disabled increases above the 10% threshold, they will be
[1] Enabled blocked.
-1 %* [-1 -
NOTICE 20 %]
The cable diagnostics function is only issued on ports
where there is no link (see 12-10 Link Status, Link Status) 12-95 Broadcast Storm Filter
Option: Function:
Applies to 12-94 Broadcast Storm
12-91 Auto Cross-Over Protection; if the Broadcast Storm
Option: Function: Protection should also include
[0] Disable Disables the auto cross-over function. Multicast telegrams.
[1] * Enable Enables the auto cross-over function. [0] Broadcast only
[1] Broadcast &
NOTICE Multicast
Disabling of the auto cross-over function requires crossed
Ethernet cables for daisy-chaining the options.
5 5 3
2
1000
100
1 10
0 1
-1 0.1
-2 0.01
-3 0.001
-4 0.0001
-5 0.00001
-6 0.000001
6 Troubleshooting
Self test
Red: Flashing red/
The Modbus TCP option is in self-test mode
6 6
Green: green
No IP address Yellow Steady yellow No IP address configured or obtained
Wink Yellow Flashing yellow Flash for 20 s
Bit (Hex) Extended status word Bit (Hex) FC 200 Extended status word 2
(16-94 Ext. Status Word) FC 202 (16-95)
only !! FC 202 only !!
00000001 Ramping 00000001 Off
00000002 AMA Running 00000002 Hand/Auto
00000004 Start CW/CCW 00000004 PROFIbus OFF1 active
00000008 Slow Down 00000008 PROFIbus OFF2 active
00000010 Catch Up 00000010 PROFIbus OFF3 active
00000020 Feedback high 00000020 Relay 123 active
00000040 Feedback low 00000040 Start Prevented
00000080 Output current high 00000080 Control ready
00000100 Output current low 00000100 Drive ready
00000200 Output frequency high 00000200 Quick Stop
00000400 Output frequency low 00000400 DC Brake
00000800 Brake check OK 00000800 Stop
00001000 Braking max 00001000 Stand By
00002000 Braking 00002000 Freeze Output Request
6 6 00004000
00008000
Out of speed range
OVC active
00004000
00008000
Freeze Output
Jog Request
00010000 AC brake 00010000 Jog
00020000 Password Timelock 00020000 Start Request
00040000 Password Protection 00040000 Start
00080000 Reference high 00080000 Start Applied
00100000 Reference low 00100000 Start Delay
00200000 Local Ref./Remote Ref. 00200000 Sleep
00400000 Reserved 00400000 Sleep Boost
00800000 Reserved 00800000 Running
01000000 Reserved 01000000 Bypass
02000000 Reserved 02000000 Fire Mode
04000000 Reserved 04000000 Reserved
08000000 Reserved 08000000 Reserved
10000000 Reserved 10000000 Reserved
20000000 Reserved 20000000 Reserved
40000000 Reserved 40000000 Reserved
80000000 Reserved 80000000 Reserved
Table 6.6 Extended Status Word Table 6.7 Extended Status Word 2
Index Modbus
Conformance....................................................................................... 3
Exception Codes............................................................................... 18
A
Abbreviations........................................................................................... 4
N
Alarm Word............................................................................................. 37 Network.......................................................... 3, 10, 15, 31, 33, 37, 6, 8
Assumptions............................................................................................. 3
O
B Overview.................................................................................................... 5
Background Knowledge....................................................................... 3
P
C Parameter Values.................................................................................. 18
Cabling.............................................................................................. 33, 37 Parameters......................................................................................... iv, 11
Configuration...................................................................... 27, 28, 32, 4 Profibus....................................................................................................... 3
Control WordPROFIdrive Profile (CTW)........................................ 19 PROFIdrive State - Transition Diagram......................................... 21
Conversion Index........................................................................... 35, 36
R
D Reference................................................................ 23, 24, 25, 4, 23, 40
Data Type................................................................................................ 35
DC Backup................................................................................................. 3 S
DeviceNet.................................................................................................. 3 Safety.......................................................................................................... iii
Spanning Tree................................................................................... 4, 15
E Status WordPROFIdrive Profile (STW)........................................... 20
EMC Precautions................................................................................... 10
Ethernet.......................................................... 10, 11, 15, 31, 33, 35, 37 T
Topology.................................................................................... 7, 8, 15, 7
F
Frequency Converter Profile..................................................... 25, 24 W
Warning Word................................................................................. 39, 37
H
Hardware.............................................................................................. iii, 3
I
I/O................................................................................................................. 4
IGMP................................................................................................... 15, 33
Installation........................................................................................... iii, 3
IP
Settings......................................................................................... 11, 35
Traffic.................................................................................................... 15
IP21/Type 1................................................................................................ 3
L
LED........................................................................................................... 4, 6
LEDs........................................................................................................... 37
Literature.................................................................................................... 3
M
Master....................................................................................................... 38
*MG90P202*