sweet project!
Have you guys heard of MQTT? "MQTT is a light-weight publish/subscribe messaging protocol, there are already MQTT C and Java libraries with Lua". Basically we would use telemetry sensing to conduct an I/O action. For example, the table is done moving -> auto contact the operator / alarm / etc / -> turn output 30 on (do something in Mach 4) ---or being able to actuate the mill with mach4 over the internet no matter where you are at --- or with passive RFID, we can authorize certain people to use the mill only...etc.
sensor + audrino = client
MQTT server = broker + logic (described as a 'topic')
Mach 4 = subscriber
1. we create a 'topic' on the MQTT server
so...by using sensors on the mill, attached to the audrino (with relays or whatever applicable shields) using (wifi+PSU or power over Ethernet) will 'publish' a message to the corresponding 'topic'
2. the 'topic' is updated
3. Mach4 PLC has 'subscribed' to this topic and constantly looks to see for an update status, once the 'topic' is updated Mach 4 = do some user defined action
Have a looksy....
http://www.eclipse.org/paho/Got the idea from...
http://superhouse.tv/