+ All Categories
Home > Documents > Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b...

Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b...

Date post: 29-May-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
24
This manual is to be given to the end user en PROFIBUS - DP Option card for VARMECA 31-32 Installation and Maintenance 4168 en - 2010.05 / b
Transcript
Page 1: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

This manual is to be given to

the end useren

Profibus - dPoption card for VArMECA 31-32

Installation and Maintenance

4168 en - 2010.05 / b

Page 2: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

2

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

note

LEROY-SOMER reserves the right to modify the characteristics of its products at any time in order to incorporate the latest technological developments. The information contained in this document may therefore be changed without notice.

LEROY-SOMER gives no contractual guarantee whatsoever concerning the information published in this document and cannot be held responsible for any errors it may contain, nor for any damage resulting from its use. cautIon

For the user’s own safety, this VARMECA 31-32 must be connected to an approved earth ( terminal).

It is imperative that the equipment is supplied via an isolating device and a circuit-breaking device (power contactor) which can be controlled by an external safety system (emergency stop, fault detector).

The VARMECA 31-32 is fitted with safety devices which, in the event of a fault, control stopping and thus stop the motor. The motor itself can become jammed for mechanical reasons. Voltage fluctuations, and in particular power cuts, may also cause the motor to stop.The removal of the causes of the shutdown can lead to restarting, which may be dangerous for certain machines or installations.In such cases, it is essential that the user takes appropriate precautions against the motor restarting after an unscheduled stop.

The VARMECA 31-32 is a component designed to be integrated in an installation or electrical machine. It is therefore the responsibility of the user to take all necessary precautions to ensure that the system complies with current standards.

LEROY-SOMER declines all responsibility in the event of the above recommendations not being observed.

Page 3: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

3

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

• Throughout the manual, this symbol warns of consequences which may arise from inappropriate use of the VARMECA 31-32, since electrical risks

may lead to material or physical damage as well as constituting a fire hazard.

1 - GeneralDepending on their degree of protection, VARMECA 31-32 motors may contain moving parts, as well as hot surfaces, during operation.Unjustified removal of protection devices, incorrect use, faulty installation or inappropriate operation could represent a serious risk to personnel and equipment.For further information, consult the manual.All work relating to transportation, installation, commissioning and maintenance must be performed by experienced, qualified personnel (see IEC 364 or CENELEC HD 384, or DIN VDE 0100 and national specifications for installation and accident prevention).In these basic safety instructions, qualified personnel means persons competent to install, mount, commission and operate the product and possessing the relevant qualifications.

2 - useVARMECA 31-32 motors are components designed for integration in installations or electrical machines.When integrated in a machine, commissioning must not take place until it has been verified that the machine conforms with directive 89/392/EEC (Machinery Directive).It is also necessary to comply with standard EN 60204, which stipulates in particular that electrical actuators (which include VARMECA 31-32) cannot be regarded as circuit-breaking devices and certainly not as isolating switches.Commissioning can take place only if the requirements of the Electromagnetic Compatibility Directive (89/336/EEC, modified by 92/31/EEC) are met.VARMECA 31-32 motors meet the requirements of the Low Voltage Directive 73/23/EEC, modified by 93/68/EEC. The harmonised standard of the DIN VDE 0160 series in connection with standard VDE 0660, part 500 and EN 60146/VDE 0558 are also applicable.The technical characteristics and instructions concerning the connection conditions specified on the nameplate and in the documentation provided must be observed without fail.

3 - Transportation, storageAll instructions concerning transportation, storage and correct handling must be observed.The climatic conditions specified in the technical manual must be observed.

4 - InstallationThe installation and cooling of equipment must comply with the specifications in the manual supplied with the product.VARMECA 31-32 motors must be protected against excessive stress. In particular, there must be no damage to parts and/or modification of the clearance between components during transportation and handling. Avoid touching the electronic components and contact parts.VARMECA 31-32 motors contain parts which are sensitive to electrostatic stress and may be easily damaged if handled incorrectly. Electrical components must not be exposed to mechanical damage or destruction (risks to health!).

5 - electrical connectionWhen work is performed on VARMECA 31-32 motors which are powered up, national accident prevention specifications must be respected.The electrical installation must comply with the relevant specifications (for example conductor cross-sections, protection via fused circuit-breaker, connection of protective conductor). More detailed information is given in the manual.Instructions for an installation which meets the requirements for electromagnetic compatibility, such as screening, earthing, presence of filters and correct insertion of cables and conductors, are given in the documentation supplied with the VARMECA 31-32. These instructions must be followed in all cases, even if the VARMECA 31-32 carries the CE mark. Adherence to the limits given in the EMC legislation is the responsibility of the manufacturer of the installation or the machine.

6 - operationInstallations incorporating VARMECA 31-32 motors must be fitted with additional protection and monitoring devices as laid down in the current relevant safety regulations: law on technical equipment, accident prevention regulations, etc. Modification of VARMECA 31-32 motors using control software is permitted.Active parts of the device and live power connections must not be touched immediately after the VARMECA 31-32 is powered down, as the capacitors may still be charged. In view of this, the warnings fixed to VARMECA 31-32 motors must be observed.During operation, all protective covers must remain closed.

7 - Servicing and maintenanceRefer to the manufacturer’s documentation.

safetY and oPeratInG InstructIons for electrIcal actuators (In accordance with the low voltage directive 73/23/EEC modified by 93/68/EEC)

Page 4: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

4

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

notes

Page 5: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

5

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 10.2007 / a

en

1 - IntroductIon .................................................................................................................................................... 71.1 -Profibus-DP for VARMECA 31-32 ......................................................................................................................... 71.2 -Overview Specification ......................................................................................................................................... 7

2 - MecHanIcal InstallatIon ............................................................................................................................ 82.1 -VARMECA 31-32 .................................................................................................................................................. 8

