Hi,
I am writing a program for an machine that has an index table with 8 stations.
The program is basically complete but I am having trouble with one feature. I want to be able to track certain features with a hift register and shift the information around the table from station to station. I am using the SFT function to do this.
Here is what I want to do: ( table has indexed and is in position)
cycle test station.
if bad part - load a value of 1 into the shift register.
index table - shift bit when command to index
I would keep shifting this bit every index until it gets to the takeoff station at which point it would:
a) drop it down a reject shoot because it is bad
or
b) drop it on a conveyor to go to a further process.
It seems that with the SFT instruction, both the I & P inputs have to be on in order to load a 1 but at the same time it shifts it.
Am I thinking about this the right way or should or is there another more better way to do this.
Please help
Thanks.
I am writing a program for an machine that has an index table with 8 stations.
The program is basically complete but I am having trouble with one feature. I want to be able to track certain features with a hift register and shift the information around the table from station to station. I am using the SFT function to do this.
Here is what I want to do: ( table has indexed and is in position)
cycle test station.
if bad part - load a value of 1 into the shift register.
index table - shift bit when command to index
I would keep shifting this bit every index until it gets to the takeoff station at which point it would:
a) drop it down a reject shoot because it is bad
or
b) drop it on a conveyor to go to a further process.
It seems that with the SFT instruction, both the I & P inputs have to be on in order to load a 1 but at the same time it shifts it.
Am I thinking about this the right way or should or is there another more better way to do this.
Please help
Thanks.