AS-i/Sercos III Safety Gateway BWU 2984 by Bihl+Wiede­mann - Device Integration

 

This topic contains the following information:

Term definition: the AS-i/Sercos III Safety Gateway BWU 2984 by Bihl+Wiedemann is referred to as AS-i Gateway for short in this docu­mentation.

Purpose of the AS-i Gateway integration

The AS-i Gateway connected to the Sercos bus enables the communi­cation of the Safety Logic Controller with AS-i sensor and actuator system components. The safety-related communication between the SLC and the AS-i Gateway complies to the openSafety over Sercos III specification.

The AS-i Gateway enables you to:

This way, the AS-i Gateway integrates AS-i as a second field device level besides the Sercos field devices (Lexium 62/Lexium 62 ILM and TM5/TM7 safety-related modules).

Up to five AS-i Gateways can be connected per Safety Logic Controller (which can be considered as one machine module or safety architec­ture).

Further Information

Also refer to the topic "Technical Information on the AS-i Gateway".

Environmental profile of the AS-i Gateway

The electrical and/or environmental characteristics of the AS-i Gateway may deviate from the characteristics of the Schneider Electric safety-related modules as it relates to your control system. Therefore, validate that the AS-i Gateway is integrated into environments that are suitable and therefore compatible with the Schneider Electric system.

Refer to the corresponding documentation or specification provided by Bihl+Wiedemann with the AS-i Gateway.

WARNING

INOPERABLE EQUIPMENT

Verify that all of the electrical and environmental characteristics of the equipment meet the operating conditions and requirements of the embedded safety system.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

AS-i/Sercos Data Exchange (I/O mapping of AS-i data)

From the perspective of the Safety Logic Controller application, an AS-i Gateway device is considered as safety-related 64 bit (8 bytes) I/O data area. These safety-related 64 I/O bits are exchanged between the AS-i Gateway and the SLC via openSAFETY over Sercos. Into this 64 bit I/O data area, safety-related AS-i data are mapped in a user-defined way.

In EcoStruxure Machine Expert - Safety and EcoStruxure Machine Expert, these 64 I/O bits are represented as a device object referred to as '8 Bytes Safe Sercos Data'. After inserting this device object into the EcoStruxure Machine Expert 'Devices' tree (under the gateway node), it provides access (read-only in EcoStruxure Machine Expert and read/write in EcoStruxure Machine Expert - Safety) to the safety-related AS-i data mapped to the device object and transferred from/to the AS-i Gateway.

Composition of safety-related AS-i data: by means of a special, device-specific algorithm, the AS-i communication telegram of each connected safety-related AS-i slave is permuted into one safety-related data bit per AS-i slave. This safety-related data bit can be mapped to the 64 bit I/O area (device object) in ASIMON. Standard (non-safety-related) AS-i slaves cannot be mapped to the '8 Bytes Safe Sercos Data' device object. Consequently, the device object provides status information of safety-related AS-i input slaves and control data for safety-related AS-i output slaves. Furthermore, other safety-related AS-i data (such as diag­nostic or output enable bits) may be included, depending on the user-defined mapping.

Mapping of safety-related AS-i data: the safety-related AS-i data must be mapped to the bits of the '8 Bytes Safe Sercos Data' device object. This mapping is defined by the user in the Bihl+Wiedemann software ASIMON. A clear data mapping is a 1:1 mapping: AS-i slave 1 connected to AS-i circuit 1 is mapped to input or output bit 1 of the device object (depending on whether the slave is an input or output device). AS-i slave 2 is mapped to bit 2, and so on.

The present documentation is predicated on the best practice of a 1:1 data mapping application. Beyond this, the diagnostic status signals for the AS-i circuits 1 and 2 provided by the AS-i Gateway are assumed to be used, as well as enable output signals for the AS-i slave outputs are also assumed to be used. See chapter "Configuration of the AS-i func­tionality in ASIMON" for details.

