2 Machine Synchronization
2.10.1.13. PrxStoreRecord
933HAC18154-1 Revision: F
© Copyright 2004-2008 ABB. All rights reserved.
2.10.1.13. PrxStoreRecord
Usage
Saves an activated record in a file.
Basic example
ActUnit SSYNC1;
WaitSensor SSYNC1;
PrxStartRecord SSYNC1, 0, PRX_PROFILE_T1;
WaitTime 0.2;
SetDo do_startstop_machine 1;
WaitTime 2;
PrxStopRecord SSYNC1;
PrxActivRecord SSYNC1;
SetDo do_startstop_machine 0;
PrxStoreRecord SSYNC1, 0, "Profile.log";
Profile of sensor movement is recorded as soon as sensor_start_signal is set and is stored in
the file profile.log.
Arguments
PrxStoreRecord MechUnit Delay Filename
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. The delay is not saved in the profile, it is just used for
the activation. If the delay should be used together with a saved profile the delay has to be
specified again in the instruction
PrxUseFileRecord.
File_name
Data type: string
Name of the file where the profile is stored.
Limitations
The record must be activated before calling
PrxStoreRecord.
Syntax
PrxStoreRecord
[ MechUnit ‘:=’ ] < expression (IN) of mechunit>’ ,’
[ Delay ‘ :=’ ] < expression (IN) of num > ’,’
[ File_name‘ :=’ ] < expression (IN) of string >‘;‘
Continues on next page