3 - electrIcal InstallatIon .............................................................................................................................. 93.1 -Profibus-DP connector ......................................................................................................................................... 93.2 -Profibus-DP Data Connections ............................................................................................................................. 93.3 -Profibus-DP Cable ................................................................................................................................................ 93.4 -Profibus-DP Cable Screen Connections ............................................................................................................... 93.4.1 -Cable Screen Earthed At Every Node .................................................................................................................................... 93.4.2 -Cable Screen Not Earthed At Every Node .............................................................................................................................. 93.5 -Profibus-DP Network Termination ...................................................................................................................... 103.6 -Back-up Power Supply Connector ...................................................................................................................... 103.7 -Backup Power Supply Requirements.................................................................................................................. 103.8 -Maximum Network Length .................................................................................................................................. 11

4 - GettInG started ............................................................................................................................................ 124.1 -Basic communication Quick Start ....................................................................................................................... 124.2 -LED diagnosis on top cover ................................................................................................................................ 124.3 -Profibus-DP Network status ................................................................................................................................ 134.4 -Restore Profibus-DP defaults ............................................................................................................................. 134.5 -Network loss trip ................................................................................................................................................. 13

5 - cYclIc data ...................................................................................................................................................... 145.1 -What is Cyclic Data? ........................................................................................................................................... 145.2 -What is Data Consistency? ................................................................................................................................. 145.3 -Mapping parameters on VARMECA 31-32 ......................................................................................................... 145.4 -Profibus-DP data formats .................................................................................................................................... 145.5 -Mapping parameters on Profibus-DP .................................................................................................................. 145.5.1 -3 Cyclic Words with Mode 1 Non-Cyclic Data ....................................................................................................................... 145.5.2 -2 Cyclic Words Only ............................................................................................................................................................. 155.5.3 -3 Cyclic Words Only ............................................................................................................................................................. 15

6 - non-cYclIc data ............................................................................................................................................. 166.1 -Mode 1 - Single Word Format ............................................................................................................................. 166.1.1 -Reading parameters using Mode 1 ...................................................................................................................................... 166.1.2 -Writing parameters using Mode 1 ........................................................................................................................................ 186.2 -Profibus-DP Set-up using Non-Cyclic Data ......................................................................................................... 19

7 - Gsd fIles ........................................................................................................................................................... 207.1 -What are GSD Files? .......................................................................................................................................... 207.2 -VARMECA 31-32 GSD File ................................................................................................................................. 207.3 -Data Consistency................................................................................................................................................ 207.4 -Profibus-DP Data Formats .................................................................................................................................. 20

Page 6: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 10.2007 / a

6

8 - dIaGnostIcs ..................................................................................................................................................... 218.1 -Fieldbus Code..................................................................................................................................................... 218.2 -Firmware Version ................................................................................................................................................ 218.3 -Node Address ..................................................................................................................................................... 218.4 -Network Data Rate.............................................................................................................................................. 218.5 -Network Status ................................................................................................................................................... 218.6 -No data transfer .................................................................................................................................................. 218.7 -VARMECA 31-32 trip codes ................................................................................................................................ 21

9 - adVanced features ...................................................................................................................................... 229.1 -Network Loss Trip ............................................................................................................................................... 229.2 -Endian Format .................................................................................................................................................... 229.3 -Multi-Master Networks ........................................................................................................................................ 22

10 - QuIck reference ......................................................................................................................................... 2310.1 -Profibus-DP Parameter List .............................................................................................................................. 2310.2 -Profibus-DP Data Formats ............................................................................................................................... 2310.3 -Control word ..................................................................................................................................................... 2310.4 -Status word ...................................................................................................................................................... 23

Page 7: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

7

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

1 - IntroductIonDRIVE pARAMETERS ARE DEnoTED In ThIS MAnuAl by “#MM.pp”, whERE MMREfERS To ThE MEnu nuMbER, AnD pp REfERS To ThE pARAMETER nuMbER

wIThIn ThAT MEnu. plEASE REfER To ThE VARMECA 31-32 MAnuAl foR fullpARAMETER DEfInITIonS (REf. 3997).

1.1 - profibus-Dp for VARMECA 31-32The Profibus-DP for VARMECA 31-32 is a dual option card that fits neatly inside the Drive. The Profibus-DP interface uses a 16-bit processor and is capable of communicating at 12 Mbits/sec, currently the fastest data rate available for Profibus-DP.Parameter data is transferred to and from the VARMECA 31-32 using a 2-wire RS485 link into the serial communications connector on the VARMECA 31-32.Although power is taken from the VARMECA 31-32 under normal operating conditions, an optional back-up power supply can also be connected to the Profibus-DP card. This ensures that the Profibus-DP interface is kept powered up, and the interface continues to communicate with the network, even when the Drive is powered down.

1.2 - overview Specification• Auto slave configuration of data format and data consistency during Profibus-DP network initialisation.• Auto-configuration of the serial communications port when the Profibus-DP interface is connected to the VARMECA 31-32.• Supported data rates (bits/sec): 12M, 6M, 3M, 1.5M, 500k, 187.5k, 93.75k, 19.2k, 9.6k.• Choice of two or three 16 bit input/output words.• Non-cyclic data channel (optional).

note

Page 8: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

8

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

2 - MecHanIcal InstallatIon2.1 - VarMeca 31-32Fitted in VARMECA 31-32 cover, the option is based on two printed circuit boards: one supporting all PROFIBUS-DP components and another one supporting micro controller for interfacing PROFIBUS- DP with VARMECA 31-32.

Connector for external 24V backup power supply (24V DC)

Switch for termination resistorConnector for network

Connector forKEYPAD LCD

VarMeca 31-32 Interface boardProfIbus-dP board

Fly-lead to the RJ45 connectoron the VARMECA 31-32

Page 9: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

9

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

3 - electrIcal InstallatIon3.1 - profibus-Dp connectorThe VARMECA 31-32 Profibus-DP interface has a single 5-way screw terminal block connector for the Profibus-DP data connections, and a 2-way screw terminal block for 24V DC backup power supply.

The connections for the Profibus-DP connectors are given in the table below.

Terminal function description20 RX/TX N Negative data line IN21 RX/TX P Positive data line IN22 Screen Cable braided screen connection23 RX/TX N Negative data line OUTC1 RX/TX P Positive data line OUT

3.2 - profibus-Dp Data ConnectionsTo connect the VARMECA 31-32 to the Profibus-DP network, make the connections as shown in the diagram below. The length of the «pigtail» screen connection should be kept as short as possible.

Additional impedance is fitted between the terminals and the data signal transceivers on

the interface card to improve the performance of the network. This means that it is not possible to connect 2 data wires into a single terminal.

3.3 - profibus-Dp CableProfibus-DP cable has a single twisted pair plus overall screening. The data wires are usually red and green, and are generally connected as shown in the table below.

Cable data signal Terminal description

Green RX/TX N 20, 23 Negative data line, connect to pin 8 on a Profibus-DP D-type connector.

Red RX/TX P 21, C1 Positive data line, connect to pin 3 on aProfibus-DP D-type connector.

Braided Shield Screen 22 Cable screen, connects to the shell (or

pin 1) a Profibus-DP D-type connector.

Profibus-DP networks run at high data rates, and require cable specifically designed to carry high frequency signals. Low quality cable will attenuate the signals, and may render the signal unreadable for the other nodes on the network.For cable specifications and a complete list of approved manufacturers of equipment for use on Profibus-DP networks, please contact LEROY-SOMER.

3.4 - profibus-Dp Cable Screen connections3.4.1 - Cable Screen Earthed At Every nodeThe screen(s) of the Profibus-DP cable(s) should be clamped to the earth. The end of the screen should be formed into a «pigtail» and connected to pin 22 on the Profibus-DP connector.With this arrangement, the Profibus-DP interface and network will work equally well when powered by the VARMECA 31-32 internal power supply, or from an external 24V supply, with the external supply earthed.

lERoy-SoMER strongly recommends that a dedicated external 24V supply should be used,

as electrical noise from other external sources may cause disturbance to the profibus system.

3.4.2 - Cable Screen not Earthed At Every nodeThe VARMECA 31-32 Profibus-DP interface can also be operated with the cable screens unearthed. This may be required in some situations to avoid earth loops, or to prevent fault current from electrical faults from flowing in the Profibus cable screens.The cable screens should be formed into the shortest possible pigtail and connected to pin 22 on the Profibus-DP connector. The cable screen should be earthed at one point in the system. When running the interface from the internal VARMECA 31-32 supply, no further precautions are required.

In this case, the external +24V supply MuST be dedicated to the profibus system, and should

noT be connected to earth. The +24V and 0V wires should run physically close to the data cable.

C123222120 76

Profibus-DPconnector

ON

PROFIBUS-DP BOARD

24V DC backupsupply

20 21 22 23 C10V

+24V

6 7

BA

note

note

note

Page 10: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

10

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

3.5 - profibus-Dp network TerminationIt is very important in high-speed communications networks that the network communications cable is fitted with the specified termination resistor network at each end of the cable. This prevents signals from being reflected back down the cable and causing interference.Termination resistors are fitted to the VARMECA 31-32 Profibus-DP interface, and can be switched into the circuit by setting SW1 to the ON position, as indicated by the arrow in the diagram below.

If termination is enabled on a VARMECA 31-32 node, power to the Profibus-DP interface card MUST be maintained continuously while the network is operating. Instances when power loss can occur are if:- An input fuse fails on the main supply to the VARMECA 31-32.- The Profibus-DP option is disconnected from the VARMECA 31-32, possibly to use KEYPAD LCD or VMA SOFT for configuration changes.- The Drive can be powered down at any time during normal operation.

To maintain Profibus-DP network integrity, it is strongly recommended that a +24V back-up power-supply should be connected to VARMECA 31-32 nodes, particularly if the node is providing the network termination.

failure to terminate a network correctly can seriously affect the operation of the network. If

termination is not fitted, the noise immunity of the network is greatly reduced, while if too many nodes have their internal termination resistor networks enabled, the network will be over-loaded and may not operate at all.

3.6 - back-up power Supply ConnectorUsually, the Profibus-DP interface card will draw power via the communications lead from the regulated +24V rail of the VARMECA 31-32. If the interface is disconnected, the Profibus-DP interface will power down, and this may cause network errors on the Profibus-DP network master.By connecting a +24V back-up power-supply to the interface card, the node will continue to communicate with the master controller, and no network errors will be detected. The Profibus-DP interface will indicate (using the status word) to the master controller that it is not currently communicating with the Drive. When the Profibus-DP interface is re-connected to the VARMECA 31-32, communications will be re-established automatically.

Terminal function description

6 + 24V+24V Profibus-DP, fully isolated from theVARMECA 31-32. This allows a back-up power supply to keep the Profibus-DP circuitry operating if the Drive is switched off

7 0V 0V Profibus-DP, fully isolated from the 0V ofthe VARMECA 31-32

use of the back-up power supply is strongly recommended on the nodes that provide

network termination. The resistor network ties the lines to +5V and 0V through 390 W resistors, so a power supply must be present at all times while the profibus-Dp network is operating.

3.7 - backup power Supply RequirementsThe back-up power supply should be +24V ±20%, and should have sufficient current capability to supply all VARMECA 31-32 Profibus-DP nodes connected to it. This condition will occur if the main power supply to the VARMECA 31-32 is lost. The consumption of the Profibus-DP interface is dependent on the supply voltage, with typical and maximum currents listed in the table below.

back-up Supply Vol tage

nominal Current(VMA is off)

Typical Current(VMA is on)

19.2V (24V -20%) 65mA 5mA21.6V (24V -10%) 59mA 10mA

24V nominal 55mA 35mA26.4V (24V +10%) 48mA 48mA30V (24V+20%) 45mA 45mA

Under normal operating conditions, the VARMECA 31-32 and the back-up power supply share the power supply requirements of the Profibus-DP interface. The Typical Current column shows the current drawn from the back-up power supply for the typical, minimum and maximum voltages.

B

1 2 3 4 50V

+24V

6 7

ONA

note

note

Page 11: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

11

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

3.8 - Maximum network lengthThe maximum number of nodes that can be connected to a single Profibus-DP network segment is 32 nodes. Up to 3 line repeaters may be used to extend the network to 4 segments, allowing a maximum of 122 nodes on the network.

Terminating resistors (Rt) MuST be installed at

boTh ends of each network segment.The maximum length of cable for each segment is determined by the data rate at which the network must operate. The table below gives a summary of the maximum segment length for each data rate.

data rate(bits/sec)

Maximum Segmentlength (m)

Maximum Totalnetwork length (m)

9.6K to 93.75K 1200 4800187.5K 1000 4000500K 400 16001.5M 200 800

3M to 12M 100 400

1

Rt

Section 4: max 31 stations + 1 repeater

Section 3: max 30 stations + 2 repeaters

Section 2: max 30 stations + 2 repeaters

Section 1: max 31 stations + 1 repeater

2 3 29 30 31

6160

Repeater

33 32Repeater

62 63Repeater

9091

89

9392

94121 120122

33

Rt

Rt

Rt

RtRt

Rt Rt

Page 12: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

12

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

4 - GettInG started4.1 - basic communication Quick Start- Connect the Profibus-DP option to VARMECA 31-32,- Connect the KEYPAD LCD or the connection cable (if VMA SOFT is used) to the RJ45 plug on the Profibus-DP option,- Power up the VARMECA 31-32,- Set #1.14 to preset,- Set #1.15 to preset 1,- Set #6.43 to FIELDBUS,- Set the node address in #15.03,- Power down the VARMECA 31-32.

4.2 - lED diagnosis on top coverWhen the VARMECA 31-32 is powered, two leds indicate the status of the drive and its Profibus-DP option.

led dIaGnosIs

Green led red led

OFF Profibus-DP option is not connected or VARMECA 31-32 is not powered OFF No fault

CONTINUOUS No network message sent CONTINUOUS Drive trip indicationFLASHING Fieldbus communication OK FLASHING Profibus-DP trip indication

Green LED Red LED

Page 13: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

13

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

4.3 - profibus-Dp network status #15.06

The status of the Profibus-DP network is displayed in #15.06

#15.06 Status description

>0 Network healthy

Indicates the number of network cycles per second, and the slave is exchanging data with the master controller.

0Network healthy, no data transfer

Indicates that the master controller has established communications with the node, but data transfer has not yet started.

-1No

network master

Indicates that the Profibus-DP interface has initialised correctly, and is waiting for the master controller to initialise communications.

-2 Internal failure

Indicates that part of Profibus-DP interface initialisation test was not successfull. Replace the module if this error persists.

