background image

8-13  Configurable Status Word STW

Option:

Function:

[71] Logic Rule 1

See parameter group 

13-4* Logic Rules

. If

Logic Rule 1 is evaluated as TRUE, the
output goes high. Otherwise, it is low.

[72] Logic Rule 2

See parameter group 

13-4* Logic Rules

. If

Logic Rule 2 is evaluated as TRUE, the
output goes high. Otherwise, it is low.

[73] Logic Rule 3

See parameter group 

13-4* Logic Rules

. If

Logic Rule 3 is evaluated as TRUE, the
output goes high. Otherwise, it is low.

[74] Logic Rule 4

See parameter group 

13-4* Logic Rules

. If

Logic Rule 4 is evaluated as TRUE, the
output goes high. Otherwise, it is low.

[75] Logic Rule 5

See parameter group 

13-4* Logic Rules

. If

Logic Rule 5 is evaluated as TRUE, the
output goes high. Otherwise, it is low.

[80] SL Digital

Output A

See 

13-52 SL Controller Action

. The output

goes high whenever the Smart Logic
Action 

[38] Set digital out A high

 is

executed. The output goes low whenever
the Smart Logic Action 

[32] Set digital out

A low

 is executed.

[81] SL Digital

Output B

See 

13-52 SL Controller Action

. The input

goes high whenever the Smart Logic
Action 

[39] Set digital out B high

 is

executed. The input goes low whenever
the Smart Logic Action 

[33] Set digital out

B low

 is executed.

[82] SL Digital

Output C

See 

13-52 SL Controller Action

. The input

goes high whenever the Smart Logic
Action 

[40] Set digital out C high

 is

executed. The input goes low whenever
the Smart Logic Action 

[34] Set digital out

C low

 is executed.

[83] SL Digital

Output D

See 

13-52 SL Controller Action

. The input

goes high whenever the Smart Logic
Action 

[41] Set digital out D high

 is

executed. The input goes low whenever
the Smart Logic Action 

[35] Set digital out

D low

 is executed.

[84] SL Digital

Output E

See 

13-52 SL Controller Action

. The input

goes high whenever the Smart Logic
Action 

[42] Set digital out E high

 is

executed. The input goes low whenever
the Smart Logic Action 

[36] Set digital out

E low

 is executed.

[85] SL Digital

Output F

See 

13-52 SL Controller Action

. The input

goes high whenever the Smart Logic
Action 

[43] Set digital out F high

 is

executed. The input goes low whenever
the Smart Logic Action 

[37] Set digital out

F low

 is executed.

8-14  Configurable Control Word CTW

Option:

Function:

Selection of control word bit 10, if it is active
low or active high.

[0] None
[1] Profile default
[2] CTW Valid,

active low

[3] Safe Option

Reset

[4] PID error

inverse

When enabled, it inverts the resulting error
from the process PID controller. Available
only if "Configuration Mode" is set to "Surface
Winder", "Extended PID Speed OL" or
"Extended PID Speed CL".

[5] PID reset I

part

When enabled, resets the I-part of the Process
PID controller. Equivalent to 

7-40 Process PID

I-part Reset

. Available only if "Configuration

Mode" is set to "Surface Winder", "Extended
PID Speed OL" or "Extended PID Speed CL".

[6] PID enable

When enabled, enables the extended process
PID controller. Equivalent to 

7-50 Process PID

Extended PID

. Available only if "Configuration

Mode" is set "Extended PID Speed OL" or
"Extended PID Speed CL".

8-50  Coasting Select

Option:

Function:

Select control of the coasting function via the
terminals (digital input) and/or via the bus.

[0] Digital

input

Activates Start command via a digital input.

[1] Bus

Activates Start command via the serial
communication port or fieldbus option.

[2] Logic AND Activates Start command via the fieldbus/serial

communication port, AND additionally via one
of the digital inputs.

[3] Logic OR

