Hello,
I’d like to have your opinion about this application and its possible implementations.
A IRB4600 must check if the top layer of a pallet is full (there are no holes), i.e. it goes in the center of the pallet, do a SearchL until the ultrasonic sensor detect a distance < x mm (it measure the height of the pallet basically), then start a movement that could be a spiral with center the pallet’s center or another movement that can reach all the points on the pallet top surface (still have to be chosen the best one). During this movement, the robot must send its position to the PLC, which is also receiving the values from the ultrasonic sensor; then the PLC compares all the values it is receiving and if all the ultrasonic sensor values are similar then it means the top layer of the pallet is full.
The robot has not the Multitasking option.
So I have thought to 3 possible solutions:
- During the movement, I activate a temporal trap routine that each 0.x s send the position to PLC
- Perform the movement as a series of close MoveJ, at the end of each of them I send the position to PLC
- Buy Multitasking option
I’d like not to buy Multitasking, but maybe in the first 2 cases the computational load could be high. Or maybe, considering that it would be just for a short movement, it can still be a good solution.
What do you think?