4.4. IntervalZero RTX
EC-Simulator HiL is available for RTX64 3.x and RTX64 4.x .
4.4.1. Unbind Ethernet Driver instance
To use Real-time Ethernet Driver under RTX, the network adapter should be assigned to RTX as described in the RTX user manual. The NIC driver should not use the network adapter for TCP/IP and therefore the network adapter may not be configured in RtxTcpIp.ini.
4.4.2. Setting up and running EcSimulatorHilDemo
The file EcSimulatorHilDemo.rtss has to be executed. The full path to the ENI file has to be given as a command line parameter as well as the appropriate Real-time Ethernet Driver.
RTSSrun EcSimulatorHilDemo.rtss -i8255x 1 1 -f C:/eni.xml
See also
4.4.3. OS Compiler settings
Besides the general settings from OS Compiler settings the following settings are necessary to build the example application for RTX.
- Extra include paths
<InstallPath>\SDK\INC\RTX <InstallPath>\Examples\Common\RTX
- Extra source paths
<InstallPath>\Examples\Common\RTX <InstallPath>\Sources\OsLayer\RTX
- Extra library paths to the main EtherCAT components
<InstallPath>\SDK\LIB\RTX64 (RTX64 4.x) <InstallPath>\SDK\LIB\RTX64_30 (RTX64 3.x)