Traffic lights

Monday, 08 July 2024

Home
Up
Plugin controller
Probe Guard
Turn off outputs
Traffic lights
Block Delete
Probe Wake
Messaging
SubZero

 

TrafficLight_plugin.py

Uses the status info available from linuxcnc.stat() to implement a traffic light display, driven by a USB I/O board.

Customisation

The output pins used to control each of the 3 lights are set up at line 13 in the file.  The default configuration  is

# define the I/O pin numbers for the lights
RED = 0
AMBER = 1
GREEN = 2

Depending on how many I/O cards you have, the allowed pin numbers range from 0 to 15

Latest download

Version history

Version Date Description
1 06/10/22 First release
2 29/03/23 Much more sophisticated tracking of PathPilot's actions.  This makes it possible to detect tool changes and tool changes that are taking longer than would be expected for an ATC.
That means there's a new light pattern to represent tool changes that are waiting for an operator.

Home | Up

 

This site was last updated 29/03/23