Сonfiguration Crevis

More
3 years 9 months ago #263324 by TheRoslyak
Hi everyone.
I received Crevis equipment for testing
I'm trying to configure it under linuxcnc.
But it doesn't work.

I configured on Twincat - everything works. pic1 pic2

"ethercat xml" get this. pic3

If I use "ethercat download -p 0 -t bool 0x7010 1 1" - work
If I input line to *.xml by <sdoConfig idx="7010" subIdx="01"><sdoDataRaw data="01"/></sdoConfig> - work

But final xml file don't work.
Tell me what I missed?)

Please Log in to join the conversation.

More
3 years 9 months ago #263327 by rodw
Replied by rodw on topic Сonfiguration Crevis
I'm only a noop with ethercat but that does not look like a linuxcnc xml file
Here is mine:  github.com/rodw-au/linuxcnc-cia402/blob/main/ethercat-conf.xml

Please Log in to join the conversation.

More
3 years 9 months ago #263328 by TheRoslyak
Replied by TheRoslyak on topic Сonfiguration Crevis
I have already configured many xml files.
I just got it for free for the Crevis test and so far it hasn't worked.
Everything is fine with the file - but something is missing or not right.

Please Log in to join the conversation.

More
3 years 8 months ago #263344 by db1981
Replied by db1981 on topic Сonfiguration Crevis
fist questian is : if the slave reaches op state (ethercat slaves)

if not , what kind of errors are listed in dmesg....

Please Log in to join the conversation.

More
3 years 8 months ago #263347 by TheRoslyak
Replied by TheRoslyak on topic Сonfiguration Crevis
Linuxcnc start correctly.

If I use "halcmd setp lcec.0.0.outs 1"
Bit in monitor set True, but not in real (LED does not shine)
If add <sdoConfig idx="7010" subIdx="01"><sdoDataRaw data="01"/></sdoConfig> in xml - work too (LED shine)

UPD Yes device is preop. not op

Please Log in to join the conversation.

More
3 years 8 months ago #263349 by db1981
Replied by db1981 on topic Сonfiguration Crevis
as long as the device is in preop state, pdo communication is not working.
sdo communiction will work at pre op state.


check dmesg for errors.

Please Log in to join the conversation.

More
3 years 8 months ago #263351 by db1981
Replied by db1981 on topic Сonfiguration Crevis
try without the dc conf line

Please Log in to join the conversation.

More
3 years 8 months ago #263354 by TheRoslyak
Replied by TheRoslyak on topic Сonfiguration Crevis
Perfect!!!
What does this line, which I always set by default, mean?I can't find a good description

Please Log in to join the conversation.

More
3 years 8 months ago #263362 by db1981
Replied by db1981 on topic Сonfiguration Crevis
infosys.beckhoff.com/english.php?content.../1446575627.html&id=

seems that your slave has no dc clock function.

Please Log in to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum