Professional Documents
Culture Documents
MFW-01 Series
USER
MANUAL
MFW-01
NOTE!
It is very important to
check if the Software
Version is the same as
Indicated above.
WEG AUTOMAÇÃO
Av. Pref. Valdemar Grubba, 3000
89256-900 Jaraguá do Sul, SC – Brazil
Phone (00 55 47)372-4000 – Fax(00 55 47)372-4020
email: astec@weg.com.br
________ CONTENTS______
1
SAFETY 1.1 Safety Notices in the Manual...................................... 1
NOTICES 1.2 Safety Notices on the Product.................................... 1
1.3 Preliminary Recommendations................................... 2
2
INTRODUCTION 2.1 About the Manual........................................................ 3
2.2 Manual/Version of Software......................................... 3
2.3 Introduction to WEG Serial Communication............... 4
2.4 Introduction to MFW-01.............................................. 5
2.4.1 Mechanical Characteristics.................................. 7
2.4.2 Mechanical Fastening.......................................... 7
2.5 Product Identification................................................... 8
2.6 Receiving, Inspection and Storage.............................. 8
3
INSTALLATION 3.1 Mechanical Installation................................................ 9
3.1.1 Environment........................................................ 9
3.1.2 Mounting Specification........................................ 9
3.2 Electrical Installation.................................................... 10
3.2.1 Power Connections............................................. 10
3.2.2 Power Supply...................................................... 11
3.2.3 Characteristics of the Power Supply................... 11
3.2.4 Description of the X6 Connector......................... 11
3.2.5 Digital Inputs and Outputs................................... 12
3.2.6 Serial Interfaces................................................... 12
3.2.7 Grounding............................................................ 12
4
INDICATIONS 4.1 Indications.................................................................... 13
5
DEFINITIONS 5.1 WEG Network.............................................................. 14
5.1.1 Terms Used in WEG Network............................. 15
5.1.2 Block Diagram..................................................... 15
5.1.3 Variable Standardization..................................... 15
5.1.4 WEG Protocol...................................................... 15
5.1.5 Reading Frame.................................................... 16
5.1.6 Writing Frame...................................................... 16
5.1.7 Frame Testing..................................................... 16
5.1.8 Parameters Related to Serial Communication.... 16
5.1.9 Errors Related to the Serial Communication....... 17
5.1.10 Time at WEG Network....................................... 17
5.2 Addressing................................................................... 21
________ CONTENTS______
5.2.1 Detailed DPRAM Description ............................. 22
5.3 Operation Modes......................................................... 25
6
COMMUNICATION 6.1 RS-485 WEG Interface................................................ 27
INTERFACES 6.1.1 RS-485 WEG Electrical Characteristics.............. 28
6.1.2 RS-485 WEG Connections ................................. 28
6.1.3 RS-485 WEG Cares............................................ 28
6.1.4 RS-485 WEG Cable Definition ........................... 29
6.1.5 RS-485 WEG XC4 Connector Description.......... 30
6.2 RS-232 WEG Interface................................................ 31
6.2.1 RS-232 WEG Electrical Characteristics.............. 31
6.2.2 RS-232 WEG Connections.................................. 32
6.2.3 RS-232 WEG Cares............................................ 32
6.2.4 RS-232 WEG Cable Definition............................ 32
6.2.5 RS-232 WEG XC2 Connector Description.......... 32
6.3 RS-232 PC Interface................................................... 33
6.3.1 RS-232 PC Electrical Characteristics.................. 33
6.3.2 RS-232 PC Connections..................................... 33
6.3.3 RS-232 PC Cares................................................ 34
6.3.4 RS-232 PC Cable Definition................................ 34
6.3.5 RS-232 PC XC3 Connector Description.............. 34
7
DIGITAL INPUTS AND 7.1 Digital Inputs................................................................ 35
OUTPUTS 7.1.1 Digital Inputs Electrical Characteristics............... 35
7.2 Digital Outputs............................................................. 35
7.2.1 Digital Outputs Electrical Characteristics............. 36
7.3 XC5 Connector Description......................................... 36
7.4 XC5 Connection Diagram............................................ 37
8
PROGRAMMING 8.1 MFW.exe...................................................................... 38
SOFTWARE 8.2 Detailed Description the Of MFW.exe......................... 38
8.3 Technical Data of the MFW.exe.................................. 39
8.4 Minimum Required Conditions..................................... 39
8.5 MFW.exe Installation................................................... 39
9
APPLICATION 9.1 Preliminary Project Definitions..................................... 40
EXAMPLES 9.2 Variable Definitions...................................................... 40
9.3 Equipment Addresses.................................................. 41
9.4 Programming with MFW.exe........................................ 41
9.5 Program Transferring................................................... 41
9.6 Correct Program Certification...................................... 42
________ CONTENTS______
9.7 Table at DPRAM.......................................................... 43
9.8 DeviceNet Network Definition...................................... 44
10
DEVICENET 10.1 DeviceNet Fieldbus.................................................... 45
10.2 Introduction to DeviceNet.......................................... 45
10.3 Network Overview...................................................... 45
10.4 Technical Features for DeviceNet............................. 46
10.5 Conformance Tested................................................. 47
10.6 Installation & Configuration........................................ 47
10.6.1 Fieldbus Connectors....................................... 47
10.6.2 Baud Rate....................................................... 47
10.7 Indications.................................................................. 48
10.8 Termination................................................................ 49
10.9 EDS File..................................................................... 49
10.10 Additional Information about DeviceNet.................. 49
10.11 Problems and Solutions for DeviceNet.................... 50
11
PROFIBUS DP 11.1 Fieldbus Introduction.................................................. 51
11.2 Introduction to Profibus-DP........................................ 51
11.3 Network Overview...................................................... 51
11.4 Technical Features for Profibus-DP........................... 52
11.5 Protocol & Supported Functions................................ 53
11.6 Physical Interface....................................................... 53
11.7 Configuration & Indications........................................ 54
11.8 Data Exchange.......................................................... 54
11.9 Installation & Configuration........................................ 54
11.9.1 Fieldbus Connectors....................................... 54
11.9.2 Baud Rate....................................................... 55
11.10 Termination.............................................................. 55
11.11 Node Address.......................................................... 56
11.12 GSD File.................................................................. 56
11.13 Indications................................................................ 56
11.14 Additional Information for Profibus DP..................... 57
11.15 Problems and Solutions for DP................................ 58
12
MODBUS RTU 12.1 Introduction to Nodbus RTU...................................... 59
12.2 Specifications............................................................. 59
12.3 System Setup............................................................. 59
12.4 Summary Technical Features Modbus RTU Module. 60
12.5 Configuration and Indication...................................... 60
12.5.1 Dip Switches on Card...................................... 60
12.5.2 Led Indicator on Card...................................... 61
12.6 Fieldbus Connectors.................................................. 61
________ CONTENTS______
12.7 Problems and Solutions for Modbus RTU................ 61
13
PROBLEMS AND Problems and Solutions by Using MFW-01...................... 62
SOLUTIONS
14
WARRANTY Product Warranty Terms.................................................... 64
SAFETY NOTICE 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 or
troubleshoot this equipment.
1.1 SAFETY NOTICES IN The following Safety Notices will be used in this Manual:
THE MANUAL
DANGER!
If the recommended Safety Instructions are not strictly
observed, it can lead to serious or fatal personal injuries and/
or equipment damage.
ATTENTION!
Failure to observe the recommended Safety Procedures can
lead to material damage.
NOTE!
The content of this Manual supplies important information for
the correct understanding of operation and proper operation
of the equipment.
1.2 SAFETY NOTICES The following symbols may be attached to the product,
ON THE PRODUCT serving as Safety Notice.:
High Voltages.
1
1 SAFETY NOTICE
1.3 PRELIMINARY
RECOMMENDATIONS
DANGER!
Only qualified personnel familiar with communication
networks should plan or implement the installation, Start-up
operation and maintenance of this equipment.
DANGER!
Do not open the equipment cover while equipment is
connected to power supply.
ATTENTION!
All electronic boards have components that are sensitive to
electrostatic discharges. Never touch any of the electrical
components or connectors without following proper
grounding procedures. If necessary to do so, touch before
the properly ground metallic frame or use a suitable
grounded strap.
NOTE!
Communication networks are generally sensitive to
interference generated by other equipment. To reduce this
interference, adopt the measures recommended in this
Manual and in de manufacturer Manual of the used Fieldbus.
INTRODUCTION 2
2.1 ABOUT THIS This Manual describes how to install, Start-up, operate and
MANUAL identify problems with this equipment.
NOTE!
When calling for information or requesting services, it is
recommended that the following data are available:
þ MFW-01 Type;
NOTE!
Be sure to use the Manual or Appendix corresponding to the
Software version.
3
2 INTRODUCTION
MASTE
MESTR E PC, CLP, etc.
MASTER
R
ESCRAVO
SLAVE 1 1 ESCRAVO
SLAVE 2 2 ESCRAVO
SLAVE n n
(inverter) (inverter) ... (inverter)
(conversor) (conversor) (conversor)
n
nn<=
<= 30
30
þ Identifications;
þ Controls;
þ Status acknowledgement;
þ Parameter Reading/Changing;
5
2 INTRODUCTION
MFW-01
2.4.2 Mechanical þ To fix the MFW-01 proceed as follows: insert firstly the
top groove on the rail, then press it down against the wall
Fastening till the lower side of the rail is inserted in the groove.
þ To remove it from the rail proceed as follows: press the
top side down and maintain it depressed, then pull the
bottom side out of the rail.
7
2 INTRODUCTION
2.5 PRODUCT
IDENTIFICATION
Identification nameplate
Environmental Conditions:
9
3 INSTALLATION
3.2 ELECTRICAL
INSTALLATION
DANGER!
Be sure that the AC power supply is disconnected before
making any terminal connection.
DANGER!
The information below will be a guide to achieve a proper
installation. Follow also all applicable local standards for
electrical installations.
ATTENTION!
Provide at least 10 in (0.25m) spacing between the
equipment and the noise generator wiring and the serial
interface and the digital I/O wiring of the MFW.
3.2.1 Power
Connections
3.2.2 Power Supply MFW-01 has a switched power supply that supplies the
internal electronics and the serial communication interfaces.
11
3 INSTALLATION
3.2.7 Grounding Due to safety reasons, the MFW must be always solidly
grounded. The grounding connection must meet the local
regulations.
NOTE!
Avoid to connect the equipment to different grounding points,
since they can have different voltages and when they are
connected through their serial interfaces, these voltage
differences can damage the equipment.
Correct
Grounding
ATTENTION!
Do not use the neutral conductor for grounding purpose.
For long distances, use always RS-485 interfaces.
INDICATOR LEDS 4
4.1 INDICATIONS Indicator LED’s:
þ Power LED: lights up when MFW-01 ON.
þ Serial LED: is ON when MFW-01 is transmitting or
receiving data serially to or from any of their serial
interfaces .
þ Error LED: lights up when any error is present.
13
5 DEFINITIONS
5.1 WEG NETWORK þ MFW-01 has the advantage to be connected through RS-
485 WEG network to several equipment.
Master
Address of the MFW-01 on Fieldbus
WEG equipment address on WEG network
Read or write variable
Variable address in WEG equipment
DEFINITIONS 5
5.1.1 Terms Used in Protocol used for the serial communication between MFW-
WEG Network 01 and WEG equipment.
NOTE!
• The protocol for WEG network is here described in a
simplified manner for demonstration purpose only;
• The user shall not worry about the assembling, receiving
and processing of the Frames in WEG network, but only
about the processing of the data that are available for the
high network in Fieldbus;
• For the data processing, the user shall read all hardware
and serial communication manuals of the respective
WEG equipment that are being used.
5.1.4 WEG Protocol The error monitoring is realized trough the transmission
related to the individual character parity of 7 bits, according
to ISO 646.
15
5 DEFINITIONS
5.1.5 Read Frame This Frame permits MFW-01 receiving from WEG equipment
the content that corresponds to the request.
5.1.6 Write Frame This frame sends data to the variables of WEG equipment.
5.1.7 Frame Testing All equipment and MFW-01 test the frame syntax.
þ Read Frame:
þ Write Frame:
NOTE!
If there are frames without answer and/or NAK, MFW-01
will set a specific bit in the DPRAM indicating that one of
these errors has been occurred with the Master.
5.1.8 Parameters All WEG equipment have parameters related to the enabling
Related to Serial and disabling functions of the serial communication. Thus
you must read carefully all User Manuals of the respective
Communication
serial communications.
DEFINITIONS 5
5.1.9 Errors Related to þ They do not disable WEG equipment;
the Serial
Communication þ They do not deactivate the fault relay;
Type of Errors:
Note.:
These errors can be observed through reading of the status
variable of WEG equipment.
NOTE!
Take care with the parameter incompatibility. Function
incompatibilities are indicated in the respective Manuals of
WEG equipment that are being applied.
17
5 DEFINITIONS
Note.:
• For each frame without answer will occurs a delay of
50ms.
NOTE!
• In order to avoid communication delay, maintain all WEG
equipment ON and disconnect defective equipment
immediately from WEG network.
Initialization
Note:
“n” shown above is used only to exemplify the sequential
address of the variable processing: first variable, second
variable...
19
5 DEFINITIONS
Note:
Do not consider the status variables in the number of input
variables, that they will be used according to the number of
used blocks. See DPRAM Definition Table.
NOTE!
This time will be maintained, when no communication error
occurred with WEG equipment that are part of WEG
communication network.
4 L 2 L
Content from variable no. 1 Content to variable no. 1
5 H 3 H
6 L 4 L
Content from variable no. 2 Content to variable no. 2
7 H 5 H
Total of 8 input variables Total of 8 output variables
18 L 16 L
Content from variable no. 8 Content to variable no. 8
19 H 17 H
nd
2 input block
nd
20
nd
Status of the 2 input block 2 output block
nd
21 Status of the 2 output block
22 L 18 L
Content from variable no. 9 Content to variable no. 9
23 H 19 H
24 L 20 L
Content from variable no. 10 Content to variable no. 10
25 H 21 H
Total of 8 input variables Total of 8 output variables
36 L 32 L
Content from variable no. 16 Content to variable no. 16
37 H 33 H
rd
3 input block
rd
rd 3 output block
38 Status of the 3 input block
rd
39 Status of the 3 output block
40 L 34 L
Content from variable no. 17 Content to variable no. 17
41 H 35 H
42 L 36 L
Content from variable no. 18 Content to variable no. 18
43 H 37 H
Total of 8 input variables Total of 8 input variables
54 L 48 L
Content from variable no. 24 Content to variable no. 24
55 H 49 H
21
5 DEFINITIONS
7 6 5 4 3 2 1 0
Digital Digital Digital Digital Digital Digital
X X
Input 6 Input 5 Input 4 Input 3 Input 2 Input 1
7 6 5 4 3 2 1 0
st
Without user Error in a Error in a 1 reading Initialization
X X X
program writing reading realized concluded
7 6 5 4 3 2 1 0
Error in the Error in the Error in the Error in the Error in the Error in the Error in the
Error in the answer
answer of answer of answer of answer of answer of answer of answer of
of variable 1
variable 8 variable 7 variable 6 variable 5 variable 4 variable 3 variable 2
DEFINITIONS 5
• Bit high = answer to request with NAK or without answer.
7 6 5 4 3 2 1 0
Error during Error during Error during Error during Error during Error during Error during Error during
changing of changing of changing of changing of changing of changing of changing of changing of variable
variable 8 variable 7 variable 6 variable 5 variable 4 variable 3 variable 2 1
7 6 5 4 3 2 1 0
Digital Digital Digital
X X X X Digital output 1
output 4 output 3 output 2
23
5 DEFINITIONS
7 6 5 4 3 2 1 0
Enables the
Reserved for Timer for Modbus-RTU Enables the Enables the
X X changes
data change communication verification changes communication
always
25
5 DEFINITIONS
þ Initialization process:
• After verification and the configuration at EEPROM is
correct, the initialization of the AnyBus DPRAM will be
realized, identifying the protocol type and starting the
inquiry frames and the variables changing.
COMMUNICATION INTERFACES 6
The physical connection between WEG equipment and the
MFW-01 of WEG network is realized in two standard ways:
NOTE!
If WEG equipment is fitted only with the standard RS-232
interface, you must couple an level conversion module to
convert the level from RS-232 to RS-485, designated as
MIW-02 interface module for RS-232/RS-485
communication and a communication cable for RS-232.
27
6 COMMUNCATION INTERFACES
þ 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: ≤ 20µA;
þ Transmitter:
Differential voltage: without load: ≤5V
With load : 27Ω: ≤1,5V;
Common mode voltage: with load 27Ω: ≤3V;
Differential voltage variation between complementary
status: ≤0,2V;
6.1.3 RS-485 WEG þ Factors such as unbalance and mutual cable capacitance
Cares tend to reduce the network noise immunity.
6.1.4 RS-485 WEG þ The EIA Standard does not specify a standard cable for
Cable Definition RS-485, but it recommends some cares to be take during
it selection.
þ To reduce the cable reflection at maximum, connect a
resistor (Rt) at each cable end. This resistor must have
the same impedance as the characteristic cable
impedance.
þ These resistors are already available on MIW-02 by
setting the S1 switch to ON.
þ The max. ohmic resistance of the cable is determined by
the 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)
∆VR = VO - 0,2
29
6 COMMUNCATION INTERFACES
þ Cable examples:
The following cables have been calculated for
∆VR = 1,0V and Rt=120 O.
Data:
Manufacturer: KMP
Series: AFS
Type: 1 balanced pair of cables with aluminized
polyester tape shield + tinned stranded copper wires.
Manufacturer Zo
Length Section O/km (Rloop)
Code (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.
þ Receiver:
Max. input voltage: ± 30V;
Input resistance: > 3KΩ
Level 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).
31
6 COMMUNCATION INTERFACES
6.2.3 RS-232 WEG þ Please note that this interface is not isolated against the
Cares internal equipment electronics to which it is connected.
þ Please lay the RS-232 wiring separately from power
wiring by maintaining a min. distance of 10 cm between
them.
þ It is recommended to install the MFW-01 as close as
possible to the RS-232 serial interface of WEG
equipment.
NOTE!
þ Please check in the Hardware Manual of the respective
WEG equipment the needed requirements for the RS-
232 Serial communication.
6.2.4 RS-232 WEG þ The required cable is the standard cable for the serial
Cable Definition WEG communication, equipment x serial HMI (Human-
Machine Interface).
6.3 RS-232 PC This interface It is used only for the transfer of PC programs.
INTERFACE
33
6 COMMUNCATION INTERFACES
6.3.4 RS-232 PC þ The required cable is the standard cable for WEG serial
Cable Definition communication, equipment x PC.
Note:
This cable is supplied with the MFW-01.
6.3.5 RS-232 PC þ MFW-01 connector of the RS-232 XC3 for the PC.
XC3 Connector
Description
TERMINAL SYMBOL DESCRIPTION
1 O
nc Not connected
2 nc Not connected
3 GND 0V
4 Rx Data Reception
5 GND 0V
6 Tx Data transmission
7.1 DIGITAL INPUTS þ MFW-01 is fitted with 6 optocoupled inputs that are
available at terminals 1 to 15 of the XC5 connector
þ They are activated with high level +24Vcc.
þ All points have a common reference available at terminal
15 of connector XC5.
þ If the application is not fitted with a +24Vcc source,
MFW-01 has an auxiliary source to activate de digital
inputs.
NOTE!
The auxiliary source serves to supply the digital inputs.
7.1.1 Digital Inputs þ Isolation between the inputs and the electronics: 250Vac.
Electrical þ There is no isolation between the input points.
Characteristics
þ Logical level, max. and min. current and voltage:
15mA 30V
High level = 1
2..15mA 15V
Uncertainty
Zone
0,5..15mA 5V
Low level = 0
0mA 0V
7.2 DIGITAL OUTPUTS þ MFW-01 has 4 digital relay outputs, available at the
terminals 9 to 16 of the connector XC5.
þ All output points are isolated and do not have common
points.
35
7 DIGITAL INPUS AND OUTPUTS
7.2.1 Digital Outputs þ Isolation between the outputs and the electronics:
Electrical 250Vac.
Characteristics þ Isolation between the output points: 250Vac.
þ Max. relay voltage: 250Vac.
þ Max. current: 125Vac 0,5A, 250Vac 0,25A (62,5VA),
30Vcc 2A (60W).
þ Is not fitted with internal fuse.
NOTE!
All output points will be cleared while happening a fieldbus
communication error on the DeviceNet and Profibus-DP
modules.
DIGITAL INPUTS AND OUTPUTS 7
7.4 XC5 CONNECTION þ Digital inputs using the aux. internal source:
DIAGRAM
37
8 PROGRAMMING SOFTWARE
EDIT:
Undo, cut, copy and past.
HELP:
About MFW.exe.
þ Manipulation of variables:
Description of this MFW:
Area reserved for text to describe the
function of this MFW- 01 in the Fieldbus
network.
Read / Write:
Read: defines the variables in the input area
to be read by the master.
Write: defines the variables in the input area
to be changed by the master.
Block Memory:
Defines the address of the variable in the
input or output area of the Fieldbus (from 1 to
24 address for each area).
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).
Communicate:
Send All: it sends the programming to the MFW-01.
Serial Port Number: it selects the serial pot of the PC to
communicate with the MFW-01.
þ Required Software:
39
9 APPLICATION EXAMPLES
Read:
CFW-08 V02 address 1 basic
CFW-08 P003 address 1 parameter
SSW-04 V01 address 2 basic
SSW-04 P73 address 2 parameter
Write:
CFW-08 V03 address 1 basic
CFW-08 V04 address 1 basic
SSW-04 V03 address 2 basic
41
9 APPLICATION EXAMPLES
Weg Automação
MFW Application
File: example.txt
Description of this MFW: Programming example of the variables that are available
on the Fieldbus.
4 L 2 L
V02 CFW-08 V03 CFW-08
5 H 3 H
6 L 4 L
P003 CFW-08 V04 CFW-08
7 H 5 H
8 L 6 L
V01 SSW-04 V03 SSW-04
9 H 7 H
10 L
P73 SSW-04
11 H
Addresses:
Note:
This Table is indicated in bytes. One byte = 8 bits.
43
9 APPLICATION EXAMPLES
9.8 DEVICENET þ Which is the address of MFW-01 and the Baud rate on
NETWORK the DeviceNet Network?
DEFINITION • Address 3 and 500kBit/s.
Dip-switch of MFW-01:
Note:
A total of 6 reading words from the address 0000h on and a
total of 4 writing words from the address 0000h on.
NOTE!
Remember that the master controls all data transmission and
reception by means of certain control word in you specific
Scanner Module.
DEVICENET 10
All documents here mentioned are supplied by HMS Fieldbus
Systems AB, the manufacturer of the AnyBus-S board used
on the MFW-01.
http://www.hms.se
10.2 INTRODUCTION TO DeviceNet is used for industrial automation, normally for the
DEVICENET control of valves, sensors and I/O units and other automation
equipment. The DeviceNet communication link is based on a
broadcast-oriented, communications protocol, the Controller
Area Network (CAN). This protocol has I/O response and
high reliability even for demanding applications, e.g., control
of brakes.
http://www.ODVA.org.
10.3 NETWORK The media for the Fieldbus is a shielded copper cable
OVERVIEW composed of one twisted pair and two cables for the external
power 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 and
third is autobaud rate setting.
45
10 DEVICENET
10.4 TECHNICAL
FEATURES OF
DEVICENET
10.6.1 Fieldbus The table below shows the pin function of the Fieldbus
Connectors connectors.
Plugging Cables
Description
connector colors
1 V- Black
2 CAN_L Blue
3 Shield -
4 CAN_H White
5 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 the
switch is straight or right angled (90°), the ON indication is
different.
47
10 DEVICENET
Baud rate
Dip 1-2 Address Dip 3-8
Bit/s
125k 00 0 000000
250k 01 1 000001
500k 10 2 000010
Reserved 11 3 000011
... ...
62 111110
63 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 LED’s mounted at the front
and one LED on the board, used for debugging purposes.
The front LED’s can be mounted in two ways, either top
mounted or angle mounted. The functions of the LED’s are
described in the table and figure below.
Module errors are indicated with the Module status LED and
network status LED.
LED’s 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
DEVICENET 10
10.8 TERMINATION Termination of the Fieldbus requires a terminating resistor at
each end of the Fieldbus. These resistors should have a
value of 121 ohms.
NOTE!
MFW-01 has been developed to operate in Polled I/O
connection mode with optimized number of I/O.
Please find below an example using a DeviceNet network
with a 1747-SDN Scanner Module and a 1770-KFD RS-232
Interface from Allen Bradley:
49
10 DEVICENET
NOTE!
If the number of I/O is not compatible there will be no
communication and no acknowledgement by MFW-01 in the
DeviceNet network .
10.11 PROBLEMS AND þ Here are described some problems that can occur with
SOLUTIONS FOR the MFW-01 in DeviceNet networks.
DEVICENET
Problems: Solutions:
þ The file .EDS must correctly installed in the DeviceNet
Data Manager;
þ The number of I/O in Polled Mode must be compatible
with the programmed one in MFW-01, see Item10.10 and
DeviceNet Data Manager 5.2;
does not identify the
MFW-01 þ The MFW-01 address is unduly configured, see Item
10.6;
þ MFW-01 Baud rate configured unduly, see Item 10.6.
http://www.hms.se
11.3 NETWORK The media for the Fieldbus is a shielded copper cable
OVERVIEW consisting of a twisted pair. The baud rate for the bus is
between 9.6kbaud to max. 12Mbaud. The Profibus-DP
network can consist of 126 nodes and the total amount of
data for Profibus-DP are 244 Byte out per module and 244
Byte in per module.
51
11 PROFIBUS DP
11.4 TECHNICAL The table below gives a summary of the technical features
FEATURES FOR and the figure on the next side shows the bus cycle time of a
Profibus-DP system.
PROFIBUS-DP
Bus cycle time of a Profibus-DP Mono Master system(2 bytes I/O data/slave)
53
11 PROFIBUS DP
11.8 DATA EXCHANGE • Compatibility with the existing ANYBUS® modules: Only
compatible 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.
D-SUB
Pin Name Function
1 Not Connected -
2 Not Connected -
3 B-Line Positive RxD/TxD according to RS
485 specification
4 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
9 Not Connected -
PROFIBUS DP 11
þ +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 these
pins. RTS is used in some equipment to determine the
direction 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 during
configuration of the master and only one-baud rate is
possible in a Profibus-DP installation. AnyBus-S Profibus-DP
module has an auto baud rate detection function and the
user does not have to configure the baud rate on the module.
Baud rates supported by the AnyBus-S Profibus-DP module
are:
Baud rates supported by
AnyBus-S Profibus DP
9.6 kbit/s
19.2 kbit/s
93.75 kbit/s
187.5 kbit/s
500 kbit/s
1.5 Mbit/s
3 Mbit/s
6 Mbit/s
12 Mbit/s
NOTE!
If an external termination connector is used the switch must
be in OFF position. Always use an external termination
connector.
55
11 PROFIBUS DP
11.11 NODE ADDRESS Before configuring the AnyBus-S Profibus-DP module the
node address has to be set. This is done with two rotary
switches on the module, this enables address settings from
1-99 in decimal format. Looking at the front of the module,
the leftmost switch is used for the ten setting and the
rightmost switch is used for the setting of the integers.
Example:
Address = (Left Switch Setting x 10) + (Right Switch Setting x
1).
11.13 INDICATIONS The module is equipped with four LED’s mounted at the front
and one LED on the board, used for debugging purposes.
The front LED’s can be mounted in two ways, either top
mounted or angle mounted. The function of the LED’s are
described in the table and figure below.
PROFIBUS DP 11
Name Color Function
Fieldbus Red Indicates certain faults on the Fieldbus side.
Diagnostics
Flashing Red 1 Hz - Error in configuration: IN and/or OUT length
set during initialization of the module is not equal to the length set
during configuration of the network.
NOTA!
MFW-01 has been developed to operate in Exchange Polled
I/O operation mode with optimized number of I/O.
Please find below an example using a Profibus DP network
with a ZE-200 DP CPU (CL-200) from Bosch:
57
11 PROFIBUS DP
NOTE!
If the number of I/O is not compatible, there will be no data
exchange nor acknowledgment of MFW-01 in the Profibus
DP network.
11.15 PROBLEMS AND þ Please find below some problems that can occur with the
MFW-01 in Profibus DP networks
SOLUTIONS FOR
PROFIBUS DP
Problems: Solutions:
http://www.hms.se
12.2 SPECIFICATIONS The media for the Fieldbus is a copper cable composed of
one twisted pair. The baud rate is as standard 19200 Bit/s
but can be modified on the card between 1200 Bit/s to
50 000 Bit/s. The Modbus RTU network can consist of 247
slaves but only one Master. The master always initiates the
communication with a question ( called a query ) and the
slave with the right slave address answers the question with
a response. The maximum amount of data for the Modbus
RTU DT module are 480 Byte out/module and 480 Byte
in/module.
12.3 SYSTEM SETUP The Modbus RTU system is often used in a combined
network with Modbus PLUS. However the Modbus RTU
module can be combined with a master and can be operated
without any Modbus PLUS system. Below you can see a
typical Modbus RTU network.
59
12 MODBUS RTU
12.5 CONFIGURATION
AND INDICATION
2 0 0 0 0 0 - - 1
3 0 0 0 0 0 - - 1
4 0 0 0 0 0 - - 1
5 Sets the slave 0 0 0 0 0 - - 1
6 address of the module 0 0 0 0 0 - - 0
7 0 0 0 0 1 - - 1
8 0 0 1 1 0 - - 1
1 0 1 0 1 0 - - 1
Address 0 1 2 3 4 - - 247
2 0 0 0 0 1 1 1 1
Sets the baud rate of
3 0 0 1 1 0 0 1 1
the module
4 0 1 0 1 0 1 0 1
Baud rate 1200 2400 4800 9600 19200 38400 50000 Not
Power
Bus Active
Bus Error
12.6 FIELDBUS The table below shows the pin function of the Fieldbus
CONNECTORS connectors. Other possible connectors are configured the
same way as the screw terminal.
1 DE [RS485]
2 RS232 - RX
3 RS232 - TX
4 + 5V Bus
5 Ground Bus
6 RS485 A-line
7 RS485 B-line
8 Not used
9 Not used
PE Shield
12.7 PROBLEMS AND þ Please find below some problems that can occur with the
SOLUTIONS FOR MFW-01 in Modbus RTU networks.
MODBUS RTU
Problems: Solutions:
þ The most common verified problem is related to correct
preparation of the message-sending frame of the Master.
For more information please contact Homepage
http://www.modicon.com;
61
13 PROBLEMS AND SOLUTIONS
Problems: Solutions:
þ Check if the power supply is OFF or if Fuse F1 is open.
Power LED OFF: þ Check the power connections, see Item 3.2.2.
NOTE:
Changing errors will be indicated in the status words and
error LED’s until a new changing is sent and it is accepted.
Remember that specific communication protocols write only
in the output area if variables are changed.
þ Check all serial cables in all WEG Bus network and their
respective shields;
þ Check if all grounding points are grounded correctly;
þ Check if only the terminations of WEG Bus network are
connected with terminating resistors and if are
Random Indications of serial connected;
errors in WEG Bus:
þ Check all RS-232 connection cables that must hold as
short as possible and must be laid separately from all
other cables that are not intended for serial
communication, see Item 6.2 e 6.2.4.
63
14 WARRANTY
PRODUCT WARRANTY
TERMS TO MFW-01
WEG AUTOMAÇÃO
8.0 The present warranty does not covers the normal wear
of the product or equipment, neither damages
resulting from incorrect or negligent operation, incorrect
parameter setting, improper maintenance or storage,
operation out the technical specification, bad
installation quality, or operated in ambient with
corrosives gases or with harmful electrochemical,
electrical, mechanical or atmospheric influences.
65