
This is a remote control tester, it uses a CNC, Ethernet Communication with a JAVAFX interface and a PLC in order to control some valves.
Dependencies: EthernetInterface mbed-rtos mbed
Fork of CNC_CONTROLLER by
Cnc.h@2:835c883d81b0, 2017-12-15 (annotated)
- Committer:
- kevencastro7
- Date:
- Fri Dec 15 19:40:41 2017 +0000
- Revision:
- 2:835c883d81b0
This is a remote control tester, it uses a CNC, Ethernet Communication with a JAVAFX interface and a PLC in order to control some valves.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kevencastro7 | 2:835c883d81b0 | 1 | #ifndef CNC_H |
kevencastro7 | 2:835c883d81b0 | 2 | #define CNC_H |
kevencastro7 | 2:835c883d81b0 | 3 | |
kevencastro7 | 2:835c883d81b0 | 4 | #include "mbed.h" |
kevencastro7 | 2:835c883d81b0 | 5 | #include "Debug.h" |
kevencastro7 | 2:835c883d81b0 | 6 | #include "Stepp.h" |
kevencastro7 | 2:835c883d81b0 | 7 | #include "EixoController.h" |
kevencastro7 | 2:835c883d81b0 | 8 | #include "EixoMonitoring.h" |
kevencastro7 | 2:835c883d81b0 | 9 | #include "PCF8574.h" |
kevencastro7 | 2:835c883d81b0 | 10 | |
kevencastro7 | 2:835c883d81b0 | 11 | class Cnc{ |
kevencastro7 | 2:835c883d81b0 | 12 | |
kevencastro7 | 2:835c883d81b0 | 13 | public: |
kevencastro7 | 2:835c883d81b0 | 14 | Cnc(EixoController*, EixoController*, PinName,PCF8574*,int,int ); |
kevencastro7 | 2:835c883d81b0 | 15 | void goToPosition(float, int, float, int , bool); |
kevencastro7 | 2:835c883d81b0 | 16 | |
kevencastro7 | 2:835c883d81b0 | 17 | private: |
kevencastro7 | 2:835c883d81b0 | 18 | PCF8574* pcf; |
kevencastro7 | 2:835c883d81b0 | 19 | int sensorUp; |
kevencastro7 | 2:835c883d81b0 | 20 | int sensorDown; |
kevencastro7 | 2:835c883d81b0 | 21 | EixoController* eixoX; |
kevencastro7 | 2:835c883d81b0 | 22 | EixoController* eixoY; |
kevencastro7 | 2:835c883d81b0 | 23 | DigitalOut eixoZ; |
kevencastro7 | 2:835c883d81b0 | 24 | Debug* debug; |
kevencastro7 | 2:835c883d81b0 | 25 | }; |
kevencastro7 | 2:835c883d81b0 | 26 | |
kevencastro7 | 2:835c883d81b0 | 27 | #endif |