Siemens SIMATIC NET PROFIBUS Instrukcja Obsługi

Przeglądaj online lub pobierz Instrukcja Obsługi dla Networking Siemens SIMATIC NET PROFIBUS. Siemens SIMATIC NET PROFIBUS Technical data Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 238
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 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

Strona 2

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

Strona 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

Strona 4

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

Strona 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

Strona 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

Strona 7

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

Strona 8

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

Strona 9

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

Strona 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

Strona 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

Strona 12

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

Strona 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

Strona 14

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

Strona 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

Strona 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

Strona 17 - DP Slave

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 24 - Setting the Operating Mode

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

Strona 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

Strona 26

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 35

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

Strona 36

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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_

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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_

Strona 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

Strona 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

Strona 52

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 68

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 77

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

Strona 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

Strona 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

Strona 80

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

Strona 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

Strona 82

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

Strona 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

Strona 84

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 89

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

Strona 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

Strona 91

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 98

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 104

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 121

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

Strona 122

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

Strona 123

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 128

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

Strona 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

Strona 130

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

Strona 131 - 4.2.8 DPS_get_state

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

Strona 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

Strona 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

Strona 134

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

Strona 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

Strona 136

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

Strona 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

Strona 138

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

Strona 139

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

Strona 140 - 4.2.11 DPS_set_resp

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

Strona 141

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

Strona 142 - 4.2.12 DPS_calc_io_data_len

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

Strona 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

Strona 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

Strona 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

Strona 146

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

Strona 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

Strona 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

Strona 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

Strona 150

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

Strona 151

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

Strona 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

Strona 153

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

Strona 154

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

Strona 155

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 161

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

Strona 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

Strona 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

Strona 164

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 169

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

Strona 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

Strona 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

Strona 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

Strona 173 - Error_Code_1

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

Strona 174

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

Strona 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"

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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 ...

Strona 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

Strona 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

Strona 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

Strona 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

Strona 189

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

Strona 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

Strona 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

Strona 192

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

Strona 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

Strona 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

Strona 195 - Slave Type

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

Strona 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

Strona 197

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 206

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 214

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

Strona 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

Strona 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

Strona 217 - Where to Get Help

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

Strona 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

Strona 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

Strona 220

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

Strona 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

Strona 222

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

Strona 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

Strona 224

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

Strona 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

Strona 226

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

Strona 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

Strona 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

Strona 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

Strona 230

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

Strona 231

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

Strona 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

Strona 233

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

Strona 234

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

Strona 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

Strona 236

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

Strona 237 - Watchdog

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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag