mixing CoE and mailing

More
3 years 2 months ago - 3 years 1 month ago #279596 by bkt
Explain me better .... I have a drive that support CoE .... I can work on it whitout problem ... but it ha have more nice register to read, only is not supported from PDO system .... so think is possible read it with ethercat register data exchange system (EoE I think). But how I can do? need to make a new component derived from "generic drive" one? or need to make a new config file with EoE xml? or can mix a simple csp CoE .xml file with a EoE xml file?

best regards
and thanks in advances for every help
Last edit: 3 years 1 month ago by bkt.

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

More
3 years 2 months ago #279602 by rodw
Replied by rodw on topic mixing CoE and mailing
If the PDO's exist, they should be able to be added to your xml file
The following user(s) said Thank You: bkt

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

More
3 years 1 month ago - 3 years 1 month ago #279651 by bkt
Replied by bkt on topic mixing CoE and mailing
sorry not well understand ... actually I can move that motor whitout problem .... my machine work!
Only I have some nice register like "temperature register", "torque sensor register", "ethercat status register (like preop, op, safeop, init)", "error type register (not 603F register other one more specific)" that not support PDO, but can be read trought modbus or EoE ..... so you suggest to add standard SDO and PDO in a one only .xml file for EoE comunication?

the above example can work ? (referred to red row):
Code:
<masters> <master idx="0" appTimePeriod="1000000" refClockSyncCycles="2"> <slave idx ="0" type="generic" vid="00000024" pid="00242C04" configPdos="true"> [color=#e74c3c]<initCmds filename="mailboxex-extra-io-rw-permission.xml"/>[/color] <syncManager idx="0" dir="out"> </syncManager> <syncManager idx="1" dir="in"> </syncManager> <syncManager idx="2" dir="out"> <pdo idx="1600"> <pdoEntry idx="6040" subIdx="00" bitLen="16" halType="complex"> <complexEntry bitLen="1" halPin="M710_ctrlw_SwitchOn" halType="bit"/>

regards
Last edit: 3 years 1 month ago by bkt.

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

More
3 years 1 month ago #279661 by db1981
Replied by db1981 on topic mixing CoE and mailing
Attention:

CoE (Can over Ethercat) and
SoE (Sercos over Ethercat)

are both communication layers which are related to the ethercat slaves mailbox communication layer (pre op state) . Both are usable with the lcec.

EoE (Ethernet over Ethercat) is an layer to establish ethernet communication over you ethercat bus (tcp/ip ftp , drive setup software etc..) . if your slave is able to do EoE you can create an virtuall network adapter for direct acces to the slave through your ethercat master. (there is an long thread about Indramat drives and the necessary setup for this, ~3-4 years ago.... )


All these things are not related to process data communication (pdo, sdo) at running state. (ethercat op)
The following user(s) said Thank You: tommylight

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

More
3 years 1 month ago #279680 by bkt
Replied by bkt on topic mixing CoE and mailing
thanks db1981 ..... so in OP mode can or not use CoE AND EoE at same time? CoE for drive motor with usual PDO and EoE only for read some register not possible to read trought PDO?

Example: I use my machine.xml file with SDO and PDO  for preop and than op state .... but need to read reg 1001h udint 16bit (that not support PDO) .... can insert an .xml file for EoE reading?

regards

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

More
3 years 1 month ago - 3 years 1 month ago #279759 by bkt
Replied by bkt on topic mixing CoE and mailing
@db1981 ok find .... you means have a second master or bridge port for EoE comunication only right? so i can have lcec.1.x.myNonPdosReg value right? I well undestand these time? these is the only possibility?

@all .... I find these:  fh-soft.de/src/ethercat-userspace.html#Usage      than these:   forum.linuxcnc.org/ethercat/22346-ethercat-hal-driver?start=330

regards
Last edit: 3 years 1 month ago by bkt.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum