Vous êtes sur la page 1sur 24

Instruction Guide

Schneider Canada Services


Retain for future use.

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

Contents
INTRODUCTION 1.1 Purpose of this manual 1.2 Introduction to PXP-3148PB 1.3 PXP-3148PB Specifications HARDWARE 2.1 6 2.2 7 2.3 2.4 2.4.1 2.4.2 2.5 2 3 3 4 5 Dimensional details And Mounting Instructions Communication Port Details LED Status Configuration Switch Configuration Communication Settings Supplied Power 9 10 10 10 11 13 13 13 13 16 17 17 18 19 23 23 24 25 25 26 26 26 27 27 28

GETTING STARTED 3.1 Introduction to Profibus 3.2 PXP-3148PB Operations 3.2.1 Writing configuration properties DIAGNOSTIC 4.2 4.3

Significance of I001 LED STATUS:

PROFIBUS MASTER SETUP 5.1 PXP setup with Siemens Profibus Master 5.2 Introduction To Profibus 5.2.1 Protocol Architecture 5.1.2 Device Types 5.1.3 PROFIBUS-DP Charactristics 5.1.3.1 Bus Access Protocol 5.1.3.2 Data Throughput 5.1.3.3 Diagnostic Functions 5.1.3.4 Protection Mechanism 5.1.3.5 Network States 5.1.4 Device Data Base Files 5.1.5 Profiles

UMAN\PXP-3148PB0806 REVISION 0

Instruction Guide
Schneider Canada Services
INTRODUCTION
1.1 Purpose of this manual

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

The intention of this User Manual is to provide a guide for Safe installation, Configuration and operation of PXP-3148PB. Read this User manual thoroughly before installing and operating PXP-3148PB. This document is based on information available at the time of its publication. While efforts have been made to be accurate, the information in this document may not cover all the details or variations in hardware or software.

1.2

Introduction to PXP-3148PB

PXP3148-PB allows ATV31/ATS48 to communicate on Profibus DP network as Profibus DP Slave. At the same time it allows r the ATV 31/ATS48 remote keypad toco-exist and communicate with ATV31/ATS48.

PXP-3148-PB has three communication ports as follows: 1. Inverter Port : RS485 two wire 2. Remote Keypad Port : RS485 two wire 3. Profibus DP Slave Port : RS485 two wire

UMAN\PXP-3148PB0806 REVISION 0

Instruction Guide
Schneider Canada Services
INTRODUCTION

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

1.3

PXP-3148PB Specifications
Power LEDs Communication Ports : : :

24 V DC, 2.5 W 4 LEDs for status indication 3 Communication ports with Inverter Port : 2 Wire RS485 Remote keypad port : 2 Wire RS485 Profibus DP Slave : 2 Wire RS485 Inverter : Connects t to ATV31/ATS48 Remote Keypad : Connects to keypad Profibus DP : Connects to Profibus DP Network (Isolation: Profibus DP port and Inverter port are isolated. Isolation is 1KV. Power supply and communication ports are isolated. Isolation is 1KV.) Profibus Baud Rate : 9.6k, 19.2k, 45.45k, 93.75k, 187.5k, 500k, 1.5M, 3M, 6M, 12M Bit/s (Autodetect) GSD File : Supplied with the unit. GSD File Name : ATVS.GSD I/O data : 100 Word Input, 100 Word Output *Profibus Slave ID : 0 - 126 Operating Temperature : 0o to 60oC Storage Temperature : -20o to 80oC Humidity : 10% to 90% (Non condensing) Mounting : DIN rail or back panel mounting Dimensions (DIN rail) : 105mm(L) X 40mm(D) X 51mm(W) Weight : 125 gm approx. Certifications : CE with UL certification Immunity to ESD : Level 3 as per IEC1000-4-2 Immunity to Transients : Level 3 as per IEC1000-4-4 Immunity to Radiated RF : Level 3 as per IEC1000-4-3 Immunity to Conducted RF : Level 3 as per IEC1000-4-6 Emissions : EN55011 CISPR A

*Note: Station address 126 is reserved for diagnostic purpose

UMAN\PXP-3148PB0806 REVISION 0

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

HARDWARE
2.1 Dimensional details And Mounting Instructions

PXP-3148PB unit can be mounted on a back panel or on a DIN rail or can be left hanging. It comes with a separate DIN rail plate when it is packed. User will have to attach the DIN rail plate to the unit if it has to be mounted on a panel or DIN rail. If it has to be left hanging, make sure to screw the cables to the DB9 connectors on the Gateway unit. DIN rail plate also has the provision to screw the unit to the back panel. Following drawing shows how to attach the DIN rail plate to the unit:

40

DIN rail clamp

Slot for clamp

PXP-3148PB DIN rail clip

Follow instructions given below: 1. Attach the DIN rail plate to the unit using the clamps on the DIN rail plate. 2. Pull out the clip of the plate. 3. Put the unit on the DIN rail. 4. Push the clip in to secure the unit on the DIN rail. PXP-3148PB unit is shipped with a separate DIN rail plate which has to be attached to the unit, if needed. User can use the unit with or without the DIN rail plate. Following sketch shows mounting details of PXP-3148PB with the DIN rail plate.

UMAN\PXP-3148PB0806 REVISION 0 4

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


HARDWARE

2.2

Communication Port Details

PXP-3148PB has three communication ports Inverter port, remote keypad port and Profibus DP. Inverter port, remote keypad port and Profibus DP Slave port are compactible to 2 wire RS485 . Pinout of these ports are given as follows:

Profibus - DP Slave

5 9

A (+) Data Line +5V DC


(Supply Voltage for terminator resistance)

8 6
6 1

5 4 3 1

Data Ground RTS(TTL Direction B (-) Data Line

control for repeaters)

Shield / Functional Ground

DB9 Female

UMAN\PXP-3148PB0806 REVISION 0

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

HARDWARE
Data Line: The Profibus user group recommends the following color coding for the data signal lines: A-Data Line = Green B-Data Line = Red

These data signal lines must be connected to the corresponding signal terminals or pins at the master unit and other stations (i.e.A to A, B to B). RTS: The signal RTS (TTL signal relative to Data Ground) is meant for the direction control of repeaters in case repeaters without self control capability are used. +5V DC, Data Ground: The signals +5V DC and Data Ground are meant to power an externally mounted bus terminator. The powering of the 220 termination resistor ensures a defined idle state potential on the data lines. To ensure proper functioning up to the highest baud rate, each bus segment has to be terminated at both ends of the cable.
+5V DC

300 Ohm B - Data Line 220 Ohm A - Data Line

300 Ohm Data Ground

UMAN\PXP-3148PB0806 REVISION 0 6

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


HARDWARE

There are 3 Bicolor LEDs for status indication. Bicolour LEDs status: LED OK Green OFF Flashing ON Red OFF ON Inverter Green OFF Flashing ON Red OFF Flashing ON Profibus Green OFF Flashing ON Red OFF Flashing ON Keypad Green OFF Flashing ON Red No Firmware IBM Download Both side communication OK Configuration Ok Configuration Fault No data received on Inverter Port Receving data on Inverter Port No error in Inverter attach or while block execution Inverter attach error or error while block execution No data received on Profibus Port Receving data on Profibus Port Data exchange with Profibus Master No data exchange with Profibus Master No data received on Keypad Port Receving data on Keypad Port -

UMAN\PXP-3148PB0806 REVISION 0

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

HARDWARE

2.4

Configuration 2.4.1 Switch Configuration


Four switches are present on PXP3148-PB for configuration. The configuration of switches are as follows: 0000 0001 0010 to 1111 ATV31 ATS48 Reserved for future implementation

2.4.2 Communication Settings


PXP-3148PB communicates with ATV31/ATS48 with default settings as follows: ATV31 Baud rate Parity Data Bits Stop Bit ATS48 Baud rate Parity Data Bits Stop Bit

= = = =

19.2K Even 8 1

