Table of contents
AS-i master CM 1243-2 and AS-i data decoupling unit DCM 1271 for SIMATIC S7-1200
8 Manual, 04/2013, A5E02655230010A/RS-AA/003
6 Data exchange between the user program and AS-i slaves .................................................................... 47
6.1 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
6.2 Cyclic transfer of the slave data in the process image ............................................................... 50
6.3 Transferring AS-i analog values .................................................................................................. 51
6.3.1 Accessing AS-i analog data via acyclic services ........................................................................ 52
6.3.2 Special cases in analog value transfer ....................................................................................... 53
7 Using the data record interface ................................................................................................................ 55
7.1 Data record interface of the AS-i master CM 1243-2 .................................................................. 55
7.2 Description of the AS-i line calls and AS-i slave calls ................................................................. 58
7.2.1 Description of the AS-i line calls and AS-i slave calls ................................................................. 58
7.2.2 AS-i line calls ............................................................................................................................... 61
7.2.2.1 Configuring actual parameter values (Store_Actual_Parameters) .............................................. 61
7.2.2.2 Configuring actual configuration data (Store_Actual_Configuration) .......................................... 62
7.2.2.3 Configure LPS (Set_LPS) ........................................................................................................... 63
7.2.2.4 Read lists and flags (Get_LPS_LAS_LDS_LPF_Flags) .............................................................. 64
7.2.2.5 Read complete configuration (Get_LAS_CDI_PI_Flags) ............................................................ 67
7.2.2.6 Configure complete configuration (Set_LPS_PCD_PP_Flags) ................................................... 70
7.2.2.7 Set operating mode (Set_Operation_Mode) ............................................................................... 73
7.2.2.8 Set offline mode (Set_Offline_Mode) .......................................................................................... 74
7.2.2.9 Change AS-i slave address (Change_Slave_Address) .............................................................. 75
7.2.2.10 Automatic address programming (Set_Auto_Addr_Enable) ....................................................... 76
7.2.2.11 Write AS-i slave extended ID1 (Write_Extended_ID−Code_1) ................................................... 77
7.2.2.12 Read AS-i line analog input data (Read_AIDI) ........................................................................... 78
7.2.2.13 Write AS-i line analog output data (Write_AODI) ........................................................................ 80
7.2.3 AS-i slave calls ............................................................................................................................ 81
7.2.3.1 Configure parameter value (Set_Permanent_Parameter) .......................................................... 81
7.2.3.2 Read configured parameter value (Get_Permanent_Parameter) ............................................... 82
7.2.3.3 Write parameter value (Write_Parameter) .................................................................................. 83
7.2.3.4 Read parameter value (Read_Parameter) .................................................................................. 84
7.2.3.5 Configure configuration data (Set_Permanent_Configuration) ................................................... 84
7.2.3.6 Read configuration data (Get_Permanent_Configuration) .......................................................... 85
7.2.3.7 Read actual configuration data (Read_Actual_Configuration) .................................................... 86
7.2.3.8 Read AS-i slave parameter string (Read_Parameter_String) ..................................................... 87
7.2.3.9 Write AS-i slave parameter string (Write_Parameter_String) ..................................................... 88
7.2.3.10 Read AS-i slave diagnostics string (Read_Diagnostic_String) ................................................... 89
7.2.3.11 Read AS-i slave ID string (Read_Identification_String) .............................................................. 90
7.2.3.12 Write CTT2 request (Write_CTT2_String) ................................................................................... 91
7.2.3.13 Read CTT2 request (Read_CTT2_String) .................................................................................. 92
7.2.3.14 Read AS-i slave I/O (Read_I/O_Configuration)........................................................................... 93
7.2.3.15 Read AS-i slave ID (Read_ID−Code).......................................................................................... 93
7.2.3.16 Read AS-i slave extended ID1 (Read_Extended_ID−Code_1) ................................................... 94
7.2.3.17 Read AS−i slave extended ID2 (Read_Extended_ID−Code_2) .................................................. 94
7.2.3.18 Read AS-i slave status (Read_Status) ........................................................................................ 95
7.2.3.19 Read parameter echo (Get_Write_Parameter_Echo) ................................................................. 96
7.2.3.20 Write AS-i slave analog output data (Write_Analog_Output_Data)............................................. 97
7.2.3.21 Read AS-i slave analog input data (Read_Analog_Input_Data) ................................................. 98