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.
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)
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...
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...
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"...
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: ●...
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...
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...
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.
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...
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...
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...
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...
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.
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...
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.
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)
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"...
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: ●...
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.
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.
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.
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: ●...
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.
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.
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...
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)").
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".
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...
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...
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)"...
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.
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...
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).
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...
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...
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...
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.
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: ●...
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.
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)").
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.
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.
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.
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...
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 −...
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.
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".
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 −...
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: ●...
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.
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.
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.
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.
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.
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"...
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.
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.
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...
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)").
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.
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...
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"...
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.
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.
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...
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.
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...
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...
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...
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...
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...
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...
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.
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...
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...