Via openSafety over Sercos, the '8 Bytes Safe Sercos Data' device object is exchanged between AS-i Gateway, SLC, and LMC. In the SLC, the safety-related data bits can be read and written. This allows moni­toring, evaluating and controlling the AS-i application in a safety-related way. In the LMC, the safety-related data bits are mirrored and can be read to inform the standard (non-safety-related) LMC application about the safety-related AS-i status.

Illustration of AS-i data mapping:

IOMapping.png

The following applies to the '8 Bytes Safe Sercos Data' device object:

The mapping of AS-i data to the '8 Bytes Safe Sercos Data' device object has to be done in ASIMON and can be determined using the ASIMON project documentation. You have to ensure that the correct data bits are used in EcoStruxure Machine Expert - Safety. Refer to the topic "Reading and Writing AS-i Data Bits in EcoStruxure Machine Expert - Safety" for details.

Notes on distributed automation systems

You are going to set up a highly distributed system by implementing:

  • an AS-i application executed by the AS-i Gateway using ASIMON, and

  • a standard LMC application using EcoStruxure Machine Expert, and

  • a safety-related SLC application in EcoStruxure Machine Expert - Safety.

By means of a safety-related checksum (ASIMON ConfigID), the Safety Logic Controller is able to recognize whether the configuration and loaded application of the gateway corresponds to the AS-i configuration stored in the EcoStruxure Machine Expert - Safety 'Devices' window.

However, there is no superordinate, controller-spanning verification instance (or compiler) that verifies whether the various logics (AS-i Gateway, LMC, SLC) in the distributed controller application interact correctly.

WARNING

UNINTENDED EQUIPMENT OPERATION

  • Verify the interaction between the applications programmed for the AS-i Gateway (with its connected I/O devices) and the PacDrive 3 application (LMC and SLC programs).

  • Verify the mapping of AS-i I/O data to the '8 Bytes Safe Sercos Data' device object and the use of AS-i input/output data bits in the safety-related SLC application.

  • Be sure that the functional testing you perform comprises the entire system including the AS-i Gateway and I/O slaves, and corre­sponds to your risk analysis, and considers each possible oper­ating mode and scenario the safety-related application should cover.

  • Observe the regulations given by relevant sector standards for the distributed automation system.

  • Use appropriate safety interlocks where personnel and/or equip­ment hazards exist.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

In particular, the total safety response time of the entire system has to be inspected and verified precisely as the integration of the AS-i field bus with connected AS-i slaves extends the total safety response time calcu­lated using the 'Response Time Calculator' in EcoStruxure Machine Expert - Safety.

WARNING

UNINTENDED EQUIPMENT OPERATION

  • Verify that the safety response time of the entire system includes the response times specific to the AS-i Gateway with its connected AS-i I/O devices.

  • Validate the total lag-time of the system and thoroughly test the application controlling for lag-time.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

As the AS-i Gateway does not only provide gateway functionality between Sercos and the AS-i field bus but also implements control func­tionality for its connected AS-i slaves, it can be classified in a PacDrive 3 system between the control level (where LMC and SLC are located) and the field device level.

Illustration of PacDrive 3 system levels

PD3SystemLevels.png

Diagnosis of the AS-i Gateway

Safe Logger Diagnostics

As any other Sercos subscriber, the AS-i Gateway uploads diagnostic Sercos-compliant messages to the LMC. These diagnostic messages are logged by the Safe Logger and the Message Logger.

The format of AS-i Gateway diagnostic messages in the logs slightly differs from the regular Sercos subscriber messages. The Message ID of AS-i Gateway messages is always EF01 hex.

In the 'Info 1' field of the Safe Logger, the error number reported by the AS-i Gateway is specified. Refer to the Bihl+Wiedemann documentation for details and remedy procedures for the reported error codes.

Further Information

Refer to the Safe Logger User Guide for further details.

Gateway Diagnostic Bits

The AS-i Gateway provides diagnostic bits which can be read and eval­uated in the standard EcoStruxure Machine Expert application. Refer to the topic "AS-i Gateway Diagnostics" for further information.

Use case scenarios

The following scenarios can be implemented when integrating AS-i Gateways into Schneider Electric embedded safety systems: