Everything you ever wanted to know about DPV1 diagnostics but were afraid to ask!



Similar documents
PROFIBUS AND MODBUS: A COMPARISON

I.S. 1 remote I/O system Redundant coupling via PROFIBUS DP

Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master

Siemens S7 PLC and FC 300 Profibus

CP Page 1342 Mar 2008 Siemens ITS

PROFIBUS fault finding and health checking

The CP provides access to different communication services of the PROFIBUS bus system:

PROFIBUS diagnostics and network monitoring

The CP FO provides access to different communication services of the PROFIBUS bus system:

Introduction to PROFIBUS and PROFINET

Lecture 4 Profibus. Urban Bilstrup Urban.Bilstrup@ide.hh.se

1 Application Description Objective Goals... 3

Integrating HART into PROFIBUS DP

CPUs - CPU PN/DP

Practical steps for a successful. PROFIBUS Project. Presented by Dr. Xiu Ji Manchester Metropolitan University

Research of PROFIBUS PA s integration in PROFINET IO

Continuous PROFIBUS PA Instruments and Step 7. Configuring a Siemens Continuous Level PROFIBUS PA device in a S7-300 or S7-400 PLC

SIMATIC PCS 7. SIMATIC Maintenance Station PDM A stand-alone Solution. Siemens AG All Rights Reserved.

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

SIMATIC PDM software. Siemens FI /1

Configuring PROFINET

Using a Modbus TCP to Profibus PA Gateway by IFAK system

CMC-PD01 PROFIBUS DP Slave Communication Card Operation Manual

Product Information. Gateway For Connecting EnDat Encoders to PROFIBUS-DP

PROFIBUS Diagnostics and Network Monitoring Tools

Development of a Gateway to PROFIBUS for Remote Diagnostics

CPU PN/DP. Function

PROFIBUS DP Diagnostics and Network Monitoring Tools

Workshop PROFINET in Process Automation. Intern / Siemens AG Alle Rechte vorbehalten.

SIMATIC The Process Device Manager Manual Edition 12/2004 A5E

PROFIBUS/PROFINET System design

SIMOCODE ES Online Help. SIMOCODE pro. SIMOCODE ES V12 Online Help. Tooltips SIRIUS + SIMOCODE. General information. Device configuration

Application about Communication

1 Parameterizing field devices

SIMATIC S7-300, CPU 315-2DP CPU WITH MPI INTERFACE INTEGRATED 24 V DC POWER SUPPLY 128 KBYTE WORKING MEMORY 2

Commissioning IDENTControl Compact IC-KP2-2HB17-2V1D Profinet Protocol with a Siemens S7 PLC

DeviceNet Bus Software Help for Programming an Allen Bradley Control System

Siemens AG Fieldbus solutions with the SIMATIC PCS 7 distributed control system. Brochure April 2010 SIMATIC PCS 7. Answers for industry.


GE Power Controls FIELDBUS APPENDIX PROFIBUS DP. Doc. No.: ASTAT Plus PB_Appendix-v0

ABB industrial drives. Quick start-up guide Drive Manager for SIMATIC

PROCESS AUTOMATION PLANNING AND INTEGRATION INFORMATION LB8106* Integration in Siemens SIMATIC PCS 7

SIMATIC. ET 200S distributed I/O IM151-1 STANDARD interface module (6ES7151-1AA05-0AB0) Preface. Properties 1. Parameters 2.

S4000TH HART. HART Communication Manual

Software. Process Device Manager SIMATIC PDM 8/11. Overview

Applications & Tools. Configuration of Messages and Alarms in WinCC (TIA Portal) WinCC (TIA Portal) Application description December 2012

FBP FieldBusPlug PROFIBUS FieldBusPlug PDQ22-FBP

Overview and Applications of PROFINET. Andy Verwer Verwer Training & Consultancy Ltd

Non-Isolated Analog Voltage/Current Output module IC695ALG704 provides four configurable voltage or current output channels. Isolated +24 VDC Power

Using the WAGO PROFINET Coupler as Remote I/O with a Siemens S7 PLC

Install the DeviceNet Module using the following procedure:

Part 1: User information SIMATIC ET 200B Distributed I/O Station Manual Part 2: Reference information Appendices EWA 4NEB c Edition 04

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

How To Write A Profibus Dpl (Profibus) Program

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

LGAC-KNX PROGRAMMING MANUAL. Integrations V1.0 TECHNICAL SUPPORT. Tel (+34)

MBP_MSTR: Modbus Plus Master 12

Technical Manual. FAN COIL CONTROLLER COOLING or HEATING ANALOG or PWM Art A

SIMATIC Software. SIMATIC PDM The Process Device Manager. The ideal tool for engineering, parameterization, commissioning, diagnostics and service

Industrial Training Schedule Spring 2012

Manual. MOVIFIT Function Level "Classic" Edition 05/ / EN

User Manual. AS-Interface Programmer

SMS GSM Alarm Messenger

Cover sheet. Reading out the topology data of a PROFINET IO system SFB52 "RDREC" FAQ September Service & Support. Answers for industry.

ETS4 Diagnostics. KNX Association

Conditie gebaseerd onderhoud met PROFIBUS in overeenstemming met NAMUR NE107

PROFINET IO Diagnostics 1

Profibus DP V1. About this Document Profibus DPV1 introduction Principle of data exchange by Profibus DPV1... 4

DeviceNet Communication Manual

Permissible ambient temperature Operation Storage, transport

SIMATIC PDM Process Device Manager

SIMATIC PDM Process Device Manager

Parameterizing options Parameterization options based on the communication protocols used

ROC Protocol Specifications Manual

DNP Points List and Implementation

Configuration limits for products of the SIMATIC NET PC Software V12 SIMATIC NET. Configuration limits for products of the SIMATIC NET PC Software V12

WinCC. Communication Manual. Manual 2. This manual is part of the documentation package with the order number: 6AV6392-1CA05-0AB0 C79000-G8276-C156-01

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODUL E04

EtherNet/IP Scanner Configuration for the Moxa MGate 5105-MB-EIP

SIMATIC. ET 200S distributed I/O 2AO I ST analog electronic module (6ES7135-4GB01-0AB0) Preface. Properties 1. Parameters 2.

PROFIBUS DP. PROFIBUS DP the fastest field bus system. Chapter 2 Date 11/04/99, page 1

SIMATIC NET. DP Base Programming Interface for CP 5613/CP Preface, Contents. Basic Steps in Creating a DP Application 1

Redundant PROFIBUS DP network with S7-400H System and Ponto PO5063V5 Remote

Instructions. I.S. Wizard. for. I.S.1 field stations

GW-7552 PRIFIBUS/MODBUS GATEWAY

Profibus DP Network with DeltaV/EMERSON Digital Automation System and Ponto Series Remote I/O

Fisher FIELDVUE DVC6200p Digital Valve Controller Device Setup and Accessing Communication and Calibration using Siemens SIMATIC Manager/PDM

MNS is Motor Control Center MControl Interface Manual Profibus Direct System Release V7.6

CPU PN/DP: Configuring an ET. 200S as PROFINET IO device SIMATIC. PROFINET CPU PN/DP: Configuring an ET 200S as PROFINET IO device

CB15/CB155. PROFIBUS Module

Electromagnetic Flowmeter ProcessMaster, HygienicMaster FEX300, FEX500

PROFIBUS DPV0. Manual / Users Guide. Gateways & Encoders. Part No , Doc. No Ver. 01

SIMOTION. Supplement to the FM 350-1, FM and FM 352 Modules. Preface. Description 1. Function blocks of the FM 350-1

CONTROL MICROSYSTEMS DNP3. User and Reference Manual

SIMATIC NET. S7-CPs for PROFIBUS. CP Basic. Manual Part B3

Manual. Fieldbus Interface DFP21B PROFIBUS DP-V1. Edition 07/2006 FA / EN

Identification System. FC 44 Function for ASM 450 With Supplements for FB 240. Contents. General Features Hardware Description of ASM 450

G3 Series PROFIBUS DP Technical Manual

Overview of service and diagnostics. options SIMOTION. SIMOTION SCOUT Overview of service and diagnostics options. Preface 1.

IFEA Industriell kommunikasjon. AS-i Training

Transcription:

Everything you ever wanted to know about DPV1 diagnostics but were afraid to ask! Presented by: James Powell P.Eng. Milltronics AG 2010. All Rights Reserved.

PROFIBUS Device Diagnostics Agenda Introduction Start up diagnostics Cyclic diagnostics Standard vs Condensed status byte Acyclic Diagnostics What happens when an error occur Demo User s perspective how to manage this information! / AG 2010. All Rights Reserved.

Introduction An Alarms occurs. What do you do? Panic? Call for help? Look at the right diagnostics to solve the problem! / AG 2010. All Rights Reserved.

Profibus has more than one way to communicate Diagnostics! Start up diagnostics } During Commissioning Cyclic data every bus scan Acyclic data on demand (with time delay) } While plant is running / AG 2010. All Rights Reserved.

