Kangaroo system - send/receive program to/from CNC machine

9
Kangaroo Wireless system for exchange messages between CNC machine Mirko Mancin e Giovanni Franco

description

The system provides different nodes connected to the machines via serial cable (DB25). They receive programs from the machine and send them to a central node that will save the data. They also receive programs from the master to be able to then send to the machine. The nodes are constituted byraspberryPI boards with the addition of an I/O expander. While the master board is a quadcore ODROID U3

Transcript of Kangaroo system - send/receive program to/from CNC machine

Page 1: Kangaroo system - send/receive program to/from CNC machine

KangarooWireless system for exchange messages between CNC machine

Mirko Mancin e Giovanni Franco

Page 2: Kangaroo system - send/receive program to/from CNC machine

Il sistemaIl sistema permette di connettere differenti nodi ad altrettante macchine utensili via cavo seriale (DB25). Questi nodi permettono di scaricare/caricare autonomamente i programmi dalla macchina ed inviarli/ricevere da un sistema centralizzato di salvataggio.

Mirko Mancin e Giovanni Franco

Page 3: Kangaroo system - send/receive program to/from CNC machine

ArchitetturaZigbee

WiFi

Mirko Mancin e Giovanni Franco

Page 4: Kangaroo system - send/receive program to/from CNC machine

Kangaroo JRQuesto device permette di connettere la macchina in rete sia attraverso una connessione WiFi sia una rete Zigbee. In questo modo è possibili inviare i programmi al nodo master e di ricevere i dati da inviare poi alla macchina senza dover ricorrere a dispositivi ad-hoc da spostare su ogni CNC.

Ogni dispositivo possiede un codice ID identificativo che permettere di individuare la macchina in rete ed al master di dialogare nel modo corretto con essa. Inoltre è possibile aggiungere altre informazioni se necessario per aumentare la ricchezza delle informazioni scambiate.

{ id: "1", name: "CNC1", ipAddress: "192.168.30.12", type: "cnc"}

Mirko Mancin e Giovanni Franco

Page 5: Kangaroo system - send/receive program to/from CNC machine

Daddy KangarooSi tratta del nodo master e consiste in una scheda che gestirà la rete e si occuperà di salvare e mostrare i dati ricevuti.

A fianco ad essa, è posto un router WiFi e/o un dongle Zigbee che permettono di creare una sottorete ad-hoc per dialogare con i Kangaroo JR.

Mirko Mancin e Giovanni Franco

Page 6: Kangaroo system - send/receive program to/from CNC machine

Daddy KangarooIt offers different API for communication between the client and the kangaroo JR:

● getCNCList(); //returns the list of networked machines ● setNewCNC(); //setup a new machine in the network ● sendFile(); //send the file from the client machines ● uploadFile(); //get the file from the machines ● ...

Mirko Mancin e Giovanni Franco

Page 7: Kangaroo system - send/receive program to/from CNC machine

JCook JCook è il client che permette di visualizzare i dati presenti sul master della rete.

Ci sono due versioni di esso per permettere una completa gestione dei dati:

● JCook Desktop● JCook Mobile

Mirko Mancin e Giovanni Franco

Page 8: Kangaroo system - send/receive program to/from CNC machine

JCook DesktopIl client desktop è un tool semplice da utilizzare e permette di visualizzare i dati presenti sul master come in una finestra dell’esplora risorse.

Possibile settare fino a 248 differenti macchine in WiFI e fino a 60000 dispositivi in Zigbee.

Mirko Mancin e Giovanni Franco

Page 9: Kangaroo system - send/receive program to/from CNC machine

JCook MobileIl client mobile invece permette di visualizzare l’elenco dei programmi presenti sul master e permette di inviarli poi ad una determinata macchina stando comodamente a bordo macchina. Utile nel caso il pc sia lontano dalle macchine utensili.

Mirko Mancin e Giovanni Franco