Siemens AS-i Master CM 1243-2 a Manual

Siemens AS-i Master CM 1243-2 a Manual

Industrial controls for simatic s7-1200
Table of Contents

Advertisement

Quick Links

Industrial Controls
AS-Interface
AS-i Master CM 1243-2 and AS-i Data Decoupling Unit DCM 1271
for SIMATIC S7-1200
Manual
Edition
04/2013
Answers for industry.

Advertisement

Table of Contents
loading

Summary of Contents for Siemens AS-i Master CM 1243-2 a

  • Page 1 Industrial Controls AS-Interface AS-i Master CM 1243-2 and AS-i Data Decoupling Unit DCM 1271 for SIMATIC S7-1200 Manual Edition 04/2013 Answers for industry.
  • Page 3 ___________________ AS-i master CM 1243-2 and AS-i data Preface decoupling unit DCM 1271 for SIMATIC ___________________ Technical description 1200 Displays and connections of ___________________ the AS-i master CM 1243-2 Industrial Controls Displays and connections of ___________ the AS-i data decoupling unit DCM 1271 AS-Interface AS-i master CM 1243-2 and AS-i...
  • Page 4 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 5: Preface

    There you will find general information about AS-Interface, referred to below as AS-i. The manual is available on the Internet (http://support.automation.siemens.com/WW/view/de/26250840/0/en). ● ... you are configuring an AS-i system and commissioning it and are using the AS-i master CM 1243-2 and the AS-i data decoupling unit DCM 1271:...
  • Page 6 Supplements (Edition 09/2010)" (order number: 3RK2703-3BB02-1AA1) The manual is available on the Internet (http://support.automation.siemens.com/WW/view/de/26250840/0/en). FAQs You will find FAQs on Siemens AS-i products on the Internet on the Service and Support pages of Industry Automation (http://support.automation.siemens.com/WW/view/en/10805888/133000) See also Using the data record interface (Page 55)
  • Page 7: Table Of Contents

    Table of contents Preface ..............................5 Technical description ..........................11 General information about operation, safety instructions ............11 Overview of the modules ......................12 1.2.1 AS-i master CM 1243-2 ....................... 12 1.2.1.1 Use of the AS-i master CM 1243-2 ....................12 1.2.1.2 Scope of delivery of AS-i master CM 1243-2 ................
  • Page 8 Table of contents Data exchange between the user program and AS-i slaves ..............47 Transferring AS-i digital values ....................47 6.1.1 Addressing the AS-i slaves ......................47 6.1.2 Special characteristics of Combined Transaction Type Slaves ..........49 6.1.3 Special characteristics of AS-i Safety slaves ................50 Cyclic transfer of the slave data in the process image ...............
  • Page 9 Table of contents Diagnostics .............................. 99 Overview ............................99 Diagnostics in STEP 7 ......................... 99 Alarms ............................101 8.3.1 Possible response to the diagnostic interrupt ................103 8.3.2 Interrupt response in different CM operating states..............103 Diagnostic data records ......................104 Diagnostics via the S7-1200 Web server ...................
  • Page 10 Table of contents AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 11: Technical Description

    Use of the AS-i master CM 1243-2 (Page 12) Use of the AS-i data decoupling unit DCM 1271 (Page 13) S7-1200 System Manual (http://support.automation.siemens.com/WW/view/de/36932465/0/en) AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 12: Overview Of The Modules

    Technical description 1.2 Overview of the modules Overview of the modules 1.2.1 AS-i master CM 1243-2 1.2.1.1 Use of the AS-i master CM 1243-2 The AS-i master CM 1243-2 permits the connection of an AS-i line to the automation system ("AS"...
  • Page 13: As-I Data Decoupling Unit Dcm 1271

    Technical description 1.2 Overview of the modules 1.2.2 AS-i data decoupling unit DCM 1271 1.2.2.1 Use of the AS-i data decoupling unit DCM 1271 The AS-i data decoupling unit DCM 1271 is required as an accessory to the AS-i master CM 1243-2 if: ●...
  • Page 14: Scope Of Supply Of The As-I Data Decoupling Unit Dcm 1271

    Max. 1 AS-i master CM 1243-2 can be connected. ● A possible expansion to the number of AS-i masters that can be connected will be announced via the Service & Support Portal on the Siemens Internet site. ● STEP 7 Basic or Professional V11 with Service Pack 2 ●...
  • Page 15 A possible expansion to the number of AS-i masters that can be connected will be announced via the Service & Support Portal on the Siemens Internet site. Figure 1-3 Device arrangement: S7-1200, other communication modules, AS-i master CM 1243-2...
  • Page 16 Technical description 1.3 Permissible slots for modules AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 17: Displays And Connections Of The As-I Master Cm 1243-2

    The enclosure covers have been extended for this purpose to form a handle. You will find further details in the "SIMATIC S7 S7-1200 Programmable Controller" System Manual (order number: 6ES7298-8FA30-8BH0). The S7-1200 System Manual (http://support.automation.siemens.com/WW/view/de/36932465/0/en) is available on the Internet. Figure 2-1...
  • Page 18: Leds Of The As-I Master Cm 1243-2

    Displays and connections of the AS-i master CM 1243-2 2.1 LEDs of the AS-i master CM 1243-2 LEDs of the AS-i master CM 1243-2 2.1.1 Meaning of the LEDs of the AS-i master CM 1243-2 Arrangement of the LEDs of the AS-i master CM 1243-2 AS-i AS-i interface Peripheral fault...
  • Page 19 Displays and connections of the AS-i master CM 1243-2 2.1 LEDs of the AS-i master CM 1243-2 LED colors Meaning Indication of peripheral faults Red, lit A peripheral fault has occurred, e.g. overload on standard outputs and /or overload of sensor power supply of the standard inputs.
  • Page 20: Electrical Connections Of The As-I Master Cm 1243-2

    Displays and connections of the AS-i master CM 1243-2 2.2 Electrical connections of the AS-i master CM 1243-2 Electrical connections of the AS-i master CM 1243-2 Power supply of the AS-i master CM 1243-2 The AS-i master CM 1243-2 is supplied over the communications bus of the S7-1200. This means that a diagnostics message can still be sent to the S7-1200 following failure of the AS-i supply voltage.
  • Page 21 Terminal assignment Label Meaning ASI+ AS-i connection – positive polarity ASI– AS-i connection – negative polarity Functional ground See also S7-1200 Manual (http://support.automation.siemens.com/WW/view/de/36932465/0/en) AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 22 Displays and connections of the AS-i master CM 1243-2 2.2 Electrical connections of the AS-i master CM 1243-2 AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 23: Displays And Connections Of The As-I Data Decoupling Unit Dcm 1271

    The enclosure covers have been extended for this purpose to form a handle. You will find further details in the "SIMATIC S7 S7-1200 Programmable Controller" System Manual (order number: 6ES7298-8FA30-8BH0). The S7-1200 System Manual (http://support.automation.siemens.com/WW/view/de/36932465/0/en) is available on the Internet. Figure 3-1...
  • Page 24: Leds Of The As-I Data Decoupling Unit Dcm 1271

    Displays and connections of the AS-i data decoupling unit DCM 1271 3.1 LEDs of the AS-i data decoupling unit DCM 1271 LEDs of the AS-i data decoupling unit DCM 1271 Arrangement of the LEDs of the AS-i data decoupling unit DCM 1271 Earth Fault Detection ASI OL AS-i Overload...
  • Page 25 Both terminals can be removed to make connection easier. You will find instructions for removing and reinstalling the terminals in the "SIMATIC S7-1200 Programmable Controller" System Manual (order number: 6ES7298-8FA30-8BH0) on the Internet (http://support.automation.siemens.com/WW/view/de/36932465/0/en). Terminal assignment for connection of the power supply unit No. Label Meaning ①...
  • Page 26 Displays and connections of the AS-i data decoupling unit DCM 1271 3.1 LEDs of the AS-i data decoupling unit DCM 1271 Terminal assignment for connection of AS-Interface and ground fault detection No. Label Meaning ① Ground fault detection: Input, power supply unit 24 to 30 V, positive polarity ②...
  • Page 27 Displays and connections of the AS-i data decoupling unit DCM 1271 3.1 LEDs of the AS-i data decoupling unit DCM 1271 Note A connected power supply unit must comply with the PELV/SELV (Protective Extra Low Voltage/Safety Extra Low Voltage) standard and have a residual ripple of < 250 mVpp. The power supply unit used must limit the output voltage to a maximum of 40 V in the event of a fault.
  • Page 28 Displays and connections of the AS-i data decoupling unit DCM 1271 3.1 LEDs of the AS-i data decoupling unit DCM 1271 AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 29: Installation, Connection And Commissioning Of The Modules

    Installation, connection and commissioning of the modules Safety instructions Safety instructions for use of the device The following safety instructions must be observed during installation and operation of the individual devices and all the associated work, such as assembly, connection, device replacement and opening the device.
  • Page 30 Installation, connection and commissioning of the modules 4.1 Safety instructions General notes on use in hazardous areas WARNING Risk of explosion when connecting or disconnecting the device Can cause death, serious injury, or property damage Explosion hazard Do not disconnect equipment when a flammable or combustible atmosphere is present. Note Requirements for the control cabinet If the device is used in areas subject to explosion hazard according to Class I, Division 2 or...
  • Page 31 Ensure that the power supply is switched off during installation /removal of the devices. You can find the system manual on the Internet (http://support.automation.siemens.com/WW/view/de/36932465/0/en) (order number: 6ES7298-8FA30-8AH0). AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200...
  • Page 32: Preparation

    Installation, connection and commissioning of the modules 4.2 Preparation Preparation Dimensions for installation S7-1200 devices Width A Width B ① CPU 1211C, CPU 1212C 90 mm 45 mm CPU 1214C 110 mm 55 mm ② 8 or 16 digital I/O 45 mm 22.5 mm Signal modules...
  • Page 33 Installation, connection and commissioning of the modules 4.2 Preparation Mounting position Note Mounting position On mounting, the upper and lower ventilation slots of the module must not be covered and good ventilation must be ensured. Above and below the module, a clearance of 25 mm must be maintained for air circulation as protection against overheating.
  • Page 34: Installation, Connection And Commissioning Of The As-I Master Cm 1243-2

    Installation, connection and commissioning of the modules 4.3 Installation, connection and commissioning of the AS-i master CM 1243-2 Installation, connection and commissioning of the AS-i master CM 1243-2 WARNING Dangerous voltage Can cause death, serious injury, or property damage. Always switch off the power before wiring the S7-1200. Step Execution Notes and explanations...
  • Page 35: Installation, Connection And Commissioning Of The As-I Data Decoupling Unit Dcm 1271

    Installation, connection and commissioning of the modules 4.4 Installation, connection and commissioning of the AS-i data decoupling unit DCM 1271 Installation, connection and commissioning of the AS-i data decoupling unit DCM 1271 WARNING Dangerous voltage Can cause death, serious injury, or property damage. Always switch off the power before wiring the S7-1200.
  • Page 36 Installation, connection and commissioning of the modules 4.5 Detecting ground faults with DCM 1271 Connection example The example below shows the terminal assignment when using the digital input "DI.0" of a SIMATIC S7-1211 CPU. The same power supply is used here for the inputs and for the data decoupling unit.
  • Page 37: Configuring With Step 7

    Version 11 or higher, Service Pack 2. If this AS-i master is not included in the hardware catalog of the program, you will need a "Hardware Support Package", which you can obtain from the Siemens Service & Support Internet site: Siemens Service & Support (http://support.automation.siemens.com/WW/view/en/47071380/133100)
  • Page 38: Step 7 Basic Configuration

    Configuring with STEP 7 5.2 STEP 7 basic configuration STEP 7 basic configuration Inserting the AS-i master CM 1243-2 in the S7-1200 station in STEP 7 The AS-i master CM 1243-2 is taken from the hardware catalog in STEP 7 HW Config in the same manner as any other module, and inserted in the rack of the S7-1200 station in the correct slot.
  • Page 39 Configuring with STEP 7 5.2 STEP 7 basic configuration System assignment for logical addresses During basic configuration, the parameter "System assignment" is automatically activated by STEP 7. This ensures that the system will automatically assign AS-i slave addresses to logical I/O addresses. A 62 byte address range is reserved by the AS-i master CM 1243-2 and you can specify its position in the process image with the "I/O addresses"...
  • Page 40: Configuring As-I Slaves

    Configuring with STEP 7 5.3 Configuring AS-i slaves Configuring AS-i slaves Advantages of configuring the slaves: If you configure the AS-i slaves (optional), you specify in STEP 7 those stations with which the AS-i master should communicate. There is then no need to load the slave configuration using the online function ACTUAL ->...
  • Page 41 ● Siemens AS-i slave Note Using AS-i slaves from Siemens When you use AS-i slaves from Siemens, you can select the slave directly from the hardware catalog. To configure an AS-i slave from another manufacturer, you must use the universal AS-i slave or the universal AS-i F-slave.
  • Page 42 ID. Configuring the properties of Siemens AS-i slaves When you use an AS-i slave from Siemens, you can select the slave directly from the hardware catalog. The differences as compared to the universal AS-i slave are as follows: ●...
  • Page 43: Online Functions

    Configuring with STEP 7 5.4 Online functions Online functions 5.4.1 Operating modes of the AS-i master CM 1243-2 The AS-i master CM 1243-2 has two operating modes: ● Configuration mode ● Protected mode Configuration mode Configuration mode is used for commissioning an AS-i installation. You switch the AS-i master CM 1243-2 in STEP 7 from protected mode (productive operation) to configuration mode.
  • Page 44: Switching Operating Mode

    Configuring with STEP 7 5.4 Online functions 5.4.2 Switching operating mode In STEP 7 "Online" > "Diagnostics" it is possible to switch between protected mode and configuration mode in the "Functions" section. There are two buttons: ● "Configuration mode" ● "Protected mode" It can be determined from the LEDs on the AS-i master CM 1243-2, and in STEP 7, which mode the AS-i master is in.
  • Page 45: Loading The Slave Configuration

    Configuring with STEP 7 5.4 Online functions 5.4.3 Loading the slave configuration Application This step is only necessary if no AS-i slaves have been configured in STEP 7. If a slave configuration has already been loaded into the AS-i master CM 1243-2, the function for loading the slave configuration will be deactivated by the system and can therefore not be selected.
  • Page 46: Addressing An As-I Slave

    Configuring with STEP 7 5.4 Online functions In protected mode the AS-i master CM 1243-2 then only exchanges I/O data with the detected AS-i slaves. The following data of the AS-i slaves is saved in non-volatile memory in the AS-i master CM 1243-2: ●...
  • Page 47: Data Exchange Between The User Program And As-I Slaves

    Data exchange between the user program and AS-i slaves In this section you will find information required to access the data of the AS-i slaves from the AS user program via the AS-i master CM 1243-2. This concerns the transfer of binary and analog values of the standard or A/B slaves via the AS I/O.
  • Page 48 Data exchange between the user program and AS-i slaves 6.1 Transferring AS-i digital values Access without configuration of the AS-i slaves with STEP 7 If you have not configured the AS-i slaves in STEP 7, you can access the AS-i digital values via the I/O area of the SIMATIC.
  • Page 49: Special Characteristics Of Combined Transaction Type Slaves

    Data exchange between the user program and AS-i slaves 6.1 Transferring AS-i digital values The assignment of the AS-i connections of the AS-i digital slaves to the data bits of the assigned byte is indicated in the inspector window of the AS-i master CM 1243-2: You can access the data of the AS-i slaves in the user program by means of the displayed I/O addresses with the appropriate bit logic operations (e.g.
  • Page 50: Special Characteristics Of As-I Safety Slaves

    Data exchange between the user program and AS-i slaves 6.2 Cyclic transfer of the slave data in the process image 6.1.3 Special characteristics of AS-i Safety slaves The AS-i master CM 1243-2 maps the following states in the process image of an input safety slave: Table 6- 1 Process image of an input safety slave...
  • Page 51: Transferring As-I Analog Values

    Data exchange between the user program and AS-i slaves 6.3 Transferring AS-i analog values Transferring AS-i analog values You can access analog data of an AS-i slave via cyclic services if you have configured this AS-i slave in STEP 7 as an analog slave (see section "Configuring AS-i slaves (Page 40)"). If you are not configuring any analog slaves, you can only access the data of the AS-i slave via the acyclic functions (see section "Accessing AS-i analog data via acyclic services (Page 52)").
  • Page 52: Accessing As-I Analog Data Via Acyclic Services

    Data exchange between the user program and AS-i slaves 6.3 Transferring AS-i analog values Representation of the analog values or the transparent values The analog values are to be interpreted as 16-bit values in two's complement. Information about the channel number and resolution is displayed for universal AS-i slaves in STEP 7 in the field "Configuration".
  • Page 53: Special Cases In Analog Value Transfer

    Data exchange between the user program and AS-i slaves 6.3 Transferring AS-i analog values 6.3.2 Special cases in analog value transfer ● In the input direction, in the case of failure of a slave or faulty AS-i communication, the AS-i master CM 1243-2 sends a substitute value: –...
  • Page 54 Data exchange between the user program and AS-i slaves 6.3 Transferring AS-i analog values AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 55: Using The Data Record Interface

    Using the data record interface Data record interface of the AS-i master CM 1243-2 Meaning and function With the help of the data record interface, you can completely control the response of the AS-i master via your user program. AS-i calls are read and written via the acyclic services. In the user program of the CPU S7-1200 you can use the blocks "RDREC"...
  • Page 56 Using the data record interface 7.1 Data record interface of the AS-i master CM 1243-2 Call parameters The following parameters must be assigned to specify the task. Table 7- 2 Parameters for reading / writing data records SIMATIC S7 (blocks RDREC / WRREC) Hardware ID (HW ID) of the AS-i master CM 1243-2 or AS-i slave.
  • Page 57 Using the data record interface 7.1 Data record interface of the AS-i master CM 1243-2 Device-specific errors of the AS-i master CM 1243-2 for the return value "Status" Table 7- 4 Error code in "STATUS[4]" of the return values of the AS-i master CM 1243-2 STATUS[4] Meaning Invalid CTT2 index...
  • Page 58: Description Of The As-I Line Calls And As-I Slave Calls

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Description of the AS-i line calls and AS-i slave calls 7.2.1 Description of the AS-i line calls and AS-i slave calls Overview The calls that the CPU of the S7 1200 can issue to the AS-i master CM 1243-2 are described below.
  • Page 59 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Name Function Index Data in the send or Description in section: (decimal) receive buffer Select automatic address enable Write Mode "Automatic address programming (Set_Auto_Addr_Enable) (Set_Auto_Addr_Enable) (Page 76)"...
  • Page 60 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Name Function Index Data in the send or Description (decimal) receive buffer Read AS-i slave status Read Status of the "Read AS-i slave status (Read_Status) AS-i slave (error (Read_Status) (Page 95)"...
  • Page 61: As-I Line Calls

    ID code, ID1 code, and ID2 code) in the manual "AS-Interface − Introduction and Basic Information" (Order No: 6GK1 971-2SA01-0AA0). The manual is available on the Internet (http://support.automation.siemens.com/WW/view/en/5581657). Exceptions There are a few AS-i slave types for which the AS-i master administers the slave parameterization itself.
  • Page 62: Configuring Actual Configuration Data (Store_Actual_Configuration)

    ID code, ID1 code, and ID2 code) in the manual "AS-Interface − Introduction and Basic Information" (Order No: 6GK1971-2SA01-0AA0). The manual is available on the Internet (http://support.automation.siemens.com/WW/view/de/1171856/0/en). AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200...
  • Page 63: Configure Lps (Set_Lps)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.3 Configure LPS (Set_LPS) Meaning This call transfers the list of configured AS-i slaves for non-volatile storage in the master. When this call is executed, the AS-i master CM 1243-2 switches to the offline phase and switches back to normal mode again (restart of the AS-i line).
  • Page 64: Read Lists And Flags (Get_Lps_Las_Lds_Lpf_Flags)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.4 Read lists and flags (Get_LPS_LAS_LDS_LPF_Flags) Meaning The following entries are read from the AS-i master CM 1243-2 with this call: ● List of configured AS-i slaves LPS ●...
  • Page 65 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Slave Slave Slave Slave Slave Slave Slave Slave 30/30A...
  • Page 66 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Slave 23B Slave 22B Slave 21B Slave 20B Slave 19B Slave 18B...
  • Page 67: Read Complete Configuration (Get_Las_Cdi_Pi_Flags)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Meaning of the flags Flag Meaning CONFIG_OK The flag is set when the planned configuration (configured) and the actual configuration match. LDS_0 The flag is set if an AS-i slave with operating address 0 is available. AUTO_ADDR_ASSIGN The flag is set if automatic address programming is possible (i.e.
  • Page 68 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Structure of the response data of the utility RDREC − Index 85 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0...
  • Page 69 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Parameter 30/30A Parameter 31/31A Reserved 0x00 Parameter 1B Parameter 2B Parameter 3B...
  • Page 70: Configure Complete Configuration (Set_Lps_Pcd_Pp_Flags)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.6 Configure complete configuration (Set_LPS_PCD_PP_Flags) Meaning With this call, the desired overall configuration of the AS-Interface is transferred to the AS-i master CM 1243-2 and stored in non-volatile memory as the planned configuration. This configures the AS-i master CM 1243-2.
  • Page 71 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Structure of the utility WRREC − Index 86 Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Version_hi = 0x00 Version_hi = 0x00...
  • Page 72 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Parameter 30/30A Parameter 31/31A Reserved 0x00 Parameter 1/1B Parameter 2/2B Parameter 3/3B...
  • Page 73: Set Operating Mode (Set_Operation_Mode)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.7 Set operating mode (Set_Operation_Mode) Meaning You can choose between "Configuration mode" and "Protected mode" with this call. In protected mode (operating mode), only those AS-i slaves are activated that are marked in the LPS and whose actual and planned configurations match, i.e.
  • Page 74: Set Offline Mode (Set_Offline_Mode)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.8 Set offline mode (Set_Offline_Mode) Meaning This call switches between online and offline mode. Online mode Online mode is the normal mode for the AS-i master. The following jobs are processed cyclically here: ●...
  • Page 75: Change As-I Slave Address (Change_Slave_Address)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.9 Change AS-i slave address (Change_Slave_Address) Meaning This call can be used to change the AS-i address of an AS-i slave. This call is used predominantly for adding a new AS-i slave with the default address "0" to the AS-Interface.
  • Page 76: Automatic Address Programming (Set_Auto_Addr_Enable)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.10 Automatic address programming (Set_Auto_Addr_Enable) Meaning The function "Automatic address programming" can be enabled or disabled for the AS-i slave of a line with this call (see also section "Replacing a defective AS-i slave / automatic address programming (Page 105)").
  • Page 77: Write As-I Slave Extended Id1 (Write_Extended_Id−Code_1)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.11 Write AS-i slave extended ID1 (Write_Extended_ID−Code_1) Meaning The extended ID1 code of an AS-i slave with the address "0" can be directly written via the AS-i cable with this call.
  • Page 78: Read As-I Line Analog Input Data (Read_Aidi)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.12 Read AS-i line analog input data (Read_AIDI) Meaning This call reads out the process image of the analog input data of the AS-i line of an AS-i master.
  • Page 79 Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Access to analog values of an AS-i line via data records Address of AS-i slave Start addresses for analog values in data record 25 or 26 Examples for accesses: Analog channel 1 is accessed by Slave 7 with an offset of 50.
  • Page 80: Write As-I Line Analog Output Data (Write_Aodi)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.2.13 Write AS-i line analog output data (Write_AODI) Meaning This call writes the process image of the analog output data of the AS-i line of an AS-i master.
  • Page 81: As-I Slave Calls

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Note Write access to analog data Write accessing of the analog data of an AS-i slave cannot be performed if the slave was configured using STEP 7. 7.2.3 AS-i slave calls 7.2.3.1...
  • Page 82: Read Configured Parameter Value (Get_Permanent_Parameter)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.2 Read configured parameter value (Get_Permanent_Parameter) Meaning With this call, the slave-specific parameters stored in the AS-i master CM 1243-2 are read. The job cannot be used for all slaves of the Combined Transaction Type. Structure of the utility RDREC −...
  • Page 83: Write Parameter Value (Write_Parameter)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.3 Write parameter value (Write_Parameter) Meaning The parameters transferred in the call are forwarded to the addressed AS-i slave. The parameters are stored in non-volatile memory on the AS-i master CM 1243-2. The AS-i slave transfers its current status as a parameter echo in the response.
  • Page 84: Read Parameter Value (Read_Parameter)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.4 Read parameter value (Read_Parameter) Meaning This call reads the current parameter of an AS-i slave from the AS-i master CM 1243-2. This value must not be confused with the parameter echo in section "Read parameter echo (Get_Write_Parameter_Echo) (Page 96)", which the AS-i slave supplies as a response to the job "Write parameter value".
  • Page 85: Read Configuration Data (Get_Permanent_Configuration)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls Note Non-executable function for previously loaded AS-i slave configuration The function cannot be performed when an AS-i slave configuration has already been loaded from STEP 7 into the AS-i master CM 1243-2. Structure of the utility WRREC −...
  • Page 86: Read Actual Configuration Data (Read_Actual_Configuration)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.7 Read actual configuration data (Read_Actual_Configuration) Meaning The following configuration data (CDI) of an addressed AS-i slave determined by the AS-i master on the AS-Interface is read with this call: ●...
  • Page 87: Read As-I Slave Parameter String (Read_Parameter_String)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.8 Read AS-i slave parameter string (Read_Parameter_String) Meaning For AS-i slaves with the profile 7.4, this call can be used to read a parameter string from the AS-i slave with the specified AS–i slave address.
  • Page 88: Write As-I Slave Parameter String (Write_Parameter_String)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.9 Write AS-i slave parameter string (Write_Parameter_String) Meaning For AS-i slaves with the profile 7.4, this call can be used to send a parameter string to the AS-i master, which forwards it to the specified AS-i slave address.
  • Page 89: Read As-I Slave Diagnostics String (Read_Diagnostic_String)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.10 Read AS-i slave diagnostics string (Read_Diagnostic_String) Meaning For AS-i slaves with the profile 7.4, this call can be used to read a diagnostic string from the AS-i slave with the specified AS-i slave address.
  • Page 90: Read As-I Slave Id String (Read_Identification_String)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.11 Read AS-i slave ID string (Read_Identification_String) Meaning For AS-i slaves with the profile 7.4, this call can be used to read an identification string from the AS-i slave with the specified AS-i slave address.
  • Page 91: Write Ctt2 Request (Write_Ctt2_String)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.12 Write CTT2 request (Write_CTT2_String) Meaning This call is used to send a CTT2 request according to the AS-i slave profile "CombinedTransationType2" to the AS-i master with a byte string. The master forwards the string bytes to the AS-i slave address specified in the send buffer.
  • Page 92: Read Ctt2 Request (Read_Ctt2_String)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.13 Read CTT2 request (Read_CTT2_String) Meaning This call is used to read an acyclic CTT2 request from an AS-i slave according to the AS-i slave profile "CombinedTransationType2". The request that was written with the call "Write CTT2 request"...
  • Page 93: Read As-I Slave I/O (Read_I/O_Configuration)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.14 Read AS-i slave I/O (Read_I/O_Configuration) Meaning The I/O configuration of an AS-i slave can be read out directly over the AS-i cable with this call.
  • Page 94: Read As-I Slave Extended Id1 (Read_Extended_Id−Code_1)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.16 Read AS-i slave extended ID1 (Read_Extended_ID−Code_1) Meaning The extended ID1 code of an AS-i slave can be read out directly over the AS-i cable with this call.
  • Page 95: Read As-I Slave Status (Read_Status)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.18 Read AS-i slave status (Read_Status) Meaning The status register of the addressed AS-i slave can be read out with this call. The flags of the status register have the following meaning depending on the type of the AS-i slave: Status bit AS-i slave according to standard 2.0...
  • Page 96: Read Parameter Echo (Get_Write_Parameter_Echo)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.19 Read parameter echo (Get_Write_Parameter_Echo) Meaning With the call "Get_Write_Parameter_Echo", the echo values for an AS-i slave are output as a response to a "Write_Parameter" call (section "Write parameter value (Write_Parameter) (Page 83)").
  • Page 97: Write As-I Slave Analog Output Data (Write_Analog_Output_Data)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.20 Write AS-i slave analog output data (Write_Analog_Output_Data) Meaning This call writes the analog output data of an AS-i slave. Note Write access to analog data Write accessing of the analog data of an AS-i slave cannot be performed when the slave was configured using STEP 7.
  • Page 98: Read As-I Slave Analog Input Data (Read_Analog_Input_Data)

    Using the data record interface 7.2 Description of the AS-i line calls and AS-i slave calls 7.2.3.21 Read AS-i slave analog input data (Read_Analog_Input_Data) Meaning This call reads the analog input data of an AS-i slave. Structure of the utility RDREC − Index 83 Byte Meaning Bit 7...
  • Page 99: Diagnostics

    Diagnostics Overview Diagnostics options The following diagnostics options are available for the AS-i master CM 1243-2: ● LEDs on the module ● Diagnostics in STEP 7 (online presentation of the network and device view, diagnostics buffer) ● Alarm messages in user program ●...
  • Page 100 Diagnostics 8.2 Diagnostics in STEP 7 STEP 7 offers several possibilities for requesting the diagnostic information of the AS-i master: ● In the network view of the device configuration, special diagnostic symbols indicate the status of the AS-i master and the AS-i slave. Red symbols indicate an error, green symbols indicate the "good"...
  • Page 101: Alarms

    Diagnostics 8.3 Alarms Alarms Alarms The AS-i master CM 1243-2 sends a diagnostic interrupt request to the CPU in the following situations: ● The AS-i master CM 1243-2 has detected a problem - for example, failure of a slave (incoming event). ●...
  • Page 102 Diagnostics 8.3 Alarms If you have not configured any slaves in STEP 7, you will find the hardware IDs for the slaves in the address overview of the inspector window: Figure 8-2 Address overview of the inspector window Line-specific diagnostic interrupts (e.g. AS-i POWER FAIL) are signaled using the hardware ID (HW ID) of the AS-i interface.
  • Page 103: Possible Response To The Diagnostic Interrupt

    Diagnostics 8.3 Alarms 8.3.1 Possible response to the diagnostic interrupt Possible response to the diagnostic interrupt Diagnostic events of the AS-i master and all AS-i slaves are signaled by means of OB 82 (e.g. no voltage on AS-Interface, I/O error). Note Diagnostic buffer Please note that OB 82 is only called for the first error event.
  • Page 104: Diagnostic Data Records

    Diagnostics 8.4 Diagnostic data records Diagnostic data records Further diagnostics information can be read out from the AS-i master CM 1243-2 using the data record interface. The table below provides an overview of the data records that can be used for this purpose: Table 8- 1 Diagnostic data blocks Name...
  • Page 105: Troubleshooting / Fault Displays

    Troubleshooting / fault displays Replacing a defective AS-i slave / automatic address programming Easy replacement of AS-i slaves The "Automatic address programming" function makes it particularly easy for you to replace defective AS-i slaves. Note It is important to note that "Automatic address programming" is only possible when the AS-i master CM 1243-2 is in protected mode and only one AS-i slave of a particular type has failed.
  • Page 106: Fault Indications/Fault Remedies

    Troubleshooting / fault displays 9.2 Fault indications/fault remedies Fault indications/fault remedies Fault indications/remedies for faults on the AS-i master CM 1243-2 Below is a list of possible fault indications and potential remedial measures when operating the AS-i master CM 1243-2. Fault Possible cause Remedy...
  • Page 107 Troubleshooting / fault displays 9.2 Fault indications/fault remedies Fault Possible cause Remedy The AS-i master CM 1243-2 does not An AS-i slave with address 0 is Remove the AS-i slave with the switch from configuration mode to connected to the AS-i cable. address 0.
  • Page 108 Troubleshooting / fault displays 9.2 Fault indications/fault remedies Fault indications/fault remedies for the data decoupling unit DCM 1271 Below is a list of possible fault indications and potential remedial measures when operating the AS-i data decoupling unit DCM 1271. Fault Possible cause Remedy DIAG LED is off...
  • Page 109: Technical Data

    Technical data Technical data for the AS-i master CM 1243-2 3RK7243-2AA30-0XB0 Protection class IP IP20 Insulation voltage rated value Ambient temperature if installed on vertical mounting rail °C 0 … 45 during operation • Ambient temperature if installed on horizontal mounting rail °C 0 …...
  • Page 110 Technical data 3RK7243-2AA30-0XB0 Transfer rate of the AS-interface maximum bit/s 167 000 Module format S7-1200 design Width Height Depth Type of mounting snap-on fastening on 35 mm standard rail Type of data transmission S7-1200 backplane bus Type of projection of the AS-interface With STEP 7, command interface Type of voltage supply via backplane bus...
  • Page 111: As-I Cycle Time

    Technical data 10.1 AS-i cycle time 3RK7243-2AA30-0XB0 Product function diagnosis via E-mail • All product versions adapted for AS-i Power24V comment • adapted for AS-i Power24V • galvanic isolation • web-based management • Access to analog I/O data via process diagram/peripheral addresses and data record transfer Access to digital I/O data via process diagram/peripheral...
  • Page 112 Technical data 10.1 AS-i cycle time Bestell-Nr. 3RK7271-1AA30-0AA0 Design of the short-circuit protection electronic Design of the electrical connection for auxiliary and control current screw-type terminals circuit Operating current of the auxiliary contacts at DC-13 at 24 V 0.05 Output voltage 1 for DC •...
  • Page 113 Technical data 10.1 AS-i cycle time Bestell-Nr. 3RK7271-1AA30-0AA0 Product function removable terminal for auxiliary and control circuit • AS-interface data decoupling • self-reset • short-circuit to earth recognition • adapted for AS-i Power24V • adapted for grounded AS-i networks • adapted for non-grounded AS-i networks •...
  • Page 114 Technical data 10.1 AS-i cycle time AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 115: As-Interface Protocol Implementation Conformance Statements

    AS-Interface Protocol Implementation Conformance Statements AS-Interface Protocol Implementation Conformance Statement (PICS) PICS for the AS-i master CM 1243-2 Vendor SIEMENS AG Product name AS-i master CM 1243-2 Order number 3RK7 243-2AA30-0XB0 Firmware version V1.0 Master profile Date 01.12.2011 List of available master functions...
  • Page 116 AS-Interface Protocol Implementation Conformance Statements A.1 AS-Interface Protocol Implementation Conformance Statement (PICS) Function or call to the host interface (symbolic Remark / implementation of the function with representation) See Section "Description of the AS-i line calls Status, Config = Read_Actual_Configuration (Addr) and AS-i slave calls (Page 58)".
  • Page 117 AS-Interface Protocol Implementation Conformance Statements A.1 AS-Interface Protocol Implementation Conformance Statement (PICS) Function or call to the host interface (symbolic Remark / implementation of the function with representation) Status = See Section "Description of the AS-i line calls Write_Extended_ID−Code_11(S_Ext_ID−Code_1) and AS-i slave calls (Page 58)". Not implemented AImage, Status = Read_AIDI() See section Description of the AS-i line calls...
  • Page 118 AS-Interface Protocol Implementation Conformance Statements A.1 AS-Interface Protocol Implementation Conformance Statement (PICS) AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 119: Dimension Drawings

    Dimension drawings Dimension drawing AS-i master CM 1243-2 Figure B-1 Dimension drawing of AS-i master CM 1243-2 Note All dimensions in the drawings are in millimeters. Dimension drawing for AS-i data decoupling unit DCM 1271 Figure B-2 Dimension drawing of the AS-i data decoupling unit DCM 1271 Note All dimensions in the drawings are in millimeters.
  • Page 120 Dimension drawings B.2 Dimension drawing for AS-i data decoupling unit DCM 1271 AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 121: Approvals

    Approvals Overview of approvals and standards The AS-i master CM 1243-2 and the AS-i data decoupling unit DCM 1271 have the following approvals and meet the following standards: ● cULus LISTED IND. CONT. EQ. ● FM ● ATEX: DEKRA 11ATEX0225X ●...
  • Page 122 ● EU directive 94/9/EC "Equipment and protective systems intended for use in potentially explosive atmospheres" (ATEX Explosion Protection Directive) – EN 60079-15:2005: Type of protection 'n': The EC Declaration of Conformity is available for all responsible authorities at: Siemens AG Industry Automation Industrial Communication SIMATIC NET PO Box 2355...
  • Page 123 Approvals FM certification Factory Mutual Research (FM): certification standard class number 3600 and 3611 Approved for use in: Class I, Division 2, Gas Group A, B, C, D, Temperature Class T4A Class I, Zone 2, IIC, Temperature Class T4, Ta = 55 °C ATEX approval EN 60079-0:2009: Potentially explosive atmosphere - general requirements EN 60079-15:2010: Electrical apparatus for explosive gas atmospheres;...
  • Page 124 The S7-1200 products are regularly submitted to the relevant authorities for approvals relating to specific markets and applications. If you require a list of the current approvals for individual devices, consult your Siemens contact. Classification authorities: ● ABS (American Bureau of Shipping) ●...
  • Page 125 Approvals Electromagnetic compatibility (EMC) The electromagnetic compatibility (EMC) of an electrical device is its capability of functioning as intended in an electromagnetic environment without emitting electromagnetic interference that could impair the operation of other electrical devices in the vicinity. Electromagnetic compatibility - immunity EN 61000-4-2 8 kV air discharge to all surfaces Electrostatic discharge...
  • Page 126 Approvals Environmental conditions Environmental conditions - transportation and storage EN 60068-2-2, Test Bb, dry heat and -40 °C to +70 °C EN 60068-2-1 Test Ab, cold EN 60068-2-30, Test Db, damp heat 25 °C to 55 °C, 95% humidity EN 60068-2-14, Test Na, temperature shock -40 °C to +70 °C, dwell time 3 hours, 2 cycles EN 60068-2-32 Free fall 0.3 m, five times, in product packaging...
  • Page 127: List Of References

    Internet address of the AS-International Association: http:/www.as-interface.net ● SIMATIC NET Industrial Communication for Automation and Drives Catalog IK PI, Catalog IC 10, Catalog ST 70 The catalog can be obtained from any Siemens branch office or national company. ● SIMATIC S7-1200 System Manual (http://support.automation.siemens.com/WW/view/de/36932465/0/en) (order...
  • Page 128 ST70". These catalogs as well as additional information can be requested from the local Siemens branch offices and national companies. You will find many of the Siemens AG manuals on the Siemens Customer Support Internet site for automation: http://support.automation.siemens.com Enter the ID of the manual here as a search term. The ID is quoted in the reference in brackets.
  • Page 129: Notes On Ce Marking

    The above product fulfills the requirements of the EU EMC Directive 2004/108/EU "Electromagnetic compatibility" The EU declaration of conformity is kept available for the competent authorities in accordance with the above-named EU directives at: Siemens AG / I IA CE CP Werner-von-Siemens-Straße 48 92220 Amberg, Germany Field of application...
  • Page 130 Notes on CE marking AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 131: Glossary

    Glossary AS-i Power Fail. Flag or LED display that indicates that the supply voltage on the AS-i cable is too low or has failed (e.g. failure of the AS-i power supply unit). AS-i (AS-Interface) Actuator-sensor interface. A networking system for the lowest field level of the automation level.
  • Page 132 Glossary AS-i slave All stations that can be addressed by an AS-i master are referred to as AS-i slaves. AS-i slaves are distinguished according to their design (AS-i modules as well as sensors or actuators with integrated AS-i connection) and their addressing mode (AS-i standard slave and AS-i A/B slave with extended addressing mode).
  • Page 133 Glossary List of Activated Slaves List of Detected Slaves A light-emitting diode that is used to display the signal status. List of Peripheral Faults List of Projected Slave Peripheral fault Protected mode In protected mode, the AS-i master only exchanges data with the configured AS-i slaves. "Configured"...
  • Page 134 Glossary AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200 Manual, 04/2013, A5E02655230010A/RS-AA/003...
  • Page 135: Index

    Index Environmental conditions Operation, 126 Transport and storage, 126 EPROM_OK, 67 Analog value channel, 51 APF, 67 Approvals, 121 FAQs, 6 ATEX approval, 123 CE declaration of conformity, 122 C-Tick approval, 123 cULus approval, 122 Electromagnetic compatibility, 121 Ground fault detection, 13 Electromagnetic compatibility (EMC), 125 EMC interference, 125 EMC interference immunity, 125...
  • Page 136 Index Parity error, 95 Peripheral fault, 95 PERIPHERY_OK, 67 Protected mode, 43 Protection class, 126 Reading error, 95 Recognizing a defective AS-i slave, 105 Replacing a defective AS-i slave, 105 Return value, 56 Safety instructions Connecting or disconnecting, 11 For use in hazardous areas, 30 Protection from transient overvoltage, 11 Safety Extra Low Voltage, 29 Screw-type terminal blocks...
  • Page 138 Contact for all technical information: Technical Assistance Tel.: +49 (911) 895-5900 e-mail: technical-assistance@siemens.com www.siemens.com/sirius/technical-assistance Siemens AG Subject to change without prior notice Industry Sector Order No.: 3ZX1012-0RK71-1AC1 Postfach 23 55 90713 FUERTH © Siemens AG 2011 GERMANY AS-Interface www.siemens.com/automation...

This manual is also suitable for:

As-i dcm 1271

Table of Contents