= = = =

19.2K Odd 8 1

UMAN\PXP-3148PB0806 REVISION 0 8

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


HARDWARE

2.5

Supplied Power
The 24 dc required for the PXP-3138PB can be dervived from the associated inverter or through an external Telemecanique ABL series power supplied. Figure 1 shows the wiring required for 24Vdc supplied by the ATV31/ATS48. Please refer to their respectve manual Figure 2 shows the wiring required if supplied from an external 24 Vdc sources such as the ABL1 or ABL7 Telemecanuque power supplies.

UMAN\PXP-3148PB0806 REVISION 0

Instruction Guide
Schneider Canada Services
GETTING STARTED
3.1 Introduction to Profibus
For more details on Profibus, please refer chapter 5

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

3.2

PXP-3148PB Operations

PXP3148-PB allows ATV31/ATS48 to communicate on Profibus DP network as Profibus DP Slave. At the same time it allows remote keypad to communicate with ATV31/ATS48. Power required for remote keypad is also available on remote keypad port, Upon Power-Up PXP3148-PB does not have the ATV31/ATS48 Modbus station address and also does not have Profibus slave address in order to communicate on Profibus network. So, it starts scanning node connected on controller port. For this PXP3148-PB send Modbus read request for Modbus reference 400001 starting from station address 01 up to 125. ATV31/ATS48 connected on controller port responds when it receive query with its own station address. Normally, PXP3148-PB requires less than 15 seconds to discover the node connected on its controller port. Time require to discover the node is less if Modbus station address is small (e.g. 01,02,03 etc.). Time require to discover the node is more (maximum 15 seconds) if Modbus station address is big (e.g. 125). Once ATV31/ATS48 is discovered by PXP3148PB, Modbus station address of ATV31/ATS48 is assigned as profibus slave station address. Once Profibus station address is acquired, PXP3148-PB checks for configuration properties of ATS48 (If ATV31 is connected, it directly enters in data exchange mode). If configuration properties are present, these configuration properties are transferred to ATS48 and then it enters in data exchange mode. For more information on configuration properties, please refer section (3.2.1). During data exchange, if communication break occurs due to power to ATV31/ATS48 is removed, communication cable fault etc. Then this error is reported to profibus master (for details see section 4.2) Both the Profibus master requests and Remote keypad requests are serviced by PXP3148-PB on time-sharing basis. PX3148-PB has two areas for profibus communication namely, Input area and Output area. Profibus master access these two areas for exchanging data. The term Input and Output are referred with respect to Profibus Master. Input is an input to Profibus Master and output is an output from Profibus Master. PXP-3148PB fetches data from ATV31/ATS48 and writes this data to Input area. Further, profibus master reads this data from input area. Profibus master writes data in Output area and PXP-3148PB transfers this data to ATV31/ATS48. Size of Input area is 100 words and reference is given to each word for simplicity. For example 1st word of input area is referred as I000, 2nd word of input area is referred as I001 and so on. Size of output area is 100 words and reference is given to each word for simplicity. For example 1st word of output area is referred as O000, 2nd word of output area is referred as O001 and so on.

UMAN\PXP-3148PB0806 REVISION 0 10

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


GETTING STARTED

3.2.1

Writing configuration properties

Configuration properties are application specific and written to ATS48 only once after power on. Configuration properties are stored in flash memory of PXP-3148PB. On power up, PXP-3148PB read these configuration properties from flash memory and transfer to ATS48. Even though ATS48 in a field is replaced by new ATS48 or another ATS48, user need not have to write configuration properties again as they are already present in internal flash memory of PXP-3148PB. In such a cases user have to power cycle PXP-3148PB once. For writing configuration properties, User should write (0x0000) to O000. Then user should write application specific values in O001 to O016 (as described in parameter table) using Profibus Master. Then user should write (0x0001) to O000. If configuration properties are never written in ATS48, PXP-3148PB waits for configuration properties before actual data exchange. Once the configuration properties are written in PXP-3148PB, it starts data exchange. Memory map for ATV31 and ATS48 are given as follows ATV31: Designation Speed Controller Variables Address 8601 8602 8504 8603 8505 8604 3203 3202 3204 3207 9630 3209 7121 Description Profibus word

CMDD LFRD CMI ETAD FRHD RFRD FRH RFR LCR ULN THR THD LFT

DRIVECOM command register Online speed reference (RPM) Internal command register Status word Signed ramp output Motor speed Frequency reference Output frequency Motor current Supply voltage Motor thermal state Speed controller thermal state Last fault

O001 O002 O003 I002 I003 I004 I005 I006 I007 I008 I009 I010 I011

UMAN\PXP-3148PB0806 REVISION 0

11

Instruction Guide
Schneider Canada Services
GETTING STARTED
ATS48: Parameter IN ILT ACC TQO STY DEC EDC BRC EBA THP TLI CLP LSC Modbus Register 4026 4039 4043 4037 4029 4044 4038 4041 4042 4034 4036 4107 4027 4028 4047 4056 400 458 4067 4064 4062 4068 4072 4063 4200 4065 Description Nominal motor current Limiting current Acceleration ramp time Initial starting torque Stop type Deceleration ramp time Freewheel threshold Braking torque Braking time Motor thermal protection Torque limit Torque control Stator loss compensation factor Voltage boost Deceleration Gain Line frequency CMD word Status word Motor power factor Motor thermal state Motor current Operating time Active power Motor torque Last fault Phase rotation direction

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

Profibus word O001 O002 O003 O004 O005 O006 O007 O008 O009 O010 O011 O012 O013 O014 O015 O016 O017 I002 I003 I004 I005 I006 I007 I008 I009 I010

Configuration Properties Input Word

Output Word

UMAN\PXP-3148PB0806 REVISION 0 12

Instruction Guide
Schneider Canada Services
DIAGNOSTIC

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

State 1 2 3 4

Description Scanning ATV31 / ATS48 Configuration / Firmware upgrade Waiting for configuration properties (ATS48) Data Exchange

4.2

Significance of Word I001


The word I001 gives the status of inverter. Value 0x000 0x001 Description ATV31/ATS48 is communicating with PXP-3148PB No Communication

4.3

LED STATUS:
At power on, PXP-3148PB starts scanning node that are connected on controller port from station address 1 to 125. OK LED is lit green at this time. If PXP-3148PB doesnt get response from any of the station, it enters in a configuration (download) mode. The OK led flashes green at this stage. It remains in configuration (download) mode for nearly 15 seconds. This mode is use for firmware upgrade. After the 15 seconds it again starts scanning for the node. This cycle continues until PXP-3148PB gets the response from any station. Other LEDs will remain off until the cycle is repeating. After getting response from ATV31/ATS48, PXP-3148PB starts communicating with the it. Inverter port LED flashes green at this stage. Profibus DPV0 LED starts flashing green once it is configure and communicating on the Profibus DP netwrok. After a normal communication , if the cable is removed from Profibus port or Inverter port the corresponding LED turns Red. Remote Keypad LED starts flashing green upon connecting Remote K/Pad to the associated port.

UMAN\PXP-3148PB0806 REVISION 0

14

Instruction Guide
Schneider Canada Services
PROFIBUS
5.1
1.

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

Setup Of PXP-3148PB with Siemens S7 Profibus Master


If the slaves including the PXP3148PB is not of Siemens family, you need to install the GSD file for it. H/W configuration Option Install New GSD You can see the GSD file in Additional Field Devices in Hardware Catalog.

2.

Next step is to form the Profibus Network. Refer Hardware Catalog for selecting the devices: (a) In Rack 0, slot 2, user should enter CPU (i.e. Siemens Master) (b) Slave module is added in front of Master module.

UMAN\PXP-3148PB0806 REVISION 0

16

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


PROFIBUS

UMAN\PXP-3148PB0806 REVISION 0

17

Instruction Guide
Schneider Canada Services
PROFIBUS
Step 3 Download the configuration to PLC.

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

UMAN\PXP-3148PB0806 REVISION 0

18

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


PROFIBUS

4. 5.

After downloading is complete, and communication is established, the BF and SF LEDs goes off. You can monitor the variables as PLC Monitor/Modify variables.

UMAN\PXP-3148PB0806 REVISION 0

19

Instruction Guide
Schneider Canada Services
PROFIBUS
5.2 Introduction To Profibus

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

PROFIBUS is a vendor-independent, open fieldbus standard for a wide range of applications in manufacturing, process and building automation. Vendor independence and openness are guaranteed by the PROFIBUS standard EN 50170. With PROFIBUS, devices of different manufacturers can communicate without special interface adjustments.The PROFIBUS family consists of three compatible versions: High speed PROFIBUS-DP DP stands for Decentralised Periphery. It is optimised for high speed and low cost interfacing, especially designed for communication between automation control systems and distributed I/O at the device level. PROFIBUS-PA PA stands for Process Automation. It permits sensors and actuators to be connected on one common bus line even in intrinsically-safe areas. It permits data communication and power supply over the bus using 2-wire technology according the international standard IEC 1158-2. PROFIBUS-FMS FMS stands for Fieldbus Message Specification. This version is the general purpose solution for communication tasks at a higher level. Powerful services open up a wide range of applications and provide great flexibility. It can also be used for extensive and complex communications tasks. PROFIBUS-DP and PROFIBUS-FMS use the same transmission technology and a uniform bus access protocol. Thus, both versions can be operated simultaneously on the same cable. However, FMS field devices cannot be controlled by DP masters or vice versa.

Process Automation

Higher level

Uniform bus access protocol

Note:

It is not possible to exchange one of these family members by another family member. This will cause faulty operation. The rest of this section only describes PROFIBUS-DP.Protocol architecture.

DP- Profiles DP- Extentions User Interface Layer (7) Application Layer (6) Presentation Layer (5) Session Layer (4) Transport Layer (3) Network Layer (2) Data Link Layer (1) Physical Layer DP- Basic Functions

Not Defined Field Bus Data Link (FDL) RS-485 / Fiber optics

UMAN\PXP-3148PB0806 REVISION 0

20

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


PROFIBUS

Layer 1, 2 and user interface

PROFIBUS-DP uses layers 1 and 2, and the user interface. Layers 3 to 7 are not defined. This streamlined architecture ensures fast and efficient data transmission. The application functions which are available to the user, as well as the system and device behaviour of the various PROFIBUS-DP device types, are specified in the user interface. RS-485 transmission technology or fibre optics are available for transmission. RS-485 transmission is the most frequently used transmission technology. Its application area includes all areas in which high transmission speed and simple inexpensive installation are required. Twisted pair shielded copper cable with one conductor pair is used. The RS-485 transmission technology is very easy to handle. Installation of the twisted pair cable does not require expert knowledge. The bus structure permits addition and removal of stations or step-by-step commissioning of the system without influencing the other stations. Later expansions have no effect on stations which are already in opera tion. Transmission speeds between 9.6 kbit/s and 12 Mbit/s can be selected. One unique transmission speed is selected for all devices on the bus when the system is commissioned. The maximum cable length depends on the transmission speed The specified cable lengths are based on type-A cable. The length can be increased by the use of repeaters. The use of more than 3 repeaters in series is not recommended.

Transmission medium

High-speed, inexpensive Easy installation

Cable length

5.1.2

Device Types

PROFIBUS distinguishes between master devices and slave devices. Master devices Master devices determine the data communication on the bus. A master can send messages without an external request, as long as it holds the bus access right (the token). Masters are also called active stations in the PROFIBUS standard. There are two types of master devices: DP master class1 (DPM1) and DP master class2 (DPM2). A DPM1 is a central controller which exchanges information with the decentralised stations (i.e. DP slaves) within a specified message cycle. DPM2 devices are programmers, configuration devices or operator panels. They are used during com missioning, for configuration of the DP system, or for operation and monitoring purposes. Slave devices are peripheral devices. Typical slave devices include input/output devices, valves, drives, and measuring transmitters. They do not have bus access rights and they can only acknowledge received messages or send messages to the master when requested to do so. Slaves are also called passive stations.

