[etherlab-users] New mailing list question

Pierre Kurkdjian pkurkdjian at gmto.org
Fri Jan 10 20:50:04 CET 2020


Hello Etherlab community,

I would like to implement the entire ethercat state machine in C/C++.
Etherlab ethercat allows the users to select the ethercat state of each ethercat slave with command line, like that:

ethercat states -p0 INIT

ethercat states -p0 SAFEOP

ethercat states -p0 OP

…
My question is: Is there a way to do the same thing using the C functions?
It’s possible to go to preop by reserving a master (calling ecrt_request_master() ).
It’s possible to go to op by activating the master (calling ecrt_request_master() ).
But is there a way to go to safeop and to boot ?

Thank you for your time.

Best,
Pierre Kurkdjian
Real-Time Software Engineer
Giant Magellan Telescope Organization
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20200110/f96478b1/attachment-0002.htm>


More information about the Etherlab-users mailing list