Hardware requirements
MIMXRT1180-EVK RevC
RJ45 Network cable
Mini/micro USB cable
Personal Computer on which the TwinCat3 has been installed(Windows 10 is recommended)
Board settings
No special settings are required.
Prepare the Demo
Generate the SSC source code
Download Slave Stack Code Tool(SSC Tool) from BECKHOFF official website and install it
Open Slave Stack Code Tool
Click ‘File’ -> ‘New’ -> ‘Import’ to import the Congfig file Select eoe.xml under path ‘.\boards\evkmimxrt1180\ecat_examples\eoe<core>\SSC’.
Click ‘Tool’ -> ‘Application’ -> ‘Import’ to import Application information Select eoe_freertos.xlsx under path ‘.\boards\evkmimxrt1180\ecat_examples\eoe<core>\SSC’.
Click ‘Project’ -> ‘Create new Slave Files’ ‘Source Folder’(default): ‘.\boards\evkmimxrt1180\ecat_examples\eoe<core>\SSC\Src’. Click ‘Start’.
Remove eoe_freertos.c under Src folder
Connect EtherCAT Port0 with TwinCAT3 RJ45 interface labeled as J28 is the EtherCAT Port0 and RJ45 interface labeled as J32 is the EtherCAT Port1.
Connect a USB cable between the host PC and the OpenSDA USB port on the target board
Open a serial terminal with the following settings
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo
Update ESI file to EEPROM
Copy ESI file ‘ECAT-EOE.xml’ generated by SSC TOOL to <TwinCAT_installation_folder>/
/Config/io/EtherCAT/ Restart TwinCAT3 IDE
Scan Device and Update EEPROM
Scan and load this device.
EoE configuration setting
Set the address of the network card used to connect to the demo board on PC side ip address: 192.168.1.102 subnet mask: 255.255.255.0 gateway: 192.168.1.0
Set the address of the demo board on TwinCAT EoE configuration page ip address: 192.168.1.66 subnet mask: 255.255.255.0 gateway: 192.168.1.102
Activate configuration
Click ‘TwinCAT’ -> ‘Restart TwinCAT(Config Mode)’ to activate configuration
Test ping and http server
Open cmd.exe and execute “ping 192.168.1.66”
Make sure browser proxy disabled
Open browser and access “http://192.168.1.66”