2 Machine Synchronization
2.10.1.3. PrxActivRecord
3HAC18154-1 Revision: F82
© Copyright 2004-2008 ABB. All rights reserved.
2.10.1.3. PrxActivRecord
Usage
Activates the record that was just recorded in order to use it without having to save it before.
Basic example
PrxActivRecord SSYNC1, 0;
WaitTime 0.2;
SetDO do_startstop_machine, 1;
!Work synchronized with sensor
...
SetDO do_startstop_machine, 0;
Record of sensor is activated and used for prediction of sensor movement as soon as record
is ready.
Arguments
PrxActivRecord MechUnit Delay
MechUnit
Data type: mechunit
The moving mechanical unit object to which the robot movement is synchronized.
Delay
Data type: num
The delay in seconds can be used to shift the record in time. It must be between 0.01 and 0.1.
If given the value 0 no delay is added.
Program execution
PrxActivRecord must be executed at least 0.2 seconds before start of conveyor movement.
Error handling
The following recoverable errors can be generated. The errors can be handled in an error
handler. The system variable ERRNO will be set to:
Syntax
PrxActivRecord
[ MechUnit ‘:=’ ] < expression (IN) of mechunit>’ ,’
[ Delay ‘ :=’ ] < expression (IN) of num > ‘;‘
Related information
ERR_ACTIV_PROF for error at activate profile
ERR_STORE_PROF for error at store profile
ERR_USE_PROF for error at use profile
For information See
Recording sensor
profile
Synchronize with hydraulic press using recorded profile on page 63 or
Synchronize with molding machine using recorded profile on page 67.