Using a 504 processor, can I shift words, kinda like a UDT in 5000, in 500?
I have a vision system inspecting bottles. I can get a bottle present trigger and a reject signal to the processor. When I get a reject signal, I reset the encoder and begin counting pulses until I reach the reject station. Problem is, the reject is x distance away but there may be more rejects before I kick-off the first bad bottle. I can use a bitshift, but I haven't been able to tie the encoder counts to the bitshift thus far. Is it possible? I was thinking... If I get a reject, then reset the encoder counts and move it into an integer and shift it as each bottle passes through the bottle present trigger, alas! It has elluded me for several days. Is there an easier solution other than to just use an extra sensor at the reject and tie it to the bitshift?
I have a vision system inspecting bottles. I can get a bottle present trigger and a reject signal to the processor. When I get a reject signal, I reset the encoder and begin counting pulses until I reach the reject station. Problem is, the reject is x distance away but there may be more rejects before I kick-off the first bad bottle. I can use a bitshift, but I haven't been able to tie the encoder counts to the bitshift thus far. Is it possible? I was thinking... If I get a reject, then reset the encoder counts and move it into an integer and shift it as each bottle passes through the bottle present trigger, alas! It has elluded me for several days. Is there an easier solution other than to just use an extra sensor at the reject and tie it to the bitshift?