Set Up a BBH SCU and an AKD2G with SMM

This topic describes how to setup FSoE PDOs and copy links with a BBH SCU Master and an AKD2G with SMM. This example uses a simple EtherCATClosedEtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs topology consisting of a PCMM (the Controller), a BBH SCU safety master (Device_1), and an AKD2G with SMM Basic safety drive (AKD2G_1). The example has two sections, the first is to create a safety application, the second is done in the KAS IDEClosed"Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger.

Create Safety Application

First we must use the SafePLC IDE to create a safety application. The application will contain a BBH SCU master and an AKD2Gwith Axis1 and Axis2 as slave devices.

  1. Set the AKD2G Connection IDs to match the the AKD2G SafeIDs.
  2. Compile and download the safety application to the SCU.
  3. Run the safety application in BBH SCU.

    The state will be “Run Intern” and the display will show “8”

KAS IDE Project Set Up

To finish the example, a project is created in the KAS IDE using the 2-axis Pipe Network template.

  1. The IP address of the PCMM controller is set in the project.
  2. Scan the EtherCAT network to discover the devices.

  3. We are prompted to recompile the project due to changes in the EtherCAT topology. We respond "No" because we have not set up the PDO copy links.

  4. To connect the PDOs we open the FSoE / PDO Connections Tab which is populated with Input and Output PDOs.

  5. To connect PDOs we choose an input, an output, and click the Connect button. Connections are displayed at the bottom of the tab.

  6. We make the following connections:

    • Device_1[SCU] PDO 0x1A00   to   AKD2G_1 PDO 0x1650
    • Device_1 [SCU] PDO 0x1A20   to   AKD2G_1 PDO 0x1660
    • AKD2G_1 PDO 0x1A50   to   Device_1 [SCU] PDO 0x1600
    • AKD2G_1 PDO 0X1A60   to   Device_1 [SCU] PDO 0x1620
  7. Compile, download, and run the KAS application.
  8. The BBH master has changed the state to "Run" and the display shows "4".

The Safety Master and the Safety Slave are now exchanging data over EtherCAT.