Startup Cycle The Master powers up and begins to poll the network When it encounters a Slave, it will ask the Slave about itself If appropriate, it will parameterize the Slave and check the configuration It will do one last check and if the device is ready, the Master and Slave will enter data exchange STARTUP STARTUP GET DIAGNOSTICS SET PARAMETERS CHECK CONFIGURATION GET DIAGNOSTICS DATA EXCHANGE / AG 2010. All Rights Reserved.

Get Diagnostics The Master sends the first of two Get Diagnostics telegrams during startup The first Get Diagnostics is to determine if the Slave is powered and on the network and not assigned to another Master STARTUP STARTUP GET DIAGNOSTICS SET PARAMETERS CHECK CONFIGURATION GET DIAGNOSTICS DATA EXCHANGE / AG 2010. All Rights Reserved.

Set Parameters The Master then sends a Parameterization telegram to the device This message configures the slave for bus communication Sets the minimum response time Sets the watchdog time Assigns the slave to a group Locks the Slave to this Master The slave will respond with a short acknowledge to indicate that it has received the message STARTUP STARTUP GET DIAGNOSTICS SET PARAMETERS CHECK CONFIGURATION GET DIAGNOSTICS DATA EXCHANGE / AG 2010. All Rights Reserved.

Check Configuration The Master then sends a Check Config telegram to the device This message tells the Slave what I/O configuration the Master expects The slave will respond with a short acknowledge to indicate that it has received the message STARTUP STARTUP GET DIAGNOSTICS SET PARAMETERS CHECK CONFIGURATION GET DIAGNOSTICS DATA EXCHANGE / AG 2010. All Rights Reserved.

Get Diagnostics The Master sends the second Get Diagnostics telegram to find out if the Slave was properly parameterized and configured The Slave will respond if it is ready for Data Exchange or not STARTUP STARTUP GET DIAGNOSTICS SET PARAMETERS CHECK CONFIGURATION GET DIAGNOSTICS DATA EXCHANGE / AG 2010. All Rights Reserved.

Data Exchange If Parameterization and Configuration were successful, the Master and Slave will enter Data Exchange mode The Slave sends inputs and receives outputs from the Master Data exchange happens in a cyclic manner STARTUP STARTUP GET DIAGNOSTICS SET PARAMETERS CHECK CONFIGURATION GET DIAGNOSTICS DATA EXCHANGE / AG 2010. All Rights Reserved.

Start up procedure 2 5 GET DIAGNOSTICS GET DIAGNOSTICS SET PARAMETERS SHORT ACKNOWLEDGE / AG 2010. All Rights Reserved.

Start up procedure 2 5 CHECK CONFIG SHORT ACKNOWLEDGE GET DIAGNOSTICS GET DIAGNOSTICS DATA EXCHANGE DATA EXCHANGE / AG 2010. All Rights Reserved.

Get Diagnostics DEFINED BY PROFIBUS (DPV0) STANDARD BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 DEFINED BY THE PROFILE(DPV1) AND VENDOR BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 BYTE 7 BYTE 8 / AG 2010. All Rights Reserved.

Diagnostic Request Reply = Diagnostic message + extended diagnostic message DEFINED BY PROFIBUS STANDARD (DPV0) BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 Diagnostic Message (PROFIBUS International defined): Wrong cyclic data configuration Wrong data sizes Incorrect module Wrong identification number / AG 2010. All Rights Reserved.

Diagnostic Request Reply = Diagnostic message + extended diagnostic message DEFINED BY THE PROFILE (DPV1) AND VENDOR BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 BYTE 7 BYTE 8 Extended Diagnostic Message (Profile and Device Vendor defined): Electronic failure Configuration invalid Electronic temperature too high Restart carried out Measurement failure More diagnostics available Extended Diagnostic is also called Device related diagnostics / AG 2010. All Rights Reserved.

Defined in the GSD file: ;----------- Description of device related diagnosis: --------------------- Unit_Diag_Bit(16)="Error appears" Unit_Diag_Bit(17)="Error disappears" Unit_Diag_Bit(24)="Hardware failure electronics" Unit_Diag_Bit(25)="Hardware failure mechanics" Unit_Diag_Bit(26)="Motor temperature too high" Unit_Diag_Bit(27)="Electronic temperature too high" Unit_Diag_Bit(28)="Memory error" Unit_Diag_Bit(29)="Measurement failure" Unit_Diag_Bit(30)="Device not initialized" Unit_Diag_Bit(31)="Device initialization failed" Unit_Diag_Bit(32)="Zero point error" Unit_Diag_Bit(33)="Power supply failed" Unit_Diag_Bit(34)="Configuration invalid" Unit_Diag_Bit(35)="Restart" Unit_Diag_Bit(36)="Coldstart" Unit_Diag_Bit(37)="Maintenance required" Unit_Diag_Bit(38)="Characteristics invalid" Unit_Diag_Bit(39)="Ident_Number violation" Unit_Diag_Bit(55)="Extension Available" / AG 2010. All Rights Reserved.

Defined in manual for decoding Byte 4 Field device diagnostics byte 0 5 Field device diagnostics byte 1 6 Field device diagnostics byte 2 7 Field device diagnostics byte 3 / AG 2010. All Rights Reserved.

Cyclic Data Diagnostic Request (DPV0) Slave has an error Set a flag during cyclic I/O read (1) Next scan Master reads (2): Cyclic diagnostics Cyclic extended diagnostic Red light on link module 1 Applies to all PROFIBUS devices 2 / AG 2010. All Rights Reserved.

Cyclic Diagnostics REQUEST DATA RESPONSE DATA DIAGNOSICS AVAILABLE REQUEST DIAGNOSTICS RESPONSE DIAGNOSTICS + EXTENDED / AG 2010. All Rights Reserved.

What does the controller see? DIAGNOSTICS EXTENDED + Diagnostic message (PNO defined): wrong cyclic data configuration wrong data sizes incorrect module wrong identification number Extended diagnostic (Device defined): electronic failure configuration Invalid electronic temperature too high restart carried out measurement failure more diagnostics available Master Configuration (Controller) Device Failure Device configuration / AG 2010. All Rights Reserved.

Cyclic Data Status byte (DPV1) Every scan slave sends back status byte An error occurs Status byte changes: Red light on link module Alert in controller IEEE FLOATING POINT VALUE STATUS BYTE BYTE 1 BYTE 2 BYTE 3 BYTE 4 STATUS PROCESS VARIBLE /& STATUS AG BYTE 2010. ON All EVERY Rights Reserved. SCAN

Status Byte Standardized set of codes for all instruments: Hex 80 = OK Hex 00 = no communications Non Hex 8x = some sort of problem / AG 2010. All Rights Reserved.

Status byte (non-ok status) / AG 2010. All Rights Reserved.

Condensed Status Profile 3.01 and above introduced condensed status which is simply a remapping and reduction in the error codes. Good status codes are the same for both Introduced the concept of maintenance levels Also introduced the ability to change alarm levels (make a warning into an alarm, or make an alarm into a warning or even non-event). / AG 2010. All Rights Reserved.

Condensed Status OK status / AG 2010. All Rights Reserved.

Condensed Status non-ok codes / AG 2010. All Rights Reserved.

Two Masters need to know! 2 Controller Class 1 Master Cyclic Master 1 Engineering workstation Class 2 Master Acyclic Master PROFIBUS DP Remote I/O ET 200 M/is with HART AI or AO DP/PA-Link PROFIBUS PA 4 to 20 ma Motor / AG 2010. All Rights Reserved.

Acyclic Diagnostics Each DPV1 slave contains: Acyclic Diagnostic = Cyclic Extended diagnostic (so the Eng. Station can see it) Acyclic Extended Diagnostic = more detailed information / AG 2010. All Rights Reserved.

What can you see with Diagnostic Software? / AG 2010. All Rights Reserved.

What happens when an error occurs? Very heavy form Lost of Echo (LOE) Status byte changes Acyclic Extended diagnostics Acyclic Diagnostics = Cyclic Extended Diagnostics Cyclic diagnostics Diagnostic read flag is set Controller issues diagnostic request / AG 2010. All Rights Reserved.

What happens when an error clears? Form disappears Lock on Echo Acyclic Extended diagnostics clears Status byte changes Acyclic Diagnostics = Cyclic Extended Diagnostics sets error disappears bit Cyclic diagnostics Diagnostic read flag is set Controller issues diagnostic request / AG 2010. All Rights Reserved.

Live Demo Using: ProfiCaptain SIMATIC PDM SITRANS PROBE LU DP/PA Link/Coupler / AG 2010. All Rights Reserved.

From a Users Perspective Monitor status byte changes Check PLC fault table for diagnostic requests. Use PDM to see what is really going on in the instrument! / AG 2010. All Rights Reserved.

Everything you ever wanted to know about DPV1 diagnostics but were afraid to ask! AG 2010. All Rights Reserved.