Applications of control, warning or safety devices in filling machinery