Hello.
Sorry my english is not perfect.
I have problem with start examples swm-fm45.
I have servo Stober MDS5040/L
I changed ethercat-conf.xml
Code:
<masters>
<master idx="0" appTimePeriod="1000000" refClockCycles="1000">
<slave idx="1" type="StMDSk" name="SAT-EC-XML-EtherCAT_FastRefValue">
<dcConf assignActive="300" sync0Cycle="*1" sync0Shift="-2500"/>
</slave>
</master>
</masters>
When I run the program it gets an error
Code:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.7.0
Machine configuration directory is '/home/cezary2528/linuxcnc/configs/swm-fm45a'
Machine configuration file is 'swm-fm45a.ini'
INIFILE=/home/cezary2528/linuxcnc/configs/swm-fm45a/swm-fm45a.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Found file(REL): ./swm-fm45a.hal
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=5688
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
.
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/lcec.ko: Invalid parameters
./swm-fm45a.hal:22: exit value: 1
./swm-fm45a.hal:22: insmod for lcec failed, returned -1
See the output of 'dmesg' for more information.
5688
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
What am I doing wrong?
In the attachment there is the whole log
Thanks in advance