Activates Start command via the fieldbus/serial
communication port OR via one of the digital
inputs.

8-51  Quick Stop Select

Select control of the Quick Stop function via the terminals
(digital input) and/or via the bus.

Option:

Function:

[0]

Digital input

[1]

Bus

[2]

Logic AND

[3]

Logic OR

Parameters

MCA 122 Modbus TCP

MG90P202 - VLT

®

 is a protected Danfoss trademark

29

5

5

Summary of Contents for MCA 122 Modbus TCP

Page 1: ...MAKING MODERN LIVING POSSIBLE Operating Instructions MCA 122 Modbus TCP ...

Page 2: ......

Page 3: ... of data the costs to substitute these or any claims by third parties Danfoss reserves the right to revise this publication at any time and change its contents without prior notice or any obligation to notify previous users of such revisions or changes Safety Note WARNING HIGH VOLTAGE The voltage of the frequency converter is dangerous whenever connected to mains Incorrect installation of the moto...

Page 4: ...rameters are being changed there is a risk that motor starts 3 Electronic faults in the frequency converter and cease of temporary overload faults in supply mains or fault in the motor connection can cause an unintended start WARNING ELECTRICAL HAZARD Touching the electrical parts may be fatal even after the equipment has been disconnected from mains Safety MCA 122 Modbus TCP MG90P202 VLT is a pro...

Page 5: ... 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 ...

Page 6: ... 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 Content...

Page 7: ...nication to a non Danfoss node consult the appropriate manuals 1 1 4 Available Literature Available Literature for FC 102 FC 202 FC 300 The Operating Instructions for VLT HVAC Drive FC 102 VLT AQUA Drive FC 202 and VLT AutomationDrive FC 302 provide the necessary information for getting the frequency converter up and running The Design Guides for VLT HVAC Drive FC 102 VLT AQUA Drive FC 202 and VLT...

Page 8: ...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 Table 1 ...

Page 9: ...in Frequency Converter Items required for installing a fieldbus option in the frequency converter The fieldbus option Fieldbus option adapter frame for the FC 102 FC 202 FC 300 This frame is deeper than the standard frame to allow space for the fieldbus option beneath Strain relief only for A1 and A2 enclosures Illustration 2 2 Option Installed in Frequency Converter Illustration 2 3 Strain Relief...

Page 10: ...ED Description No power Off The device is un powered Device operational Green Solid green The device is operational Standby Green Flashing green The device needs commissioning Minor fault Red Flashing red The device has detected a recoverable fault Major fault Red Solid red The device has detected an un recoverable fault Self test Red Flashing red green The Modbus TCP option is in self test mode G...

Page 11: ...e VLT AutomationDrive VLT AutomationDrive VLT AutomationDrive VLT AutomationDrive VLT 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 po...

Page 12: ...ibres can be used for gapping longer distances and providing galvanic isolation For connecting Modbus TCP devices both hubs and switches can be used It is however always recommended to use suitable industrial graded Ethernet switches For more information regarding IP switching refer to 3 4 1 IP Traffic 2 1 5 Recommended Design Rules While designing Ethernet networks special attention and caution m...

Page 13: ...Illustration 2 7 How to Install MCA 122 Modbus TCP MG90P202 VLT is a protected Danfoss trademark 9 2 2 ...

Page 14: ...upling of high frequency noise from one cable to another Maintain the greatest possible distance min 200 mm 8 inches between cables Especially where cables run in parallel over long distances If crossing is unavoidable the Ethernet cable must cross motor and brake resistor cables at an angle of 90 Additional EMC information is available in the frequency converter Design Guide 130BC509 10 Illustrat...

Page 15: ...e found DHCP or BOOTP server is displayed For DHCP only The remaining lease time can be read out in 12 05 Lease Expires Lease Expires 12 09 Physical Address Physical Address reads out the MAC address of option which is also printed on the label of the option If using fixed leases together with DHCP or BOOTP the physical MAC address is linked with a fixed IP address NOTICE If no DHCP or BOOTP reply...

Page 16: ...d displays sets the link speed per port None is displayed if no link is present 12 14 Link Duplex displays sets the duplex mode per port Half duplex provides communication in both directions but only in one direction at a time not simultaneously Full duplex allows communication in both directions and unlike half duplex allows for communication in both directions to happen simultaneously 3 3 Config...

Page 17: ... Gateway address 0 0 0 0 Ethernet Configu ration Ethernet Configu ration Ethernet II Table 3 4 Menu Settings 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 The step assigns the protocol to the scanner which is done by selecting the scanner and selecting the Function ...

Page 18: ...on 3 4 Net Link Menu Menu Menu point Setting Function Function ETH TCP IP Net Link Net Link Danfoss Table 3 5 Menu Settings How to Configure MCA 122 Modbus TCP 14 MG90P202 VLT is a protected Danfoss trademark 3 3 ...

Page 19: ...he FC 302 It reads the holding registers 2910 to 2919 of the FC 302 to the PLCs memory MW100 to M109 3 4 IP Traffic The use of Ethernet based network for industrial automation purposes calls for careful and thorough network design Especially the use of active network components like switches and routers requires detailed know how about the behaviour of IP traffic Some important issues IGMP IGMP In...

Page 20: ...rces certain redundant data paths into a standby blocked state If one network segment in the Spanning Tree Protocol becomes unreachable or if Spanning Tree Protocol costs change the spanning tree algorithm reconfigures the spanning tree topology and reestablishes the link by activating the standby path Spanning Tree Protocol operation is necessary if the frequency converters are running in a ring ...

Page 21: ...s a code that is equivalent to the original function code with its most significant bit set to logic 1 In addition the slave places a unique code into the data field of the response message This tells the master what error occurred or the reason for the exception Refer also to sections 4 1 1 Function Codes Supported by Modbus TCP and 4 2 9 Modbus Exception Codes 4 2 2 Data Field The data field is ...

Page 22: ...g function 03HEX Read Holding Registers and written using function 10HEX Preset Multiple Registers Readable sizes range from 1 register 2 characters up to 10 registers 20 characters 4 2 9 Modbus Exception Codes For a full explanation of the structure of an exception code response refer to 4 2 Modbus TCP Message Framing Structure Code Name Meaning 1 Illegal function The function code received in th...

Page 23: ...requency converter is in State 1 Switching on inhibited Refer to Illustration 4 1 Bit 03 Coasting No coasting Coasting stop Bit 03 0 leads to a stop When bit 03 1 the frequency converter can start if the other start conditions are satisfied NOTICE The selection in 8 50 Coasting Select determines how bit 03 is linked with the corresponding function of the digital inputs Bit 04 Quick stop Ramp Quick...

Page 24: ...ameter Set ups Bit 15 No function Reverse Bit 15 0 causes no reversing Bit 15 1 causes reversing NOTICE In the factory setting reversing is set to digital in 8 54 Reversing Select NOTICE Bit 15 causes reversing only when Ser communication Logic or or Logic and is selected 4 3 2 Status Word according to PROFIdrive Profile STW The Status word is used to notify a master for example a PC about the sta...

Page 25: ...ncy is within the indicated limits 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 Bit 12 Drive OK Stopped autostart When bit 12 0 there is no temporary overloading of the inverter When bit 12 1 the inverter has stopped due to overloading However the frequency converter has not ...

Page 26: ...Illustration 4 1 PROFIdrive State Transition Diagram How to Control MCA 122 Modbus TCP 22 MG90P202 VLT is a protected Danfoss trademark 4 4 ...

Page 27: ...he frequency converter to start the motor if the other starting conditions have been fulfilled NOTICE In 8 50 Coasting Select a selection is made to define how Bit 03 gates with the corresponding function on a digital input Bit 04 Quick stop Bit 04 0 causes a stop in which the motor speed is ramped down to stop via 3 81 Quick Stop Ramp Time Bit 05 Hold output frequency Bit 05 0 causes the present ...

