Prxactivandstorerecord - ABB IRC5 Applications Manual

Controller software
Hide thumbs Also See for IRC5:
Table of Contents

Advertisement

2 Machine Synchronization

2.10.1.2. PrxActivAndStoreRecord

2.10.1.2. PrxActivAndStoreRecord
Usage
Activate the recorded profile data and store it in a file.
Can be used instead of calling both
Basic example
Profile of sensor movement activated and is stored in the file profile.log.
Arguments
MechUnit
Data type:
The moving mechanical unit object to which the robot movement is synchronized.
Delay
Data type:
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
File_name
Data type:
Name of the file where the profile is stored.
Program execution
PrxActivAndStoreRecord
movement if the record is to be used for synchronization.
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:
ERR_ACTIV_PROF
ERR_STORE_PROF
ERR_USE_PROF
Syntax
80
PrxActivAndStoreRecord SSYNC1, 1, "profile.log";
PrxActivAndStoreRecord MechUnit Delay File_name
mechunit
num
string
must be executed at least 0.2 seconds before start of sensor
for error at activate profile
for error at store profile
for error at use profile
PrxActivAndStoreRecord
[ MechUnit' :=' ] < expression (IN) of mechunit> ','
[ Delay ':=' ] < expression (IN) of num > ','
[ File_name ':=' ] < expression (IN) of string > ';'
and
PrxActivRecord
.
PrxUseFileRecord
.
PrxStoreRecord
Continues on next page
3HAC18154-1 Revision: F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents