Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
Siemens CP 243-2 manuale d’uso - BKManuals

Siemens CP 243-2 manuale d’uso

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Siemens CP 243-2. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Siemens CP 243-2 o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Siemens CP 243-2 descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso Siemens CP 243-2 dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Siemens CP 243-2
- nome del fabbricante e anno di fabbricazione Siemens CP 243-2
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Siemens CP 243-2
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Siemens CP 243-2 non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Siemens CP 243-2 e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Siemens in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Siemens CP 243-2, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Siemens CP 243-2, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Siemens CP 243-2. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

    Preface Contents T echnical Description and Installation Instructions 1 Interface to the User Program in the S7-200 CPU 2 Access to the Data of the AS-i Slaves 3 Signaling Errors and Diagno- stics in the User Program 4 Command Interface 5 Eliminating Problems / Error Displays 6 Appendix AS-Interface Protocol Imple- mentation Conformance State- ment[...]

  • Pagina 2

    Safet y Guidelines Thi s manual contains notices which you should observe to ensure your own personal safet y , a s wel l a s to protect the product and connected equipment. These notices are highlighted in the manual by a warning triangle and are marked as follows according to the level of danger: ! Danger indicates that death, severe personal inj[...]

  • Pagina 3

    i SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Preface Purpose of the Manual This manual supports you when using the CP 243-2 module. It explains how to access AS-Interface actuators and AS-Interface sensors from an S7-22x CPU via this module. W e recommend the following procedure when... ...Y ou want an overall picture of the AS-Interfac[...]

  • Pagina 4

    Preface ii SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 [...]

  • Pagina 5

    iii SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Contents 1 T echnical Description and Installation Instructions 1-1 . . . . . . . . . . . . . . . . . . . . . . . 1.1 General Notes on Operation – Safety W arnings 1-2 . . . . . . . . . . . . . . . . . . . . . 1.2 Uses of the Module 1-3 . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Pagina 6

    Contents iv SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 4 Signaling Errors and Diagnostics in the User Program 4-1 . . . . . . . . . . . . . . . . . . . . 4.1 Signaling 4-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Example: Reading the Delta List 4-3 . . . . . . . . [...]

  • Pagina 7

    Contents v SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 A AS-Interface Protocol Implementation Conformance Statement (PICS) A-1 . . . . . B References B-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C Notes on the CE Mark C-1 . . . . . . . . . . . . . . . . . . [...]

  • Pagina 8

    Contents vi SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02[...]

  • Pagina 9

    1-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T echnical Description and Installation Instructions This chapter outlines the basic functions of the CP 243-2 and explains how the module is installed and started up. Y ou will get to know the following properties of the CP 243-2:  The applications  The technical specifications  D[...]

  • Pagina 10

    T echnical Description and Installation Instructions 1-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.1 General Notes on Operation – Safety W arnings ! Caution When handling and installing the CP 243-2, make sure that you keep to the ESD guidelines. The CP 243-2 must only be connected when the AS-i power supply unit is turned off. ! C[...]

  • Pagina 11

    T echnical Description and Installation Instructions 1-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.2 Uses of the Module DP Slave and AS-i Master The CP 243-2 module can be operated in the S7-200 programmable controller . It allows the attachment of an S7-200 to the AS-Interface (as AS-i master). Both interfaces can be used independen[...]

  • Pagina 12

    T echnical Description and Installation Instructions 1-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Components Supplied The CP 243-2 product includes the following components:  CP 243-2  Product information bulletin on the CP 243-2[...]

  • Pagina 13

    T echnical Description and Installation Instructions 1-5 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.3 T echnical Specifications of the Module The technical specifications of the CP 243-2 module are as follows: T able 1-1 Feature Explanation/V alues AS-i cycle time 5 ms with 31 slaves 10 ms with 62 AS-i slaves using the extended addres[...]

  • Pagina 14

    T echnical Description and Installation Instructions 1-6 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.4 Installing the Module Slots in the S7-200 The CP 243-2 can be inserted in all slots for expansion modules in the S7-200 programmable controller (CPUs 22x). Possible Restrictions There may , however , be restrictions depending on the C[...]

  • Pagina 15

    T echnical Description and Installation Instructions 1-7 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.5 Front Panel – Access to all Functions Connection, Display and Control Elements On the front panel, you have access to all the connection, display and control elements of the CP 243-2. During operation, the connection and control ele[...]

  • Pagina 16

    T echnical Description and Installation Instructions 1-8 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.6 T erminal Block Connections The CP 243-2 has the following connections:  T wo connections to the AS-i cable (bridged internally)  One connection for functional ground The terminals are located under the cover of the front panel [...]

  • Pagina 17

    T echnical Description and Installation Instructions 1-9 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Note Functional ground The CP 243-2 has a connection for functional ground. This connector should be connected to the PE conductor with as little resistance as possible. (terminal )[...]

  • Pagina 18

    T echnical Description and Installation Instructions 1-10 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.7 Modes of the CP 243-2 Standard Operation In this type of operation, the user program accesses the user data of the AS-i slaves and the diagnostic data of the CP 243-2. Programming is simple and this type of operation is adequate for [...]

  • Pagina 19

    T echnical Description and Installation Instructions 1-1 1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.8 Displays and Operator Controls Changing the Display Status – DISPLA Y Button Y ou can change between the status display (basic status), slave display and PROFIBUS display with the DISPLA Y button. Each time you press the button, y[...]

  • Pagina 20

    T echnical Description and Installation Instructions 1-12 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.8.1 Status Display Interpreting the Status Display The status display is active when no group LEDs are lit. The status display is the default display in the basic status of the CP 243-2. Meaning of the LEDs The LEDs have the following [...]

  • Pagina 21

    T echnical Description and Installation Instructions 1-13 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able 1-2 , continued LED (color) Meaning Status SF (red) System error This LED is lit in the following situations:  The CP 243-2 has detected an internal problem (for example a defective EEPROM).  The CP 243-2 is unable to make t[...]

  • Pagina 22

    T echnical Description and Installation Instructions 1-14 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.8.2 Slave Display Interpreting the Slave Display Status Y ou can switch over to the slave display mode used by pressing the DISPLA Y button. Y ou switch from group to group by pressing the DISPLA Y button again: The slave display is ac[...]

  • Pagina 23

    T echnical Description and Installation Instructions 1-15 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Example of a Slave Display From the display shown below , you can obtain the following information:  The 2nd group LED is lit, i.e. the 2nd line from the top (corresponds to 2 1 = 2 DEC ; 2. group of 5; slaves 5–9).  If the 2nd a[...]

  • Pagina 24

    T echnical Description and Installation Instructions 1-16 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 1.9 Configuring the AS-Interface with the SET Button Interpreting the Display Status The CP 243-2 distinguishes between two operating modes on the AS-Interface:  Configuration mode  Protected mode Pressing the SET button changes th[...]

  • Pagina 25

    T echnical Description and Installation Instructions 1-17 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Note Changing from the configuration mode to the protected mode is only possible when there is no slave with address “0” connected to the AS-Interface. If a slave “0” is connected, the “SF” LED lights up when the SET button i[...]

  • Pagina 26

    T echnical Description and Installation Instructions 1-18 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 [...]

  • Pagina 27

    2-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Interface to the User Program in the S7-200 CPU This chapter explains how the CP 243-2 is addressed. Y ou will learn the significance of the data in the digital and in the analog module and you will learn how to access the analog inputs and outputs. 2[...]

  • Pagina 28

    Interface to the User Program in the S7-200 CPU 2-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.1 Overview CP 243-2 as Expansion Module in the S7-200 The CP 243-2 occupies 2 consecutive expansion module slots in the S7-200:  Digital module 8DI/8DO  Analog module 8AI/8AO CP 243-2 User program Digital module (8DI/8DO) Analog module[...]

  • Pagina 29

    Interface to the User Program in the S7-200 CPU 2-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Analog Module The analog module occupies 16 input and 16 output bytes in the address area of the analog inputs and outputs. Data exchange with the AS-i slaves is handled via the analog module (see Figure 2-1). The bank select mechanism means t[...]

  • Pagina 30

    Interface to the User Program in the S7-200 CPU 2-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.2 Addressing the CP 243-2 in the S7-200 CPU Address Areas The start addresses of the address areas are determined by the following:  The type of S7-200 CPU being used  The slot of the CP 243-2 in the S7-200. Examples The following tabl[...]

  • Pagina 31

    Interface to the User Program in the S7-200 CPU 2-5 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02  Example of a CPU 224 and a CP 243-2 Inserted Directly Beside the CPU CPU 224 CP 243-2 14 DI 10 DO 8DI 8 DO 8AI 8AO I0.0 Q0.0 I2.0 Q2.0 AIW0 AQW0 I0.1 Q0.1 I2.1 Q2.1 AIW2 AQW2 I0.2 Q0.2 I2.2 Q2.2 AIW4 AQW4 I0.3 Q0.3 I2.3 Q2.3 AIW6 AQW6 I0.4[...]

  • Pagina 32

    Interface to the User Program in the S7-200 CPU 2-6 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02  Example of a CPU 224, an 8DI Module, a 3AI/1AO Module and a CP 243-2 CPU 224 Module Module CP 243-2 14DI 10 DO 8DI 3AI 1AO 8DI 8 DO 8AI 8AO I0.0 Q0.0 I2.0 AIW0 AQW0 I3.0 Q2.0 AIW8 AQW4 I0.1 Q0.1 I2.1 AIW2 I3.1 Q2.1 AIW10 AQW6 I0.2 Q0.2 I2.[...]

  • Pagina 33

    Interface to the User Program in the S7-200 CPU 2-7 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.3 Meaning of the Data in the Digital Module Overview The digital module of the CP 243-2 consists of four registers:  Identification register , 8 bits (I/O module identifier)  Error register , 8 bits  Input register 8DI (status byte [...]

  • Pagina 34

    Interface to the User Program in the S7-200 CPU 2-8 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.3.1 Identification Register in the Digital Module Meaning The identification register signals the I/O module identifier to indicate the existence of an 8DI/8DO digital module with the value specified below . The address at which the program [...]

  • Pagina 35

    Interface to the User Program in the S7-200 CPU 2-9 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.3.2 Error Register in the Digital Module Meaning for the User Program This register always supplies the value ”0”. The CP 243–2 reports errors using the error register in the analog module (see Section 2.4.2). Example of Access to the [...]

  • Pagina 36

    Interface to the User Program in the S7-200 CPU 2-10 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.3.3 Status Byte (Input Register 8DI) Meaning for the User Program This register shows the status of the CP 243-2 relative to the AS-i master interface. Structure of the Status Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 ASI_RESP [...]

  • Pagina 37

    Interface to the User Program in the S7-200 CPU 2-1 1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.3.4 Control Byte (Output Register 8DO) Meaning for the User Program The user program controls the data exchange with the CP 243-2 using this register . Structure of the Control Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PLC_RUN A[...]

  • Pagina 38

    Interface to the User Program in the S7-200 CPU 2-12 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.4 Meaning of the Data in the Analog Module Overview The analog module of the CP 243-2 consists of four areas:  Identification register , 8 bits (I/O module identifier)  Error register , 8 bits  8 analog input words (8 AI)  8 ana[...]

  • Pagina 39

    Interface to the User Program in the S7-200 CPU 2-13 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.4.1 Identification Register in the Analog Module Meaning The identification register signals the I/O module identifier to indicate the existence of an 8AI/8AO analog module with the value specified below . The address at which the program c[...]

  • Pagina 40

    Interface to the User Program in the S7-200 CPU 2-14 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.4.2 Error Register in the Analog Module Meaning for the User Program With this register , the CP 243-2 signals errors to the user program. Structure of the Error Register Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 0 0 APF 0 CER B[...]

  • Pagina 41

    Interface to the User Program in the S7-200 CPU 2-15 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Example of Access to the Error Register Assuming that the CP 243-2 is inserted directly beside the S7-200 CPU. Evaluate the special memory bits SM 1 1.0 to SM 1 1.2 in the SM area (for more information about the special bit memory area of the[...]

  • Pagina 42

    Interface to the User Program in the S7-200 CPU 2-16 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.5 Access to the Analog Input and Output Words Principle Using a bank-select mechanism, the 8 analog input words and the 8 analog output words can be switched to 64 different analog input areas (banks) and 64 dif ferent analog output areas ([...]

  • Pagina 43

    Interface to the User Program in the S7-200 CPU 2-17 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 BS5 Bank No. BS0 BS1 BS2 BS3 BS4 0 1 1 0 1 0 Bank 26 selected 0 1 1 0 1 1 Bank 27 selected 0 1 1 1 0 0 Bank 28 selected 0 1 1 1 0 1 Bank 29 selected 0 1 1 1 1 0 Bank 30 selected 0 1 1 1 1 1 Bank 31 selected 1 0 0 0 0 0 Bank 32 selected 1 0 0 [...]

  • Pagina 44

    Interface to the User Program in the S7-200 CPU 2-18 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.5.1 Analog Input Area Assignment of the Input Areas The input area of the analog module of the CP 243-2 is mapped to the analog inputs of the user program using bank selection as shown below: Binary inputs s lave 1 to 31 or slave 1A to 31A [...]

  • Pagina 45

    Interface to the User Program in the S7-200 CPU 2-19 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Bank 1: Diagnostics on the AS-Interface The delta list of the AS-i slaves is indicated in this bank. The delta list contains deviations of the existing AS-i slaves from the configuration on the CP 243-2. A set bit can indicate the following: [...]

  • Pagina 46

    Interface to the User Program in the S7-200 CPU 2-20 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Banks 32–47: Analog input data of the AS-i slaves Via these areas, you can access the analog input data of the AS-i slaves that support the AS-i slave profile 7.3 or 7.4 (see Section 3.1.2). Banks 48–63: Reserved area These areas are rese[...]

  • Pagina 47

    Interface to the User Program in the S7-200 CPU 2-21 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2.5.2 Analog Output Area Assignment of the Output Areas The output area of the analog module of the CP 243-2 is mapped to the analog outputs of the user program using bank selection as shown below: Binary outputs slave 1 to 31 or slave 1A to [...]

  • Pagina 48

    Interface to the User Program in the S7-200 CPU 2-22 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Banks 2–15: Command data on the AS-Interface Via this area, you can store command calls on the CP 243-2. The data structures and codes used are described in Section 5.2. The number of banks used depends on the particular command. Banks 16?[...]

  • Pagina 49

    3-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Access to the Data of the AS-i Slaves This chapter explains the AS-i master interface of the CP 243-2. The first part covers addressing the AS-i slaves and access to the binary data of the slaves. In the second part, addressing and access to the analog data of the AS-i slaves is explained. [...]

  • Pagina 50

    Access to the Data of the AS-i Slaves 3-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 3.1 Access to the Binary Data of the AS-i Slaves 3.1.1 Addressing the AS-i Slaves in the User Program Requirements Before you can access the I/O data of the AS-i slaves, the following requirements must be met:  Deactivate the filtering of the analog [...]

  • Pagina 51

    Access to the Data of the AS-i Slaves 3-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Assignment of the AS-i Input Data of the Standard or A Slaves (Bank 0 in the Analog Input Area of the CP) Bank Byte no. Bit 7–4 Bit 3–0 0 m+0 reserved Slave 1 or slave 1A Bit 3 | Bit 2 | Bit 1 | Bit 0 0 m+1 Slave 2 or slave 2A Slave 3 or slave 3A 0 [...]

  • Pagina 52

    Access to the Data of the AS-i Slaves 3-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Assignment of the AS-i Input Data of the B Slaves (Bank 31 in the Analog Input Direction of the CP) Bank Byte no. Bit 7–4 Bit 3–0 31 m+0 reserved Slave 1B Bit 3 | Bit 2 | Bit 1 | Bit 0 31 m+1 Slave 2B Slave 3B 31 m+2 Slave 4B Slave 5B 31 m+3 Slave 6[...]

  • Pagina 53

    Access to the Data of the AS-i Slaves 3-5 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Data Exchange in the STOP Mode of the S7-22x CPU In the STOP mode, the S7-22x CPU sets bit PLC_RUN in the digital control area to “0” automatically . As a result, the CP 243-2 outputs “0” data to all binary slaves. Special Feature of Analog Slav[...]

  • Pagina 54

    Access to the Data of the AS-i Slaves 3-6 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Example Figure 3-1 shows an example of the CP 243-2 addressing four AS-i slaves. In the example, m = 0 is the start address for the input data and n = 0 is the start address for the output data. The bits relevant for the user program (existing AS-i slav[...]

  • Pagina 55

    Access to the Data of the AS-i Slaves 3-7 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 3.1.2 Access to the AS-i User Data Data Access with STEP 7 Micro T o access the binary data of the slaves, you use the analog transfer commands of the STEP 7 Micro/WIN32 programming language. Example If you want to access individual bits of the slave da[...]

  • Pagina 56

    Access to the Data of the AS-i Slaves 3-8 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 3.2 Access to the Analog Data of the AS-i Slaves (Slaves complying with Profile 7.3 or 7.4) 3.2.1 Addressing the Analog AS-i Slaves in the User Program Requirements Before you can access the I/O data of the AS-i slaves, the following requirements must b[...]

  • Pagina 57

    Access to the Data of the AS-i Slaves 3-9 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Bank Meaning Byte no. 33 0 Slave 3, channel 1, high byte 33 1 Slave 3, channel 1, low byte 33 2 Slave 3, channel 2, high byte 33 3 Slave 3, channel 2, low byte 33 4 Slave 3, channel 3, high byte 33 5 Slave 3, channel 3, low byte 33 6 Slave 3, channel 4,[...]

  • Pagina 58

    Access to the Data of the AS-i Slaves 3-10 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Bank Meaning Byte no. 36 1 Slave 9, channel 1, low byte 36 2 Slave 9, channel 2, high byte 36 3 Slave 9, channel 2, low byte 36 4 Slave 9, channel 3, high byte 36 5 Slave 9, channel 3, low byte 36 6 Slave 9, channel 4, high byte 36 7 Slave 9, channel 4[...]

  • Pagina 59

    Access to the Data of the AS-i Slaves 3-1 1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Bank Meaning Byte no. 39 2 Slave 15, channel 2, high byte 39 3 Slave 15, channel 2, low byte 39 4 Slave 15, channel 3, high byte 39 5 Slave 15, channel 3, low byte 39 6 Slave 15, channel 4, high byte 39 7 Slave 15, channel 4, low byte 39 8 Slave 16, c[...]

  • Pagina 60

    Access to the Data of the AS-i Slaves 3-12 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Bank Meaning Byte no. 42 3 Slave 21, channel 2, low byte 42 4 Slave 21, channel 3, high byte 42 5 Slave 21, channel 3, low byte 42 6 Slave 21, channel 4, high byte 42 7 Slave 21, channel 4, low byte 42 8 Slave 22, channel 1, high byte 42 9 Slave 22, ch[...]

  • Pagina 61

    Access to the Data of the AS-i Slaves 3-13 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Bank Meaning Byte no. 45 4 Slave 27, channel 3, high byte 45 5 Slave 27, channel 3, low byte 45 6 Slave 27, channel 4, high byte 45 7 Slave 27, channel 4, low byte 45 8 Slave 28, channel 1, high byte 45 9 Slave 28, channel 1, low byte 45 10 Slave 28, c[...]

  • Pagina 62

    Access to the Data of the AS-i Slaves 3-14 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Representation of the Analog V alues The analog values must be interpreted complying with slave profile 7.3 or 7.4 as 16-bit values in two’s complement. For further information about the range of values, measuring range, accuracy etc., refer to the r[...]

  • Pagina 63

    Access to the Data of the AS-i Slaves 3-15 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 3.2.2 Access to the AS-i Analog Data Data Access with STEP 7 Micro Y ou access the analog data of the AS-i slaves using the analog commands of the “STEP 7 Micro/WIN32” programming language. Example The following example shown in STL is valid for a [...]

  • Pagina 64

    Access to the Data of the AS-i Slaves 3-16 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 [...]

  • Pagina 65

    4-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Signaling Errors and Diagnostics in the User Program This chapter explains which errors of the CP 243-2 are signaled and how to read out the Delta list. 4[...]

  • Pagina 66

    Signaling Errors and Diagnostics in the User Program 4-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 4.1 Signaling Error Signaling If the CP 243-2 recognizes errors on the AS-Interface (AS-i slave failure, AS-i Power Failure) during operation, it signals these errors by resetting the input data of the affected slave and by setting the co[...]

  • Pagina 67

    Signaling Errors and Diagnostics in the User Program 4-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 4.2 Example: Reading the Delta List STL Example The following example in STL applies to a CPU 222 with a CP 243-2 plugged in directly beside it: If an AS-i configuration error occurs in the protected mode, the CP 243-2 sets bits SM 9.0 an[...]

  • Pagina 68

    Signaling Errors and Diagnostics in the User Program 4-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 [...]

  • Pagina 69

    5-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Command Interface Via the command interface, you can control the response of the AS-i master completely from within your user program. This chapter introduces you to the AS-i command interface and the AS-i commands. Y ou require the AS-i command interface when you want to use functions over[...]

  • Pagina 70

    Command Interface 5-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.1 Command interface of the CP 243-2 Command Buffer and Response Buffer Command calls are made to the CP 243-2 from within the user program. Y ou specify the command call in a command buffer and start the job. The command buffer is in the analog output area of the CP 243-[...]

  • Pagina 71

    Command Interface 5-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Command Sequence The diagram below shows the following:  How to execute commands in the user program  How the CP 243-2 reacts to a command Initial status ASI_COM bit = 0 ASI_RESP bit = 0 Start command Set ASI_COM bit = 1 W ait for response ASI_RESP bit = ? Response d[...]

  • Pagina 72

    Command Interface 5-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 A command started by the CP 243-2 is executed completely regardless of the state of the ASI_COM bit. The ASI_RESP bit is only reset by the CP 243-2 when the user program has set the ASI_COM bit to “0”. Example The following example in STL applies to a CPU 222 with a CP[...]

  • Pagina 73

    Command Interface 5-5 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able 5-2 , continued SI Q1.0, 1 //Select bank 5 BMW VW748, AQW0, 8 //V memory –> bank RI Q1.0, 1 //Select bank 6 SI Q1.1, 1 //Select bank 6 BMW VW764, AQW0, 8 //V memory –> bank SI Q1.0, 1 //Select bank 7 BMW VW780, AQW0, 8 //V memory –> bank RI Q1.0, 3 //[...]

  • Pagina 74

    Command Interface 5-6 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able 5-2 , continued SI Q1.0, 1 //Select bank 9 BMW AIW0, VW512, 8 //Bank –> V memory RI Q1.0, 1 //Select bank 10 SI Q1.1, 1 //Select bank 10 BMW AIW0, VW528, 8 //Bank –> V memory SI Q1.0, 1 //Select bank 1 1 BMW AIW0, VW544, 8 //Bank –> V memory RI Q1.0, [...]

  • Pagina 75

    Command Interface 5-7 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2 Description of the AS-i Commands Overview The following sections describe the AS-i command calls that can be sent by the S7-200 system to the CP 243-2. With these command calls, the CP 243-2 provides the complete functionality of the M1 master profile of the AS-i maste[...]

  • Pagina 76

    Command Interface 5-8 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able 5-3 , continued Name Coding Return Parameter Get_AS-i_Slave_Status –> described in Section 5.2.15 Slave address Error record of the AS-i slave 0 F H Get_LPS, Get_LAS, Get_LDS, Get_Flags –> described in Section 5.2.16 LDS, LAS, LPS, flags 3 0 H Get_Extended[...]

  • Pagina 77

    Command Interface 5-9 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 General Structure of the Command Buffer Depending on the command, the command buffer can extend over a maximum of 14 banks (bank 2–15 in the analog module) with a maximum of 224 bytes. In the following description of the command interface, the start address 0 is assumed [...]

  • Pagina 78

    Command Interface 5-10 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 General Structure of the Response Buffer Depending on the command, the response buffer can extend over a maximum of 14 banks (bank 2–15 in the analog module) and a maximum of 224 bytes. In the following description of the command interface, the start address 0 is assume[...]

  • Pagina 79

    Command Interface 5-1 1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Command Status Whether or not the job was executed correctly or errors occurred is signaled in the command status of the response buffer in byte 1. T able 5-6 V alue Meaning 00 H Job completed without error 81 H The AS-i slave address is incorrect 82 H The AS-i slave is [...]

  • Pagina 80

    Command Interface 5-12 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 General Structure of the AS-i Slave Address If an AS-i slave is addressed in a command or in a reply , the address is structured as shown below: Bit 7 Bit 5 Bit 4 Bit 3 Bit 0 S bit Slave address Where the S(elect) bit for selecting the slave type is specified as follows: [...]

  • Pagina 81

    Command Interface 5-13 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.1 Set_Permanent_Parameter Purpose With this call, a parameter value for the specified AS-i slave is transferred to the CP 243-2 . The value is saved permanently as a configured value. The configured parameter is not transferred immediately to the AS-i slave by the CP [...]

  • Pagina 82

    Command Interface 5-14 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.2 Get_Permanent_Parameter Purpose With this call, a slave-specific parameter value stored on the EEPROM of the CP 243-2 is read. Structure of the Job Data in the Send Buffer Bank Byte Meaning 2 0 Command number: 01 H 2 1 AS-i slave address Structure of the Job Data in[...]

  • Pagina 83

    Command Interface 5-15 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.3 W rite_Parameter Purpose of the Command The AS-i parameter value transferred with the command is passed on to the addressed AS-i slave. The parameter is stored on the CP 243-2 only temporarily and is not entered as a configured parameter in the EEPROM! The AS-i slav[...]

  • Pagina 84

    Command Interface 5-16 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.4 Read_Parameter Purpose This call returns the current parameter value (actual parameter) of a slave. This value must not be confused with the parameter echo that is supplied by the AS-i slave as a reply to the write_parameter job. Structure of the Job Data in the Sen[...]

  • Pagina 85

    Command Interface 5-17 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.5 Store_Actual_Parameters Purpose This call overwrites the permanently stored configured parameters with the actual parameters, in other words the parameters are reconfigured. For AS-i slaves that comply with the AS-i slave standard profile 7.4, the AS-i master manage[...]

  • Pagina 86

    Command Interface 5-18 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.6 Set_Extended_Permanent_Configuration Purpose This call sets the following configuration data for the addressed AS-i slave.  I/O configuration  ID code  Extended ID1 code  Extended ID2 code The configuration data are stored permanently on the EEPROM of th[...]

  • Pagina 87

    Command Interface 5-19 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.7 Get_Extended_Permanent_Configuration Purpose This call reads the following configuration data (configured data) of an addressed AS-i slave stored on the EEPROM of the AS-i master .  I/O configuration  ID code  Extended ID1 code  Extended ID2 code The con[...]

  • Pagina 88

    Command Interface 5-20 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.8 Store_Actual_Configuration Purpose of the Command With this call, the (actual) configuration data (I/O configuration, ID code, extended ID1 code and extended ID2 code) of all AS-i slaves are stored permanently in the EEPROM as the (expected) configuration data. The [...]

  • Pagina 89

    Command Interface 5-21 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.9 Get_Extended_Actual_Configuration Purpose of the Command With this call, the following configuration data of an addressed AS-i slave obtained by the AS-i master on the AS-Interface are read.  I/O configuration  ID code  Extended ID1 code  Extended ID2 co[...]

  • Pagina 90

    Command Interface 5-22 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.10 Set_Extended_LPS Purpose With this call, the list of configured AS-i slaves is transferred for permanent storage in the EEPROM. When this command is executed, the AS-i master changes to the offline phase and then changes back to the normal mode (warm restart on the[...]

  • Pagina 91

    Command Interface 5-23 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.1 1 Set_Offline_Mode Purpose This call switches between the online and offline mode. The online mode is the normal situation for the CP 243-2. Here, the following jobs are processed cyclically:  During the data exchange phase, the fields of the output data are tran[...]

  • Pagina 92

    Command Interface 5-24 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.12 Select_Autoprogramming Purpose This call can enable or disable the “automatic address programming” function (see also Section 6.1). The AUTO_ADDR_ENABLE bit is stored permanently; in other words it is retained after a warm/hot restart on the AS-i master . Struc[...]

  • Pagina 93

    Command Interface 5-25 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.13 Set_Operation_Mode Purpose of the Command With this call, you can select between the configuration mode and the protected mode. In the protected mode , only AS-i slaves are activated that are entered in the LPS and whose expected and actual configurations match, in[...]

  • Pagina 94

    Command Interface 5-26 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.14 Change_AS-i_Slave_Address Purpose of the Command With this call, the address of an AS-i slave can be modified. This call is mainly used to add a new AS-i slave with the default address 0 to the AS-Interface. In this case, the address is changed from the old slave a[...]

  • Pagina 95

    Command Interface 5-27 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.15 Get_AS-i_Slave_Status Purpose With this call, the status register of the addressed AS-i slave can be read out. Depending on the type of AS-i slave, the flags of the status register have the following meaning: Status Bit AS-i slave complying with standard 2.0 AS-i s[...]

  • Pagina 96

    Command Interface 5-28 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Structure of the Job Data in the Receive Buffer Bank Byte Meaning Bit 7 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 2 0 Echo of the command number: 0F H 2 1 Command status 2 2 reserved S 3 S 2 S 1 S 0[...]

  • Pagina 97

    Command Interface 5-29 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.16 Get_LPS, Get_LAS, Get_LDS, Get_Flags Purpose With this call, the following entries are read out of the AS-i master CP 243-2:  The list of active AS-i slaves (LAS)  The list of detected AS-i slaves (LDS)  The list of permanent AS-i slaves (LPS)  The flag[...]

  • Pagina 98

    Command Interface 5-30 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2 11 LDS slave 8 LDS slave 9 LDS slave 10 LDS slave 1 1 LDS slave 12 LDS slave 13 LDS slave 14 LDS slave 15 2 12 LDS slave 16 LDS slave 17 LDS slave 18 LDS slave 19 LDS slave 20 LDS slave 21 LDS slave 22 LDS slave 23 2 13 LDS slave 24 LDS slave 25 LDS slave 26 LDS slave 2[...]

  • Pagina 99

    Command Interface 5-31 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Meaning of the Flags OFFLINE_READY The flag is set when the offline phase is active. APF This flag is set when the voltage on the AS-i cable is too low . NORMAL_MODE This flag is set when the CP 243-2 is in the normal mode. CONFIG_MODE The flag is set in the configuration[...]

  • Pagina 100

    Command Interface 5-32 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.17 Get_Extended_Total_Configuration Purpose With this command, the following data are read from the CP 243-2:  The list of active slaves (LAS). This indicates which of the connected slaves are activated.  The current configuration data of the connected slaves (I[...]

  • Pagina 101

    Command Interface 5-33 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2 8 LAS slave 16B LAS slave 17B LAS slave 18B LAS slave 19B LAS slave 20B LAS slave 21B LAS slave 22B LAS slave 23B 2 9 LAS slave 24B LAS slave 25B LAS slave 26B LAS slave 27B LAS slave 28B LAS slave 29B LAS slave 30B LAS slave 31B 2 10 ID_CODE slave 0 I/O configuration s[...]

  • Pagina 102

    Command Interface 5-34 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5 6 ID_CODE slave 22 I/O configuration slave 22 5 7 Ext ID1 slave 22 Ext ID2 slave 22 5 8 ID_CODE slave 23 I/O configuration slave 23 5 9 Ext ID1 slave 23 Ext ID2 slave 23 5 10 ID_CODE slave 24 I/O configuration slave 24 5 11 Ext ID1 slave 24 Ext ID2 slave 24 5 12 ID_CODE[...]

  • Pagina 103

    Command Interface 5-35 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 8 8 ID_CODE slave 15B I/O configuration slave 15B 8 9 Ext ID1 slave 15B Ext ID2 slave 15B 8 10 ID_CODE slave 16B I/O configuration slave 16B 8 11 Ext ID1 slave 16B Ext ID2 slave 16B 8 12 ID_CODE slave 17B I/O configuration slave 17B 8 13 Ext ID1 slave 17B Ext ID2 slave 17[...]

  • Pagina 104

    Command Interface 5-36 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 11 10 reserved Parameter slave 1B 11 11 Parameter slave 2B Parameter slave 3B 11 12 Parameter slave 4B Parameter slave 5B 11 13 Parameter slave 6B Parameter slave 7B 11 14 Parameter slave 8B Parameter slave 9B 11 15 Parameter slave 10B Parameter slave 1 1B 12 0 Parameter [...]

  • Pagina 105

    Command Interface 5-37 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.18 Store_Extended_T otal_Configuration Purpose With this call, the required total configuration of the AS interface is transferred to the AS-i master and stored permanently in the EEPROM as the expected configuration. This configures the CP 243-2. The following data a[...]

  • Pagina 106

    Command Interface 5-38 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 2 10 ID_CODE slave 0 I/O configuration slave 0 2 11 Ext ID1 Slave 0 Ext ID2 slave 0 2 12 ID_CODE slave 1 I/O configuration slave 1 2 13 Ext ID1 Slave 1 Ext ID2 slave 1 2 14 ID_CODE slave 2 I/O configuration slave 2 2 15 Ext ID1 Slave 2 Ext ID2 slave 2 3 0 ID_CODE slave 3 [...]

  • Pagina 107

    Command Interface 5-39 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5 12 ID_CODE slave 25 I/O configuration slave 25 5 13 Ext ID1 Slave 25 Ext ID2 slave 25 5 14 ID_CODE slave 26 I/O configuration slave 26 5 15 Ext ID1 Slave 26 Ext ID2 slave 26 6 0 ID_CODE slave 27 I/O configuration slave 3 6 1 Ext ID1 Slave 27 Ext ID2 slave 3 6 2 ID_CODE [...]

  • Pagina 108

    Command Interface 5-40 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 8 14 ID_CODE slave 18B I/O configuration slave 18B 8 15 Ext ID1 Slave 18B Ext ID2 slave 18B 9 0 ID_CODE slave 19B I/O configuration slave 19B 9 1 Ext ID1 Slave 19B Ext ID2 slave 19B 9 2 ID_CODE slave 20B I/O configuration slave 20B 9 3 Ext ID1 Slave 20B Ext ID2 slave 20B [...]

  • Pagina 109

    Command Interface 5-41 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 12 0 Parameter slave 12B Parameter slave 13B 12 1 Parameter slave 14B Parameter slave 15B 12 2 Parameter slave 16B Parameter slave 17B 12 3 Parameter slave 18B Parameter slave 19B 12 4 Parameter slave 20B Parameter slave 21B 12 5 Parameter slave 22B Parameter slave 23B 12[...]

  • Pagina 110

    Command Interface 5-42 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Structure of the Job Data in the Receive Buffer Bank Byte Meaning 2 0 Echo of the command number: 3A H 2 1 Command status[...]

  • Pagina 111

    Command Interface 5-43 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.19 W rite_Extended_Parameter_List Purpose With this command, the parameters for all slaves are transferred to the CP 243-2. The CP 243-2 transfers only the parameters that have changed, in other words that deviate from the current actual parameters to the AS-i slaves.[...]

  • Pagina 112

    Command Interface 5-44 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Structure of the Job Data in the Receive Buffer Bank Byte Meaning 1 1 Echo of the command number: 3C H 2 2 Command status[...]

  • Pagina 113

    Command Interface 5-45 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.20 Read_Extended_Parameter_Echo_List Purpose When the parameters are transferred to the AS-i slaves, they return “echo values” as the response. The read parameter echo list call reads out the echo values of all AS-i slaves. Structure of the Job Data in the Send Bu[...]

  • Pagina 114

    Command Interface 5-46 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 3 9 Par echo slave 14B Parameters slave 15B 3 10 Par echo slave 16B Par echo slave 17B 3 11 Par echo slave 18B Par echo slave 19B 3 12 Par echo slave 20B Par echo slave 21B 3 13 Par echo slave 22B Parameters slave 23B 3 14 Par echo slave 24B Par echo slave 25B 3 15 Par ec[...]

  • Pagina 115

    Command Interface 5-47 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.21 Read_V ersion_ID Purpose With this call, the version ID of the CP 243-2 firmware is read out. Structure of the Job Data in the Send Buffer Bank Byte Meaning 2 0 Command number: 14 H The reply of the CP 243-2 contains the name and the firmware version number of the [...]

  • Pagina 116

    Command Interface 5-48 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.22 Read_AS-i_Slave_ID Purpose With this call, the ID code of an AS-i slave can be read out directly over the AS-i cable. The call is intended for diagnostic purposes and is not required in the normal master mode. Structure of the Job Data in the Send Buffer Bank Byte [...]

  • Pagina 117

    Command Interface 5-49 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.23 Read_AS-i_Slave_ID1 Purpose With this call, the ID1 code of an AS-i slave can be read out directly over the AS-i cable. The call is intended for diagnostic purposes and is not required in the normal master mode. Structure of the Job Data in the Send Buffer Bank Byt[...]

  • Pagina 118

    Command Interface 5-50 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.24 W rite_AS-i_Slave_Extended_ID1 Purpose With this call, the extended ID1 code of an AS-i slave with address “0” can be written directly over the AS-i cable. The call is intended for diagnostic purposes and is not required in the normal master mode. The AS-i mast[...]

  • Pagina 119

    Command Interface 5-51 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.25 Read_AS-i_Slave_ID2 Purpose With this call, the ID2 code of an AS-i slave can be read out directly over the AS-i cable. The call is intended for diagnostic purposes and is not required in the normal master mode. Structure of the Job Data in the Send Buffer Bank Byt[...]

  • Pagina 120

    Command Interface 5-52 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.26 Read_AS-i_Slave_I/O Purpose With this call, the I/O configuration of an AS-i slave can be read out directly over the AS-i cable. The call is intended for diagnostic purposes and is not required in the normal master mode. Structure of the Job Data in the Send Buffer[...]

  • Pagina 121

    Command Interface 5-53 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.27 Get_LPF Purpose With this call, the list of peripheral faults (LPF) signaled by the AS-i slaves is read out from the AS-i master . The LPF is updated cyclically by the AS-i master . Whether and when as AS-i slave signals faults of the attached peripherals (for exam[...]

  • Pagina 122

    Command Interface 5-54 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.28 W rite_AS-i_Slave_Parameter_String Purpose With this call, a parameter string complying with AS-i slave profile 7.4 can be sent to the AS-i master that passes on the string to the AS-i slave address specified in the send buffer . With this call, a send buffer with [...]

  • Pagina 123

    Command Interface 5-55 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.29 Read_AS-i_Slave_Parameter_String Purpose With this call, a parameter string complying with AS-i slave profile 7.4 can be read from the AS-i slave with the AS-i slave address specified in the send buffer . The AS-i master supplies up to 223 bytes of reply data. The [...]

  • Pagina 124

    Command Interface 5-56 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.30 Read_AS-i_Slave_ID_String Purpose With this call, an identification string complying with the AS-i slave profile 7.4 can be read from the AS-i slave with the AS-i slave address specified in the send buffer . The AS-i master always supplies 223 bytes of reply data. [...]

  • Pagina 125

    Command Interface 5-57 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.31 Read_AS-i_Slave_Diagnostic_String Purpose With this call, an diagnostic string complying with the AS-i slave profile 7.4 can be read from the AS-i slave with the AS-i slave address specified in the send buffer . The AS-i master supplies up to 223 bytes of reply dat[...]

  • Pagina 126

    Command Interface 5-58 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 5.2.32 Read_Data_and_Delta_List Purpose With this call, the AS-i error bits, the input data of the AS-i slaves and the delta list can be read out consistently . Structure of the Command Buffer Bank Byte Meaning 2 0 Command number: 3D H Structure of the Response Buffer Ban[...]

  • Pagina 127

    Command Interface 5-59 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 3 12 Data slave 20B Data slave 21B 3 13 Data slave 22B Data slave 13B 3 14 Data slave 24B Data slave 25B 3 15 Data slave 26B Data slave 27B 4 1 Data slave 28B Data slave 29B 4 2 Data slave 30B Data slave 31B 4 3 Delta slave 7 Delta slave 6 Delta slave 5 Delta slave 4 Delt[...]

  • Pagina 128

    Command Interface 5-60 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 [...]

  • Pagina 129

    6-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Dealing with Problems / Error Displays This chapter contains information about special operating states and explains how to deal with errors. 6[...]

  • Pagina 130

    Dealing with Problems / Error Displays 6-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 6.1 Replacing a Defective AS-Interface Slave/Automatic Address Programming Simple Replacement of AS-Interface Slaves Using the automatic address programming function, you can replace failed AS-Interface slaves extremely simply . Note Remember that “a[...]

  • Pagina 131

    Dealing with Problems / Error Displays 6-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 6.2 Error Displays of the CP 243-2 / Remedying Errors <F 1>The following table lists the possible causes of errors that can occur when operating the CP 243-2 and how to remedy the problem. T able 6-1 Error Displays of the CP 243-2 / Remedying Err[...]

  • Pagina 132

    Dealing with Problems / Error Displays 6-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able 6-1 Error Displays of the CP 243-2 / Remedying Errors Error Remedy Possible Cause The CP 243-2 does not switch from the configuration mode to the protected mode. The S7-200 CPU is in the “RUN” mode. Switch the S7-200 CPU to “ST OP”. This[...]

  • Pagina 133

    Dealing with Problems / Error Displays 6-5 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able 6-1 Error Displays of the CP 243-2 / Remedying Errors Error Remedy Possible Cause Automatic address programming is unsuccessful although the “AUP” display is lit. The configuration data (I/O confi- guration, ID codes) of the repla- ced AS-In[...]

  • Pagina 134

    Dealing with Problems / Error Displays 6-6 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 [...]

  • Pagina 135

    A-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 AS-Interface Protocol Implementation Conformance Statement (PICS) PICS for the CP 243-2 T able A-1 V endor SIEMENS AG Product Name CP 243-2 – AS-Interface Master Order Number 6GK7243-2AX00-0XA0 V ersion 1 Master Profile M1e Date 31.01.2000 List of Master Functions A vailable T able A-2 No[...]

  • Pagina 136

    AS-Interface Protocol Implementation A-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able A-2 , continued No. Comment / Function implemented by / Section M1 Function or Call on the Host Interface (symbolic representation) 10 Status = Store_Actual_Configuration() X By pressing the SET button; or with the command Store_actual_configurati[...]

  • Pagina 137

    AS-Interface Protocol Implementation A-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 T able A-2 , continued No. Comment / Function implemented by / Section M1 Function or Call on the Host Interface (symbolic representation) 20 Status = Change_Slave_Address(Addr1, Addr2) X see Section 5.2.14 21 Status = Set_Auto_Address_Enable X see Secti[...]

  • Pagina 138

    AS-Interface Protocol Implementation A-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 How the AS-Interface cycle time depends on the number of connected slaves The following formula is used to calculate the AS-Interface cycle time depending on the number of activated slaves. T cycl = (1 + number of activated slaves) * 156 µ s If a pair o[...]

  • Pagina 139

    B-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 References /1/ AS-Interface:The Actuator-Sensor-Interface for Automation Werner Kriesel, O.W . Madelung, Carl Hanser V erlag München Wien 1994 /2/ AS-Interface Complete Specification can be ordered from the ASI Association e.V . Address: AS-International Association e.V . Geschäftsführun[...]

  • Pagina 140

    References B-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 /5/ Profibus & AS-Interface Components on the Field Bus Catalog ST PI The catalog can be ordered from your local SIEMENS branch office or distributor . /6/ SIMA TIC STEP 7-Micro/DOS Manual Siemens AG Order numbers The order numbers of the SIEMENS documentation listed above ca[...]

  • Pagina 141

    C-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Notes on the CE Mark Product Name CP 243-2 Order no.: 6GK7243-2AX00-0XA0 EU Directive EMC 89/336/EEC The product listed above meets the requirements of the EU directive 89/336/EEC “Electromagnetic Compatibility”. The EU conformity certificates are available for the relevant authorities [...]

  • Pagina 142

    Notes on the CE Mark C-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02[...]

  • Pagina 143

    D-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 SIMA TIC NET – Support and T raining SIMA TIC T raining Center T o help you to become familiar with the SIMA TIC S7 automation system, we offer a range of courses. Please contact your regional training center or the central training center in D 90327 Nuremberg, Germany . Infoline: T el. 0[...]

  • Pagina 144

    SIMA TIC NET – Support and T raining D-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 SIMA TIC Premium Hotline (Calls charged, only with SIMA TIC Card) T ime:Mo.-Fr . 0:00 to 24:00 Phone: +49 (91 1) 895-7777 Fax: +49 (91 1) 895-7001 SIMA TIC Customer Support Online Services The SIMA TIC customer support team provides you with comprehens[...]

  • Pagina 145

    Glossary-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Glossary APF AS-i Power Fail. Flag or LED display that indicates that the power supply on the AS-i cable is too low or has failed (for example failure of the AS-i power supply unit). AS-i (AS-Interface) Actuator-sensor interface. A network system for the lowest field area of the auto[...]

  • Pagina 146

    Glossary Glossary-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 AS-i module For the AS-Interface, a module concept has been defined that allows the block- like linking of AS-i slaves – sensors and actuators – via AS-i modules. The following types of module exist: The active AS-i module with an integrated AS-i chip; using this, up to [...]

  • Pagina 147

    Glossary Glossary-3 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Nibble A nibble is a unit of information consisting of four bits. Standard AS-i master Up to 31 standard slaves or slaves with the extended addressing mode (A slaves only) can be attached to a standard AS-i master .[...]

  • Pagina 148

    Glossary Glossary-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 [...]

  • Pagina 149

    Index Index-1 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 Index A Addressing AS-i slaves, 3-2 example, 3-6 examples, 2-4 the CP 243-2 in the S7-200 CPU, 2-4 Analog input and output words, access to, 2-16 Analog input area, 2-18 Analog module, 2-2, 2-13 Analog output area, 2-21 AS–Interface, cycle time, A-4 AS-i. See AS-Interface AS-Int[...]

  • Pagina 150

    Index Index-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 E Error displays, 6-1 Error register , 2-7, 2-13 in the analog module, 2-15 in the digital module, 2-9 Error signaling, 4-2 master , 4-1 ESD guidelines, 1-2 Expansion module, 2-2 Extended mode, 1-10 F Front panel, 1-7 I Identification register , 2-7, 2-13 in the analog module, 2-1[...]