man-mfw01 drive rectificadora weg
TRANSCRIPT
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
1/71
FIELDBUSMODULE
MFW-01Series
USER
MANUAL
MFW-01
CODE 0899.4473 E/2
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
2/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
3/71
________ CONTENTS______1
SAFETYNOTICES
2
1.1 Safety Notices in the Manual......................................1.2 Safety Notices on the Product....................................1.3 Preliminary Recommendations...................................
112
INTRODUCTION
3
2.1 About the Manual........................................................2.2 Manual/Version of Software.........................................2.3 Introduction to WEG Serial Communication...............2.4 Introduction to MFW-01..............................................
2.4.1 Mechanical Characteristics..................................
2.4.2 Mechanical Fastening..........................................2.5 Product Identification...................................................2.6 Receiving, Inspection and Storage..............................
33457
788
INSTALLATION
4
3.1 Mechanical Installation................................................3.1.1 Environment........................................................3.1.2 Mounting Specification........................................
3.2 Electrical Installation....................................................3.2.1 Power Connections.............................................
3.2.2 Power Supply......................................................3.2.3 Characteristics of the Power Supply...................3.2.4 Description of the X6 Connector.........................3.2.5 Digital Inputs and Outputs...................................3.2.6 Serial Interfaces...................................................3.2.7 Grounding............................................................
999
1010
111111121212
INDICATIONS
5
4.1 Indications.................................................................... 13
DEFINITIONS 5.1 WEG Network..............................................................5.1.1 Terms Used in WEG Network.............................5.1.2 Block Diagram.....................................................5.1.3 Variable Standardization.....................................5.1.4 WEG Protocol......................................................5.1.5 Reading Frame....................................................5.1.6 Writing Frame......................................................5.1.7 Frame Testing.....................................................
5.1.8 Parameters Related to Serial Communication....5.1.9 Errors Related to the Serial Communication.......5.1.10 Time at WEG Network.......................................
5.2 Addressing...................................................................
1415151515161616
16171721
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
4/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
5/71
________ CONTENTS______
10
9.7 Table at DPRAM..........................................................9.8 DeviceNet Network Definition......................................
4344
DEVICENET
11
10.1 DeviceNet Fieldbus....................................................10.2 Introduction to DeviceNet..........................................10.3 Network Overview......................................................10.4 Technical Features for DeviceNet.............................10.5 Conformance Tested.................................................10.6 Installation & Configuration........................................
10.6.1 Fieldbus Connectors.......................................
10.6.2 Baud Rate.......................................................10.7 Indications..................................................................10.8 Termination................................................................10.9 EDS File.....................................................................10.10 Additional Information about DeviceNet..................10.11 Problems and Solutions for DeviceNet....................
45454546474747
474849494950
PROFIBUS DP
12
11.1 Fieldbus Introduction..................................................11.2 Introduction to Profibus-DP........................................
11.3 Network Overview......................................................11.4 Technical Features for Profibus-DP...........................11.5 Protocol & Supported Functions................................11.6 Physical Interface.......................................................11.7 Configuration & Indications........................................11.8 Data Exchange..........................................................11.9 Installation & Configuration........................................
11.9.1 Fieldbus Connectors.......................................11.9.2 Baud Rate.......................................................
11.10 Termination..............................................................11.11 Node Address..........................................................11.12 GSD File..................................................................11.13 Indications................................................................11.14 Additional Information for Profibus DP.....................11.15 Problems and Solutions for DP................................
5151
515253535454545455555656565758
MODBUS RTU 12.1 Introduction to Nodbus RTU......................................12.2 Specifications.............................................................12.3 System Setup.............................................................
12.4 Summary Technical Features Modbus RTU Module.12.5 Configuration and Indication......................................12.5.1 Dip Switches on Card......................................12.5.2 Led Indicator on Card......................................
12.6 Fieldbus Connectors..................................................
595959
6060606161
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
6/71
________ CONTENTS______
13
12.7 Problems and Solutions for Modbus RTU................ 61
PROBLEMS ANDSOLUTIONS
14
Problems and Solutions by Using MFW-01...................... 62
WARRANTY Product Warranty Terms.................................................... 64
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
7/71
SAFETY NOTICE 1
1
This Manual contains all necessary information for the correct use of the MFW-01.Only qualified personnel familiar with this Manual should attempt to Start-up ortroubleshoot this equipment.
1.1 SAFETY NOTICES INTHE MANUAL
The following Safety Notices will be used in this Manual:
DANGER!If the recommended Safety Instructions are not strictlyobserved, it can lead to serious or fatal personal injuries and/
or equipment damage.
ATTENTION!Failure to observe the recommended Safety Procedures canlead to material damage.
NOTE!The content of this Manual supplies important information forthe correct understanding of operation and proper operationof the equipment.
1.2 SAFETY NOTICESON THE PRODUCT
The following symbols may be attached to the product,serving as Safety Notice.:
High Voltages.
Components sensitive to electrostatic discharge.Do not touch them without following proper groundingprocedures.
Mandatory connection to ground protection (PE).
Shield connection to the ground.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
8/71
1 SAFETY NOTICE
1.3 PRELIMINARYRECOMMENDATIONS
DANGER!Only qualified personnel familiar with communicationnetworks should plan or implement the installation, Start-upoperation and maintenance of this equipment.
These personnel must follow all safety instructions includedin this Manual and/or defined by local regulations.
Failure to comply with these instructions may result inpersonal injury and/or equipment damage.
DANGER!Do not open the equipment cover while equipment isconnected to power supply.
Many components are charged with high voltage, even aftersupply voltage has been switched OFF. Wait at least 1minute for the total discharge capacitor of the power supply.
Connect always the frame of the equipment to the ground
(P.E.) at the suitable connection point.
ATTENTION!All electronic boards have components that are sensitive toelectrostatic discharges. Never touch any of the electricalcomponents or connectors without following propergrounding procedures. If necessary to do so, touch beforethe properly ground metallic frame or use a suitablegrounded strap.
Do not apply High Voltage (High Pot) Test on MFW-01!If this test is required, contact the Manufacturer.
NOTE!Communication networks are generally sensitive to
interference generated by other equipment. To reduce thisinterference, adopt the measures recommended in thisManual and in de manufacturer Manual of the used Fieldbus.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
9/71
INTRODUCTION 2
3
2.1 ABOUT THISMANUAL
This Manual describes how to install, Start-up, operate andidentify problems with this equipment.
For more details, training or service request, contact WEGBranch or Representative.
NOTE!When calling for information or requesting services, it isrecommended that the following data are available:
MFW-01 Type;
Serial number and manufacturing date as indicated onthe product nameplate (see Item 2.5);
Version of the installed Software (see Item 2.2).
2.2 MANUAL/SOFTWAREVERSION
Due to constant technical improvements, for instance, theintroduction of new functions, the MFW-01 may be suppliedwith a new installed Software version. Please find on the
cover sheet of this Manual the Software version to which thismanual refers .
The Software version is shown on the label attached on themicrocontroller (D1) of the control board (CCF1).
NOTE!Be sure to use the Manual or Appendix corresponding to theSoftware version.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
10/71
2 INTRODUCTION
2.3 INTRODUCTION TOWEG SERIAL
COMMUNICATION
The main purpose of the serial network communication isthe physical connection of several equipment to one oremore masters that will control all equipment connected tothis network by one or two twisted pair cables only:
WEG Equipment are fitted with a software that controls thedata transmission/reception through the serial interface, thusenabling the reception of data sent by the master and thetransmission of data requested by the master.
The baud rate is 9.600Bps. After that an exchange protocol
of type request/answer is realized according to ISO 1745 forthe data transfer in codes.
Related to each WEG equipment that is connected to thenetwork, the Master can realize the following operations:
Identifications;
Controls;
Status acknowledgement;
Parameter Reading/Changing;
As indicated in the respective Serial CommunicationManual of WEG equipment.
Typical application examples of WEG network:
PC, monitoring simultaneously several variables of WEGequipment;
PLC controlling the operation of several WEG equipment
in an industrial process.
MESTRE
ESCRAVO 2
(conversor)
ESCRAVO 1
(conversor)
ESCRAVO n
(conversor)
n
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
11/71
INTRODUCTION 2
5
2.4 INTRODUCTION TOMFW-01
MFW-01, WEG Fieldbus Module, is an intelligenttranslator of communication protocols, a gateway
between WEG equipment and a Fieldbus communicationnetwork (Profibus DP, DeviceNet and Modbus-RTU).MFW-01 can translate part of the data between the twodifferent protocols and program the data that should beexchanged.
The programming of the data, parameters or basicvariables of WEG equipment that should be available athigh level, is realized by a Software, MFW.exe forWindows, which has the capacity to configure whichparameter or basic variable of WEG equipment shouldcorrespond to which address at the high Fieldbuscommunication network.
MFW-01 is fitted with a module called as Anybus that issupplied by HMS Fieldbus Systems AB. This company isassociated with the certifying entities of the respectiveFieldbuses that are being used.
Anybus module implements all Fieldbus, hardware andsoftware communication protocols.
Besides the Anybus module, MFW-01 has: switchedpower supply, microcontroller, connection for RS-232and RS-485 interfaces and six 24Vdc digital inputs andfour digital relay outputs.
The microcontroller is responsible for the serialacquisition and changing of the parameter content ofWEG equipment according to WEG protocol and for theupdating of the variables at the Dual Port RAM.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
12/71
2 INTRODUCTION
The microcontroller also identifies which Fieldbus deviceis connected to realize the configuration of the addressing
in the DPRAM variables.
The variables are allocated on the DPRAM by means of aaddressing table resident on EEPROM, that must beconfigured previously by the PC configuration Software,MFW.exe, and transferred to MFW-01 serially.
By means of this Software the user can configure,according to his needs, which parameters shall be read orcontrolled.
Once the required configuration parameters are defined,they will be updated cyclically at their respectiveaddresses. If a change of that configuration is required,the user can perform it through the new configuration.
Simplified block diagram of the MFW-01:
As shown in the sample above, the Master can read thecontent of the Parameter P121 of a CFW-07 that isconnected to the address No. 4 of WEG network and controlthis parameter by changing its logical control variable V00,
by reading and writing only the I/O of the correspondingFieldbus network address.
AnyBus of HMS
MFW-01
Programmable Configuration
Master
Inputs
DPRAM
Outputs
DPRAM
The content of theparameter P121 of the
CFW-07 at address 4 ofWEG network will be
written cyclically ataddress 1 of the
DPRAM input
The content of DPRAMoutput address 1 will bewritten cyclically in thelogical control variable
V00 of the CFW-07
Driver
CFW-07
Fieldbus communication
RS-485communication
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
13/71
INTRODUCTION 2
7
2.4.1 MechanicalCharacteristics
All MFW-01 types are fitted with the same mechanics.
Galvanized steel sheets with fixture for fastening on DINrails.
Degree of Protection: IP20.
Operation Temperature: 0C to 50C.
2.4.2 MechanicalFastening
To fix the MFW-01 proceed as follows: insert firstly thetop groove on the rail, then press it down against the walltill the lower side of the rail is inserted in the groove.
To remove it from the rail proceed as follows: press thetop side down and maintain it depressed, then pull thebottom side out of the rail.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
14/71
2 INTRODUCTION
2.5 PRODUCTIDENTIFICATION
Identification nameplate
MFW-01 / _ _ Options: Item:PD = Profibus DP 417100540DN = DeviceNet 417100541MR = Modbus-RTU 417100542
2.6 RECEIVING,INSPECTION ANDSTORAGE
Check the following Items at product receipt:
If the MFW-01 data meet your required specification.
If the equipment has been damaged during the transport.
If the received product does not match the requestedspecification, or any damages or shortages are detected.contact immediately the manufacturer or our sales
representative.
If the product will be stored after incoming inspections,keep it in its original packaging and store it in a suitabledry and clean room:
do not store it in temperature higher than 60C (140F)and lower than 25C (13F) ;
do not store it in wet room where water condensation canoccur;
do not store it in any corrosive ambient.
Hardware Version
Serial Number /WEG item /manufacturing date
MFW Type
Power SupplyData
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
15/71
INSTALLATION 3
9
3.1 MECHANICALINSTALLATION
3.1.1 Environment Location of MFW is important to achieve proper performanceand normal operating life. The unit should be installed in anarea where it will be protected against:
direct exposure to sunlight, rain, moisture or sea air;
corrosive or explosive gases or liquids;
excessive vibration, airborne dust or metallic particles.
Environmental Conditions:
Temperature : 0 ... 40 C nominal conditions.0 ... 50 C current derating of 2% foreach 1,8F (1C) degree above 104F(40C).
Relative Air Humidity:5% to 90%, non-condensing.
Max. Altitude: 3,300ft (1000m) nominal conditions.
Pollution Degree: 2 (according to EN50178 andUL508C).
When MFW are installed in panels or closed metal boxes,adequate cooling is required to ensure that the temperaturearound the unit will not exceed the maximum allowedtemperature.
3.1.2 MountingSpecification As shown in Item 2.4.2 Mechanical Fastening. Install MFW in vertical position.
There must be a minimum of 2,0 in. on each side of theMFW.
Install the unit on a suitable flat surface.
Provide independent conduits or cable troughs toseparate the serial interface, digital input and output and
power conductors from the wiring of other equipmentsuch as frequency inverters, motors, contactor, etc.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
16/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
17/71
INSTALLATION 3
11
PROG. for program transfer (LED PROG).
Connecting switch of the terminating resistor when line
end. S1 RES. to 485.
Digital input/output connector XC5.
Fieldbus connector.
Configuration switches of the Fieldbus, addressing,transfer rate, terminating resistor can be configuredaccording to the used protocol.
Indication LEDs and Fieldbus indication LEDs.
3.2.2 Power Supply MFW-01 has a switched power supply that supplies theinternal electronics and the serial communication interfaces.
3.2.3 Characteristics ofthe Power Supply
Supply voltage: 85 to 240Vac rms.
Max. power consumption: 17 Watts.
Internal fuse: 2A / 250V delayed actuation (5x20mmtubular glass).
Electromagnetic Compatibility: fitted with a filter forinterference reduction according to EN50081-1 /EN55011 Class B CISPR11 Class B for .
3.2.4 Description of theX6 Connector
MFW-01 connector of the X6 power supply.
Max. torque for connector screws: 0.3Nm.
Connector duty data: 250Vac 2A.
Cable cross-section: 0.5...1.5mm.
TERMINAL SYMBOL DESCRIPTION
1 F Phase (85-240Vac)
2 N Neutral
3 Ground Pin 3 must be grounded.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
18/71
3 INSTALLATION
3.2.5 Digital Inputs andOutputs
See Item 7.
3.2.6 Serial Interfaces See Item 6.
3.2.7 Grounding Due to safety reasons, the MFW must be always solidlygrounded. The grounding connection must meet the localregulations.
For grounding use a wire cross-section of min. 1.5mm.
Connect the grounding cable to a specific grounding baror to the general grounding point (resistance 10 ohms).
Do not share the grounding wiring with other equipmentthat operates at high powers (for instance, high voltagemotors, welding machines, etc.).
If several equipment are connected through their serialinterfaces, connect them to the same ground.
NOTE!Avoid to connect the equipment to different grounding points,since they can have different voltages and when they areconnected through their serial interfaces, these voltagedifferences can damage the equipment.
CorrectGrounding
ATTENTION!Do not use the neutral conductor for grounding purpose.For long distances, use always RS-485 interfaces.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
19/71
INDICATOR LEDS 4
13
4.1 INDICATIONS Indicator LEDs:
Power LED: lights up when MFW-01 ON.
Serial LED: is ON when MFW-01 is transmitting orreceiving data serially to or from any of their serialinterfaces .
Error LED: lights up when any error is present.
Indication LEDs of operation mode:
Prog LED: lights up in programming mode for programtransfer;
Run LED: lights up when program is running.
LEDs for indication of digital Inputs/Outputs:
Each I/O is fitted with one LED;
LED lights up when input (+24V) and output is activated(contact closed).
The error LED will flash according to the existing errorcode:
Error 1 = time out error, there is no answer to the framesent to one of the equipment connected to WEG networkor there is NAK;
Error 2 = in RUN mode without I/O configuration;
Error 3 = access error to dual port RAM or Fieldbus.
AnyBus board may be not connected or it is defective; Error 4 = initialization error of the AnyBus.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
20/71
5 DEFINITIONS
MFW-01 has the advantage to be connected through RS-485 WEG network to several equipment.
The max. number of available stations on this WEGnetwork will depend on the number of the requiredvariables and on the time required for their updating.
The max. allowed number of variables is of 24 inputs and24 outputs. Each variable is a word with 16bits.
The stations connected to this mini-network can bedifferent WEG equipment: SSW-03, 04, CFW-05, 06, 07,08, 09, MDW-01, SCA-04, CTW-(A)03 and all new
equipment that are fitted with WEG serial communicationprotocol.
Through the equipment response to each answeringFrame or to the variable change, MFW-01 will checkwhich equipment are operating correctly. This informationwill be available at the specific addresses of the DPRAMinput that will be made available at the higher network.
The available DPRAM variables for the communicationbetween the Master and the MFW-01 are so disposed toservice several Fieldbus protocols, make easy and viablethe implementation of the software on the PLC or on PCand to establish the communication with all WEGequipment that have WEG serial communication protocol.
O MFW-01 controls the variables of all equipmentindependent of the type or their number. The variablecommunication will be realized only through theirrespective addresses:
Master
Address of the MFW-01 on Fieldbus
WEG equipment address on WEG network
Read or write variable
5.1 WEG NETWORK
Variable address in WEG equipment
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
21/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
22/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
23/71
DEFINITIONS 5
17
5.1.9 Errors Related tothe Serial
Communication
They do not disable WEG equipment;
They do not deactivate the fault relay;
They inform only through display and in logical statusword.
Type of Errors:
E22: longitudinal parity error (BCC); E24: when changing of parameters is attempted that can not be changed with running motor; E25: not existing variable; E26: set value out of permitted range; E27: write attempt on read-only variable, or logical control
disabled;
E29: serial interface error (available only in some WEGequipment).
Note.:These errors can be observed through reading of the statusvariable of WEG equipment.
NOTE!Take care with the parameter incompatibility. Functionincompatibilities are indicated in the respective Manuals ofWEG equipment that are being applied.
5.1.10 Times at WEGNetwork
Variable Updating Times at dual port RAM:
As the communication between WEG equipment and theMFW-01 is serial, the variable updating rate at DPRAM
depends of the serial baud rate of WEG equipment.
The standard baud rate of WEG equipment is 9600bps.This baud rate reduces the time of the DPRAM variableupdating, but does not reduce the communication time ofthe Fieldbus network, since the variables are alwaysavailable at the Fieldbus network, updated or not.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
24/71
5 DEFINITIONS
Times of WEG protocol:
Data receiving/transmission rate: 9600bps 1bit / 104,2usEach data word has 10bits 1,04ms
A inquiry frame has 8 word 8,33ms
A answering frame to a inquiry has 14 word 14,58ms
A changing frame has 15 word 15,63ms
A answering frame to a change has 2 words 2,08ms
An updating of a requested variable (with immediate answer) 22,91ms
A changing of a write variable (with immediate answer) 17,71ms
Note.: For each frame without answer will occurs a delay of
50ms.
The same frame will be sent up to three timesconsecutively, 150ms, after that an error will be indicatedon the respective status word, (set bit).
As the variables are processed cyclically, a newprocessing is realized.
When at the next processing the answer is correct, therespective status word is reset (reset bit).
NOTE! In order to avoid communication delay, maintain all WEG
equipment ON and disconnect defective equipmentimmediately from WEG network.
All drivers and their connections with WEGcommunication network must be in excellent operationcondition and submitted to preventive maintenance indetermined intervals.
The total updating time of the DPRAM variables dependson the number of variables that should be processed.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
25/71
DEFINITIONS 5
19
Simplified diagram of the variable processing:
Initialization
It updates the digitalinputs/outputs
Must process the serialtransmission?
Yes No
It reads the description of the n input variable at the EEPROM
It generates an inquiry frame of the n input variable
It sends an inquiry frame of the n input variable
I receives the answer of the n input variable
It updates at DPRAM the n input variable and status word
It updates the digital inputs/outputs
It increments n + 1
The inputs are processed up to the last variable
It updates the digital outputs
Must the outputs be processed?
Yes No
Are there new data for the outputs?
Yes No
It reads the description of the n output variable at the EEPROM
It reads the content of the n output variable at the DPRAM
It reads the value of the digital outputs at DPRAM and updates the digitaloutputs
It generates an inquiry frame of the n output variable
It sends an inquiry frame of the n output variable
I receives the answer of the concluded change
It updates at DPRAM the status word and the digital inputs
It increments n + 1
The outputs are processed up to the last variable
Since the initialization, the MFW-01 working cycle followsalways this flowchart, processing firstly all read variablesand then all write variables, returning cyclically to the firstread variable.
Note:n shown above is used only to exemplify the sequentialaddress of the variable processing: first variable, secondvariable...
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
26/71
5 DEFINITIONS
The total updating time can be obtained by the followingequation:
Time = ( number of input variables x ( 22,91ms + 1,2ms ))+ ( number of output variables x ( 17,71ms + 1,2ms ))
Note:Do not consider the status variables in the number of inputvariables, that they will be used according to the number ofused blocks. See DPRAM Definition Table.
Please consider only the output times in the total sumwhen they have been changed.
NOTE!This time will be maintained, when no communication erroroccurred with WEG equipment that are part of WEGcommunication network.
The digital inputs are updated at every DPRAM access.Thus the max. updating time of the digital inputs is22,91ms, but when communication error has occurred,this time will be extended in 50ms.
The digital outputs are only updated when a data changeis made. Thus the maximum updating time of the digitaloutputs after a data change may be 22,91ms, but whencommunication error has occurred, this time will be of50ms.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
27/71
DEFINITIONS 5
21
5.2 ADDRESSING Table below shows the addressing of the DPRAMvariables and how the Master will access the variables:
Addressing of the DPRAM Variables
Inputs Outputs
Ends. Definitions Ends. Definitions
0 Status from digital inputs 0 Status to digital outputs1 General Status 1 Control
1st
input block
2 Status of the 1st
input block3 Status of the 1st output block
1st
output block
4 L 2 L5 H
Content from variable no. 13 H
Content to variable no. 1
6 L 4 L7 H
Content from variable no. 25 H
Content to variable no. 2
Total of 8 input variables Total of 8 output variables
18 L 16 L19 H
Content from variable no. 817 H
Content to variable no. 8
2nd
input block
20 Status of the 2nd
input block21 Status of the 2
ndoutput block
2nd output block
22 L 18 L23 H
Content from variable no. 919 H
Content to variable no. 9
24 L 20 L25 H
Content from variable no. 1021 H
Content to variable no. 10
Total of 8 input variables Total of 8 output variables
36 L 32 L37 H
Content from variable no. 1633 H
Content to variable no. 16
3rd input block
38 Status of the 3rd
input block39 Status of the 3
rdoutput block
3rd
output block
40 L 34 L41 H
Content from variable no. 1735 H
Content to variable no. 17
42 L 36 L43 H
Content from variable no. 1837 H
Content to variable no. 18
Total of 8 input variables Total of 8 input variables
54 L 48 L
55 HContent from variable no. 24
49 HContent to variable no. 24
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
28/71
5 DEFINITIONS
5.2.1 Detailed DPRAMDescription
Detailed description of the definitions of each DPRAMaddress:
Status from digital inputs: Current status of the MFW-01 digital inputs.
7 6 5 4 3 2 1 0
X XDigitalInput 6
DigitalInput 5
DigitalInput 4
DigitalInput 3
DigitalInput 2
DigitalInput 1
Bit high = activated digital input.
General Status: shows the status of some currentconditions of the MFW-01.
7 6 5 4 3 2 1 0
X X XWithout user
programError in a
writingError in areading
1st
readingrealized
Initializationconcluded
Initialization concluded: this bit, high when, indicates thatthe initialization of the Fieldbus has been realized, it isconnected and it is without error.
1st reading realized: this bit, high when, indicates that thefirst reading of all input variables has been realized withor without communication error.
Error in a reading: this bit is high when an answer errorwith NAK occurs, or when the corresponding driver doesnot answer after three reading attempts of the inputvariable. The time out will be 50ms x 3 =150ms.
Error in a writing: this bit is high when an answer to NAKoccurs or when the corresponding driver does not answer
after three changing attempts of the output variable. Thetime out will be 50ms x 3 =150ms.
Without user program: this bit, high when, indicates thatthere is no correct input or output configuration atEEPROM.
Status of the n input block: it is used to indicate whena communication error occurs during the status request ofeach variable.
7 6 5 4 3 2 1 0Error in theanswer ofvariable 8
Error in theanswer ofvariable 7
Error in theanswer ofvariable 6
Error in theanswer ofvariable 5
Error in theanswer ofvariable 4
Error in theanswer ofvariable 3
Error in theanswer ofvariable 2
Error in the answerof variable 1
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
29/71
DEFINITIONS 5
23
Bit high = answer to request with NAK or without answer.
It is considered error after three attempts without success. Each status word corresponds to a block of 8 variables ofthe input area, respectively.
Status is reset if the next reading of the same variable isOK.
Content from variable n: after the reception of eachanswer, MFW-01 writes the content of the variable in thisDPRAM address.
The variable content is divided into two bytes: L = LSB
and H = MSB and the addressing is defined according tothe communication protocol.
When a communication error occurs in WEG network, thevariable stores the last received value.
Status of the n output block: it is used to indicatedwhen a communication error occurs during the statuschanging of each variable
7 6 5 4 3 2 1 0
Error duringchanging ofvariable 8
Error duringchanging ofvariable 7
Error duringchanging ofvariable 6
Error duringchanging ofvariable 5
Error duringchanging ofvariable 4
Error duringchanging ofvariable 3
Error duringchanging ofvariable 2
Error duringchanging of variable
1
Bit high = answer to changing with NAK or withoutresponse.
Each status word corresponds to a block of 8 variables ofthe output area, respectively.
It is reset if the next writing of the same variable is OK.
Status to digital outputs: status that the master willwrite at the digital outputs of the MFW-01.
7 6 5 4 3 2 1 0
X X X XDigital
output 4Digital
output 3Digital
output 2Digital output 1
Bit high = activates digital output
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
30/71
5 DEFINITIONS
Control: through this byte the master can control thecommunication on WEG network between the MFW-01
and the connected drivers.
7 6 5 4 3 2 1 0
XReserved fordata change
Timer for Modbus-RTUcommunication verification
XEnables the
changesalways
Enables thechanges
Enables thecommunication
Bit high = activates the function.
It enables the communication: if the master set this bit,the communication on WEG network is started, enablingthe reading of the inputs and allowing the changeenabling.
It enables the changes: if the master set this bit, thecommunication on WEG network is started, enabling towrite the outputs.
It enables the changes always: if the master set this bit,the communication on WEG network is started, enablingto write the outputs always. Independently if outputschanged from master. The total updating time willincrease.
Timer for Modbus-RTU communication verification: it isavailable only in MFW-01 for Modbus-RTU protocol.Since in Modbus-RTU communication there is no databeing transmitted full time in the bus, it is not possible todetect if it has happened any problem with theconnection. For the applications in which this conditionmust be detected, it is possible to program the bits 4 and5 of the control byte, to disable MFW-01 if no new data isreceived. It is possible to program this timer according tothe table that follows:
Bit 4 Bit 5 Time until MFW-01 be disabled0 0 Timer not programmed0 1 2 seconds1 0 5 seconds1 1 10 seconds
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
31/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
32/71
5 DEFINITIONS
If the configuration is correct, MFW-01 waits for 3s, tostart all drivers connected to WEG network.
Initialization process: After verification and the configuration at EEPROM is
correct, the initialization of the AnyBus DPRAM will berealized, identifying the protocol type and starting theinquiry frames and the variables changing.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
33/71
COMMUNICATION INTERFACES 6
27
The physical connection between WEG equipment and theMFW-01 of WEG network is realized in two standard ways:
RS-232 point to point up to 10m;
RS-485 multi-point, with galvanic insulation, up to 1000m;
6.1 RS-485 WEGINTERFACE
For serial communication of WEG network equipment
The RS-485 Interface permits the interconnection up to30 WEG equipment to one MFW-01 (master), allocatingan address (1 to 30) to each WEG equipment set to thisaddress.
The connection of the participants is realized by means ofa twisted pair cable.
The signal levels are according to EIA STANDARD RS-485 with differential receiver and transmitter.
NOTE!If WEG equipment is fitted only with the standard RS-232interface, you must couple an level conversion module toconvert the level from RS-232 to RS-485, designated asMIW-02 interface module for RS-232/RS-485communication and a communication cable for RS-232.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
34/71
6 COMMUNCATION INTERFACES
6.1.1 RS-485 WEGElectrical
Characteristics
RS-485: Standard: EIA Standard RS-485. Configuration: Half Duplex, with RTS signal. Transmission speed: 9.600Bps. Galvanic Insulation: 1.500V/1min. Max. cable length: 1000 m (total).
Receiver:Maximum common mode voltage: -7V Vcm +12V;Voltage threshold of differential input: min. 0,2V
Max.+0,2V;Hysteresis: approx. 70mV;Input impedance: 12K (resistor S1 Off);Leakage current without supply: 20A;
Transmitter:Differential voltage: without load: 5V
With load : 27: 1,5V;Common mode voltage: with load 27: 3V;Differential voltage variation between complementarystatus: 0,2V;
Operation temperature:60C.
6.1.2 RS-485 WEGConnection It must be connected directly point to point or in network
with each parallel branch.
6.1.3 RS-485 WEGCares
Factors such as unbalance and mutual cable capacitancetend to reduce the network noise immunity.
In the practice, the cable cross section must be larger orto 26AWG (0,14mm), shielded twisted pair cable.
The cable shield must be grounded at all connections ofthe network through the RS-485 connectors.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
35/71
COMMUNICATION INTERFACES 6
29
All network equipment must be grounded.
For the serial interface cables use separate conduits .
Dont forget to install terminating resistors at the ends ofthe network at disconnect the resistor from the internalnetwork equipment.
Relays, contactors, solenoid valves, coils ofelectromechanical brakes installed near the MFW-01may generate interferences in the control circuit. Toeliminate this interference, connect RC suppressor filterin parallel with the coils of these devices, when ACsupply is used and free-wheel diode, when DC supply isused.
6.1.4 RS-485 WEGCable Definition
The EIA Standard does not specify a standard cable forRS-485, but it recommends some cares to be take duringit selection.
To reduce the cable reflection at maximum, connect aresistor (Rt) at each cable end. This resistor must havethe same impedance as the characteristic cableimpedance.
These resistors are already available on MIW-02 bysetting the S1 switch to ON.
The max. ohmic resistance of the cable is determined bythe following equation:
RLOOP= Rt (1,5 Vo)Vo
where:Vo = voltage at the cable end (V); max. 1,5V;Rt = terminating resistor (ohms);RLOOP = cable resistance (ohms)
The noise level variation ( VR ) is defined by:
VR = VO - 0,2
Thus, the larger the cable cross-section, the lower will bethe resistance and the larger will be the noise levelvariation.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
36/71
6 COMMUNCATION INTERFACES
Cable examples:
The following cables have been calculated forVR = 1,0V and Rt=120 O.
Data:Manufacturer: KMPSeries: AFSType: 1 balanced pair of cables with aluminizedpolyester tape shield + tinned stranded copper wires.
Length SectionManufacturer
Code
O /km (Rloop)Zo
(f=100kHz) 120 metros 26 AWG (0.14mm) 415001 250 100O
200 metros 24 AWG (0.23mm) 415014 146 89O
300 metros 22 AWG (0.36mm) 415027 100 84O
500 metros 20 AWG (0.56mm) 415040 58 86O
800 metros 18 AWG (0.94mm) 415053 36 79O
1000 metros 16 AWG (1.35mm) 415066 28 77O
Note:
This manufacturer has been adopted only as suggestion.
6.1.5 RS-485 WEGXC4 ConnectorDescription
MFW-01 connector for the RS-485 XC4.
Max. Torque of connector nut: 0,3Nm.
TERMINAL SYMBOL DESCRIPTION
1 A2 B
Data transmission and reception
3 GroundThe cable shield must beground. The MFW-01 framemust be ground to the fasteningbolts.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
37/71
COMMUNICATION INTERFACES 6
31
6.2 RS-232 WEGINTERFACE
For point to point connection with WEG equipment.
In this case we will have the connection of an FW-01(master) to WEG equipment (point to point) and the datacan be communicated only with one WEG equipment. Asthere are only few data present, this will accelerate theupdating of the data that that are available on thenetwork.
The logical levels follow EIA STANDARD-RS-232C, thatdetermines the use of non balanced signals.
For the RS-232 a communication cable is used .
6.2.1 RS-232 WEGElectricalCharacteristics
RS-232: Standard: EIA Standard RS-232C. Transmission speed: 9.600Bps. Max. cable length: 10 m.
Receiver:Max. input voltage: 30V;
Input resistance: > 3KLevel 1 (MARK): < -3V;Level 0 (SPACE): > +3V.
Transmitter:Current Limit: ~ 10mA;Output voltage level 1: < -7V (RL = 3K);Output voltage level 0: > +7V (RL = 3K).
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
38/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
39/71
COMMUNICATION INTERFACES 6
33
WEG equipment connector for RS-232 XC.....
TERMINAL SYMBOL DESCRIPTION1 +5V +5V 5%2 RTS Request To Send3 GND 0V4 Rx Data rece tion5 GND 0V6 Tx Data transmission
6.3 RS-232 PC
INTERFACE
This interface It is used only for the transfer of PC programs.
In this case we will have a point to point connection of theMFW-01 to one PC for the program transfer realized in
the MFW.exe Software .
The logical levels follow the EIA Standard RS-232C andthe protocol is the WEG one for the program transmissionof this product.
The program is transferred simultaneously, and if achecksum error occurs at the end of the data transfer, anerror will be indicated in the MFW.exe software .
6.3.1 RS-232 PCElectricalCharacteristics
Same as Item 6.2.1.
6.3.2 RS-232 PCConnection
It must be connected directly to serial PC Interface.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
40/71
6 COMMUNCATION INTERFACES
6.3.3 RS-232 PCCares
Please check if there are grounding differences betweenthe MFW-01 and the PC grounding in order to avoid that
one of the devices may burn.
6.3.4 RS-232 PCCable Definition
The required cable is the standard cable for WEG serialcommunication, equipment x PC.
Length WEG ItemRS-232 PC serial cable with 3m 0307.5460
Note:
This cable is supplied with the MFW-01.
MFW-01 connector of the RS-232 XC3 for the PC.6.3.5 RS-232 PCXC3 ConnectorDescription
TERMINAL SYMBOL DESCRIPTION1 nc Not connected2 nc Not connected3 GND 0V
4 Rx Data Rece tion5 GND 0V6 Tx Data transmission
Serial Connector of the PC (DB9).
TERMINAL SYMBOL DESCRIPTION
1 Not connected2 Data Reception3 Data transmission
4 Not connected5 0V6 Not connected7 Not connected8 Not connected9 Not connected
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
41/71
DIGITAL INPUTS AND OUTPUTS 7
35
MFW-01 is fitted with 6 digital inputs and 4 digitaloutputs.
These inputs and outputs are driven directly at the firstwriting and reading addresses of the 0000H Fieldbus.
7.1 DIGITAL INPUTS MFW-01 is fitted with 6 optocoupled inputs that areavailable at terminals 1 to 15 of the XC5 connector
They are activated with high level +24Vcc.
All points have a common reference available at terminal15 of connector XC5.
If the application is not fitted with a +24Vcc source,MFW-01 has an auxiliary source to activate de digitalinputs.
NOTE!
The auxiliary source serves to supply the digital inputs.
Isolation between the inputs and the electronics: 250Vac.There is no isolation between the input points.
Logical level, max. and min. current and voltage:
15mA 30V
2..15mAHigh level = 1
15V
UncertaintyZone
0,5..15mA 5V
0mA
Low level = 0
0V
7.1.1 Digital InputsElectricalCharacteristics
+24Vcc aux. source: +24Vcc 5% 250mA max.
Hardware filter with time constant around 1 ms.
7.2 DIGITAL OUTPUTS MFW-01 has 4 digital relay outputs, available at theterminals 9 to 16 of the connector XC5.
All output points are isolated and do not have common
points.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
42/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
43/71
DIGITAL INPUTS AND OUTPUTS 7
37
Digital inputs using the aux. internal source:
Digital inputs using a aux. external source:
7.4 XC5 CONNECTION
DIAGRAM
Digital outputs with common supply source
Digital outputs with isolated supply sources:
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
44/71
8 PROGRAMMING SOFTWARE
8.1 MFW.exe MFW-01 Programming Software for Windows.
Simple and easy to operate;
It permits the user to choose which variable of adetermined WEG equipment will be available in theFieldbus memory.
8.2 DETAILED DESCRIPTIONOF THE MFW.exe
Manipulation of the files:
FILE:New, open, save, save as, create text file(arq.txt) and exit;
EDIT:Undo, cut, copy and past.
HELP:About MFW.exe.
Manipulation of variables:
Description of this MFW:
Area reserved for text to describe thefunction of this MFW- 01 in the Fieldbusnetwork.
Read / Write:Read: defines the variables in the input areato be read by the master.Write: defines the variables in the input areato be changed by the master.
Block Memory:
Defines the address of the variable in theinput or output area of the Fieldbus (from 1 to24 address for each area).
Preview: previous display;Next: Next display;Insert: Inserts one variable more;Delete: Deletes the current variable.
Note: The Software does not permit that the next lock can be
programmed, if the previous one is not programmedcorrectly.
Always when a memory block is deleted, the next variableis stored in this position.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
45/71
PROGRAMMING SOFTWARE 8
39
Description:Area reserved for text to describe the function of this variablein the MFW-01 or to describe the function of any equipmentin WEG network.
Address in WEG network:It defines the addressing of the driver in WEG network towhich the variable refers. (1 to 30);
Number of variable:Defines the address in the driver (0 to 999):If it is a parameter address (P00 = 0);If it is a logical control (V00 = 0).
Basic Variable / Parameter:Basic Variable: it defines if this is a logical control variable(Vxx);Parameter: defines if it is a parameter variable (Pxx).
Communicate:Send All: it sends the programming to the MFW-01.Serial Port Number: it selects the serial pot of the PC tocommunicate with the MFW-01.
8.3 Technical Data ofthe MFW.exe
The transfer rate is fixed at 9600Bps.
Only screen with fixed size.
8.4 Minimum RequiredConditions
Required Hardware:
PC Personal Computer- Pentium or other compatiblewith: 16M Byte RAM, or more; hard disk with free spaceof 10M Byte or more, VGA monitor or better, COM port-compatible serial.
Required Software:
Windows 95, 98, NT 3.51 or NT 4.0;
8.5 MFW.exe Installation Insert the floppy disk in A: key in setup.exe.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
46/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
47/71
APPLICATION EXAMPLES 9
41
9.3 EQUIPMENTADDRESSES
The MFW address must be defined in the Fieldbus.
The addresses must be defined to which WEG equipmentthey shall answer in WEG network.
CFW-08: set P308 to 1.
SSW-04: set P62 to 2.
9.4 PROGRAMMINGWITH MFW.exe
You must program all variables, by separating thembetween reading and writing variables and observing thecorrect sequence.
Read:CFW-08 V02 address 1 basicCFW-08 P003 address 1 parameterSSW-04 V01 address 2 basicSSW-04 P73 address 2 parameter
Write:CFW-08 V03 address 1 basicCFW-08 V04 address 1 basicSSW-04 V03 address 2 basic
9.5 PROGRAMTRANSFERRING
With PC connected to MFW-01, and this set to PROG.Program transfer.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
48/71
9 APPLICATION EXAMPLES
9.6 CORRECTPROGRAM
CERTIFICATION
To check the correct variable programming MFW.exegenerates a file.txt through the control Create text file.
Weg Automao
MFW Application
File: example.txt
Description of this MFW: Programming example of the variables that are available
on the Fieldbus.
Read Block Memory 01
---------------------
Description of this Block Memory: V02 indication of the CFW-08 inverter status.
Address in Network: 01Basic Variable: VB002
Read Block Memory 02
---------------------
Description of this Block Memory: P003 rated output current at the CFW-08 in A.
CFW-08.
Address in Network: 01
Parameter: P295
Read Block Memory 03
---------------------
Description of this Block Memory: V01 indication of status of the SSW-04 starting
switch.Address in Network: 02
Basic Variable: VB001
Read Block Memory 04
---------------------
Description of this Block Memory: P73 indication of the motor current at the
SSW-04 in A.
Address in Network: 02
Basic Variable: VB073
Write Block Memory 01
---------------------
Description of this Block Memory: V03 selection of the CFW-08 logical control.Address in Network: 01
Basic Variable: VB003
Write Block Memory 02
---------------------
Description of this Block Memory: V04 frequency reference given by the CFW-08
serial interface.
Address in Network: 01
Basic Variable: VB004
Write Block Memory 03
---------------------
Description of this Block Memory: V03 selection of the SSW-04 logical control.Address in Network: 02
Basic Variable: VB003
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
49/71
APPLICATION EXAMPLES 9
43
9.7 TABLE AT DPRAM In this example with DeviceNet, the variable addresstable at DPRAM for communication with the Master of the
high network will be as follows:
Addressing of the DPRAM variables for the example above
Inputs OutputsAddress Definitions Address Definitions
0 Status of the digital inputs 0 Status of the digital outputs1 General Status 1 Control
1st
input block
2 Status of the 1st input block3 Status of the 1st output block
1st
output block
4 L 2 L5 H
V02CFW-083 H
V03 CFW-08
6 L 4 L7 H
P003 CFW-085 H
V04 CFW-08
8 L 6 L
9 HV01 SSW-04
7 HV03 SSW-04
10 L
11 HP73 SSW-04
Addresses:
Inputs: the master will read.
0- status of the two push button, activated or not;
1- general status of MFW-01, in communication, etc.;
2- status of the 4 input variables, if error occurred;
3- status of the 4 output variables, if error occurred;
4- content of byte low of V02, according to manual;
5- content of byte high of V02, according to manual; others ...
Outputs: the master will write.
0- the value of the two flags;
1- controls of MFW-01, enables readings, etc.;
2- value for byte low V03, according to manual;
3- value for byte high V03, according to manual;
Others...
Note:This Table is indicated in bytes. One byte = 8 bits.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
50/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
51/71
DEVICENET 10
45
All documents here mentioned are supplied by HMS FieldbusSystems AB, the manufacturer of the AnyBus-S board usedon the MFW-01.
http://www.hms.se
10.1 DEVICENETFIELDBUS
This section provides information about the DeviceNetorganization and network.
10.2 INTRODUCTION TODEVICENET
DeviceNet is used for industrial automation, normally for thecontrol of valves, sensors and I/O units and other automation
equipment. The DeviceNet communication link is based on abroadcast-oriented, communications protocol, the ControllerArea Network (CAN). This protocol has I/O response andhigh reliability even for demanding applications, e.g., controlof brakes.
DeviceNet has an user organization, the Open DeviceNetVendor Association (ODVA) that assists members of mattersconcerning DeviceNet. HMS is a member of ODVA and alsorepresented as a member of the DeviceNet SystemArchitecture SIG.
For further information, please contact ODVA on e-mail:[email protected] or at address:
ODVA William H. (Bill) Moss, Executive Director20423 State Road 7 Suite 499 Boca RatonFL 33498 USA
(1) 954 340-5412 or (1) 561 477-7966 Phone(1) 954 340-5413 or (1) 561 477-6621 Fax
http://www.ODVA.org.
10.3 NETWORKOVERVIEW
The media for the Fieldbus is a shielded copper cablecomposed of one twisted pair and two cables for the externalpower supply. The baud rate can be changed between 125k,250k and 500kbit/s, this can be done in three different ways.First is simply by the DIP-switch, second via the Fieldbus andthird is autobaud rate setting.
Several different DeviceNet Scanners are available on themarket, both for PLC-systems and PC computers.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
52/71
10 DEVICENET
10.4 TECHNICALFEATURES OFDEVICENET
Technical Feature Summary of DeviceNet DeviceNet specific cable (twisted pair);
Access to intelligence present in low-leveldevices -Master/Slave and Peer-to-Peercapabilities;
Trunkline-dropline configuration;
Support for up to 64 nodes;
Node removal without severing the network;
Simultaneous support for both network-powered(sensors) and self-powered (actuators) devices;
Use of sealed or open-style connectors;
Protection from wiring errors;
Selectable data rates of 125k baud, 250k baud,and 500k baud. max. Trunk distance 500 metersand Drop length 156 meters at 125k baud;
Adjustable power configuration to meet individualapplication needs;
High current capability (up to 16 amps per supply);
Operation with off-the-shelf power supplies;
Power taps that allow the connection of severalpower supplies from multiple vendor that comply withDeviceNet standards;
Built-in overload protection;
Power available along the bus: both signal and powerlines contained in the trunkline;
Provisions for the typical request/response oriented
network communications; Provisions for the efficient movement of I/O data;
Fragmentation for moving larger bodies ofinformation;
Duplicate MAC ID detection.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
53/71
DEVICENET 10
47
10.5 CONFORMANCETESTED
The AnyBus-S DeviceNet using the parallel interface hasbeen tested by DVAs authorized Independent Test Lab andfound to comply with ODVA Conformance Test SoftwareVersion A12.
The AnyBus-S DeviceNet using the serial interface will betested in a near future.
10.6 INSTALLATION &CONFIGURATION
10.6.1 FieldbusConnectors
The table below shows the pin function of the Fieldbusconnectors.
Pluggingconnector Description
Cablescolors
1 V- Black
2 CAN_L Blue3 Shield -
4 CAN_H White5 V+ Red
10.6.2 Baud Rate There are three different baud rates for DeviceNet; 125k,250k, 500kbit/s. Choose one of them by setting the DIP-switch before configuring. Remark: Depending on if theswitch is straight or right angled (90), the ON indication is
different.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
54/71
10 DEVICENET
Baud rateBit/s
Dip 1-2 Address Dip 3-8
125k 00 0 000000250k 01 1 000001500k 10 2 000010
Reserved 11 3 000011... ...62 11111063 111111
Remark:In the example above, the configuration is:
Baud rate of 500k (10) and Address 3 (000011).
10.7 INDICATIONS The module is equipped with four LEDs mounted at the frontand one LED on the board, used for debugging purposes.The front LEDs can be mounted in two ways, either topmounted or angle mounted. The functions of the LEDs aredescribed in the table and figure below.
Two of the four LEDs at the front of the module areindicating network and module status, and the other two arereserved for future usage.
Module errors are indicated with the Module status LED andnetwork status LED.
LEDs Description
Module status, steady Off No Power
Module status, steady red Unrecoverable fault
Module status, steady green Device Operational
Module status, flashing red Minor fault
Network status, steady Off Not Powered/Not on line
Network status, steady green Link OK on line, Connected
Network status, steady red Critical Link failure
Network status, flashing green On line not connected
Network status, flashing red Connection Time Out
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
55/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
56/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
57/71
PROFIBUS DP 11
51
All documents here mentioned are supplied by HMS FieldbusSystems AB, the manufacturer of the AnyBus-S board usedon the MFW-01.
http://www.hms.se
11.1 FIELDBUSINTRODUCTION
This section provides information about the Profibusorganization and network.
11.2 INTRODUCTIONTO PROFIBUS-DP
Profibus has an international user organization calledProfibus International, PI, and local national organizations,PNO. HMS is represented as board member of ProfibusSweden since the start of the organization in 1992 and alsoas member of the Technical Committee at the AmericanProfibus Trade Organization, PTO.
Technical questions regarding the Fieldbus should beaddressed to your local Profibus User Group in the firstinstance.
Address list is available on the Profibus Internet site;www.Profibus.com. For general help on Profibus, contact
Profibus International on e-mail;[email protected].
Profibus-DP is normally used in industrial automation, totransfer fast data for motor controllers, MMI, I/O units andother industrial equipment.
11.3 NETWORKOVERVIEW
The media for the Fieldbus is a shielded copper cableconsisting of a twisted pair. The baud rate for the bus is
between 9.6kbaud to max. 12Mbaud. The Profibus-DPnetwork can consist of 126 nodes and the total amount ofdata for Profibus-DP are 244 Byte out per module and 244Byte in per module.
PLEASE NOTE: Node No. 126 is only used forcommissioning purposes and should not be used toexchange user data.
The figure below gives an overview of a Profibus-DPnetwork.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
58/71
11 PROFIBUS DP
11.4 TECHNICALFEATURES FORPROFIBUS-DP
The table below gives a summary of the technical featuresand the figure on the next side shows the bus cycle time of aProfibus-DP system.
Summary Technical Features Summary Technical Features PROFIBUS-DP
Transmission Technique:
PROFIBUS DIN 19245 Part 1
EIA RS 485 twisted pair cable or fiber optic;
kbit/s up to 12 Mbit/s, max. distance 200m at 1.5 Mbit/sextendible with repeaters.
Medium Access: hybridmedium access protocolaccording to DIN 19245 Part1
Mono-Master or Multi-Master systems supported;
Master and Slave Devices, max. 126 stations possible.
Communications: Peer-to-Peer (user data transfer) orMulticast (synchronization)
Cyclic Master-Slave transfer and acyclic Master-Masterdata transfer.
Operation Modes: Operate: cyclic transfer of input and output data;
Clear: inputs are read and outputs are cleared; Stop: only Master-Master functions are possible.
Synchronization: enablessynchronization of the inputsand/or outputs of all DP-Slaves
Sync-Mode: Outputs are synchronized;
Freeze-Mode: Inputs are synchronized.
Functionality Cyclic user data transfer between DP-Master(s) and DP-Slave(s);
Activation or deactivation of individual DP-Slaves;
Checking of the configuration of the DP-Slaves;
Powerful diagnosis mechanisms, 3 hierarchical levels ofthe diagnosis messages;
Synchronization of inputs and/or outputs;
Address assignments for the DP-Slaves over the bus with
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
59/71
PROFIBUS DP 11
53
Master class 2;
Configuration of the DP-Master (DPM1) over the bus;
Max. 244 bytes input and output data per DP-Slave,typical 32 bytes.Security and protectionmechanisms:
All messages are transmitted with Hamming DistanceHD=4;
Watch-Dog Timer at the DP-Slaves;
Access protection for the inputs/outputs at the DP-Slaves;
Data transfer monitoring with configurable timer interval atthe DP-Master (DPM1).
Cabling and Installation Connecting or disconnecting of stations without affectingother stations.
Bus cycle time of a Profibus-DP Mono Master system(2 bytes I/O data/slave)
11.5 PROTOCOL &SUPPORTEDFUNCTIONS
Fieldbus type: PROFIBUS-DP EN 50 170 (DIN 19245);
Protocol version: ver. 1.10;
Protocol stack supplier: SIEMENS;
Extended functions supported: Diagnostics & UserParameter data, accessed via mailbox frame;
Auto baud rate detection supported. Baud rate range: 9.6kbit-12Mbit;
Hardware prepared for DP-V1 extensions; Save/Load configuration in Flash supported.
11.6 PHYSICALINTERFACE
Transmission media: Profibus bus line, type A or Bspecified in EN50170;
Topology: Master-Slave communication;
Fieldbus connectors: 9 pin female DSUB, as standard;
Cable: Shielded copper cable, Twisted pair;
Isolation: The bus is galvanically separated from the other
electronics with an on board DC/DC converter. Bussignals (A-line and B-line) are isolated via optocouplers;
Profibus-DP communication ASIC: SPC3 chip fromSiemens.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
60/71
11 PROFIBUS DP
11.7 CONFIGURATION
& INDICATIONS
Address range: 1-99, extendable to 1-126 via mailboxframe.
Input/Output/User Parameter data/Diagnostics formatdefined via mailbox initialization frame.
Maximum cyclic I/O data size: 244 bytes in, max. 244bytes out, max. 416 bytes total.
Maximum User Parameter data/Diagnostics length: 237bytes.
Bus termination switch onboard.
LED-indications: ON-line, OFF-line, Fieldbus relateddiagnostic.
11.8 DATA EXCHANGE Compatibility with the existing ANYBUS modules: Onlycompatible with other AnyBus-S modules.
I/O data transmission: The module only supports cyclic.
I/O data transmission. Acyclic data transmission(DP-V1)will be available in a later state.
11.9 INSTALLATION &CONFIGURATION
The Profibus-DP standard EN 50170 (DIN 19245)recommends the use of a 9 pin female D-sub connector.Depending on the protection class and type of application,other connector designs are also allowed.
Guideline: If the module should be used with larger datatransfer rates than 1500kbit/s, the D-sub connector isrecommended to use.
D-SUBPin Name Function1 Not Connected -2 Not Connected -3 B-Line Positive RxD/TxD according to RS
485 specification4 RTS Request To Send *5 GND BUS Isolated GND from RS 485 side *6 +5V BUS Isolated +5V from RS 485 side *7 Not Connected -8 A-Line Negative RxD/TxD according to
RS 485 specification
11.9.1 FieldbusConnectors
9 Not Connected -
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
61/71
PROFIBUS DP 11
55
+5V BUS and GND BUS are used for bus termination.Some devices, like optical transceivers (RS485 to fiber
optics) might require external power supply from thesepins. RTS is used in some equipment to determine thedirection of transmission. In normal applications only A-Line, B-Line and Shield are used.
11.9.2 Baud Rate The baud rate on a Profibus-DP network is set duringconfiguration of the master and only one-baud rate ispossible in a Profibus-DP installation. AnyBus-S Profibus-DPmodule has an auto baud rate detection function and theuser does not have to configure the baud rate on the module.
Baud rates supported by the AnyBus-S Profibus-DP moduleare:
Baud rates supported byAnyBus-S Profibus DP
9.6 kbit/s19.2 kbit/s93.75 kbit/s187.5 kbit/s500 kbit/s1.5 Mbit/s3 Mbit/s
6 Mbit/s12 Mbit/s
11.10 TERMINATION The end nodes in a Profibus-DP network has to beterminated to avoid reflections on the bus line. The AnyBus-SProfibus-DP module is equipped with a termination switch toaccomplish this in an easy way. If the module is used as thefirst or last module in a network the termination switch has tobe in ON position. Otherwise the switch has to be in OFFposition.
NOTE!If an external termination connector is used the switch mustbe in OFF position. Always use an external terminationconnector.
Termination switch ON Bus termination enabledIf the module is the last or firstmodule, the bus termination has tobe set on, or an externaltermination connector has to be
used.Termination switch OFF Bus termination disabled.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
62/71
11 PROFIBUS DP
11.11 NODE ADDRESS Before configuring the AnyBus-S Profibus-DP module thenode address has to be set. This is done with two rotaryswitches on the module, this enables address settings from1-99 in decimal format. Looking at the front of the module,the leftmost switch is used for the ten setting and therightmost switch is used for the setting of the integers.
Example:Address = (Left Switch Setting x 10) + (Right Switch Setting x1).
PLEASE NOTE: Another way of setting the node address isvia the mailbox frame.
FB_SET_NODE_ADDRESS. The node address range isthen extended to 1-125.
PLEASE NOTE: The node address can not be changedduring operation.
11.12 GSD FILE Each device on a Profibus-DP network is associated with aGSD file, containing all necessary information about thedevice. The network configuration program during
configuration of the network uses this file.
The latest version of GSD file can either be downloaded fromthe webpage http://www.hms.se/fbfiles.htm or received bycontacting HMS.
11.13 INDICATIONS The module is equipped with four LEDs mounted at the frontand one LED on the board, used for debugging purposes.The front LEDs can be mounted in two ways, either topmounted or angle mounted. The function of the LEDs are
described in the table and figure below.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
63/71
PROFIBUS DP 11
57
Name Color FunctionFieldbus
Diagnostics
Red Indicates certain faults on the Fieldbus side.
Flashing Red 1 Hz - Error in configuration: IN and/or OUT lengthset during initialization of the module is not equal to the length setduring configuration of the network.
Flashing Red 2 Hz - Error in User Parameter data: Thelength/contents of the User Parameter data set during initializationof the module is not equal to the length/contents set duringconfiguration of the network.
Flashing Red 4 Hz - Error in initialization of the Profibus
communication ASIC.
Turned Off - No diagnostics present.
On-Line Green Indicates that the module is On-Line on the Fieldbus.
Green - Module is On-Line and data exchange is possible.
Turned Off - Module is not On-Line.
OFF-line Red Indicates that the module is OFF-line on the Fieldbus.
Red - Module is OFF-line and no data exchange is possible.
Turned Off - Module is not OFF-line.
11.14 ADDITIONALINFORMATION
ABOUTPROFIBUS DP
The connector of the MFW-01 to Profibus DP is a DB-9that must be special for the connection of two cables.
Connections supported by the board AnyBus-S ProfibusDP
1 Polled I/O
NOTA!
MFW-01 has been developed to operate in Exchange PolledI/O operation mode with optimized number of I/O.
Please find below an example using a Profibus DP networkwith a ZE-200 DP CPU (CL-200) from Bosch:
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
64/71
11 PROFIBUS DP
The module must be configured in file MFW.GSD inC:\Bosch\WinSPS\GSD\Profibus\Dp\Gsd\MFW.gsd with anASCI editor for:
Input _xxx Words .......... equal to the number of inputs.
Output _xxx Words..........equal to the number of outputs.
This means that you must configure exactly the samenumber of inputs in word that will be used as reading by themaster and exactly the same number of outputs in word thatwill be used as changes by the master. See Item 5.2
Please consider all bytes up to the address of the lastdesired variable, the same that has been configured inMFW.exe.
To optimize the system relating to the number of variablesthat are available in the network, thus requiring the updatingtime, MFW-01 has been developed to program itself to thesame number of I/O-variables that have been programmedin MFW.exe in addition to the status and control words.
NOTE!If the number of I/O is not compatible, there will be no dataexchange nor acknowledgment of MFW-01 in the Profibus
DP network.
11.15 PROBLEMS ANDSOLUTIONS FORPROFIBUS DP
Please find below some problems that can occur with theMFW-01 in Profibus DP networks
Problems: Solutions:
No communication inProfibus DP:
Check if the file .GSD is installed correctly in the usedprogrammer;
Check if the number of I/O is compatible with theprogrammed one in MFW-01, see Item 10.14 e 5.2;
Check if the address of MFW-01 is configured correctly;
Check if the Baud rate of MFW-01 is configured correctlyin the Profibus DP programmer;
Check if the connections are correct in the Profibusnetwork to the MFW-01, see Item 11.9.1;
Check the enabling of the serial communication inProfibus DP network by the Master of the network.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
65/71
MODBUS RTU 12
59
All documents here mentioned are supplied by HMS FieldbusSystems AB, the manufacturer of the AnyBus-S board usedon the MFW-01.
http://www.hms.se
12.1 INTRODUCTIONTO MODBUS RTU
Modbus RTU is a Fieldbus system from the companyModicon, that is a company of Schneider Automation group.
12.2 SPECIFICATIONS The media for the Fieldbus is a copper cable composed ofone twisted pair. The baud rate is as standard 19200 Bit/sbut can be modified on the card between 1200 Bit/s to50 000 Bit/s. The Modbus RTU network can consist of 247slaves but only one Master. The master always initiates thecommunication with a question ( called a query ) and theslave with the right slave address answers the question witha response. The maximum amount of data for the ModbusRTU DT module are 480 Byte out/module and 480 Bytein/module.
12.3 SYSTEM SETUP The Modbus RTU system is often used in a combinednetwork with Modbus PLUS. However the Modbus RTU
module can be combined with a master and can be operatedwithout any Modbus PLUS system. Below you can see atypical Modbus RTU network.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
66/71
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
67/71
MODBUS RTU 12
61
The figure below shows how the LEDs are placed aremounted on the ANYBUS module.
PowerBus ActiveBus Error
12.5.2 Led Indicator onCard
The table below shows the function of the LED indicators.
Bus error LED0 Red;
Bus active LED1 Green;
Power ON LED2 Green.
12.6 FIELDBUSCONNECTORS
The table below shows the pin function of the Fieldbus
connectors. Other possible connectors are configured thesame way as the screw terminal.
1 DE [RS485]2 RS232 - RX3 RS232 - TX4 + 5V Bus5 Ground Bus6 RS485 A-line7 RS485 B-line
8 Not used9 Not usedPE Shield
12.7 PROBLEMS ANDSOLUTIONS FORMODBUS RTU
Please find below some problems that can occur with theMFW-01 in Modbus RTU networks.
Problems: Solutions:
No communication inModbus RTU:
The most common verified problem is related to correctpreparation of the message-sending frame of the Master.For more information please contact Homepagehttp://www.modicon.com;
Check if the Address or Baud rate of MFW-01 isconfigured correctly, see Item 10.5.1;
Check if the Modbus RTU network connections in RS-232 or RS-485 are correct;
Check if all recommendations regarding the serial
communication cables in RS-232 or RS-485 arefollowed, as specified by the manufacturer of the Masterof the network.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
68/71
13 PROBLEMS AND SOLUTIONS
Problems: Solutions:
Power LED OFF:
Check if the power supply is OFF or if Fuse F1 is open.
Check the power connections, see Item 3.2.2.
Digital outputs are notactivating:
Check if there is writing in the word relating to the digitaloutputs, see Item 5.2 e 5.2.1;
Check if the are enabling in the control word, see Item5.2 e 5.2.1. (Control 00h = 0000 0011b);
Led ON, but contact does not establish connection,check connectors, see Item 7.4.
Digital Inputs are notactivating:
Internal power supply:
Check if the internal aux. 24V power source is supplying~24Vcc, see Item 7.4;
Check if there are no external loads connected to thepower supply, see Item 7.4;
Check if the detectors that are used at these digitalinputs are supplying standard voltage levels, see Item
7.1.1.
External power supply:
When external power supply is installed, use only OV asreference, +24Vcc must be connected only to the inputs,see Item 7.4;
Check if the external 24V power supply is supplying~24Vcc, see Item 7.4;
Check if the detectors used at these inputs are supplying
the standard voltage levels, see Item 7.1.1.
No communication atWEG Bus:
Serial interface LED does not flash:
Check if the MFW-01 is in RUN mode;
Check if the Fieldbus communication has beenestablished;
Check if there are enablings in the control word, see Item5.2 e 5.2.1.
Serial interface LED flashes and there is an errorindication of the serial interface.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
69/71
PROBLEMS AND SOLUTIONS 13
63
Check the serial communication cables, RS-232 or RS-
485;
Check all connected WEG equipment and theirrespective communication cables;
Check the programming realized in MFW.exe, check ifthe program is transferred successfully.
Serial Error Indicationat WEG Bus:
Check through the status words to determine whichWEG equipment is defective, and check the connectionwith the respective equipment;
Through the status word of the respective WEGequipment, check which type of error is present and thensearch for a possible solution;
Through their parameter, check if the addressing iscorrect (equipment address within WEG Bus network;
Check the programming realized in MFW.exe, check ifthe program is transferred successfully.
NOTE:
Changing errors will be indicated in the status words anderror LEDs until a new changing is sent and it is accepted.Remember that specific communication protocols write onlyin the output area if variables are changed.
Random Indications of serialerrors in WEG Bus:
Check all serial cables in all WEG Bus network and theirrespective shields;
Check if all grounding points are grounded correctly;
Check if only the terminations of WEG Bus network areconnected with terminating resistors and if are
connected;
Check all RS-232 connection cables that must hold asshort as possible and must be laid separately from allother cables that are not intended for serialcommunication, see Item 6.2 e 6.2.4.
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
70/71
14 WARRANTY
PRODUCT WARRANTYTERMS TO MFW-01
WEG AUTOMAO
WEG Industrias Ltda, Established at Av. Waldemar GrubbaNo. 3000 in Jaragu do Sul Santa Catarina Brazil -warrants WEG products against defects in workmanship andmaterials under the following conditions:
1.0 For the effectiveness of this warranty it is essential that
the purchaser inspects carefully the purchasedequipment, immediately after receipt, checking itscharacteristics and following its installation, adjustments,operation and maintenance instructions. The equipmentwill be considered as accept and approved automaticallyby the purchaser, when the purchaser does not givewritten notice within maximum five days after the receiptof the product about verified non-conformities.
2.0The warranty period is for twelve months from the invoicedate of the equipment issued by WEG or its authorized
distributor, but limited to twenty four months from themanufacturing date, that is indicated on the productname plate.
3.0 In case the equipment fails to function or operatesincorrectly during the warranty time, the warrantyservices will be carried out, at WEG discretion, at itshead office in Jaragu do Sul SC, or at WEGAuthorized Repair Shops.
4.0 The failed product must be available to the supplier for arequired period to detect the cause of the failure and tomake the corresponding repairs
5.0 WEG Automao, or its Authorized Repair Shops willanalyze the returned inverter and when the existence ofthe failure covered by the warranty is proved, it willrepair, modify or replace, at its discretion, the defectiveproduct without cost to the purchaser, except asindicated in Item 7.0.
6.0 The present warranty responsibility is limited only torepairs, changes or replacement of the suppliedequipment. WEG will have no obligation or liabilitywhatsoever to people, third parties, other equipment or
-
8/14/2019 Man-mfw01 Drive Rectificadora Weg
71/71
WARRANTY 14
installations, including without limitation, any claims forloss of profits, consequential damages or labor costs.
7.0 Other expenses as freights, packing, disassembling/assembling and parameter setting costs will be paidexclusively by the purchaser, including all fees, ticket,accommodation and meals expenses for technicalpersonnel, when needed and/or requested by thecustomer.
8.0 The present warranty does not covers the normal wearof the product or equipment, neither damagesresulting from incorrect or negligent operation, incorrect
parameter setting, improper maintenance or storage,operation out the technical specification, badinstallation quality, or operated in ambient withcorrosives gases or with harmful electrochemical,electrical, mechanical or atmospheric influences.
9.0 This warranty doe not covers parts or components thatare considered consumer goods, such as rubber orplastic parts, incandescent bulbs, fuses, etc.
10.0 This warranty will be cancelled automatically,
independently of any previous written notice or not,when the purchaser , without previous writtenauthorization by WEG, makes or authorizes thirdparties to make any changes or repair on the productor equipment that failed during the warranty period.
11.0 Repairs, changes, or replacements due tomanufacturing defects will not stop nor extend theperiod of the existing warranty term.
12.0 Any request, complaint, communication, etc. related to
the product under warranty, servicing, Start-up, etc.,shall be send in writing to the following address: WEGAutomao., Att.: Servicing Department, Av. Pref.Waldemar Grubba, 3000, 89256-900-Jaragu do Sul SC Brazil, Telex 0055 47 3724200, e-mail: