Closed Bouni closed 6 days ago
Ok, if I don't do a make all
and only a make
I can build it and install it via make install
.
If I then try to start linuxcnc it fails:
LINUXCNC - 2.9.3
Machine configuration directory is '/home/user/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./ethercat.hal
lcec_conf: ERROR: Cannot find slave type R88D-1SN01H-ECT, verify type in XML file
lcec_conf: ERROR: Parse error at line 4: parsing aborted
./ethercat.hal:4: waitpid failed lcec_conf lcec_conf
./ethercat.hal:4: lcec_conf exited without becoming ready
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/user/linuxcnc_debug.txt
and
/home/user/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
My ethercat-conf.xml
looks like this:
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<slave idx="1" type="EK1110" />
<slave idx="2" type="R88D-1SN01H-ECT">
<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>
<watchdog divider="2498" intervals="1000"/>
</slave>
</master>
</masters>
I tried to figure out where the types come from but had no success so far. @scottlaird can you explain this a little?
I figured out that the example for Omron G5 servos is no longer valid:
It suggests using R88D-KN04H-ECT
as type, but actually I have to use OmrG5_KN04H
which makes sense as its the type used in the lcec_typelist_t
:
If I use Omr1S_1SN04H
linuxcnc starts with an error which is what I expected.
It seems this was changed a long time ago, I wasn't able to find out when R88D-KN04H-ECT
was the right value to use ...
In my opinion that shoud be the value to use, its intuitive, OmrG5_KN04H
is absolutely not ...
I try to add OMRON's 1S Series of servo drives. I tried to check whats different to the OMRON G5 series and the differences seem to be minimal.
So I tried to change everything named
omrg5
foromr1s
(case sensitive) in a copy oflcec_omrg5.c
namedlcec_omr1s.c
.When I run
make all
I get thsi output:Any ideas whats the problem with the go package?