Page 1
Manual SIMATIC ET 200SP AS-Interface Master CM AS-i Master ST 3RK7137-6SA00-0BC1 Edition 07/2017 siemens.com...
Page 3
___________________ Foreword ___________________ Documentation guide ___________________ SIMATIC Safety instructions ___________________ Product overview ET 200SP AS-Interface master CM AS-i ___________________ Master ST (3RK7137-6SA00-0BC1) Connection ___________________ Configuring Manual ___________________ Parameter assignment/addressing ___________ Data exchange between the user program and AS-i slaves ___________________ Alarms, faults and system events ___________________...
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.
This device manual supplements the "ET 200SP Distributed I/O System" System Manual. Functions that pertain generally to the ET 200SP can be found in the "ET 200SP distributed I/O system (http://support.automation.siemens.com/WW/view/en/58649293/0/en)" System Manual. The information provided in this device manual and the system manual enables you to commission the ET 200SP distributed I/O system.
Page 6
Foreword AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
Table of contents Foreword ..............................5 Documentation guide ..........................11 Safety instructions ........................... 13 Product overview ............................. 15 Characteristics of the CM AS-i Master ST ................15 Operating modes of the CM AS-i Master ST ................19 Firmware update ........................21 Connection ..............................
Page 8
Table of contents 7.2.2 I/O addresses without configuration of the AS-i slaves in STEP 7 ........50 7.2.3 Special characteristics of AS-i Safety slaves ................. 55 AS-i analog values and transparent / digital values more than 4 bits in length are transferred ..........................
Page 9
No. D1: AS-i-Slave_ID1_schreiben_mit_Zieladresse (Write ID1 code with destination address) ..........................160 Technical data ............................161 10.1 Technical data in Siemens Industry Online Support ............. 161 AS-Interface Protocol Implementation Conformance Statements ............163 AS-Interface Protocol Implementation Conformance Statement (PICS) ......163 Readme Open Source Software ......................167 Read_me OSS ........................
Page 10
Table of contents Glossary ..............................175 Index ..............................181 AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
The following paragraph gives you an overview of the additional documentation you need to use the CM AS-i Master ST. The documentation for the SIMATIC ET 200SP distributed I/O system is subdivided into three areas. This enables you to access the required content quickly.
Page 12
Table 1- 1 Documentation for the ET 200SP distributed I/O system with the CM AS-i master ST Component Documentation Most important contents ① System SIMATIC ET 200SP ET 200SP distributed I/O system Application planning • (http://support.automation.siemens.com/WW/view/en/58649293/0/en) Installation • SIMATIC distributed I/O (http://w3.siemens.com/mcms/industrial-...
Safety instructions Important safety instructions WARNING Failure to observe this information may result in death, severe injury, and serious property damage. For use in Pollution Degree 2 Environment. WARNING Failure to observe this information may result in death, severe injury, and serious property damage.
Page 14
Safety instructions WARNING Failure to observe this information may result in death, severe injury, and serious property damage. The equipment is designed for operation with Safety Extra-Low Voltage (SELV) by a Limited Power Source (LPS). This means that only SELV / LPS complying with IEC 60950-1, EN 60950-1, VDE 0805-1 must be connected to the power supply terminals.
24 V DC is used, it must be ensured that the connected AS-i components and sensors are designed for operation with the corresponding lower voltage. You will find further information on the Internet at: AS-Interface (http://www.siemens.com/as-interface). AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
Page 16
Interface Module (IM) of the ET 200SP or the utilized ET 200SP CPU. In a SIMATIC ET 200SP station with an IM 155-6 PN ST standard interface module and a maximum address space of 256 bytes, up to eight CM AS-i Master ST modules can be plugged in (when the I/O address space is configured as 32 bytes).
Page 17
Product overview 3.1 Characteristics of the CM AS-i Master ST View of the module Figure 3-1 View of the CM AS-i Master ST Properties ● Technical properties – AS-i master acc. to AS-Interface Specification 3.0 – Transmission of digital I/O values to cyclic process image –...
Page 18
Product overview 3.1 Characteristics of the CM AS-i Master ST For additional information, see product announcement for: CM AS-i Master ST (https://support.industry.siemens.com/cs/ww/en/view/72865595) Table 3- 2 Version dependence of the CM AS-i Master ST functions Function Firmware version of the module...
Product overview 3.2 Operating modes of the CM AS-i Master ST Operating modes of the CM AS-i Master ST The AS-i master has two operating modes: ● "Configuration mode" ● "Protected operation" "Configuration mode" "Configuration mode" can be used for commissioning an AS-i installation. You can also use "configuration mode"...
Page 20
Product overview 3.2 Operating modes of the CM AS-i Master ST Changeover between "configuration mode" and "protected operation" You can change between "configuration mode" and "protection operation" in one of the following ways: ● By switching the operating mode using the "Online functions in the TIA Portal (Page 37)". ●...
Following a firmware update, mark the current firmware version on the housing of the CM AS-i Master ST. Current firmware updates are available on the Internet for download (https://support.industry.siemens.com/cs/ww/en/view/108742051). Pay careful attention to the information on performing the firmware update contained in the download entry.
Page 22
Product overview 3.3 Firmware update LED behavior after a successfully completed firmware update When the TIA Portal is used, an error-free firmware update is indicated by the message that the firmware was successfully transferred. Note Confirming a message after an error-free firmware update You must confirm the message using the button before you continue.
Page 23
Product overview 3.3 Firmware update Note For operation of the CM AS-i Master ST module in an ET 200SP configuration with an ET 200SP CPU in place of an interface module (IM), the following minimum requirements of the firmware and software versions apply: •...
Page 24
Product overview 3.3 Firmware update LED behavior in the event of an error during a firmware update If an error occurs during the firmware update, the LEDs assume the following status: ● DIAG flashes red ● PWR is lit green ●...
Connection Terminal assignment Requirements For connecting, you require a BaseUnit: ● Type C0 (light BaseUnit, e.g., item number 6ES7193-6BP20-0DC0) Note that, within a BaseUnit group for AS-i consisting of light and dark BaseUnits, only the AS-i modules CM AS-i Master ST and F-CM AS-i Safety ST may be combined. Other I/O module types of the ET 200SP must always be separated from the BaseUnit group for AS-i using light BaseUnits.
Page 26
Use two wires routed in parallel for connecting the button (not included in the scope of delivery). See also "ET 200SP Distributed I/O System" System Manual (http://support.automation.siemens.com/WW/view/en/58649293/0/en) "ET 200SP BaseUnits" Manual (http://support.automation.siemens.com/WW/view/en/59753521/0/en) AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
Connection 4.2 Schematic circuit diagram Schematic circuit diagram Schematic circuit diagram Figure 4-1 Circuit diagram of the CM AS-i Master ST 1L, 2L are connected through in the BaseUnit. 1N, 2N are connected through in the BaseUnit. Connection to power busbars The following are connected via the CM AS-i Master ST: ●...
Page 28
● Residual ripple < 250 mVpp ● Limiting of output voltage to max. 40 V in the event of a fault The Siemens power supply units for AS-Interface meet these requirements (see operating instructions of the power supply unit). Use an AS-Interface power supply unit (with integrated data decoupling) or a combination of a standard power supply unit and a data decoupling module.
(TIA Portal): You can find additional information on the HSP and download it in Internet (https://support.industry.siemens.com/cs/ww/en/view/108742051). Download the GSD file from the internet: PROFINET GSD file (https://support.industry.siemens.com/cs/ww/en/view/57138621) PROFIBUS GSD file (https://support.industry.siemens.com/cs/ww/en/view/73016883) STEP 7 Observe the online help or the documentation of the configuration software manufacturer.
Configuring 5.2 Basic configuration of the CM AS-i Master ST Configuring the AS-i system requires two steps: 1. Basic configuration of the AS-i master (Basic configuration of the CM AS-i Master ST (Page 30)) 2. Configuration of the AS-i slaves Configuring the AS-i slaves includes defining the slave modules and, if necessary, assigning the slave operating parameters.
Configuring 5.3 Configuration of the AS-i slaves Configuration of the AS-i slaves 5.3.1 Configuration of the AS-i slaves in STEP 7 During configuration of the AS-i slaves, you specify the stations that the AS-i master is to STEP 7 communicate with in STEP 7 Configuration in provides the following advantages:...
Page 32
Configuring 5.3 Configuration of the AS-i slaves Option 1: Selection from the hardware catalog STEP 7 To configure the AS-i slaves, open the hardware catalog in STEP 7 (TIA Portal): STEP 7 (TIA Portal), you will find the AS-i slaves under "Field devices". 1.
Page 33
● The underlying slave profile is already set. The IO, ID and ID2 identifiers do not need to be entered. Parameter bits that are irrelevant for the Siemens slave are set to the default value "1". They cannot be changed.
Configuring 5.3 Configuration of the AS-i slaves Configuring the properties of universal AS-i slaves When configuring with the universal AS-i slave or universal AS-i F slave, you must make the following settings: ● Profile identification of the AS-i slave (IO, ID, ID2) ●...
Page 35
Configuring 5.3 Configuration of the AS-i slaves Requirements Ensure the following states exist: 1. The CPU is in "STOP" state or the bus is disconnected from the IM module of the ET 200SP. 2. The AS-i master and all AS-i slaves are connected to the AS-Interface and supplied with voltage.
Configuring 5.3 Configuration of the AS-i slaves 5.3.3 Configuration of the AS-i slaves via the control panel in the TIA Portal You can also execute the functionality of the "SET" button described in Section "Configuration of the AS-i slaves using the "SET" button (Page 34)" via the control panel in STEP 7 When configuring the AS-i slaves over the control panel in TIA Portal, if no slaves are connected to AS-Interface, the CONFIGURED configuration in the master is deleted along...
Configuring 5.4 Online functions in the TIA Portal Online functions in the TIA Portal 5.4.1 Switching from one operating mode to another STEP 7 "Online" > "Diagnostics", you can switch between "protected operation" and "configuration mode" under "Functions". There are two buttons: ●...
Configuring 5.4 Online functions in the TIA Portal 5.4.2 Applying the slave configuration Application STEP 7 This step is only necessary if AS-i slaves have not been configured in and the configuration of the AS-i slaves is not performed using the "SET" button. STEP 7 If AS-i slaves have already been configured in and the slave configuration has been...
Configuring 5.5 Variable configuration 5.4.3 Setting the address of an AS-i slave In the "Online" > "Diagnostics" window, you can assign a new address to an AS-i slave using a selection menu and the "Execute addressing" button. Only free AS-i addresses are available here.
Configuring 5.5 Variable configuration Procedure STEP 7 STEP 7 1. Define the AS-i slaves in (TIA Portal) > Network view or in V5.5 > "HW Config". 2. Specify whether option handling is enabled for each AS-i slave. 3. In the user program, you can activate or deactivate AS-i slaves for which option handling is activated during runtime.
Configuring 5.5 Variable configuration Note Identical entries in each list If a "1" is entered for an AS-i slave in both lists, the slave will be deactivated. Note Activated/deactivated status of the optional slaves The activated/deactivated status of the optional slaves is stored in non-volatile memory of the master and is retained even if a new configuration is downloaded to the master.
Configuring 5.5 Variable configuration 5.5.2 AS-i proxy slave Description A proxy slave is used to represent any given slave. This means you define the I/O addresses in the PLC program in advance. You define the slave itself at runtime. Procedure STEP 7 ●...
Parameter assignment/addressing Parameters Parameters of the AS-i master Table 6- 1 Assignable parameters and their default setting (GSD file) Parameters Value range Default Diagnostic interrupt in case of errors in AS-i configuration Enable Enable • Disable • Diagnostic interrupt in case of AS-i cable fault Enable Enable •...
Parameter assignment/addressing 6.2 Explanation of the parameters Explanation of the parameters Diagnostic interrupt if AS-i configuration error: With this parameter, you specify whether AS-i configuration errors will be signaled to the higher-level system. The following are signaled as a configuration error: ●...
Data exchange between the user program and AS-i slaves Access to AS-Interface The distributed I/O system communicates with the AS-i slaves via the CM AS-i Master ST. The AS-i communication objects are mapped onto a continuous data area for input and output data.
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Address overview In the Properties dialog box of module CM AS-i master ST under "I/O Addresses", you can call up an address overview in which the I/O addresses are assigned to the AS-i slaves (as of TIA Portal V14 SP1 extended for any configuration) Transmitting AS-i digital values A missing or failed digital slave results in the substitute value 0 in the input data.
Page 47
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Arrangement of the AS-i slaves in the process image (Sort) In TIA Portal V14 SP1 and higher, the arrangement of the AS-i slaves in the process image can be sorted automatically.
Page 48
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Table 7- 1 Bit assignment per digital slave (CLASSIC sorting) Byte number Bit 7 … 4 Bit 3 … 0 Bit 3 Bit 2 Bit 1 Bit 0 Bit 3 Bit 2...
Page 49
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Table 7- 2 Bit assignment per digital slave (LINEAR sorting) Byte number Bit 7 … 4 Bit 3 … 0 Bit 3 Bit 2 Bit 1 Bit 0 Bit 3 Bit 2...
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Status information in input process image To provide a quick summary diagnosis, the following status information can optionally be transferred to a selectable address in the input process image (FW V1.1 and higher). Table 7- 3 Overview of status information 0 = No ground fault detected...
Page 51
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Table 7- 4 Bit assignment per digital slave Byte number Bit 7 … 4 Bit 3 … 0 Bit 3 Bit 2 Bit 1 Bit 0 Bit 3 Bit 2 Bit 1...
Page 52
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Status information for process image with 32 bytes For a process image that is 32 bytes long, the following information is transferred in byte n+16 (FW V1.1 and higher): Table 7- 5 Status information in byte n+16 for a process image that is 32 bytes long: Bit 7: EFD...
Page 53
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Bit assignment of the process image In a project in which the AS-i slaves are not configured in STEP 7, 4 bits of digital input data and 4 bits of digital output data are assigned to the process image.
Page 54
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values Configuration example The following graphic shows an example of addressing 4 digital slaves. In the example, you STEP 7 configure the start addresses n = 40 for the I/O data in The bits with a gray background are relevant for the user program.
Data exchange between the user program and AS-i slaves 7.2 Transmitting AS-i digital values 7.2.3 Special characteristics of AS-i Safety slaves The AS-i master performs a non-safe evaluation for the data of safe input slaves. The evaluation is represented in the process image of a Safety input slave as follows: Table 7- 7 Input process image of a Safety input slave Bit 3...
Data exchange between the user program and AS-i slaves 7.3 AS-i analog values and transparent / digital values more than 4 bits in length are transferred AS-i analog values and transparent / digital values more than 4 bits in length are transferred The following information only applies to AS-i slaves whose data is stored as analog values or as transparent or digital values more than 4 bits in length.
Page 57
Data exchange between the user program and AS-i slaves 7.3 AS-i analog values and transparent / digital values more than 4 bits in length are transferred Special cases in analog value transfer ● In the input direction, the AS-i master sends a substitute value in the event of a slave failure or AS-i communication error: –...
Data exchange between the user program and AS-i slaves 7.3 AS-i analog values and transparent / digital values more than 4 bits in length are transferred 7.3.1 Accessing AS-i analog data via the process image If you assigned I/O addresses to the analog slaves when configuring, you can access the AS-i analog values with word commands (Firmware V1.1 and higher).
Page 59
Data exchange between the user program and AS-i slaves 7.3 AS-i analog values and transparent / digital values more than 4 bits in length are transferred The table below shows which data record is used by each AS-i slave to transfer the analog values.
Page 60
Data exchange between the user program and AS-i slaves 7.3 AS-i analog values and transparent / digital values more than 4 bits in length are transferred Examples / notes on reading this table: The subsequent table shows the assignment of analog values to the respective analog slaves.
Alarms, faults and system events Overview Diagnostics options The following diagnostics options are available for the AS-i master: ● LEDs on the module STEP 7 ● Diagnostics in – Online presentation of the network and device view – Diagnostic buffer ●...
Alarms, faults and system events 8.2 Diagnostics in STEP 7 Diagnostics in STEP 7 Diagnostics in STEP 7 For diagnostics of the AS-i master and the AS-i slave, use the "Go online" function to switch STEP 7 to "Online" status. STEP 7 If you have configured AS-i slaves in , the diagnostic information about slaves can be...
Alarms, faults and system events 8.3 LED statuses LED statuses 8.3.1 Arrangement of the LEDs on the CM AS-i Master ST Introduction ① DIAG (green/red) ② Status LEDs (AS-Interface) ③ PWR (green) Figure 8-1 Arrangement of the LEDs on the CM AS-i Master ST AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
Alarms, faults and system events 8.3 LED statuses 8.3.2 Meaning of the LEDs Meaning of the LEDs The tables below explain the status and fault indications. Remedies for the diagnostic messages are in Section "Diagnostic messages (Page 69)". "PWR" LED Table 8- 1 Meaning of the "PWR"...
Page 65
Alarms, faults and system events 8.3 LED statuses "AS-i OK" LED Table 8- 3 Meaning of the AS-i OK LED AS-i OK Meaning An error has occurred (see AS-i FAULT LED) or the AS-i master is offline. This means: No I/O data exchange is taking place, e.g., during power-up. The AS-i bus is fault-free.
Page 66
Alarms, faults and system events 8.3 LED statuses "PF" LED This LED indicates peripheral faults. Table 8- 5 Meaning of the "PF" LED Meaning No peripheral fault is being signaled. Red OFF At least one AS-i slave is signaling a peripheral fault. Refer to the operating instructions for the respective slave for the meaning of the peripheral fault, e.g., overload at the standard outputs and/or overload of the sensor power supply of the standard inputs.
Page 67
Alarms, faults and system events 8.3 LED statuses "CM" LED This LED indicates the operating status (Configuration Mode). Table 8- 7 Meaning of the "CM" LED Meaning The AS-i master is in "protected operation". Green OFF The AS-i master is in "configuration mode". Green ON During a firmware update: Errors have occurred during the firmware update.
Page 68
Alarms, faults and system events 8.3 LED statuses "SL_Xy(A)" and "SL_xY(B)" LEDs These LEDs indicate the slave addresses to which an error is signaled. The following states are taken into account: ● The slave has failed. ● The slave is an excess slave. ●...
Alarms, faults and system events 8.4 Diagnostic messages Diagnostic messages 8.4.1 Alarms The AS-i master sends a diagnostic interrupt request to the CPU in the following situations: ● The AS-i master has detected a problem, e.g. failure of a slave (incoming event).
Alarms, faults and system events 8.4 Diagnostic messages 8.4.3 Error messages AS-i-specific faults The following AS-i-specific faults are possible: Channel / Fault Cause Remedial measures Fault type Message 0400 1024 AS-i slave failed An AS-i slave on an A address or a Check: slave with standard address has failed.
Page 71
Alarms, faults and system events 8.4 Diagnostic messages Channel / Fault Cause Remedial measures Fault type Message 0402 1026 Peripheral fault in AS-i slave An AS-i slave on an A address or a Note the information in the slave with a standard address signals manual for the AS-i slave.
Page 72
Alarms, faults and system events 8.4 Diagnostic messages Channel / Fault Cause Remedial measures Fault type Message 0406 1030 No or erroneous voltage on the The AS-i master has detected Check: AS-i cable insufficient voltage on the AS-i cable. Voltage •...
Page 73
Alarms, faults and system events 8.4 Diagnostic messages Channel / Fault Cause Remedial measures Fault type Message 040C 1036 Incorrect AS-i slave On the AS-i bus there is an incorrect Use the correct slave • AS-i slave with a default address or an type.
Alarms, faults and system events 8.5 Replacing a defective AS-i slave / automatic address programming Replacing a defective AS-i slave / automatic address programming Automatic address programming after failure of one or more AS-i slaves - replacement of AS-i slave The "Automatic address programming"...
Page 75
Alarms, faults and system events 8.5 Replacing a defective AS-i slave / automatic address programming Note Exceptions The automatic address programming function is not available for the following devices, because the identifications of each internal slave are identical (IO code, ID code, ID2 code, and ID1 code).
Alarms, faults and system events 8.6 Duplicate address detection Duplicate address detection To ensure that the AS-Interface system functions correctly, all the AS-i slaves must have a unique AS-i address on the bus. If the same AS-i address is assigned to one or more slaves, this incorrect assignment is referred to herein as a duplicate address.
Page 77
Alarms, faults and system events 8.6 Duplicate address detection Note System behavior according to AS-i specification If you connect a slave with duplicate address to the AS-i cable while the bus is operating, the added slave is initially excluded from cyclic data communication and its LEDs indicate a communication error.
Page 78
Alarms, faults and system events 8.6 Duplicate address detection Function description The duplicate address detection function assists you in identifying inadvertent duplicate addressing. When commissioning the AS-i system, check that duplicate address detection can be used for the AS-i configuration used. ●...
It presents the most important diagnostic information in a clear overview. The package is based on the concept of user-defined web pages. You can obtain the package from the Siemens Service & Support Portal under the following link: Service and support portal (http://support.automation.siemens.com/WW/view/en/50897766)
Alarms, faults and system events 8.8 Fault indications/fault remedies Fault indications/fault remedies Fault indications/remedies for faults on the CM AS-i Master ST Below are possible fault indications during operation of the AS-i master and potential remedial measures. Table 8- 9 Fault indications and remedies for faults on the AS-i Master Fault Possible cause...
Page 81
Alarms, faults and system events 8.8 Fault indications/fault remedies Fault Possible cause Remedy The AS-i master does not switch from The automation system is in the "RUN" Switch the automation system to the "protected operation" to "configuration state. "STOP" state. mode".
Alarms, faults and system events 8.9 Data records for diagnostics Data records for diagnostics 8.9.1 DS 92 Diagnostic data record (FW V1.1 and higher) The operating status of the AS-i master, the connected AS-i network and the AS-i slave is stored as diagnostic data record DS 92 in the CM AS-i Master ST module.
Page 83
Alarms, faults and system events 8.9 Data records for diagnostics Byte Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 56 … 63 List of configured ID = A (see Table "Structure of bit fields") Bit = 0 A standard slave is configured at the AS-i address.
Page 84
Alarms, faults and system events 8.9 Data records for diagnostics Explanation of bit information in bytes 2 and 3: MA30V = 0 Multiple address detection for AS-i 30 V is deactivated. = 1 Multiple address detection for AS-i 30 V is activated. MA24V = 0 Multiple address detection for Power24V is deactivated.
Page 85
Alarms, faults and system events 8.9 Data records for diagnostics AS-i master flags: Flag Bit Name of the bit Meaning Config_OK Flag_1 The flag is set when the CONFIGURED configuration and the ACTUAL configuration match. LDS.0 The flag is set when an AS-i slave with address 0 is present. (List of Detected Slaves) Auto_Address_Assign The flag is set if automatic address programming is possible.
Alarms, faults and system events 8.9 Data records for diagnostics 8.9.2 DS 96 Read AS-i master error counters and status messages (FW V1.1 and higher) Meaning This data record reads out error counters that pertain to the overall AS-i network. If the AS-i power supply is missing, the overall device fails.
Page 87
Alarms, faults and system events 8.9 Data records for diagnostics Table 8- 12 Structure of the data record Byte Meaning Reserved High byte Low byte Summation counter: AS-i Power Fail High byte Low byte Summation counter: Ground fault High byte Low byte Summation counter: Slave failure High word, high byte...
Page 88
Alarms, faults and system events 8.9 Data records for diagnostics Byte Meaning Summation counter: Sent master frames, factor (MT_CNT_BASE) High word, high byte High word, low byte Low word, high byte Low word, low byte Reserved Bit 0 = MADDR Reserved 52 …...
Alarms, faults and system events 8.9 Data records for diagnostics 8.9.3 DS 97 Read and reset AS-i master error counters (FW V1.1 and higher) Description This data record functions in the same manner as the "DS 96 Read AS-i slave error counters"...
Page 90
Alarms, faults and system events 8.9 Data records for diagnostics Under error-free conditions, one master frame is sent to every available slave address for cyclic data transfer per AS-i bus cycle. The addressed slave responds with a corresponding slave frame. Depending on the configuration of the bus, between 1 and 31 slaves are addressed in each AS-i bus cycle.
Page 91
Alarms, faults and system events 8.9 Data records for diagnostics Table 8- 14 Slave address structure of the counters Byte Counter Counter: Slave failure High byte Low byte Counter: Missing slave frame High byte Low byte Counter: Erroneous slave frame High byte Low byte Counter: I/O fault...
Alarms, faults and system events 8.9 Data records for diagnostics 8.9.4.1 DS 150 Read AS-i slave error counters 1/1A to 16/16A Table 8- 16 Structure of data record DS 150 Byte Meaning Version High Version Low 2 … 13 Counter for slave address 1 / 1A 14 …...
Alarms, faults and system events 8.9 Data records for diagnostics 8.9.4.2 DS 151 Read AS-i slave error counters 16/16A to 31/31A Table 8- 17 Structure of data record DS 151 Byte Meaning Version High Version Low 2 … 13 Counter for slave address 16 / 16A 14 …...
Alarms, faults and system events 8.9 Data records for diagnostics 8.9.4.3 DS 152 Read AS-i slave error counters 1B to 16B Table 8- 18 Structure of data record DS152 Byte Meaning Version High Version Low 2 … 13 Counter for slave address 1B 14 …...
Alarms, faults and system events 8.9 Data records for diagnostics 8.9.4.4 DS 153 Read AS-i slave error counters 16B to 31B Table 8- 19 Structure of data record DS 153 Byte Meaning Version High Version Low 2 … 13 Counter for slave address 16B 14 …...
Alarms, faults and system events 8.9 Data records for diagnostics 8.9.5 DS 154 Delete AS-i error counters (from FW V1.1) Description When writing this data record all the error counters are reset. The content of the data record has to be filled with zero values. Table 8- 20 Structure of DS 154 write Byte...
STEP 7 this instruction in in the task card "Instructions" under "Advanced instructions" > "Distributed I/O" > "Others" > "ASI". For detailed instructions on using the instruction "ASI_CTRL", see: ASI_CTRL (http://support.automation.siemens.com/WW/view/en/51678777). AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
Using the command interface 9.3 Command interface with controllers of other manufacturers Command interface with controllers of other manufacturers Functional principle AS-i commands are read and written via the acyclic services of PROFINET/PROFIBUS. You use the "Read_data_record" and "Write_data_record" (data record 2) services in the user program of the IO controller/DP master for this.
Page 99
Using the command interface 9.3 Command interface with controllers of other manufacturers Command processing in the user program Structure the command processing in the user program as follows: 1. Specify the command call (Page 103) in a send buffer in the user program. 2.
Page 100
Using the command interface 9.3 Command interface with controllers of other manufacturers Table 9- 1 Coding of the status nibble Status nibble (byte 1 of the digital input data) Meaning Bit 7 Bit 6 Bit 5 Bit 4 Startup detection 1: The status nibble switches between the values 1000 and 1110 following a startup/restart of the AS-i master.
Page 101
Using the command interface 9.3 Command interface with controllers of other manufacturers Status nibble (byte 1 of the digital input data) Meaning Bit 7 Bit 6 Bit 5 Bit 4 Command processing has been ended without errors. An asynchronous read access can be used to retrieve 56 bytes of response data from the AS-i master.
Page 102
Using the command interface 9.3 Command interface with controllers of other manufacturers Return value Processing errors are itemized in the return value of the response buffer, if necessary. An error indication exists when "ended without error and without response data or ended with error"...
Using the command interface 9.4 Description of the AS-i commands Description of the AS-i commands Overview The commands that the user program can issue to the CM AS-i Master ST are described below. With these commands, the AS-i master makes available the complete functionality of the M4 master profile of the AS-i master specification.
Page 104
Using the command interface 9.4 Description of the AS-i commands The following table lists the commands that can be executed with the CM AS-i Master ST. Table 9- 3 AS-i commands Name Parameters Return value Coding No. 00: Set_Permanent_Parameter (Page 107) Slave address, —...
Page 105
Using the command interface 9.4 Description of the AS-i commands Name Parameters Return value Coding No. 40: Write_Parameter_String (Page 148) Slave address, — parameter string No. 41: Read_String (Page 149) Slave address Parameter string No. 42: Read_String (Page 150) Slave address Identification string No.
Page 106
Using the command interface 9.4 Description of the AS-i commands General structure of the receive buffer The basic structure of the receive buffer for commands is shown below. The length of the response data depends on the respective command. Some commands do not supply any response data. In this case, there is no receive buffer. Table 9- 5 Basic structure of the receive buffer Byte...
No. 02: Write_Parameter (Page 109) command). Note Use of other Siemens AS-i masters Other Siemens AS-i masters do not transfer the configured parameters to the AS-i slave immediately. For AS-i slaves that meet the AS-i standard slave profile 7.4, this command is not permitted.
Using the command interface 9.4 Description of the AS-i commands 9.4.2 No. 01: GET_Permanent_Parameter Significance This command reads a slave-specific parameter value that has been saved in EEPROM of the CM AS-i Master ST. Structure of the job data in the send buffer Table 9- 8 Structure of the job data in the send buffer Byte...
Using the command interface 9.4 Description of the AS-i commands 9.4.3 No. 02: Write_Parameter Meaning of the command The command transfers an AS-i slave parameter value. The AS-i master subsequently makes a parameter call to the addressed AS-i slave and passes the parameter value to the AS-i slave in this call.
Using the command interface 9.4 Description of the AS-i commands 9.4.4 No. 03: Read_Parameter Meaning This command returns the parameter value (ACT parameter) active in the slave. The returned parameter value corresponds to the value that was transferred from the master to the slave in the last parameter call.
Using the command interface 9.4 Description of the AS-i commands 9.4.5 No. 04: Store_Actual_Parameters Meaning This command overwrites the configured parameters stored in the EEPROM with the current ACTUAL parameters stored in volatile memory of the AS-i slave. As a result, the ACTUAL parameters in the non-volatile memory of the master are stored as the configuration definition for the next time the slaves are powered up.
Using the command interface 9.4 Description of the AS-i commands 9.4.6 No. A5: Set_Permanent_Configuration Meaning With this command, the following configuration data are configured for the addressed AS-i slave: ● IO code ● ID code ● ID1 code ● ID2 code The configuration data are stored in the non-volatile EEPROM of the CM AS-i Master ST.
Using the command interface 9.4 Description of the AS-i commands 9.4.7 No. A6: Get_Permanent_Configuration Meaning The configuration data (configured CONF data) of an addressed AS-i slave stored on the EEPROM of the AS-i master are read with this command: ● IO code ●...
Using the command interface 9.4 Description of the AS-i commands 9.4.8 No. 07: Store_Actual_Configuration Meaning The following ACTUAL configuration data of all AS-i slaves is obtained from the AS-i master: ● Slave profile (IO, ID, ID2 codes) ● ID1 code This command saves the obtained ACTUAL configuration data as CONF configuration data in the non-volatile EEPROM.
Using the command interface 9.4 Description of the AS-i commands 9.4.9 No. A8: Read_Actual_Configuration Meaning This command reads the following configuration data of an addressed AS-i slave obtained from the AS-i master on the AS-Interface: ● IO code ● ID code ●...
Using the command interface 9.4 Description of the AS-i commands 9.4.10 No. A9: Set_LPS Meaning This command transfers the list of configured AS-i slaves for non-volatile storage in the EEPROM of the master. When this command is executed, the AS-i master switches to the offline phase and then switches back to "normal operation".
Using the command interface 9.4 Description of the AS-i commands 9.4.11 No. 0A: SET_Offline_Mode Meaning This command switches between online and offline mode. Online mode is the normal mode for the AS-i master. The following jobs are processed in online mode: 1.
Using the command interface 9.4 Description of the AS-i commands 9.4.12 No. 08: Set_Auto_Address_Enable Meaning This command enables or disables the "Automatic address programming" function. The bit AUTO_ADDR_ENABLE is stored in non-volatile memory. It is retained even after startup or warm restart of the AS-i master. Structure of the job data in the send buffer Table 9- 23 Structure of the job data in the send buffer...
Using the command interface 9.4 Description of the AS-i commands 9.4.13 No. 0C: Set_Operation_Mode Meaning This command chooses between "configuration mode" and "protected operation". In "protected operation", only the AS-i slaves that are flagged in the LPS and whose CONFIGURED and ACTUAL configurations match are activated. This is the case when the I/O code and the ID codes of the detected AS-i slaves are identical to the configured values.
Using the command interface 9.4 Description of the AS-i commands 9.4.14 No. 0D: Change_AS-i-Slave_Address Meaning of the command This command changes the AS-i slave address of an AS-i slave. This command is used predominantly for adding a new AS-i slave with the default address "0".
Using the command interface 9.4 Description of the AS-i commands 9.4.15 No. 0F: Read_Status Meaning This command reads the status register for the addressed AS-i slave. Generally, this command is not required because the slave status is automatically managed by the AS-i master.
Using the command interface 9.4 Description of the AS-i commands 9.4.16 No. B0: Get_LPS, Get_LAS, Get_LDS, Get_Flags Meaning This command reads the following entries from the AS-i master: ● List of activated AS-i slaves, LAS ● List of detected AS-i slaves, LDS ●...
Page 123
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Slave 15(A) Slave 14(A) Slave 13(A) Slave 12(A) Slave 11(A) Slave 10(A) Slave 9(A) Slave 8(A) Slave 23(A)
Page 124
Using the command interface 9.4 Description of the AS-i commands Table 9- 31 Structure of flag 1 and flag 2 Flag 1 Flag 2 Meaning Meaning Config_OK Periphery_OK LDS.0 Data_Exchange_Active Auto_Address_Assign Off_Line Auto_Address_Available AUTO_ADDR_ENABLE Configuration_Active Earth_Fault Normal_Operation_Active EEPROM_OK EFD-ENABLE Offline_Ready Reserved Table 9- 32 Meaning of the flags...
Using the command interface 9.4 Description of the AS-i commands 9.4.17 No. B9: Read_overall_configuration Meaning This command reads the following data from the AS-i master: ● List of activated AS-i slaves (LAS). It specifies which of the connected AS-i slaves are activated ●...
Page 126
Using the command interface 9.4 Description of the AS-i commands Structure of the response data in the receive buffer Table 9- 34 Structure of the response data in the receive buffer Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1...
Page 127
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ID1 Slave 10 / 10A ID2 Slave 10 / 10A IO code Slave 11 / 11A ID_CODE Slave 11 / 11A ID1 Slave 11 / 11A ID2 Slave 11 / 11A...
Page 128
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 IO code Slave 31 / 31A ID_CODE Slave 31 / 31A ID1 Slave 31 / 31A ID2 Slave 31 / 31A Reserved Reserved...
Page 129
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ID1 Slave 19B ID2 Slave 19B IO code Slave 20B ID_CODE Slave 20B ID1 Slave 20B ID2 Slave 20B IO code Slave 21B...
Page 130
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved Parameter Slave 1B Parameter Slave 2B Parameter Slave 3B Parameter Slave 4B Parameter Slave 5B Parameter Slave 6B Parameter Slave 7B...
Using the command interface 9.4 Description of the AS-i commands 9.4.18 No. BA: Write_overall_configuration Meaning This command transfers the desired overall configuration of AS-Interface to the AS-i master and saves it as the CONFIGURED configuration in the non-volatile EEPROM. This configures the AS-i master.
Page 132
Using the command interface 9.4 Description of the AS-i commands The AS-i master parameterizes the AS-i slaves itself in the case of AS-i slaves that comply with standard profile 7.4. For slaves in accordance with standard profile 7.4, the AS-i master ignores the parameter values specified in the command.
Page 133
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ID1 Slave 3 / 3A ID2 Slave 3 / 3A IO code Slave 4 / 4A ID_CODE Slave 4 / 4A ID1 Slave 4 / 4A ID2 Slave 4 / 4A...
Page 134
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 IO code Slave 24 / 24A ID_CODE Slave 24 / 24A ID1 Slave 24 / 24A ID2 Slave 24 / 24A IO code Slave 25 / 25A ID_CODE Slave 25 / 25A...
Page 135
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ID1 Slave 12B ID2 Slave 12B IO code Slave 13B ID_CODE Slave 13B ID1 Slave 13B ID2 Slave 13B IO code Slave 14B...
Page 136
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Parameter Slave 4 / 4A Parameter Slave 5 / 5A Parameter Slave 6 / 6A Parameter Slave 7 / 7A Parameter Slave 8 / 8A Parameter Slave 9 / 9A...
Page 137
Using the command interface 9.4 Description of the AS-i commands Table 9- 37 Structure of flag 1 and flag 2 Flag 1 Flag 2 Meaning Meaning number number Config_OK Periphery_OK LDS.0 Data_Exchange_Active Auto_Address_Assign Off_Line Auto_Address_Available AUTO_ADDR_ENABLE Configuration_Active Earth_Fault Normal_Operation_Active EEPROM_OK EFD-ENABLE Offline_Ready Reserved...
Using the command interface 9.4 Description of the AS-i commands 9.4.19 No. 3C: Set_PI Meaning This command passes parameter values for all AS-i°slaves to the AS-i master. The AS-i master only sends a parameter call to the slaves whose parameter value passed in the command deviates from the ACTUAL parameter value of the slave.
Page 139
Using the command interface 9.4 Description of the AS-i commands Function code = 2 (firmware V1.1.16 and higher): The passed parameter values are stored in the non-volatile EEPROM of the CM AS-i master For every AS-i slave, the AS-i master checks whether the passed parameter value differs from the parameter value previously active in the slave (ACT parameter).
Page 140
Using the command interface 9.4 Description of the AS-i commands Structure of the job data in the send buffer Table 9- 38 Structure of the job data Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Command number: 3C...
Using the command interface 9.4 Description of the AS-i commands 9.4.20 No. 33: AS-i Parameter Echolist Meaning This command returns the parameter echo values of all AS-i slaves. The parameter echo of an AS-i slave originates in the last parameter call that was sent to this AS-i slave. The AS-i slave can provide any parameter echo value.
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Par.Echo Slave 6B Par.Echo Slave 7B Par.Echo Slave 8B Par.Echo Slave 9B Par.Echo Slave 10B Par.Echo Slave 11B Par.Echo Slave 12B...
Page 143
Using the command interface 9.4 Description of the AS-i commands Structure of the job data in the send buffer Table 9- 41 Structure of the job data in the send buffer Byte Meaning Command number: 44 Slave address Number of string bytes String byte 1 String byte 2 …...
Structure of the response data in the receive buffer Byte Meaning 0 … 31 Versions string 1) "Siemens AG CM ASi M V aa.bb.cc.dd" 9.4.23 No. 17: Read ID_Code Significance This command reads the ID code of an AS-i slave directly over the AS-i cable.
Using the command interface 9.4 Description of the AS-i commands 9.4.24 No. 37: Read_ID1-Code Meaning This command reads the ID1 code of an AS-i slave directly over the AS-i cable. Structure of the job data in the send buffer Table 9- 47 Structure of the job data in the send buffer Byte Meaning...
Using the command interface 9.4 Description of the AS-i commands 9.4.26 No. 38: Read_ID2-Code Meaning This command reads the ID2 code of an AS-i slave directly over the AS-i cable. Structure of the job data in the send buffer Table 9- 50 Structure of the job data in the send buffer Byte Meaning...
Using the command interface 9.4 Description of the AS-i commands 9.4.28 No. BE: Get_LPF Meaning This command reads the list of I/O faults (periphery faults) (LPF) signaled by the AS-i slaves from the AS-i master. The AS-i master updates the LPF cyclically. Refer to the description of the AS-i slave to learn whether the slave can detect a fault in the connected I/O, e.g.
Using the command interface 9.4 Description of the AS-i commands 9.4.29 No. 40: Write_Parameter_String Meaning This command sends a parameter string in accordance with AS-i slave profile 7.4 to the AS-i master. The master forwards the parameter string to the AS-i slave address specified in the send buffer.
Using the command interface 9.4 Description of the AS-i commands 9.4.30 No. 41: Read_String Meaning This command causes the AS-i slave to read a parameter string in accordance with AS- i slave profile 7.4 with the AS-i slave address specified in the send buffer. The AS-i master supplies up to 221 bytes of response data.
Using the command interface 9.4 Description of the AS-i commands 9.4.31 No. 42: Read_String Meaning This command causes the AS-i slave to read an identification string in accordance with AS- i slave profile 7.4 with the AS-i slave address specified in the send buffer. The AS-i master supplies up to 221 bytes of reply data.
Using the command interface 9.4 Description of the AS-i commands 9.4.32 No. 43: Read_String Significance This command causes the AS-i slave to read a diagnostics string in accordance with AS- i slave profile 7.4 with the AS-i slave address specified in the send buffer. The AS-i master supplies up to 221 bytes of reply data.
Using the command interface 9.4 Description of the AS-i commands 9.4.33 No. CA: Read_Error_Counter Note With Firmware V1.1 or higher, use data record "DS 96 Read AS-i master error counters and status messages (FW V1.1 and higher) (Page 86)" for reading out the error counters. The Read_AS-i_Master_Error_Counters command continues to exist for compatibility reasons.
Page 153
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Summation counter: Erroneous slave frame High word, high byte High word, low byte Low word, high byte Low word, low byte Summation counter: Slave peripheral fault High word, high byte High word, low byte Low word, high byte Low word, low byte...
Page 154
Using the command interface 9.4 Description of the AS-i commands Structure of the bit fields Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 SLAVE SLAVE SLAVE SLAVE SLAVE SLAVE SLAVE Reserved 7/7A 6/6A 5/5A...
Using the command interface 9.4 Description of the AS-i commands 9.4.34 No. CB: Read_and_Delete_AS-i-Master_Error_Counter Note With Firmware V1.1 or higher, use data record "DS 97 Read and reset AS-i master error counters (FW V1.1 and higher) (Page 89)" for reading out the error counters. The Read_and_Reset_AS-i_Master_Error_Counters command continues to exist for compatibility reasons.
Using the command interface 9.4 Description of the AS-i commands 9.4.35 No. CC: Read_AS-i_error_counter Note With Firmware V1.1 or higher, use data records "DS 150 to DS 153 Read AS-i error counters (Page 89)". The Read_AS-i_Slave_Error_Counters command continues to exist for compatibility reasons.
Using the command interface 9.4 Description of the AS-i commands Byte Meaning Summation counter: Sent master frames, more significant part (MT_CNT_HIGH) High word / high byte High word / low byte Low word / high byte Low word / low byte Summation counter: Sent master frames, factor (MT_CNT_BASE) High word / high byte High word / low byte...
Using the command interface 9.4 Description of the AS-i commands 9.4.37 No. 13: Activate_ground fault detection (reset EFD) Meaning The setting for enabling the integrated ground fault detection is always made when configuring the CM AS-i Master. This command is used to enable or disable the ground fault detection via the user program so as to overwrite the configured setting.
Using the command interface 9.4 Description of the AS-i commands 9.4.38 No. D0: Set_Configuration_Online Meaning The following configuration data for the addressed AS-i slave is configured with this command: ● IO code ● ID code ● ID1 code ● ID2 code ●...
Using the command interface 9.4 Description of the AS-i commands Structure of the job data in the send buffer Table 9- 70 Structure of the job data in the send buffer Byte Meaning Bit 7 Bit 4 Bit 3 Bit 0 Command: D0 Slave address IO code...
Technical data in Siemens Industry Online Support Technical data sheet You can also find the technical data of the product at Siemens Industry Online Support (https://support.industry.siemens.com/cs/ww/en/ps/15756/td). 1. Enter the full article number of the desired device in the "Product" field, and confirm with the Enter key.
Page 162
Technical data 10.1 Technical data in Siemens Industry Online Support AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
AS-Interface Protocol Implementation Conformance Statements AS-Interface Protocol Implementation Conformance Statement (PICS) PICS for the CM AS-i Master ST Vendor SIEMENS AG Product name CM AS-i Master ST Article number 3RK137-6SA00-0BC1 Firmware version V1.0, V1.1 Master profile Date — List of available master functions...
Page 164
AS-Interface Protocol Implementation Conformance Statements A.1 AS-Interface Protocol Implementation Conformance Statement (PICS) Function or command to the host interface (symbolic Remark / implementation of the function with representation) Status, Config = Read_Actual_Configuration (Addr) See Section "Description of the AS-i commands (Page 103)".
Page 165
AS-Interface Protocol Implementation Conformance Statements A.1 AS-Interface Protocol Implementation Conformance Statement (PICS) Function or command to the host interface (symbolic Remark / implementation of the function with representation) AImage, Status = Read_AIDI() See Section Description of the AS-i commands (Page 103). Status = Write_AODI(AImage) Through automation system access to the I/O data of the AS-i master...
Readme Open Source Software Read_me OSS Note For Resellers In order to avoid infringements of the license conditions by the reseller or the buyer these instructions and license conditions and accompanying CD - if applicable - have to be forwarded to the buyers. License Conditions and Disclaimers for Open Source Software and other Licensed Software In the product "CM AS-i Master ST"...
Page 168
Readme Open Source Software B.1 Read_me OSS Please note the following license conditions and copyright notices applicable to Open Source Software and other License Software: LICENSE CONDITIONS AND COPRIGHT NOTICE Commercial Software: Dinkumware C/C++ Library - 5.01 Enclosed you'll find the license conditions and copyright notes for Commercial Software Dinkumware C/C++ Library - 5.01.
Page 169
Readme Open Source Software B.1 Read_me OSS Copyrights: ● Copyright 1992 … 2006 by p.j. plauger and jim brodie. all rights reserved. ● Copyright 1992 … 2006 by p.j. plauger. all rights reserved.ip ● Copyright 1992 … 2006 by p.j.plauger. portions derived from work copyright 1994 by hewettpackard company.
Page 170
Readme Open Source Software B.1 Read_me OSS AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
Data sets DS 100 Switch duplicate address detection on/off Description The duplicate address detection function can be activated/deactivated via the user program by means of write access to data record DS 100. For the CM AS-i Master firmware V1.0 the status is stored in the AS-i Master volatile memory, i.e.
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 … 1 Reserved 2 … 33 Version identifier as a string e. g.: Siemens AG CM ASi M V01.00.00 1..1..1..1.. AS-Interface master CM AS-i Master ST (3RK7137-6SA00-0BC1) Manual, 07/2017, A5E02655262020A/RS-AD/004...
List of abbreviations List of abbreviations Meaning of abbreviations Abbreviation Meaning AS-i Power Fail (problem with the AS-i supply voltage) AS-i AS-Interface ATEX Atmosphere Explosive Automatic address programming Automation Web Pages Configuration error Component Based Automation Configuration Data Image CFGOK Configuration OK Configuration mode;...
Page 174
List of abbreviations D.1 List of abbreviations Abbreviation Meaning IEEE Institute of Electrical and Electronics Engineers Input Output Ingress Protection (enclosure class) International Organization for Standardization List of Activated Slaves List of Detected Slaves Light Emitting Diode List of peripheral faults (list of peripheral faults signaled by the AS-i slaves) List of configured AS-i slaves (list of "projected"...
Glossary "Protected operation" In "protected operation", the AS-i master only exchanges data with the configured AS-i slaves. "Configured" means that the slave addresses and configuration data stored in the AS-i master agree with the values of existing AS-i slaves. 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.
Page 176
Glossary AS-i slave with A/B address AS-i slaves with A/B address use extended addressing. A (numerical) address can thus be used by two slaves with A/B address, e.g., 1A and 1B. Based on the address organization, up to 62 slaves with A/B address can be connected to the AS-Interface. For cyclic data transmission, the master accesses each (numerical) address once per AS-i cycle (max.
Page 177
Glossary Combined Transaction Type. Special AS-i slave profile: CTT slaves require several AS-i cycles or several AS-i addresses for updating process data between an AS-I slave and AS-i master. The following CTT variants are defined: CTT1: Slave profiles S-7.3, S-7.4 For cyclic data transmission of analog values or transparent data (up to 16 bits per channel).
Page 178
Glossary DIAG Diagnosis Ground fault detection GSD file Generic station description file for PROFIBUS or PROFINET devices GSDML file GSD file for PROFINET devices. As a generic station description, this file contains all of the properties of a PROFINET device necessary for its configuration. STEP 7 The Hardware Support Package supplements the hardware catalog of ID code...
Page 179
Glossary IO code Also called: I/O configuration Fixed identification code saved in the AS-i slave; part of the slave profile. See also: Slave profile List of Activated Slaves List of Detected Slaves A light-emitting diode that is used to display the signal status. List of periphery faults This list in the AS-i master designates the status of the peripheral fault of the activated slaves.
Page 180
Glossary Slave profile The slave profile classifies the basic properties of an AS-i slave. The slave profile consists of the IO code, ID code, and ID2 code, which are stored as fixed, uneditable codes in each slave. In addition, a slave has an ID1 code, which is saved in the slave as a fixed code or a code that is editable by the user (e.g., with an addressing device).