Wolverine458
Member
I have an application where I am firing two measuring cylinders (they send out a A/B phase difference pulse) into a part to measure the length and width. The 1746-HSCE2 counts the pulses so I know how far the cylinder extended to contact the part. The part profile is very small, so it will be very difficult to embed a prox in the tooling to detect when it has contacted the part. Right now I am just using a timer to determine when the motion is complete (the retracted switch is off and the extended switch has not been made for 1 second, so the stroke must have contacted the part). This way adds unnecessary time to the cycle and is dependent on the speed of the stroke. If someone changes the flow controls, the system could start taking measurements too soon.
I thought since I am getting the count values from the counter card, there should be a way to monitor these counts to see when they've 'settled' to within a certain tolerance. Since the count usually doesn't stop completely (the values changes slightly up or down even when the cyliner is not visibly moving). I am having a hard time coming up with a method in the logic to do this. Has anyone out there done something like this before? Any suggestions are welcome.
I thought since I am getting the count values from the counter card, there should be a way to monitor these counts to see when they've 'settled' to within a certain tolerance. Since the count usually doesn't stop completely (the values changes slightly up or down even when the cyliner is not visibly moving). I am having a hard time coming up with a method in the logic to do this. Has anyone out there done something like this before? Any suggestions are welcome.