DPM1, DPM2

Slave devices

UMAN\PXP-3148PB0806 REVISION 0

21

Instruction Guide
Schneider Canada Services
PROFIBUS
5.1.3 PROFIBUS-DP Charactristics

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

5.1.3.1 Bus Access Protocol


Layer 2 The bus access protocol is implemented by layer 2. This protocol also includes data security and the handling of the transmission protocols and messages. The Medium Access Control (MAC) specifies the procedures which determine when a station is permitted to transmit data. A token passing procedure is used to handle the bus access between master devices, and a polling procedure is used to handle the communication between a master device and its assigned slave device(s). The token passing procedure guarantees that the bus access right (the token) is assigned to each master within a precisely defined time frame. The token message, a special message for passing access rights from one master to the next master, must be passed around the logical token ring - once to each master - within a specified target rotation time. Each master executes this procedure automatically. A user can only change the target rotation time, but is not recommended. The polling or master-slave procedure permits the master, which currently owns the token, to access its assigned slaves. The picture below shows a possible configuration The configuration shows three active stations (masters) and six passive stations (slaves).

Medium Access Control

Token passing

Polling procedure

The three masters form a logical token ring. When an active station receives the token message, it can perform its master role for a certain period of time. During this time it can communicate with all assigned slave stations in a master- slave communication relationship, and a DPM2 master can take the initiative to communicate with DPM1 master stations in a master-master communication relationship. Multi-peer communication In addition to logical peer-to-peer data transmission, PROFIBUS-DP provides multi-peer communication (broadcast and multicast). Broadcast communication: An active station sends an unacknowledged message to all other stations (masters and slaves). Multicast communication: An active station sends an unacknowledged message to a predetermined group of stations (masters and slaves).

UMAN\PXP-3148PB0806 REVISION 0

22

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


PROFIBUS

5.1.3.2 Data Throughput


Transmission time At 12 Mbit/s, PROFIBUS-DP requires only about 1 ms for the transmission of 512 bits of input data and 512 bits of output data distributed over 32 stations. The figure below shows the typical PROFIBUS-DP transmission time depending on the number of stations and the transmission speed. The data throughput will decrease when more than one master is used.

5.1.3.3 Diagnostic Functions


Extensive diagnostics The extensive diagnostic functions of PROFIBUS-DP enable fast location of faults The diagnostic messages are transmitted over the bus and collected at the master. These messages are divided into three levels: 1. Device related diagnostics These messages concern the general operational status of the whole device (e.g. overtemperature or low voltage). 2. Module related diagnostics These messages indicate that a fault is present in a specific I/O range (e.g. an 8-bit output module) of a station. 3. Channel related diagnostics These messages indicate an error at an individual input or output (e.g. short circuit on output 5).

Device related diagnostics

Module related diagnostics

Channel related

5.1.3.4 Protection Mechanism


Time monitoring PROFIBUS-DP provides effective protection functions against parameterisation errors or failure of the transmission equipment. Time monitoring is provided at the DP master and at the DP slaves. The monitoring interval is specified during the configuration. 1. Protection mechanism at the master. The DPM1 master monitors data transmission of its active slaves with the Data_Control_Timer. A separate control timer is used for each slave. This timer expires when correct data transmission does not occur within the monitoring interval. If the masters Auto_Clear mode is enabled, the DPM1 exits the Operate state, switches the outputs of all assigned slaves to fail-safe status, and changes to its Clear state.

At the master

UMAN\PXP-3148PB0806 REVISION 0

23

Instruction Guide
Schneider Canada Services
PROFIBUS
At the slave

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

