Titel-Balluff_CtrlX_Sensorik.jpg

Set up a Balluff BTL Linear Position Sensor with ctrlX CORE using EtherCAT

PretschC
Established Member
Introduction

This How-to describes the integration of a Balluff Linear Position Sensor BTL34TC with EtherCAT interface into ctrlX CORE. It shows possibilities for configuration and diagnosis. Other Balluff Linear Position Sensors from BTL7-V50E-Series can also be commissioned in this way.

Requirements 
Hardware
  • ctrlX CORE
  • Balluff Linear Position Sensors from BTL7-V50E-Series 

Software
  • ctrlX PLC app on ctrlX CORE
  • ctrlX EtherCAT Master app on ctrlX CORE
  • ctrlX I/O Engineering and PLC Engineering (ctrlX WORKS)

Step-by-Step guide
New Project 
  • Open ctrlX CORE user interface in browser.
    ctrlX CORE User InterfacectrlX CORE User Interface
  • Add EtherCAT master by clicking [+] in EtherCAT > Configuration.
    EtherCAT / Configuration / [+]EtherCAT / Configuration / [+]EtherCAT / Configuration / [+] / [OK]EtherCAT / Configuration / [+] / [OK]
  • Open ctrlX I/O Engineering

    ctrlX I/O EngineeringctrlX I/O Engineering

    Open New project.
    New ProjectNew Project
Install device description
EtherCAT-Device configuration
  • Add Device to EtherCAT-Master by right-click in the device tree on ethercatmaster > Add Device:
    EtherCAT Device ConfigurationEtherCAT Device Configuration
  • Choose the right ESI (device description) for your device from device catalog > Add Device:
    Add DeviceAdd Device
  • The position sensor is now ready without any configuration
     Position SensorPosition Sensor
Port Configuration
  • The BTL7-V50E-... corresponds to the profile for absolute linear encoders and is configured as a modular device. The transducer represents a virtual module carrier that has 16 slots for magnets. Various virtual modules that specify which data is assigned to the respective magnet can be inserted into each slot. This defines the data mapping, the assignment of the measurement data in the output. data.
    Technical OverviewTechnical Overview
  • To configure the behavior of the magnet, right click on Magnet_x > Plug Device
    Plug DevicePlug Device
    Choose  module > Plug Device 
    Measurement ModulesMeasurement Modules
  • For diagnosis, error messages can be added with optional information about the temperature:
    right click on Device_1 > Plug Device > Choose  module > Plug Device 
    Diagnosis ModuleDiagnosis Module
  • Configure the number of expected magnets to receive an error message in case of a missing magnet.
    Use the flexible mode, if the number of magnets changes while the application is running.
    Magnet NumbersMagnet Numbers
Diagnosis
  • Direct information about the magnet can be seen in the process data of the corresponding magnet.
    Diagnosis PD2Diagnosis PD2

    Diagnosis PD IDiagnosis PD I
  • An optional module for error messages can be plugged into Device_1. Now an error-bit is shown direct in the process data.  
    Errors Codes PDErrors Codes PD
    The error register is also shown in the CoE 
    Errors CoE 2Errors CoE 2
  • Error codes and meaning
    Error Codes 2Error Codes 2
  • The status of the magnets can also be seen in the CoE online data:
    Errors CoEErrors CoE
Parametrization
  • The BTL7-V50E-... can additionally be used as a cam switch. For this purpose, four cams are available for each magnet.
    CAM ICAM I
    There are four parameters available to configure and define each cam.
    CAM IICAM II
    Configuration can bee done via CoE:
    CAM IIICAM III
    It is also possible to configure via startup parameters:
    ConfigurationConfigurationCAM IVCAM IV
  • The work area can be configured in the same way:
    Work AreaWork Area
Related Links  
The Company 

Your partner for success in automation

Balluff is a leading supplier of high-quality sensor, identification and image processing solutions, including network technology and software for all automation requirements. We adhere to our motto “innovating automation” as an agile developer and technological pioneer. And we always act sustainably. We deliver innovative solutions to increase your competitive ability. Our consistent digital orientation drives our joint progress, and our innovative spirit factors directly to your success factor. Family-run for more than 100 years, Balluff today employees around 3600 employees worldwide who are committed to the highest quality standards for your success. As a future-oriented company, we are also dedicated to the development of digitalization and IIoT applications for an increasingly digital and networked world. You can rely on us, our promises, our commitment and Balluff quality – all in the name of a mutually beneficial partnership

PretschC_0-1668436085468.jpeg

PretschC
PretschC
Carsten Pretsch M.SC. Technical Services and Solutions Product and Application Specialist Balluff GmbH · Schurwaldstrasse 9 · 73765 Neuhausen a.d.F. · Germany Phone +49 7158 173-777 · Fax +49 7158 5010 · support.de@balluff.de · www.balluff.com/en-de/contact-support
Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist