Siemens SIMATIC NET PROFIBUS Manuel de service

Naviguer en ligne ou télécharger Manuel de service pour Mise en réseau Siemens SIMATIC NET PROFIBUS. Siemens SIMATIC NET PROFIBUS Technical data Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 238
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - DP Base Programming Interface

SIMATIC NETDP Base Programming Interfacefor CP 5613/CP 5614ManualPreface, ContentsBasic Steps in Creating a DPApplication 1Overview of PROFIBUS DP 2Ov

Page 2

Basic Steps in Creating a DP ApplicationDP Base Programming Interface for CP 5613/CP 561410C79000-G8976-C108-01ProcedureThe steps outlined below repre

Page 3 - Guide to the Manual

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614100C79000-G8976-C108-01ParametersName Descripti

Page 4

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01101Return ValueName Descrip

Page 5 - Contents

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614102C79000-G8976-C108-014.1.18 DP_enable_eventPu

Page 6

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01103Note 4If the event DP_SL

Page 7

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614104C79000-G8976-C108-01ParametersName Descripti

Page 8

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01105Description of the Eleme

Page 9

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614106C79000-G8976-C108-01Table continued from pre

Page 10 - Procedure

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011074.1.19 DP_disable_eventP

Page 11

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614108C79000-G8976-C108-014.1.20 DP_get_resultPurp

Page 12

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01109ParametersName Descripti

Page 13 - Overview of PROFIBUS DP

Basic Steps in Creating a DP ApplicationDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0111Table continued from previous pageStep

Page 14

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614110C79000-G8976-C108-01Return ValueName Descrip

Page 15 - The Advantages of DP

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011114.1.21 DP_get_crefPurpos

Page 16 - DP Master Class 2

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614112C79000-G8976-C108-014.1.22 DP_init_sema_obje

Page 17 - DP Slave

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01113ParametersName Descripti

Page 18 - Input Data

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614114C79000-G8976-C108-014.1.23 DP_delete_sema_ob

Page 19

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011154.1.24 DP_fast_logic_onP

Page 20 - DP application

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614116C79000-G8976-C108-014.1.25 DP_fast_logic_off

Page 21 - State of the Slave

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011174.2 Additional Function

Page 22 - Diagnostics

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614118C79000-G8976-C108-014.2.1 Overview of the S

Page 23 - 2.6 Modes of the DP Master

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01119Standard DP FunctionsNam

Page 24 - Setting the Operating Mode

Basic Steps in Creating a DP ApplicationDP Base Programming Interface for CP 5613/CP 561412C79000-G8976-C108-01

Page 25

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614120C79000-G8976-C108-014.2.2 DPS_openPurposeWit

Page 26

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01121ParametersName Descripti

Page 27 - 2.8 Reliability of DP

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614122C79000-G8976-C108-01Table continued from pre

Page 28 - Creating Groups

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01123Table continued from pre

Page 29 - Control Commands

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614124C79000-G8976-C108-014.2.3 DPS_closePurposeWi

Page 30 - 2.10 Typical Sequences in DP

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011254.2.4 DPS_startPurposeTh

Page 31 - Receiving Diagnostic Data

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614126C79000-G8976-C108-014.2.5 DPS_stopPurposeThi

Page 32 - DP/DPC1 prog

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011274.2.6 DPS_get_baud_rateP

Page 33 - DP-V1 Master Class 2 (DPC2)

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614128C79000-G8976-C108-01ParametersName Descripti

Page 34

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011294.2.7 DPS_get_gc_command

Page 35

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0113Overview of PROFIBUS DP2This chapter will familiarize you with the basic princi

Page 36

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614130C79000-G8976-C108-01Return ValueName Descrip

Page 37

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011314.2.8 DPS_get_statePurpo

Page 38 - 3.1 Functions and Data

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614132C79000-G8976-C108-01ParametersName Descripti

Page 39

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011334.2.9 DPS_set_diag Purp

Page 40 - Activating the Watchdog

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614134C79000-G8976-C108-01ParametersName Descripti

Page 41

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011354.2.10 DPS_get_indPurpos

Page 42 - The Read Consistency Option

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614136C79000-G8976-C108-01SyntaxDPR_DWORD DPS_get_

Page 43 - Possible Hardware Events

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01137Table continued from pre

Page 44 - 3.5 Fast Logic

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614138C79000-G8976-C108-01Table continued from pre

Page 45 - Properties of Software Events

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01139Return ValueName Descrip

Page 46

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561414C79000-G8976-C108-012.1 Where Does PROFIBUS DP Fit In?PROFIBUS - The Worldw

Page 47 - 3.7 Typical Sequences

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614140C79000-G8976-C108-014.2.11 DPS_set_respPurpo

Page 48 - Shutdown Sequence

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01141Data Structure (for data

Page 49

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614142C79000-G8976-C108-014.2.12 DPS_calc_io_data_

Page 50 - Elements of a Polling Cycle

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011434.3 Access to the Proce

Page 51

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614144C79000-G8976-C108-014.3.1 Reading the Input

Page 52

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01145Reading without Consiste

Page 53 - Initializing the Semaphores

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614146C79000-G8976-C108-014.3.2 Reading the Diagn

Page 54 - Using Hardware Events

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01147Reading without Consiste

Page 55 - Clearing the Semaphores

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614148C79000-G8976-C108-014.3.3 Writing the Outpu

Page 56 - Using Semaphores for DPC1

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01149Example of Consistent Wr

Page 57 - Clearing a Semaphore

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0115The Advantages of DPPROFIBUS DP is intended for fast dat

Page 58 - Software)

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614150C79000-G8976-C108-014.3.4 Checking the Slav

Page 59 - Productive Operation

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01151General Notes!WarningYou

Page 60

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614152C79000-G8976-C108-014.3.5 Querying the Stat

Page 61 - Polling Productive Operation

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01153Example"p" is

Page 62 - Initializing the Semaphore

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614154C79000-G8976-C108-014.3.6 Querying Informat

Page 63 - Clearing the Semaphore

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011554.3.7 Querying Current

Page 64 - Multiple CPUs in one PC

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614156C79000-G8976-C108-01Description of the Bus P

Page 65 - Error Codes

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01157NoteWriting these values

Page 66 - Conventions in the Text

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614158C79000-G8976-C108-014.3.8 Querying Informat

Page 67 - Header Files

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011594.3.9 Reading PROFIBUS

Page 68

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561416C79000-G8976-C108-012.2 The Master-Slave Concept of PROFIBUS DPDistributed

Page 69 - Fast Logic

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614160C79000-G8976-C108-01Description of the Avail

Page 70 - 4.1.2 DP_start_cp

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011614.3.10 Querying the Fas

Page 71 - 4.1.3 DP_reset_cp

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614162C79000-G8976-C108-014.3.11 Activating/Deact

Page 72 - 4.1.4 DP_open

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01163Example of DeactivationT

Page 73 - 4.1.5 DP_get_pointer

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614164C79000-G8976-C108-014.3.12 Sending Data wit

Page 74

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011654.3.13 Receiving Data w

Page 75 - 4.1.6 DP_release_pointer

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614166C79000-G8976-C108-014.3.14 Sending Diagnost

Page 76 - 4.1.7 DP_close

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011674.4 Error CodesUniform E

Page 77

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614168C79000-G8976-C108-01error_class Structure El

Page 78 - 4.1.8 DP_get_err_txt

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01169error_code Structure Ele

Page 79 - 4.1.9 DP_set_mode

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0117DP SlaveA DP slave is a peripheral device from which the

Page 80

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614170C79000-G8976-C108-01Meaning of the ErrorsThe

Page 81 - 4.1.10 DP_slv_state

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011714.4.1 Entries in the er

Page 82

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614172C79000-G8976-C108-01Error_Decode = PROFIBUS_

Page 83 - 4.1.11 DP_read_slv_par

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01173Error_Code_1The possible

Page 84

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614174C79000-G8976-C108-01Structure of Error_Code_

Page 85 - 4.1.12 DP_global_ctrl

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011754.5 Formats of the Slav

Page 86

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614176C79000-G8976-C108-014.6 Formats of the Slav

Page 87 - 4.1.13 DP_ds_read

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011774.6.1 Overview of the E

Page 88

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614178C79000-G8976-C108-014.6.2 Format of the Dia

Page 89

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01179Byte 1 (Stationstatus_1)

Page 90 - 4.1.14 DP_ds_write

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561418C79000-G8976-C108-012.3 Cyclic Polling by the MasterPollingCommunication be

Page 91

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614180C79000-G8976-C108-01Byte 2 (Stationstatus_2)

Page 92

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01181Bytes 5 and 6 (Ident_Num

Page 93 - 4.1.15 DP_read_alarm

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614182C79000-G8976-C108-014.6.3 Format of the Dev

Page 94

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011834.6.4 Format of the Dev

Page 95

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614184C79000-G8976-C108-01Byte 2 (Alarm_Type Varia

Page 96 - 4.1.16 DP_alarm_ack

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01185Byte 4 (Alarm Specifier

Page 97

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614186C79000-G8976-C108-01Byte 5-63User-Specific I

Page 98

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01187Example of Device-Relate

Page 99 - 4.1.17 DP_get_actual_cfg

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614188C79000-G8976-C108-014.6.5 Format of ID-Rela

Page 100 - Parameters

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011894.6.6 Format of Channel

Page 101 - Return Value

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01192.4 Process Image of the DP MasterAutomatic Updating of

Page 102 - 4.1.18 DP_enable_event

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614190C79000-G8976-C108-01Channel NumberBit Meanin

Page 103 - C79000-G8976-C108-01

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01191Type of DiagnosticsBit M

Page 104

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614192C79000-G8976-C108-01Example: Structure of Di

Page 105 - Table continued on next page

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011934.7 Format of the Slave

Page 106

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614194C79000-G8976-C108-014.7.1 Structure of the

Page 107 - 4.1.19 DP_disable_event

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01195Sl_FlagThis parameter co

Page 108 - 4.1.20 DP_get_result

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614196C79000-G8976-C108-01Alarm_ModeThis parameter

Page 109

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-011974.7.2 Structure of the

Page 110

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614198C79000-G8976-C108-01Byte 1 (Station_status)B

Page 111 - 4.1.21 DP_get_cref

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01199Byte 4 (Min. Station Del

Page 112 - 4.1.22 DP_init_sema_object

Copyright Siemens AG, 1999, All rights reservedThe reproduction, transmission or use of this document or itscontents is not permitted without express

Page 113

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561420C79000-G8976-C108-01Data AreasThere are three different data areas on the DP

Page 114 - 4.1.23 DP_delete_sema_object

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614200C79000-G8976-C108-01Byte 9 (DPV1_Status_2)Bi

Page 115 - 4.1.24 DP_fast_logic_on

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01201Byte 10DPV1_Status_3Bit

Page 116 - 4.1.25 DP_fast_logic_off

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614202C79000-G8976-C108-014.7.3 Structure of the

Page 117

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01203Structure of an ID ByteE

Page 118 - Initialization Functions

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614204C79000-G8976-C108-01Length BytesEach bit in

Page 119 - Standard DP Functions

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01205FAQ (Frequently Asked Questions)5This chapter contains answers to typical ques

Page 120 - 4.2.2 DPS_open

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614206 C79000-G8976-C108-015.1 FAQs about the Range of Functions of the

Page 121

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01207Is the user watchdog supported?Please refer to

Page 122

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614208C79000-G8976-C108-015.2 FAQs about Structuring the User ProgramCa

Page 123

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01209What are the disadvantages of simply polling i

Page 124 - 4.2.3 DPS_close

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01212.5 Startup and Operational Phase of a DP SystemFunctio

Page 125 - 4.2.4 DPS_start

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614210C79000-G8976-C108-01How do I access the process image with more th

Page 126 - 4.2.5 DPS_stop

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-012115.3 FAQ Check List for ProgrammersWhat are th

Page 127 - 4.2.6 DPS_get_baud_rate

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614212C79000-G8976-C108-01What are the most important aspects of accessi

Page 128

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01213What should a user programmer take into accoun

Page 129 - 4.2.7 DPS_get_gc_command

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614214C79000-G8976-C108-015.4 FAQs about Debugging and Starting Up Your

Page 130

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-012155.5 FAQs Miscellaneous Programming QuestionsC

Page 131 - 4.2.8 DPS_get_state

FAQ (Frequently Asked Questions)DP Base Programming Interface for CP 5613/CP 5614216C79000-G8976-C108-01

Page 132

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01217Where to Get Help6This Chapter lists contacts for SIMATIC NET:Contacts for tec

Page 133 - 4.2.9 DPS_set_diag

Where to Get HelpDP Base Programming Interface for CP 5613/CP 5614218C79000-G8976-C108-016.1 Help with Technical QuestionsDocumentationYou will find

Page 134

Where to Get HelpDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01219SIMATIC Customer Support HotlineAvailable at all times worldw

Page 135 - 4.2.10 DPS_get_ind

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561422C79000-G8976-C108-01DiagnosticsIf a DP slave detects an error/fault during t

Page 136

Where to Get HelpDP Base Programming Interface for CP 5613/CP 5614220C79000-G8976-C108-01SIMATIC Customer Support Online ServicesIn its online service

Page 137

Where to Get HelpDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-012216.2 Contacts for training with SIMATIC NETSIMATIC Training C

Page 138

Where to Get HelpDP Base Programming Interface for CP 5613/CP 5614222C79000-G8976-C108-01

Page 139

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01223Index7AActive... 16Add_Sl_Fl

Page 140 - 4.2.11 DPS_set_resp

IndexDP Base Programming Interface for CP 5613/CP 5614224C79000-G8976-C108-01DPS_start ...125DPS_stop...

Page 141

IndexDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01225set diagnostic data (CP 5614)...133state ...

Page 142 - 4.2.12 DPS_calc_io_data_len

IndexDP Base Programming Interface for CP 5613/CP 5614226C79000-G8976-C108-01

Page 143 - Overview of the Existing Data

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01227Glossary8AUTOCLEAR1. Configuration property of a DP slave - the master change

Page 144 - Example of Consistent Reading

GlossaryDP Base Programming Interface for CP 5613/CP 5614228C79000-G8976-C108-01CPUCentral Processing Unit - here processor of the PCCPU loadLoad on t

Page 145 - Reading without Consistency

GlossaryDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01229DP BaseName of the DP programming interface of the CP 5613/CP 5614, in

Page 146

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01232.6 Modes of the DP MasterOverviewDuring communication

Page 147 - General Notes

GlossaryDP Base Programming Interface for CP 5613/CP 5614230C79000-G8976-C108-01DP subsystemA DP master and all DP slaves with which the master exchan

Page 148 - Writing is always consistent

GlossaryDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01231FREEZE modeThe FREEZE mode is a DP mode in which the process data are

Page 149 - Example of Consistent Writing

GlossaryDP Base Programming Interface for CP 5613/CP 5614232C79000-G8976-C108-01IndicationMessage from a remote node.Intel formatNumbers are stored in

Page 150

GlossaryDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01233Maximum station delayThe maximum station delay (max. TSDR) specifies t

Page 151

GlossaryDP Base Programming Interface for CP 5613/CP 5614234C79000-G8976-C108-01NetworkA network consists of one or more interconnected subnets with a

Page 152 - Uses of the Slave State

GlossaryDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01235ProtocolRules governing the transmission of data - The rules specify n

Page 153

GlossaryDP Base Programming Interface for CP 5613/CP 5614236C79000-G8976-C108-01Setup timeA PROFIBUS bus parameter - The setup time specifies the mini

Page 154

GlossaryDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01237ThreadA subprocess running parallel.User watchdogWatchdog for monitori

Page 155

GlossaryDP Base Programming Interface for CP 5613/CP 5614238C79000-G8976-C108-01T

Page 156

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561424C79000-G8976-C108-01Setting the Operating ModeWhen the CP 5613 or CP 5614 is

Page 157

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01252.7 Separation of the Slave Data from the User ProgramT

Page 158

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561426C79000-G8976-C108-01RemedyIf the user program requires a better link to the

Page 159 - Example of Access

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01272.8 Reliability of DPReliability ConceptThe DP programm

Page 160

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561428C79000-G8976-C108-012.9 Control Frames to One or More SlavesPurpose of Cont

Page 161

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0129Control CommandsThe following control commands can be se

Page 162 - Example of Activation

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-013PrefacePurpose of the ManualThis manual supports you when creating user programs

Page 163 - Example of Deactivation

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561430C79000-G8976-C108-012.10 Typical Sequences in DPBasic Sequence on the DP Ma

Page 164

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0131Receiving Diagnostic DataWhen the slave returns high-pri

Page 165

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561432C79000-G8976-C108-012.11 DP-V1 As an Extension of DPOverview of the DP Prot

Page 166

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0133DP-V1 Master Class 2 (DPC2)An additional DP master that

Page 167 - 4.4 Error Codes

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561434C79000-G8976-C108-012.12 Slave Functionality of the CP 5614The Slave Functi

Page 168

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0135The Transfer Software (Only CP 5614)To operate the CP 56

Page 169

Overview of PROFIBUS DPDP Base Programming Interface for CP 5613/CP 561436C79000-G8976-C108-01

Page 170 - Meaning of the Errors

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0137Overview of the DP Base Interface3The programming interface of the CP 5613/CP 5

Page 171 - Description

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561438C79000-G8976-C108-013.1 Functions and DataBasic Structure of the

Page 172 - Error_Decode = DP V1

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0139Direct Access to the Process ImageWhile your u

Page 173 - Error_Code_1

PrefaceDP Base Programming Interface for CP 5613/CP 56144C79000-G8976-C108-01

Page 174

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561440C79000-G8976-C108-013.2 The Importance of ConfigurationUsing the

Page 175 - Format of Data Words

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0141Configuring the "Min_Slave_Interval"

Page 176 - Explanation

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561442C79000-G8976-C108-013.3 Consistent Access to the process imageCon

Page 177 - Possible Length

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01433.4 Working with Hardware EventsReducing Load

Page 178

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561444C79000-G8976-C108-013.5 Fast LogicPurposeWith the fast logic prope

Page 179 - Byte 1 (Stationstatus_1)

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01453.6 Overview of Triggering and Receiving Even

Page 180 - Byte 4 (Diag. Master_Add )

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561446C79000-G8976-C108-01Overview of the Sequence of EventsSoftware Eve

Page 181 - Bytes 5 and 6 (Ident_Number)

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01473.7 Typical Sequences3.7.1 Initializing and

Page 182 - Byte 1 (Header Byte)

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561448C79000-G8976-C108-01Shutdown SequenceShutting down the CP brings t

Page 183 - Extensions)

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01493.7.2 Typical Sequences in Polling Master Ope

Page 184 - Byte 3 (Slot Number Variant)

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-015Contents1 Basic Steps in Creating a DP Application ...

Page 185

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561450C79000-G8976-C108-01Elements of a Polling CycleAll the steps descr

Page 186 - Byte 5-63

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01513.7.3 Typical Sequences for Polling DPC1 mast

Page 187

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561452C79000-G8976-C108-01Receiving and Responding to a DPC1 AlarmStep A

Page 188 - Content of the Data Field

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01533.7.4 Typical Sequences in Master Operation w

Page 189

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561454C79000-G8976-C108-01Using Hardware EventsAfter initializing the re

Page 190 - Channel Number

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0155Clearing the SemaphoresAfter the last use of t

Page 191 - Type of Diagnostics

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561456C79000-G8976-C108-013.7.5 Typical Sequences in DPC1 Operation wit

Page 192

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0157Clearing a SemaphoreAfter the last use, clear

Page 193 - Definition

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561458C79000-G8976-C108-013.8 Properties of the CP 5614 (Slave Function

Page 194 - Byte Structure

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01593.9 Typical Sequences for the CP 5614 Slave M

Page 195 - Slave Type

ContentsDP Base Programming Interface for CP 5613/CP 56146C79000-G8976-C108-014 Description of the DP Functions, Data, and Error Codes ...

Page 196 - Add_Sl_Flag

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561460C79000-G8976-C108-013.9.2 Initialization and Shutdown of the Slav

Page 197

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0161Polling Productive OperationThe user program c

Page 198 - Byte 1 (Station_status)

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561462C79000-G8976-C108-013.9.3 Typical Sequences with Semaphores on th

Page 199 - Byte 8 (DPV1_Status_1)

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0163Clearing the SemaphoreAfter the last use, clea

Page 200 - Byte 9 (DPV1_Status_2)

Overview of the DP Base InterfaceDP Base Programming Interface for CP 5613/CP 561464C79000-G8976-C108-013.10 Multiple Protocols, User Programs, CPUsM

Page 201 - Bytes 11 to n

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0165Description of the DP Functions, Data, andError Codes4This chapter describes th

Page 202 - Overview of the Structure

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561466C79000-G8976-C108-014.1 List of Functions of

Page 203 - Structure of an ID Byte

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0167Header FilesThe C header

Page 204 - Length Bytes

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561468C79000-G8976-C108-014.1.1 Overview of the Fu

Page 205

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0169Functions for the DP-V1 M

Page 206

ContentsDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0174.3.13 Receiving Data with the CP 5614 as DP Slave ...

Page 207 - CP 5613/CP 5614?

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561470C79000-G8976-C108-014.1.2 DP_start_cpPurposeT

Page 208

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01714.1.3 DP_reset_cpPurposeT

Page 209

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561472C79000-G8976-C108-014.1.4 DP_openPurposeThis

Page 210

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01734.1.5 DP_get_pointerPurpo

Page 211

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561474C79000-G8976-C108-01SyntaxDPR_DWORD DP_get_po

Page 212

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01754.1.6 DP_release_pointerP

Page 213

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561476C79000-G8976-C108-014.1.7 DP_closePurposeWith

Page 214

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0177Return ValueName Descript

Page 215

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561478C79000-G8976-C108-014.1.8 DP_get_err_txtPurpo

Page 216

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01794.1.9 DP_set_modePurposeT

Page 217 - Where to Get Help

ContentsDP Base Programming Interface for CP 5613/CP 56148C79000-G8976-C108-01

Page 218 - Common Questions

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561480C79000-G8976-C108-01SyntaxDPR_DWORD DP_set_mo

Page 219

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01814.1.10 DP_slv_statePurpos

Page 220

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561482C79000-G8976-C108-01ParametersName Descriptio

Page 221 - SIMATIC Training Center

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01834.1.11 DP_read_slv_parPur

Page 222

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561484C79000-G8976-C108-01Return ValueName Descript

Page 223

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01854.1.12 DP_global_ctrlPurp

Page 224

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561486C79000-G8976-C108-01Return ValueName Descript

Page 225

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01874.1.13 DP_ds_readPurposeT

Page 226

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561488C79000-G8976-C108-01ParametersName Descriptio

Page 227 - Glossary

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0189Table continued from prev

Page 228

DP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-019Basic Steps in Creating a DP Application1This chapter recommends a step-by-step

Page 229

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561490C79000-G8976-C108-014.1.14 DP_ds_writePurpose

Page 230

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0191ParametersName Descriptio

Page 231

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561492C79000-G8976-C108-01Return ValueName Descript

Page 232

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01934.1.15 DP_read_alarmPurpo

Page 233

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561494C79000-G8976-C108-01ParametersName Descriptio

Page 234

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0195Return ValueName Descript

Page 235

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561496C79000-G8976-C108-014.1.16 DP_alarm_ackPurpos

Page 236

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-0197ParametersName Descriptio

Page 237 - Watchdog

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 561498C79000-G8976-C108-01Return ValueName Descript

Page 238

Description of the DP Functions, Data, and Error CodesDP Base Programming Interface for CP 5613/CP 5614C79000-G8976-C108-01994.1.17 DP_get_actual_cfgP

Commentaires sur ces manuels

Pas de commentaire