LLExec EtherCAT on Windows: Difference between revisions

From Axel Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
# download '''WinPcap''' library from https://www.winpcap.org/install/bin/WinPcap_4_1_3.exe and install it;
# download '''WinPcap''' library from https://www.winpcap.org/install/bin/WinPcap_4_1_3.exe and install it;
# open the folder where the runtime is installed (tipically "C:\Program Files (x86)\Axel PC Tools\LLExec") and then open the file LLExec.conf with a text editor;
# open the folder where the runtime is installed (tipically "C:\Program Files (x86)\Axel PC Tools\LLExec") and then open the file LLExec.conf with a text editor;
# enable the EtherCAT plugin by uncomment the line:
# enable the EtherCAT plugin by uncomment the lines:
#: <code><plugin filename="LLXPlugin_EtherCAT.dll" params="0"/></code>
<plugin filename="LLXPlugin_EtherCAT.dll">
    ....
</plugin>
# run LLExec runtime;
# run LLExec runtime;
# in the log window of LLExec you will find several logs, search for the ones that begin with '''PCAP IF:''', example:
# in the log window of LLExec you will find several logs, search for the ones that begin with '''PCAP IF:''', example:
#: <code>PCAP IF: <b>0</b> Network adapter 'TAP-Windows Adapter V9' on local host
PCAP IF: <b>0</b> Network adapter 'TAP-Windows Adapter V9' on local host
#: PCAP IF: <b>1</b> Network adapter 'Oracle' on local host
PCAP IF: <b>1</b> Network adapter 'Oracle' on local host
#: PCAP IF: <b>2</b> Network adapter 'Realtek PCIe GBE Family Controller' on local host
PCAP IF: <b>2</b> Network adapter 'Realtek PCIe GBE Family Controller' on local host
#: PCAP IF: <b>3</b> Network adapter 'Microsoft' on local host</code>
PCAP IF: <b>3</b> Network adapter 'Microsoft' on local host</code>
# choose the desired network interface and write its numeric index in the file '''LLExec.conf''' by editing the '''params''' attribute of the EtherCAT plugin:
# choose the desired network interface and write its numeric index in the file '''LLExec.conf''' by editing the '''port''' attribute of the EtherCAT plugin:
#: <code><plugin filename="LLXPlugin_EtherCAT.dll" params="<b>2</b>"/></code>
<plugin filename="LLXPlugin_EtherCAT.dll">
    <EtherCAT port="<b>0</b>" autorecovery="no"/>
</plugin>
# restart LLExec for the normal operations.
# restart LLExec for the normal operations.



Revision as of 16:12, 30 January 2024

This page describes how to enable EtherCAT on the LLExec Windows Runtime.

  1. download "LogicLab Automation Suite" from our "Download" area on the public website and install it;
  2. choose "LLExec Win32: PLC runtime for Windows" component while installing
  3. download WinPcap library from https://www.winpcap.org/install/bin/WinPcap_4_1_3.exe and install it;
  4. open the folder where the runtime is installed (tipically "C:\Program Files (x86)\Axel PC Tools\LLExec") and then open the file LLExec.conf with a text editor;
  5. enable the EtherCAT plugin by uncomment the lines:
<plugin filename="LLXPlugin_EtherCAT.dll">
   ....
</plugin>
  1. run LLExec runtime;
  2. in the log window of LLExec you will find several logs, search for the ones that begin with PCAP IF:, example:
PCAP IF: 0 Network adapter 'TAP-Windows Adapter V9' on local host
PCAP IF: 1 Network adapter 'Oracle' on local host
PCAP IF: 2 Network adapter 'Realtek PCIe GBE Family Controller' on local host
PCAP IF: 3 Network adapter 'Microsoft' on local host
  1. choose the desired network interface and write its numeric index in the file LLExec.conf by editing the port attribute of the EtherCAT plugin:
<plugin filename="LLXPlugin_EtherCAT.dll">
   <EtherCAT port="0" autorecovery="no"/>
</plugin>
  1. restart LLExec for the normal operations.