4. Running the EC-Master Demo Application¶
4.1. Get running EcMasterDemo without ENI:¶
RTOS-32:
cd /hv/rtos-32
sudo ./ecmasterdemo.sh
LxWin:
cd /hv/lx
sudo ./lx.sh
./dbgcon.sh
Start the EC-Master (without an ENI):
vmf login: root
password: root
cd /mnt/rtfiles/ecat
./noeni.sh
4.2. Get running EcMasterDemo with existing ENI¶
Caution
The following section assumes, that the default ENI file name (ENI.xml
) is used.
Copy ENI file to current location:
RTOS-32:
/hv/rtos-32/rtfiles/ecat
LxWin:
/hv/lx/rtfiles/ecat
Edit the following files:
RTOS-32:
cd /hv/rtos-32
gedit ./ecmasterdemo.config
Locate the [ecat]
entry and add -f ENI.xml
to the CommandLine
entry.
The final result should be similar to this:
[ecat]
"CommandLine"="-i8254x 1 1 -v 3 -perf -t 0 -b 1000 -sp -f ENI.xml"
LxWin:
cd /hv/lx/rtfiles/ecat
cp ./noeni.sh ./eni.sh
gedit ./eni.sh
Add -f ENI.xml
to the command line parameters entry.
The final result should be similar to this:
./EcMasterDemo -i8254x 1 1 -sp 6000 -t 0 -b 1000 -perf -v 4 -f ENI.xml"
Start EcMasterDemo with ENI:
RTOS-32:
cd /hv/rtos-32
sudo ./ecmasterdemo.sh
LxWin:
cd /hv/lx
sudo ./lx.sh
./dbgcon.sh
Start the EC-Master:
vmf login: root
password: root
cd /mnt/rtfiles/ecat
./eni.sh