Siemens SIMATIC NET PROFIBUS Manual de Serviço

Consulte online ou descarregue Manual de Serviço para Redes Siemens SIMATIC NET PROFIBUS. Siemens SIMATIC NET PROFIBUS Technical data Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 238
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 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

Página 2

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

Página 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

Página 4

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

Página 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

Página 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

Página 7

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

Página 8

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

Página 9

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

Página 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

Página 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

Página 12

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

Página 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

Página 14

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

Página 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

Página 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

Página 17 - DP Slave

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 24 - Setting the Operating Mode

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

Página 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

Página 26

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 35

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

Página 36

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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_

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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_

Página 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

Página 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

Página 52

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 68

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 77

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

Página 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

Página 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

Página 80

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

Página 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

Página 82

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

Página 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

Página 84

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

Página 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

Página 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

Página 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

Página 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

Página 89

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

Página 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

Página 91

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 98

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 104

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 121

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

Página 122

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

Página 123

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

Página 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

Página 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

Página 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

Página 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

Página 128

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

Página 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

Página 130

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

Página 131 - 4.2.8 DPS_get_state

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

Página 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

Página 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

Página 134

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

Página 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

Página 136

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

Página 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

Página 138

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

Página 139

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

Página 140 - 4.2.11 DPS_set_resp

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

Página 141

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

Página 142 - 4.2.12 DPS_calc_io_data_len

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

Página 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

Página 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

Página 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

Página 146

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

Página 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

Página 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

Página 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

Página 150

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

Página 151

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

Página 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

Página 153

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

Página 154

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

Página 155

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 161

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

Página 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

Página 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

Página 164

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

Página 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

Página 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

Página 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

Página 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

Página 169

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

Página 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

Página 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

Página 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

Página 173 - Error_Code_1

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

Página 174

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

Página 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"

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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 ...

Página 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

Página 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

Página 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

Página 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

Página 189

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

Página 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

Página 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

Página 192

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

Página 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

Página 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

Página 195 - Slave Type

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

Página 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

Página 197

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 206

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 214

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

Página 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

Página 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

Página 217 - Where to Get Help

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

Página 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

Página 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

Página 220

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

Página 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

Página 222

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

Página 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

Página 224

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

Página 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

Página 226

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

Página 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

Página 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

Página 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

Página 230

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

Página 231

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

Página 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

Página 233

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

Página 234

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

Página 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

Página 236

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

Página 237 - Watchdog

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

Página 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

Comentários a estes Manuais

Sem comentários