1. Protection mechanisms at the slave. The slave uses the watchdog control to detect failures of the master or the transmission line. If no data communication with the master occurs within the watchdog control interval, the slave automatically switches its outputs to the fail-safe status. This mechanism can be enabled or disabled for each individual slave. Also, access protection is available for the inputs and outputs of the DP slaves operat ing in multi-master systems. This ensures that direct access can only be performed by the authorised master. For other masters, the slaves offer an image of their inputs and outputs, which can be read by any master, even without access rights.

5.1.3.5 Network States


PROFIBUS-DP distinguishes four different network states. Off-line 1. Off-line Communication between all DP participants is stopped. 2. Stop Communication between DPM1 and DP slaves is stopped. Only communication between DPM1 and DPM2 is possible. 3. Clear DPM1 master attempts to set parameters, check the configuration, and subsequently perform data exchange with its associated DP-slaves. The data exchange comprises reading the inputs of the DP-slaves and writing zeros to the outputs of the DP-slaves. 4. Operate DPM1 master exchanges data with its assigned slaves, inputs are read and outputs are written. Beside this, the DPM1 cyclically sends its local status to all assigned DP slaves (with a multicast message) at a configurable time interval. When an error occurs during the data transfer phase of the DPM1, the Auto_Clear configuration setting determines the subsequent actions. If this parameter is set to false, the DPM1 remains in the Operate state. If set to true, the DPM1 switches the outputs of all assigned DP slaves to the fail-safe state and the network state changes to the Clear state.

Stop

Clear

Operate

Auto_Clear

UMAN\PXP-3148PB0806 REVISION 0

24

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander


PROFIBUS

5.1.4
GSD-file

Device Data Base Files


To achieve straightforward configuration of a PROFIBUS-DP network, the characteristic features of a device are specified in a file. This file is called a GSD-file (Gertestammdaten file). The language of the GSD file is expressed with the last letter from the extension, *.GS?: Default := GSD English := GSE Deutsch := GSG Italian := GSI Portugees := GSP Spanish := GSS The GSD files are prepared individually by the vendor for each type of device, according to a fixed format. Some parameters are mandatory, some have a default value and some are optional. The device data base file is divided into three parts:

General section

1. General specifications This section contains the vendor name, the device name, hardware- and software release versions, station type and identification number, protocol specification and supported baud rates. 2. DP master-related specifications This section contains all parameters which only apply to DP master devices (e.g. maximum memory size for the master parameter set, maximum number of entries in the list of active stations, or the maximum number of slaves the master can handle). 3. DP slave-related specifications This section contains all specification related to slaves (e.g. minimum time between two slave poll cycles, specification of the inputs and outputs, and consistency of the I/O data). The device data base file of each device is loaded in the configurator and downloaded to the master device. Refer to the Operation Manual of the PROFIBUS-DP Master Unit for usage of the GSD file in the masters configuration software. GSD files are usually supplied with each unit. Alternatively, GSD files can be downloaded from the Internet, either from the manufacturers site, or from the GSD library of the PROFIBUS Nutzerorganisation at http://www.profibus.com.

DP-master section

DP-slave section

Configurator

5.1.5

Profiles
To enable the exchange of devices from different vendors, the user data has to have the same format. The PROFIBUS-DP protocol does not define the format of user data, it is only responsible for the transmission of this data. The format of user data may be defined in so called profiles. Profiles can reduce engineering costs since the meaning of application-related parameters is specified precisely. Profiles have been defined for specific areas like drive technology, encoders, and for sensors / actuators.

Exchanging devices

UMAN\PXP-3148PB0806 REVISION 0

25

Instruction Guide
Schneider Canada Services

08/2006 Mississauga, Ontario Canada

ATV31/ATS48 Profbus DP PXP3148PB Port Expander

Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for anyconsequences arising out of the use of this material.

2006 Schneider Electric All Rights Reserved

6675 Rexwood Road Mississauga, Ontario L4V 1V1 Canada Tel.: (905) 678-7000 Fax: (905) 678-8583

Head Office / Sige social 19 Waterman Avenue Toronto, Ontario M4B 1Y2 Canada www.schneider-electric.ca

Vous aimerez peut-être aussi