Сonfiguration Crevis

More
31 Jan 2023 09:33 - 31 Jan 2023 10:25 #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?)
Attachments:
Last edit: 31 Jan 2023 10:25 by TheRoslyak.

Please Log in or Create an account to join the conversation.

More
31 Jan 2023 09:49 #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 or Create an account to join the conversation.

More
31 Jan 2023 09:53 #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 or Create an account to join the conversation.

More
31 Jan 2023 12:37 #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 or Create an account to join the conversation.

More
31 Jan 2023 12:42 - 31 Jan 2023 13:09 #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
Attachments:
Last edit: 31 Jan 2023 13:09 by TheRoslyak.

Please Log in or Create an account to join the conversation.

More
31 Jan 2023 13:10 #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 or Create an account to join the conversation.

More
31 Jan 2023 13:14 #263351 by db1981
Replied by db1981 on topic Сonfiguration Crevis
try without the dc conf line

Please Log in or Create an account to join the conversation.

More
31 Jan 2023 13:28 - 31 Jan 2023 13:30 #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
Last edit: 31 Jan 2023 13:30 by TheRoslyak.

Please Log in or Create an account to join the conversation.

More
31 Jan 2023 14:33 #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 or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum