TODO Next: Funcion addSlave with sample configuration. That function must check if we have already the master, otherwise, it will get the master. Later, it will create C structures based on the data passed in the JSON config object. Important to note that we will not be using the standard xml files from ethercat at this point, but a simplified version in JSON. After: Implementation of description of PDOs in a function, which will output the different pins, types and descriptions, along with the offsets in the PDO. After: Implementation of queue mechanism mapped into shared memory to communicate cnc and ethercatServer processes. After: Implementation of start funcion which will be called after all the slaves have been configured. Can only be called once for now. This function will also start a real time thread to call the exchange functions in a cycle. Implementation of data exchange through shared memory.
TODO
Next: Funcion addSlave with sample configuration. That function must check if we have already the master, otherwise, it will get the master. Later, it will create C structures based on the data passed in the JSON config object. Important to note that we will not be using the standard xml files from ethercat at this point, but a simplified version in JSON.
After: Implementation of description of PDOs in a function, which will output the different pins, types and descriptions, along with the offsets in the PDO.
After: Implementation of queue mechanism mapped into shared memory to communicate cnc and ethercatServer processes.
After: Implementation of start funcion which will be called after all the slaves have been configured. Can only be called once for now. This function will also start a real time thread to call the exchange functions in a cycle. Implementation of data exchange through shared memory.

sledesm/node-ethercat,sledesm/node-ethercat,sledesm/node-ethercat