Page 28: ...rsing is set to digital in 8 54 Reversing Select Bit 15 causes reversing only when Ser communication Logic AND or Logic OR is selected 4 4 1 Status Word according to Frequency Converter Profile STW Illustration 4 3 8 10 Control Word Profile Bit Bit value 0 Bit value 1 00 Control not ready Control ready 01 Drive not ready Drive ready 02 Coasting Enable 03 No error Trip 04 No error Error no trip 05 ...

Page 29: ...ops Bit 13 Voltage OK Voltage exceeded Bit 13 0 means that there are no voltage warnings Bit 13 1 means that the DC voltage in the frequency converter s intermediate circuit is too low or too high Bit 14 Torque OK Torque limit exceeded Bit 14 0 means that the motor current is lower than the torque limit selected in 4 16 Torque Limit Motor Mode and 4 17 Torque Limit Generator Mode Torque limit Bit ...

Page 30: ...egative and the control word contains a run reverse signal the frequency converter will run clockwise to is MAV is scaled in the same way as the reference How to Control MCA 122 Modbus TCP 26 MG90P202 VLT is a protected Danfoss trademark 4 4 ...

Page 31: ...xpected to pass between the reception of two consecutive telegrams If this time is exceeded it indicates that the serial communication has stopped The function selected in 8 04 Control Word Timeout Functionis then carried out A valid control word triggers the time out counter 8 04 Control Word Timeout Function Select the time out function The time out function activates when the control word fails...

Page 32: ...dicates that the terminal is high 11 T19 DI status The bit indicates the status of terminal 19 0 indicates that the terminal is low 1 indicates that the terminal is high 12 T27 DI status The bit indicates the status of terminal 27 0 indicates that the terminal is low 1 indicates that the terminal is high 13 T29 DI status The bit indicates the status of terminal 29 0 indicates that the terminal is ...

Page 33: ... digital out E high is executed The input goes low whenever the Smart Logic Action 36 Set digital out E low is executed 85 SL Digital Output F See 13 52 SL Controller Action The input goes high whenever the Smart Logic Action 43 Set digital out F high is executed The input goes low whenever the Smart Logic Action 37 Set digital out F low is executed 8 14 Configurable Control Word CTW Option Functi...

Page 34: ... via the fieldbus serial communication port OR via one of the digital inputs 8 55 Set up Select Option Function Select control of the frequency converter set up selection via the terminals digital input and or via the fieldbus 0 Digital input Activates the set up selection via a digital input 1 Bus Activates the set up selection via the serial communication port or fieldbus option 2 Logic AND Acti...

Page 35: ...d only Displays the Physical MAC address of the option 5 2 2 12 1 Ethernet Link Parameters Applies for whole parameter group Index 0 is used for Port 1 and Index 1 is used for Port 2 For EtherCAT Index 0 is for In Port and Index 1 is for Out port 12 10 Link Status Option Function Read only Displays the link status of the Ethernet ports 0 No Link 1 Link 12 11 Link Duration Range Function Size relat...

Page 36: ...alues in the non volatile memory EEPROM thus retaining parameter values at power down The parameter returns to Off 0 Off The store function is inactive 1 Store All set ups All parameter values are stored in the non volatile memory in all 5 set ups 12 29 Store Always Option Function Activates function that always stores received parameter data in non volatile memory EEPROM 0 Off 1 On 5 2 4 Modbus T...

Page 37: ...t protocol stack by only forwarding multicast packets to ports that are a member of the multicast group 0 Disable Disables the IGMP snooping function 1 Enable Enables the IGMP snooping function 12 93 Cable Error Length Range Function 0 0 65535 If Cable Diagnostics is enabled in 12 90 Cable Diagnostic the built in switch is possible via Time Domain Reflectometry TDR This measurement technique detec...

Page 38: ...Function null 1 set up TRUE Uint8 8 05 End of Timeout Function 1 Resume set up 1 set up TRUE Uint8 8 06 Reset Control Word Timeout 0 Do not reset All set ups TRUE Uint8 8 1 Ctrl Word Settings 8 10 Control Word Profile 0 FC profile All set ups TRUE Uint8 8 13 Configurable Status Word STW 1 Profile default All set ups TRUE Uint8 8 14 Configurable Control Word CTW 1 Profile default All set ups TRUE U...

Page 39: ...rite Unsigned 16 0 9 12 22 Process Data Config Read Unsigned 16 0 9 12 27 Master Address 0 0 0 0 0 255 Oct string 4 12 28 Store Data Values 0 Off 0 1 Unsigned 8 12 29 Store Always 0 Off 0 1 Unsigned 8 12 4 Modbus TCP 12 40 Status Parameter 0 1 12 41 Slave Message Count 0 12 42 Slave Exception Message Count 0 12 8 Other Ethernet Services 12 80 FTP Server 0 Disable 0 1 Unsigned 8 12 81 HTTP Server 0...

Page 40: ... the one on the right to be used when writing or reading parameters Conversion index Conversion factor 67 1 60 6 1000000 5 100000 4 10000 3 1000 2 100 1 10 0 1 1 0 1 2 0 01 3 0 001 4 0 0001 5 0 00001 6 0 000001 Table 5 4 Conversion Index Parameters MCA 122 Modbus TCP 36 MG90P202 VLT is a protected Danfoss trademark 5 5 ...

Page 41: ...low Steady yellow Link present but nor winked and no ACD Table 6 2 NS1 NS2 Network Status one per port Check Link Status The status of the Ethernet link cannot be directly identified with the LEDs Use 12 10 Link Status to verify presents of the link Use 12 11 Link Duration to verify that the link is steady present The parameter shows the duration of the present link and preset to 00 00 00 00 if th...

Page 42: ... 1 TRUE means warning Each bit status has a corresponding text string message In addition to the warning word message the master also notifies via a change in the status word Bit Hex Alarm word 2 16 91 Alarm Word 2 00000001 Service Trip Read Write 00000002 Reserved 00000004 Service Trip Typecode Sparepart 00000008 Reserved 00000010 Reserved 00000020 No Flow 00000040 Dry Pump 00000080 End of Curve ...

Page 43: ...mit 04000000 Low temperature 08000000 Voltage limit 10000000 Encoder loss 20000000 Output frequency limit 40000000 Safe stop 80000000 Extended status word Table 6 4 Warning Word Bit Hex Warning word 2 16 93 Warning Word 2 00000001 Start Delayed 00000002 Stop Delayed 00000004 Clock Failure 00000008 Firemode was active 00000010 Reserved 00000020 No Flow 00000040 Dry Pump 00000080 End of Curve 000001...

Page 44: ...0000000 Reserved 40000000 Reserved 80000000 Reserved Table 6 6 Extended Status Word Bit Hex FC 200 Extended status word 2 16 95 FC 202 only 00000001 Off 00000002 Hand Auto 00000004 PROFIbus OFF1 active 00000008 PROFIbus OFF2 active 00000010 PROFIbus OFF3 active 00000020 Relay 123 active 00000040 Start Prevented 00000080 Control ready 00000100 Drive ready 00000200 Quick Stop 00000400 DC Brake 00000...

Page 45: ... 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 Modbus Conformance 3 Exception Codes 18 N Network 3 10 15 31 33 37 6 8 O Overview 5 P Parameter Values 18 Parameters iv 11 Profibus 3 PROFIdrive State Transition Diagram 21 R Reference 23 24 25 4 23 40 S Safety iii Spanning Tree 4 15 Status WordPROFIdrive Profile STW 2...

Page 46: ...www danfoss com drives MG90P202 130R0446 MG90P202 Rev 2013 05 02 ...

Reviews: