2 Machine Synchronization
2.10.1.9. PrxSetRecordSampleTime
3HAC18154-1 Revision: F88
© Copyright 2004-2008 ABB. All rights reserved.
2.10.1.9. PrxSetRecordSampleTime
Usage
Set the sample time for recording a profile, in seconds.
The default sample time is taken from the system parameter Pos Update time, belonging to
type CAN interface in the topic Process. Note that Pos Update time specifies the sample time
in milliseconds, while
PrxSetRecordSampleTime specifies the sample time in seconds.
The maximum number of samples in a recorded profile is 300. If a recording is longer than
300 * Pos Update time, the sample time must be increased.
Basic example
A 12 second recording is to be made. The sample time cannot be less than 12/300 = 0.04. The
sample time is therefore set to 0.04 seconds.
PrxSetRecordSampleTime SSYNC1, 0.04;
Arguments
PrxSetRecordSampleTime MechUnit SampleTime
MechUnit
Data type: mechunit
The moving mechanical unit object to which the robot movement is synchronized.
SampleTime
Data type: num
The sample time in seconds. It must be between 0.01 and 0.1.
Syntax
PrxSetRecordSampleTime
[ MechUnit‘ :=’ ] < expression (IN) of mechunit> ’,’
[ SampleTime‘ :=’ ] < expression (IN) of num> ’;’
Related information
For information about 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.