4.4 - network loss Trip4.4.1 - loss of profibus-Dp networkIf the Profibus-DP network stops operating, the Profibus-DP interface will trip the VARMECA 31-32 on «BUS LOSS». The default time delay between network loss and VARMECA 31-32 trip is 200ms, so the actual delay trip time will be between 200 and 400ms. (See section 10.1 for more details). The master controller will automatically detect that the slave node is no longer communicating on the network, and will update its own internal status registers. Refer to the master controller documentation for details.4.4.2 - loss of RS485 linkThe VARMECA 31-32 has a serial communications timeout. If a factory settings procedure of the Profibus-DP option is performed (#15.30 = ENABLE), the timeout (#11.63) is set to 1 second. A disconnection of the Profibus-DP option from the VARMECA 31-32 will stop the drive with a «COM LOSS» trip.

4.5 - Restore profibus-Dp Defaults #15.30Default Profibus-DP values can be restored to the VARMECA 31-32. This resets ALL Profibus-DP parameters (including node address) back to factory default values.

#15.30 StatusDISABLE No actionENABLE Restore default settings

To restore communications to the node, the node address (#15.03) must be set to the required value, and the VARMECA 31-32 powered down. Communications will be re-established (with default settings) when power ie re-applied to the VARMECA 31-32.

Page 14: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

14

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

5 - cYclIc data“ouT data” and “In data” describe the direction of data transfer as seen by the profibus-Dp

network master controller.

5.1 - what is Cyclic Data?Cyclic data is a method data transfer that must be set-up during network configuration, but is transmitted automatically once configuration is complete. The high-speed data transfer is achieved by transmitting only a 16-bit data value for each cyclic channel over the Profibus-DP network, and relying on local mapping information within the Drive to ensure the correct data is sent to the correct locations.This method relies on the master controller program writing and reading data values to and from the registers allocated to the node during network configuration, and the source and destination of IN and OUT data being set-up correctly in the Drive itself.The flexibility of the VARMECA 31-32 Profibus-DP interface means that each cyclic data OUT channel can be directed to any read-write Drive parameter. Similarly, each cyclic data IN channel can use any Drive parameter as a source of data.

The cyclic data mapping cannot be changed dynamically, as the VARMECA 31-32 must be

powered down to connect either KEypAD lCD or VMA SofT. Changes will take effect when the profibus-Dp interface is re-connected, and the Drive powered up.

5.2 - what is Data Consistency?

If a data format is selected that requires full data consistency, this guarantees that the data on the Profibus is not updated with the new data values until ALL data words have been written into the Profibus buffer memory.Consistent data may be important when using the 4-word non-cyclic data format. Without consistency, it is possible for 2 of the 4 words to go on one network cycle, with the data value updated on the next cycle.If the command was a write command, this could result in the previous data value being written to the new parameter, and could have disastrous consequences.Using data consistency can often put restrictions on data manipulation within the master controller, and may require the use of special functions within the master controller, and these can take longer to execute. (Consult the supplier of the master controller for further information.)

5.3 - Mapping parameters on VARMECA 31-32The mapping for the cyclic data channels on VARMECA 31-32 can be change using either the VMA SOFT configuration software or a KEYPAD LCD.The mapping method is similar to the method used in VARMECA 31-32 for mapping analog inputs and outputs. The value entered in the mapping parameter takes the form MMPP, where MM = menu number of the target parameter and PP = parameter number of the target parameter.

If a mapping parameter is set to an unvalid value, no check is made by the VARMECA 31-32.

If a cyclic data channel is not required, setting the mapping value to 0 will disable it. The data word will still be transmitted over the network to the Profibus-DP card, but no data value will be written to any VARMECA 31-32 parameter. This helps to improve the update time of all parameters by reducing the number of message that must be transmitted over the RS485 link to the VARMECA 31-32.

The cyclic data channels do not use decimal point. for example, to write a value of 24.6 to

#XX.yy, the value must be transmitted as 246.

5.4 - profibus-Dp Data formats

#15.05 (Read only)

VARMECA 31-32 Profibus-DP interface will auto-detect the data format required during network initialisation, and indicate the data format being used in #15.05. All data formats can be set to have full data consistency or no data consistency.

format(#15.05)

non-cyclicdata mode

Cyclicwords Consistency

0.02 0 2 Full0.02 0 2 None0.03 0 3 Full0.03 0 3 None1.03 1 3 Full1.03 1 3 None

5.5 - Mapping parameters on profibus-Dp optionSee section 5.3.

5.5.1 - 3 Cyclic words with Mode 1 non-Cyclic dataThis data format provides three 16-bit cyclic data words, plus Mode 1 non-cyclic. To select this data format, choose «Cyc=3W, NCyc=Mode 1, full cons» for full data consistency, or «Cyc=3W, NCyc=Mode 1» for no data consistency.

Data word Mappingparameter Default Mapping Status

IN Word 0 - Non-cyclic data wordIN Word 1 - Status wordIN Word 2 #15.11 Post-ramp speed reference #2.01

IN Word 3 #15.12 Motor load as % of rated motor load#4.20

OUT Word 0 - Non-cyclic data wordOUT Word 1 - Control wordOUT Word 2 #15.21 Preset reference 1 #1.21OUT Word 3 #15.22 0

note

note

note

note

Page 15: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

15

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

5.5.2 - 2 Cyclic words onlyThis data format provides two 16-bit cyclic data words, with no non-cyclic data channel. To select this data format, choose « Cyc=2W, NCyc=None, full cons» for full data consistency, or « Cyc=2W, NCyc=None» for no data consistency.

Data word Mappingparameter Default Mapping Status

IN Word 1 - Status wordIN Word 2 #15.11 Post-ramp speed reference #2.01

OUT Word 1 - Control wordOUT Word 2 #15.21 Preset reference 1 #1.21

5.5.3 - 3 Cyclic words onlyThis data format provides three 16-bit cyclic data words, with no non-cyclic data channel. To select this data format, choose « Cyc=3W, NCyc=None, full cons» for full data consistency, or « Cyc=3W, NCyc=None» for no data consistency.

Data word Mappingparameter

Default Mapping Status

IN Word 1 - Status wordIN Word 2 #15.11 Post-ramp speed reference #2.01

IN Word 3 #15.12 Motor load as % of rated motor load #4.20

OUT Word 1 - Control wordOUT Word 2 #15.21 Preset reference 1 #1.21OUT Word 3 #15.22 0

Page 16: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

16

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

6 - non-cYclIc dataThe non-cyclic data channel provides a method for the master controller to read from or write to any parameter within the Drive. This channel can be used for single infrequent data transfers, or uploading and downloading parameter sets to or from a particular node.

Non-cyclic data access to Drive parameters is controlled entirely by the master controller program, and is not configured in any way when the Profibus-DP network map is defined.

The VARMECA 31-32 Profibus-DP interface currently provides one format for non-cyclic data, plus the option to disable non-cyclic data.

non-CyclicMode

Data format#15.05 description

Disabled 0.xx Non-cyclic data disabled.

Mode 1 1.03Single Word Format.Word 0 is reserved and used for non-cyclic data transfers.

The actual configuration for the non-cyclic data format is selected when the network master controller is configured. The GSD file will offer all supported data formats, and the user must select the option that offers the correct number of non-cyclic data words and the desired non-cyclic data format. #15.05 will not be updated in the Drive until the Profibus-DPinterface has been plugged in and the Profibus master controller has initialised the node.

6.1 - Mode 1 - Single word formatThe Single Word Format (Mode 1) of non-cyclic data uses one word for non-cyclic data. The non-cyclic sub-protocol requires a specific sequence of 4 words or «telegrams» to implement the parameter access. Each non-cyclic word or telegram is split into 2 bytes to implement the sub-protocol, with the high byte containing the control codes for each telegram, and the low byte containing the data for each telegram.

b15 b14 b13 b12 b11 b10 b9 b8R/W Error X X Stamp number

b7 b6 b5 b4 b3 b2 b1 b0Data byte

bit function Values description

0 to 7 Data 0 to 255

Depending on the stamp number of the telegram, this byte contains the menu or parameter number, or data high or low byte.

8 to 11 Stampnumber 0 to 4

Indicates the stamp number of the word. This shows which part of the message is currently in progress. Setting the stamp number to 0 resets the internal non-cyclic state machine

12, 13 Not Used These should be set to 0.

14 ERR 0 = Data OK1 = Error

Indicates the success or failure of the message. Failure could occur if the parameter does not exist, or is a read-only or write-only parameter.

15 R/W 0 = Write1 = Read

Defines whether the data word is part of a READ or WRITE cycle is in progress.

X = don’t care. Generally, these bits should be set to 0. If a message is aborted part way through,

the non-cyclic ouT word should be reset to 0. This will reset the non-cyclic state machine, and allow the message sequence to be restarted.

6.1.1 - Reading parameters using Mode 1To read parameters using the non-cyclic channel, the following “telegrams” must be transmitted to construct the final message.

• Telegram 1 Define menu number.• Telegram 2 Define parameter number.• Telegram 3 Request high data byte.• Telegram 4 Request low data byte.

The following example telegrams show how to read the post-ramp reference (in min-1) #2.01 in the VARMECA 31-32.

READStart

Send first telegramto OUT word 0

Read INword 0

Tx_Stamp_No =Rx_Stamp_No?

Send nexttelegram toOUT word 0

Tx_Stamp_No= 2?

No

Yes

Check statusof ERR bit

1

0

ERROR. Check parameter exists, datais in correct range, and parameter is

Read/Write

Calculatedata value

END OFSEQUENCE

Read INword 0

Tx_Stamp_No =Rx_Stamp_No?

Send nexttelegram toOUT word 0

Tx_Stamp_No= 4?

No

Yes

Send telegram 3 toOUT word 0

Store databyte

YesNo

Yes

No

note

Page 17: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

17

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

teleGraM 1

The first telegram from the DP master indicates a READ cycle, and the stamp number is 1. The data byte would contain the menu number for the parameter that is to be read.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 1000 0001 0000 0010

Data word = 0x8102 Stamp number = 1 Menu = 2

When the first telegram has been received and processed in the DP node, it is mirrored in the non-cyclic IN word back to the PLC. This is the signal to the master controller program that the first telegram of the message has been received and understood, and the second telegram can be transmitted.

teleGraM 2

The second telegram from the DP master also indicates a READ cycle, but the stamp number is now 2. The data byte would contain the parameter number for the parameter that is to read.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 1000 0010 0000 0001

Data word = 0x8201 Stamp number = 2 Parameter = 1

When the second telegram has been received and processed in the DP node, it is mirrored in the non-cyclic IN word. This is the signal to the master controller program that the second telegram of the message has been received and understood, and the third telegram can be transmitted.

If telegrams 1 and 2 were not received correctly, or an invalid parameter was specified, e.g. parameter is write only, or does not exist, the Profibus-DP interface will set the ERROR bit to 1 (b14 = 1). The data bits will have no significance.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 1100 0010 XXXX XXXX

Data word = 0xC2XX Stamp number = 2

If an error is reported, it is recommended that the non-cyclic data word is set to 0 to ensure that the non-cyclic state machine is completely reset, and ready for the next non-cyclic READ or WRITE sequence.

teleGraM 3

The third telegram from the DP master acts as the indication to the DP slave to send the data high byte from the requested parameter. The data byte is not used in this telegram, and should be set to 0.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 1000 0011 XXXX XXXX

Data word = 0x8300 Stamp number = 3 Data high byte = XX

When the third telegram has been received and processed in the DP node, the node will mirror the stamp number in the non-cyclic IN word, and load the high byte of the parameter value into the data byte.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 10XX 0011 0000 0101

Data word = 0x8305 Stamp number = 3 Data high byte = 0x5

teleGraM 4

The fourth telegram from the DP master acts as the indication to the DP slave to send the data high byte from the requested parameter. The data byte is not used in this telegram, and should be set to 0.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 1000 0100 0000 0000

Data word = 0x8400 Stamp number = 4

When the fourth telegram has been received and processed in the DP node, the node will mirror the stamp number in the non-cyclic IN word, and load the low byte of the parameter value into the data byte.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 1XXX 0100 1101 1100

Data word = 0x84DC Stamp number = 4Data low byte = 220

Speed feedback = (high data byte * 256) + low data byte = (0x5 * 0x100) + 0xDC = 1500 min-1

Page 18: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

18

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

6.1.2 - writing parameters using Mode 1To write to parameters using the non-cyclic channel, the following telegrams must be sent on each network cycle to construct the final message.

• Telegram 1 Define menu number.• Telegram 2 Define parameter number.• Telegram 3 Set data high byte.• Telegram 4 Set data low byte.

The following example telegrams show how to set the preset reference 1 (#1.21) to 400 min-1 in the VARMECA 31-32.

teleGraM 1

The first telegram from the DP master indicates a WRITE cycle by setting the R/W bit to 0. The stamp number is set to 1. The data byte contains the menu number for the parameter that is to be written to.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 0000 0001 0000 0001

Data word = 0x0101 Stamp number = 1 Menu = 1

When the first telegram has been received and processed in the DP node, it is mirrored in the non-cyclic IN word. This is the signal to the master controller program that the first telegram of the message has been received and understood, and the second telegram can be transmitted.

teleGraM 2

The second telegram from the DP master also indicates a Write cycle, but the stamp number is now set to 2. The data byte would contain the parameter number for the parameter that is to be written to.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 0000 0010 0001 0101

Data word = 0x215 Stamp number = 2 Parameter = 21

When the first telegram has been received and processed in the DP node, it is mirrored in the non-cyclic IN word. This is the signal to the master controller program that the second telegram of the message has been received and understood, and the third telegram can be transmitted.

teleGraM 3

The third telegram from the DP master has the stamp number set to 3. The data bits contain the data high byte for the parameter being written to.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 0000 0011 0000 0001

Data word = 0x0301 Stamp number = 3High data byte = 1

When the first telegram has been received and processed in the DP node, it is mirrored in the non-cyclic IN word. This is the signal to the master controller program that the third telegram of the message has been received and understood, and the fourth telegram can be transmitted.

teleGraM 4

The fourth telegram from the DP master has the stamp number set to 4. The data bits contain the data low byte for the parameter that is being written to.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 0000 0100 1001 0000

Data word = 0x0490 Stamp number = 4 Low data byte = 144

When the fourth telegram has been received and processed in the DP node, it will write the data (#01.21 = 400) as transmitted. If the operation is successful, the ERR bit is reset to 0 and the telegram is reflected in the non-cyclic IN word.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 0000 0100 1001 0000

Data word = 0x0490 Stamp number = 4 Low data byte = 144

If there was a problem with writing the data to the defined parameter, e.g. parameter is read only, does not exist, or data is out of range, the ERR bit is set to 1.

bit b15-b12 b11-b8 b7-b4 b3-b0Value 0100 0100 XXXX XXXX

Data word = 0x44XX Stamp number = 4

Start

Send first telegramto OUT word 0

Read INword 0

Tx_Stamp_No =Rx_Stamp_No?

Send nexttelegram toOUT word 0

Tx_Stamp_No= 4?

No

Yes

No

Yes

Check statusof ERR bit

1 ERRORCheck paramter

exists, and that it isa Read/Write

parameterParameterwritten OK

END OFSEQUENCE

WRITE

Page 19: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

19

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

6.2 - profibus-Dp Set-up using non-Cyclic DataThe VARMECA 31-32 Profibus-DP interface can also be configured via the non-cyclic data channel. Menu 15 in the Drive contains the parameter values currently being used, and these can be modified as required using a non-cyclic data WRITE command.

The parameters listed below are the parameters that can be written to configure the Profibus-DP interface. However, care must be taken when writing to certain parameters. For example, if the master changes the node address parameter #15.03 controller, and the interface is forced to re-configure, the node will appear on the Profibus-DP network at the new address.

param Default description#15.03 12 Node Address.

#15.07 200

Trip Delay Time (ms)Specifies the time-out period for the Profibus-DP network. If no network messages are received in this time period, the network losstrip is invoked. (See section 9.1)

#15.08 0

0 = big endian transfer (high byte first)1 = little endian transfer (low byte first)Some Profibus master devices transmit the low byte first, so this parameter allows the interface to swap the bytes automatically ifrequired. (See section 9.2)

#15.11 #2.01 IN Channel 2 Mapping#15.12 #4.20 IN Channel 3 Mapping#15.21 #1.21 OUT Channel 2 Mapping#15.22 0 OUT Channel 3 Mapping#15.30 DISABLE Load Option Defaults

The parameters listed in the table below return information about the Profibus-DP interface. Writing to these parameters will not affect the operation of the node.

param description

#15.01 Option ID CodeProfibus-DP = 1

#15.02 Software Version Vxx.yy#15.04 Data Rate (defined by the fieldbus master)

#15.05

Data FormatIndicates the number of non-cyclic and cyclic data wordsas X.Y, where X = non-cyclic words, Y = cyclic data words

#15.50 Software Version - zz#15.51 Software Interface Version

Page 20: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

20

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

7 - Gsd fIles7.1 - what are GSD files?GSD files are text files that are used with the Profibus-DP network configuration software. They contain information about the device capabilities, such as supported data rates, delay timings, supported data formats, etc.

GSD files are not actually downloaded to the master controller or scanner. The information they contain is used when the network configuration file is generated, but they are necessary and are only used during network configuration. They must usually be installed into the network configuration software, or copied to a specific directory. Refer to the software documentation for instructions about installing GSD files.

LEROY SOMER cannot offer specific technical support on any of the software packages available for configuring Profibus-DP networks or on the use and configuration of any specific PLC with Profibus-DP.

A device cannot be included in the configuration for a profibus-Dp network without an associated

GSD file.

7.2 - VarMeca 31-32 Gsd fileA GSD file is available for the VARMECA 31-32 Profibus-DP interface, and can be obtained from your local LEROY SOMER Drive Centre, or the Profibus web site at «www.leroysomer.com». This file contains a full description of the performance capabilities of the VARMECA 31-32 Profibus-DP interface.

Most configuration tools for Profibus-DP will group slaves together, depending on what type of device they are.

drive filenameVARMECA 31-32 LSVM 04FA.GSD

7.3 - Data ConsistencyData consistency provides a method of ensuring that all data is updated at the same time, thus preventing any form of data skew.

Using data consistency can often put restrictions on data manipulation within the master controller, and require data bytes or words to be written in a certain order. Using data consistency can increase the master controller cycle time, so it should only used if really necessary.(See section 5.2).

7.4 - profibus-Dp Data formatsAll data formats can be set to have full data consistency or no data consistency. The first cyclic data word is always the control word.

format(#15.05)

non-cyclicwords

Cyclicwords Consistency Comment

0.02 0 2 Full PPO30.02 0 2 None0.03 0 3 Full0.03 0 3 None1.03 1 3 Full1.03 1 3 None

When the master initialises the network, it will transmit formatconfiguration byte to each slave. If the configuration byte matches one of the three modes above, the slave will automatically configure itself for this type of data.

note

Page 21: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

21

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

8 - dIaGnostIcsThe information from the parameters described below should always be noted before contacting LEROY-SOMER for technical support.

8.1 - fieldbus Code #15.01

The fieldbus code identifies the fieldbus option module last fitted to the VARMECA 31-32.

code fieldbus Type1 Profibus-DP

8.2 - firmware Version #15.02 and #15.50

The version of firmware present in the Profibus-DP interface can be read from #15.02 in the VARMECA 31-32.

Major code(#15.02)

Minor code(#15.50)

firmwareVersion

1,01 01 V1.01.01

8.3 - node Address #15.03

Every Profibus-DP node must be assigned a unique node address. If two or more nodes have the same address, this will cause a conflict when the master attempts to initialise the network.

Ideally, the node address should be configured on each node BEFORE any attempt is made to connect it to the network. #15.03 can be modified using the KEYPAD LCD or VMA SOFT on VARMECA 31-32 itself.

8.4 - network Data Rate #15.04

The VARMECA 31-32 Profibus-DP interface automatically detects the network data rate, and display the data rate in #15.04. The data rates supported by the VARMECA 31-32 Profibus-DP interface are listed in the table below.

#15.04 bits/sec #15.04 bits/sec12.0M 187.5K6.0M 93.75K3.0M1.5M 19.2K500K 9.6K

8.5 - node status #15.06The node status can be monitored in #15.06. When the interface is communicating with the Profibus-DP network, the approximate number of messages per second is displayed. If cyclic data transfer is stopped by the master, but is not due to any network errors, #15.06 will show 0.

-1 indicates that the Profibus-DP interface has initialised correctly, but is waiting for the master to initiate communications. • Check that the Profibus-DP cables and screens have

been wired correctly, and the physical connections are good.

• Ensure that the Profibus-DP interface is connected to the RJ45 communications connector on the VARMECA, and that the network status parameter indicates that the network is running.

• Ensure that the network has been terminated. • Check that the node address has been set correctly and

only one node on the network has that particular address. • Check that the node has been configured correctly in

the master. • Data format selected is correct.

-2 indicates an interface initialisation failure. If this fault persists, replace the Profibus-DP card.

8.6 - no data transferIf data is not being transferred from the master controller to the VARMECA 31-32, make the following checks:

• The mapping parameters have been programmed correctly. If an incorrect mapping was entered, it will have been reset to 0.

• Check that there are no mapping parameter conflicts, i.e. an analogue input is not trying to control the same parameter as a cyclic OUT channel.

• Check that the network status (#15.06 is > 0. See section 3).

8.7 - VarMeca 31-32 trip codes

See section 4.2.

Page 22: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

22

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

9 - adVanced features9.1 - network loss Trip #15.07

0 = trip disabled 1 to 2000 = trip delay time

The Profibus-DP interface counts the number of valid network cycles received in a time period specified by #15.07. The trip is triggered if no messages are received in a given sample period, and messages were received in the previous sample period. The default setting for #15.07 is 200ms.

As can be seen from the diagram, the actual time from network loss to Drive trip will range from #15.07 ms to 2 * #15.07 ms. By decreasing #15.07, the maximum trip time will be reduced, but if the trip time is set too low, spurious network loss trips will be seen.

The actual network loss trip time depends entirely on the number of messages per second being received under normal operation. As a rough guide, the network loss trip time (#15.07) should be set such that a minimum of 10 messages will be received in any given sample period under normal operating conditions.

The network loss trip can be disabled by setting #15.07 using the last received values in the case of a network

loss. It’s the user’s responsability to ensure that adequate safety precautions are taken to prevent damage or injury in the event of a communication network loss.

9.2 - Endian format #15.08

OFF = big endian ON = little endian

The VARMECA 31-32 Profibus-DP interface uses word (16-bit) format, but the master controller must split each word into 2 bytes (high byte and low byte) for transmission over the Profibus. The «endian format» defines whether the high byte or low byte is transmitted first. Provided that the master controller and slave device are using the same endian format, the data word value will be reconstructed correctly.

The VARMECA 31-32 uses big endian format by default, where the high byte is transmitted first, followed by the low byte.

However, some master controllers use little endian format.

This results in «byte swapping» when the data value is reconstructed at the other end of the network. For example, a value of 0x0102 (258 decimal) may be reconstructed as 0x0201 or 513 decimal.

If #15.08 is set to ON, the VARMECA 31-32 Profibus-DP interface will treat all data received as little endian, and assume that the first byte received is the low byte, followed by the high byte. This also applies to the non-cyclic data channel.

Refer to the master controller documentation for the endian format used.

9.3 - Multi-Master networksProfibus-DP networks can operate with more than one master device connected to the same lines. VARMECA 31-32, interface can operate on multi-master networks, but each device can only be assigned to one of the master devices.

Consult the supplier of your master controller for more details about implementing multi-master Profibus-DP networks.Profibus stops

communicating hereDrive tripson "t60"

#15.07

Time(ms)

Messagesper sec

Samplepoints

Page 23: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

23

InstallatIon and MaIntenance

ProfIbus - dPoption card for VarMeca 31-32

LEroY-soMEr 4168 en - 2010.05 / b

en

10 - QuIck reference10.1 - profibus-Dp parameter list (Access via KEypAD lCD or VMA SofT)

pARAMETER / DISplAyon keYPad lcd desIGnatIon tYPe settInG ranGe factorY

settInG15.01 : MODULE ID CODE Option identity code RO 1 1

15.02 : MAJOR SOFTWARE VERSION Profibus-DP major software version RO 1,0115.03 : NODE ADDRESS Varmeca node address RW 0 to 255 12

15.04 : DATA RATE Baud rate RO 9,6Kbits/s to 12Mbits/s15.05 : DATA FORMAT Data format RO

15.06 : NETWORK STATUS Profibus-DP network status RO -2 to 999 cycles/s15.07 : NETWORK LOSS TRIP TIMEOUT Time out delay (loss of communication) RW 0 to 2000ms 200ms

15.08 : DATA ENDIAN FORMAT Byte configuration: Big or LITTLE ENDIAN RW OFF/ON OFF15.11 : IN POLLED MAPPING 2 Cyclic parameter 2 read RW Any of parameter 20115.12 : IN POLLED MAPPING 3 Cyclic parameter 3 read RW Any of parameter 420

15.21 : OUT POLLED MAPPING 2 Cyclic parameter 2 write RW Any of parameter 12115.22 : OUT POLLED MAPPING 3 Cyclic parameter 3 write RW Any of parameter 0

15.30 : RESTORE DEFAULTS Fieldbus parameter factory settings RW DISABLE/ENABLE DISABLE15.50 : MINOR SOFTWARE VERSION Profibus-DP minor software version RO 01

15.51 : INTERFACE SOFTWARE VERSION Interface software version RO 1,24

RO: Read Only parameterRW: Read and Write parameter

10.2 - profibus-Dp Data formatsformat(#15.05)

non-cyclicwords

Cyclicwords Consistency Comment

0.02 0 2 Full PPO30.02 0 2 None0.03 0 3 Full0.03 0 3 None1.03 1 3 Full1.03 1 3 None

10.3 - Control word #6.42 bit Decimal

conversion function Equivalent parameter0 1 Drive enable 6.151 2 Run forward 6.302 4 Jog 6.313 8 Run reverse 6.324 16 Reserved

5 32 Analog ref./Preset ref.

on transition (0->1)pass from 1.14 to 3on transition (1->0)pass from 1.14 to 1

6 64 Reset drive on transition (0->1)pass from 10.38 to 100

7 128 Reserved8 256 Reserved9 512 Reserved10 1024 Reserved11 2048 Reserved12 4096 Reserved13 8192 Reserved14 16384 Reserved

10.4 - Status word #10.40 bits ofstatusword

10.40Corresponding

parameters Drive status

0 10.01 Drive healthy1 10.02 Drive active2 10.03 Zero speed3 10.04 Running at or below min4 10.05 Below set speed5 10.06 At speed6 10.07 Above set speed7 10.08 Load reached8 10.09 Drive output is at current limit9 10.10 Dynamic braking10 10.11 Braking IGBT active11 10.12 Braking resistor alarm12 10.13 Direction commanded13 10.14 Direction running14 10.15 Main loss

Page 24: Profibus - dP€¦ · ProfIbus - dP option card for VarMeca 31-32 LEroY-soMEr 4168 en - 2010.05 / b 2 - MecHanIcal InstallatIon 2.1 - VarMeca 31-32 Fitted in VARMECA 31-32 cover,

MOTEURS LEROY-SOMER 16015 ANGOULÊME CEDEX - FRANCE

338 567 258 RCS ANGOULÊMES.A. au capital de 62 779 000 €

www.leroy-somer.com


Recommended