Instruction/ maintenance manual of the product CP 243-2 Siemens
Go to page of 150
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 .
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.
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.
Preface ii SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 .
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 . . . . . . . . . . . .
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents vi SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02.
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.
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.
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).
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.
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.
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).
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.
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 con.
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.
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.
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.
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.
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).
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.
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.
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 Th.
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.
T echnical Description and Installation Instructions 1-18 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 .
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.
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 e.
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).
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.
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.
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.
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 con.
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 .
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.
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.
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 .
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 cons.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 R.
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.
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.
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.
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.
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.
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.
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.
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 .
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 Sla.
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 Slav.
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 Slav.
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.
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.
Access to the Data of the AS-i Slaves 3-16 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 .
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.
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-.
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.
Signaling Errors and Diagnostics in the User Program 4-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 .
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.
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.
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-.
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”.
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.
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.
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.
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.
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.
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.
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.
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 stru.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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 .
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.
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.
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.
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 comm.
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 .
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.
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.
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.
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 LA.
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 configurati.
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 confi.
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 .
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.
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.
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 configur.
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 conf.
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 Paramet.
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.
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.
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.
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.
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 sl.
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.
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.
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.
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.
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.
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.
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 .
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 .
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 .
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 .
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 .
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 .
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 2.
Command Interface 5-60 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 .
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.
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 .
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.
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.
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.
Dealing with Problems / Error Displays 6-6 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 .
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.
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 I.
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.
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.
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.
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 .
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”.
Notes on the CE Mark C-2 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02.
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 .
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.
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.
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.
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 .
Glossary Glossary-4 SIMA TIC NET CP 243-2 AS-i Master C79000-G8976-C142/02 .
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.
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 .
An important point after buying a device Siemens CP 243-2 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Siemens CP 243-2 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Siemens CP 243-2 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Siemens CP 243-2 you will learn all the available features of the product, as well as information on its operation. The information that you get Siemens CP 243-2 will certainly help you make a decision on the purchase.
If you already are a holder of Siemens CP 243-2, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Siemens CP 243-2.
However, one of the most important roles played by the user manual is to help in solving problems with Siemens CP 243-2. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Siemens CP 243-2 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center