Introduction
This article explains how to connect the R88D-KN drive with EtherCAT directly to a PC with TwinCAT installed. Following the instructions will allow you to control the drive using TwinCAT software.
Method
To control your R88D-KN drive drive using TwinCAT software:
- Install TwinCAT
- Copy the attached XML file to the TwinCAT directory (default at C:\TwinCAT\Io\EtherCAT)
- Start TwinCAT System Manager, Select Option -> ‘Show Realtime Ethernet Compatible Devices...’ :
- Install the Ethernet adapter to use for EtherCAT. In the Connection Properties window select only the TwinCAT Driver and Protocol:
- Connect with CX-Drive and configure your basic settings for the Drive:
- Connect the Drive with the EtherCAT adapter
- In the left basic field select I/O – Configurations -> I/O Devices -> Scan Devices:
- Reply with OK for ‘Not all types of devices can be found automatically’. Select the device for use with EtherCAT, reply with OK for ‘Scan for boxes’, ‘EtherCAT drives found. Add drives to NC-Configuration’ and ‘Active Free Run’:
- In the left basic field select NC–Configurations -> NC-Task 1 SAF -> Axes -> Axis1
- Click on Online tab, on the top click on the ‘Activate configuration’, confirm OK to ‘Activate Configuration’ and the ‘Restart TwinCAT System in Run Mode’:
- Click on ‘Set’ (right box) from the Enabling section, in the Set Enabling activate Controller, Feed Fw, Feed Bw, fill in 10% at Overide and end with OK:
- Move with the function keys…………….
Used versions:
- TwinCAT NC1 v2.11 (Build 1539)
- CX-Drive 2.1.0.9
- Omron_R88D-KNxxx-ECT_v1.0x_20100201.xml