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 Lahis Almeida

Cnc.h

Committer:
kevencastro7
Date:
2017-12-15
Revision:
2:835c883d81b0

File content as of revision 2:835c883d81b0:

#ifndef CNC_H
#define CNC_H

#include "mbed.h"
#include "Debug.h"
#include "Stepp.h"
#include "EixoController.h"
#include "EixoMonitoring.h" 
#include "PCF8574.h"

class Cnc{

    public:
                Cnc(EixoController*, EixoController*, PinName,PCF8574*,int,int );
                void goToPosition(float, int, float, int , bool);   
                
    private:    
                PCF8574* pcf;
                int sensorUp;
                int sensorDown;
                EixoController* eixoX;
                EixoController* eixoY;
                DigitalOut eixoZ;
                Debug*       debug;
};

#endif