Beckhoff TwinSAFE SafeMotion Wizard

SLP with Automatic Referencing

TwinSAFE introduces several innovations that enhance the functionality and performance of your safety control system. A significant advancement is the integration of safety control functionality within each TwinSAFE component. This allows a TwinSAFE input component to be used not only as an input component but also for its integrated safety control, enabling application-specific preprocessing.

This is Tutorial 10 of a tutorial series. The goal of this tutorial series is to introduce you to the TwinSAFE innovations through individual examples.

This tutorial focuses on extending an existing SafeMotion Wizard project with SLP functionality for automatic referencing.

1. Introduction

1.1 Release Status

VersionRemark
1.0.0First released version
0.0.1First draft

1.2 Prerequisites

For this tutorial, please ensure the following prerequisites are met:

1.3 Starting Point

The starting point for the tutorial includes:

1.4 Demo System

1.4.1 Hardware

The demo system for this tutorial consists of the following hardware:

1.4.2 Desired Safety Functionality

This tutorial describes the implementation of the following safety functionality:

1.5 Approach

1.5.1 Capturing Ini-Signals

The process involves:

A diagram shows the logic for capturing Ini-Signals, including inputs like Restart, Monin1-4, Secure1-2, EDM1-2, and outputs like Error, MonOut, and MonDelOut, with a logic block indicating ≥1.

1.5.2 Transmission to AX8000

The process involves extending the process image on the output side of the EL6910 by inserting an additional bit, and making a corresponding change on the AX8000. The table shows output signals like STO_CHA, SS1_ChA, Error_Ack_ChA, STO_ChB, SS1_ChB, SLP_REF_ChB, Error_Ack_ChB, and SLP_1_ChB with their respective types, sizes, and positions.

1.5.3 Setting the Reference Point

This involves extending the process image on the input side of the AX8000 by inserting an additional bit and linking it with the ChB_PriFb_SetRef signal of the internal process image. The table shows input signals like ChB_PriFb_Enable, ChB_PriFb_ErrAck, ChB_PriFb_SetRef, ChB_SecFb_Enable, ChB_SecFb_ErrAck, and ChB_SecFb_SetRef.

2. Demonstration

2.1 Linking the Reference Signal

Steps to link the reference signal:

  1. Open the file "ChB_SLP_1.sal".
  2. Right-click within the network.
  3. Click "Add After" and then "Network" to add another network.
  4. Open the Toolbox.
  5. Add a safeMon block to the new network.
  6. Rename the FB.
  7. Right-click on an input.
  8. Click "Change Link".
  9. Select the variable "SLP_1_REF_CMD" and confirm with "OK".
  10. The following links are established for the inputs and outputs of the safeMon block: MonIn1 linked to SLP_1_REF_CMD, MonIn2 linked to ACK_REFERENCE_STD, and MonOut linked to SIGNAL_TO_SDF.
  11. Save all settings.

2.2 Configuring Reference Behavior

Steps to configure reference behavior:

  1. Open the file "Target Systems.sds".
  2. Open the "Internal Safety Parameters" tab.
  3. Locate the referencing settings for ChB under C3C2:0.
  4. Configure the parameter settings. For "C3C2:01 Operation Mode", select "Automatic Referencing, Set Reference Position enabled" from the Enum dropdown menu.
  5. Confirm the selection with "OK".
  6. For other parameters, the procedure is identical. For example, for "C3C2:11 Reference SafePosition Singleturn", enter the value 2504785919 in the "Dec" field and confirm with "OK".
  7. Save all settings.

2.3 Downloading Safety Projects

Steps to download safety projects:

  1. Click "Multi-Download Safety Project(s)".
  2. Select the safety projects to download.
  3. Confirm the selection by clicking "Next".
  4. In the "General Download Settings" window, enter the username "Administrator" and password "TwinSAFE".
  5. Select the safety projects to download.
  6. Confirm the selection by clicking "Next".
  7. In the "Final Verification" window, verify the CRCs and check the box to confirm the verification.
  8. Confirm by clicking "Next".
  9. In the "Activation" window, ensure the desired safety projects are selected and click "Next".
  10. Close the "Multi-Download Result" window with "Finish".
  11. Save all settings.

2.4 Verifying Referencing

Steps to verify referencing:

  1. Open "Axis 2".
  2. Open the "Online" tab.
  3. Click "Set" in the "Enabling" section.
  4. Close the dialog with "All".
  5. Click "F8" to reset the error.
  6. Open the "Functions" tab.
  7. Enter the target position and time as shown in the figure.
  8. Click "Start".
  9. Open the file "ChB_SLP_1.sal".
  10. Right-click in the network.
  11. Click "Show Online Data" to activate the online view.
  12. Right-click on "SLP_ACK_STD".
  13. Click "Online Force".
  14. In the "Set Value Dialog", click "1" for "Boot".
  15. Right-click on "SLP_ACK_STD".
  16. Click "Online Force".
  17. In the "Set Value Dialog", click "0" for "Boot".
  18. Right-click on "SLP_ACK_STD".
  19. Click "Release Force".

The command from the EL6910 is received correctly. The safeSLP block shows that the command ChB.PriFb_REFPOSITION_VALID is still FALSE.

Next, operate the motor as follows:

  1. Open "Axis 2".
  2. Open the "Functions" tab.
  3. In the "Start Mode" dropdown menu, select "Reversing Sequence".
  4. Enter the position and time as shown in the illustration.
  5. Click "Start".
  6. Open the file "ChB_SLP_1.sal".

In the safeSLP block, you can see that the command ChB.PriFb_REFPOSITION_VALID is now TRUE, and you have successfully referenced.

You can now observe how the motor moves based on the values.

2.5 Additional Information

PDF preview unavailable. Download the PDF instead.

Tutorial 10 SafeMotionWizard de ST4 PDF Engine (Build 11.0.1.0)

Related Documents

Preview Beckhoff TwinSAFE FW Update Wizard: Step-by-Step Implementation Guide
A comprehensive guide detailing the process of performing a firmware (FW) update for Beckhoff TwinSAFE devices using the FW Update Wizard. Covers system setup, component selection, login, settings, and download procedures for industrial automation safety controllers.
Preview Beckhoff TwinSAFE Tutorial 6: Backup/Restore for AX8000 Configuration and Usage
This tutorial guides users through the configuration and usage of the Backup/Restore function for the Beckhoff AX8000 system, including setting up test users, configuring backup and restore settings, downloading safety projects, and verifying communication.
Preview Beckhoff TwinSAFE: Integrated Safety Automation with PC-Based Control
Explore Beckhoff's TwinSAFE system, a highly scalable and modular solution for integrating safety and automation on a single platform using PC-based control technology and EtherCAT.
Preview Beckhoff Main Catalog 2019 Volume 1: Industrial PCs, Motion, and Automation Technology
Explore Beckhoff's comprehensive Main Catalog 2019, Volume 1, focusing on Industrial PCs (IPC), Motion Control, and Automation Technology. Discover Beckhoff's pioneering PC-based control solutions, including TwinCAT software, drive systems, and a wide range of industrial hardware designed for advanced automation applications worldwide.
Preview Beckhoff Automation Technology Catalog 2021: IPC, Motion, Automation
Explore the Beckhoff Main Catalog 2021, Volume 1, focusing on Industrial PCs (IPC), Motion Control, and Automation solutions. Discover innovative PC-based control technology, drive systems, and automation software.
Preview Beckhoff Product Overview 2020: New Automation Technology
Beckhoff's 2020 Product Overview showcases their New Automation Technology, featuring PC-based control, EtherCAT, Industrial PCs, I/O systems, drive technology, and TwinCAT automation software for diverse industrial applications.
Preview Beckhoff TwinSAFE: Scalable and Modular Safety Automation
Explore Beckhoff's TwinSAFE system for integrated safety and automation. Learn about its PC-based control, EtherCAT integration, flexible architectures, and engineering tools for enhanced machine safety.
Preview Beckhoff TwinCAT 3 PLC Lib: Tc2_System Manual
This manual provides a comprehensive overview of the Beckhoff TwinCAT 3 PLC Library, Tc2_System, detailing its various function blocks, data types, and ADS functions for automation engineering.