Delayed setting of the PCS
When objects are detected by a camera system, it may take a certain amount of time for the data for the array to be recognised. InitialObjectPosition array is available. To take this runtime into account, additional functionality is available via the input SetDynPCS input is available.
Procedure:
- The camera system immediately reports the status "Workpiece detected", or the trigger for the camera has been set in the logic programme. This digital signal is used to start tracking by means of a positive execute edge, although the workpiece position has not yet been transmitted by the camera system:
Execute
= FALSE
ä
TRUE and
SetDynPCS
= FALSE
- The camera system reports the workpiece position with a delay so that the workpiece has already moved on in the meantime.
By setting the input
SetDynPCS
= TRUE values are read into InitialObjectPosition. These belong to the turntable position that was valid at the Execute time (trigger time of the camera). Internally, the PCS position to be set is corrected by the distance that the belt conveyor has travelled since the time of
Execute
=FALSE
ä
TRUE is returned.