R
I have been given the task of programming the PLC code for a label rewinding machine. They want to detect if a label is missing during the rewinding process. The machine is capable of running up to 1000 ft/minute. I am using a Banner and/or Keyence label sensor. The sensor is working OK, I am getting pulses into a register. But I am having a terrible time manipulating the pulse data to detect when a label is missing. The label are 2- 1/2" by 2- 1/2" with a 1/8" gap between each label. They want to stop the machine if a label is missing, that's not a problem. I have been trying to compare two slices of time, but the two time slices are usually the same, even if labels are not present. Any help would be appreciated.