dmherrington / ECM-Control-System

0 stars 2 forks source link

Physical start/stop button integration #16

Open mbromley-voxel opened 6 years ago

mbromley-voxel commented 6 years ago

When someone is operating the machine it wastes a lot of time to continually put on and take off gloves to handle parts. An IP65 rated button will be installed to initiate a START command as well as a STOP command.

The START button should initiate the latest available automated profile.

majorpr13 commented 6 years ago

A way to accomplish this would be to use the voltage bus bar as supplied from the sensoray device and connect the output to one terminal of the switch. The other terminal of the switch would connect to the DIO pin on the sensoray device.

Leveraging the sensoray API, we could establish a callback function that emits the event when the status of the IO pin changes (can be set to be activated only per surpassing a state condition).

The event would then trigger a similar event as related to buttons on the physical GUI.