...
- EtherCAT Resources & Reference Material
- linuxRT PC Set-up
- EtherCAT linuxRT Configuration
- EtherCAT Template for Creating Epics Application
- Configuring EtherCAT Epics Application
- T
- Debugging Tips
EtherCAT Resources & Reference Material
...
- For new users, please reference the following page: LinuxRT Quick Start-up For New Users
- Highly recommend viewing this diagram: LinuxRT_Diagram
Verification Checks of checks on linuxRT Machinesmachines:
- Please see $IOC/cpu-<bld>-<name>/README on instructions on how to power cycle machines remotely through the use of ipmi commands
- Once you set-up your linuxRT machine and boot up, log in as laci to your linuxRT system. ( ssh laci@cpu-<bld>-<name>)
- Test if your machine is running real-time linux using uname -a
$ uname -a Linux cpu-b34-mc23 3.18.11-rt7 #5 SMP PREEMPT RT Wed Mar 16 19:03:38 PDT 2016 x86_64 GNU/Linux $ /lib/libc.so.6 GNU C Library (Buildroot) stable release version 2.20, by Roland McGrath et al. Copyright (C) 2014 Free Software Foundation, Inc. |
---|
EtherCAT linuxRT Configuration:
In the SLAC environment, we are currently running EtherCAT on industrial PC's running linux with a pre-emptive real-time patch (linuxRT). Before configuring for EtherCAT, the very first step is to set-up a new linuxRT host.
We are currently using Etherlab's EtherCAT Master module. , which can be found under the package area
3. As the OS is set up, the linux Kernel Driver is required. For this, include the kernel module, include the port where the device is connected into the kernel-modules.cmd file. ( ref : $IOC/cpu-b34-mc23)
...
$ ethercat slaves 0 0:0 OP + E1250-EC-UC V1.7b1 |
---|
EtherCAT Template for Creating Epics Application
Configuring EtherCAT Epics Application
The EtherCAT application has two parts.
...
$ python --version Python 2.7.4 $ export PATH=/afs/slac/g/lcls/package/python/python2.7.9/linux-x86_64/bin/:$PATH $ python --version Python 2.7.9 |
---|
Debugging Tips