Mt_Copypartinfo - Copies Part Info Between Trackers - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G.1.3 MT_CopyPartInfo - Copies part info between trackers
Usage
MT_CopyPartInfo is used to copy part tracker information from one part tracker
to another.
Basic examples
The following example illustrates the instruction MT_CopyPartInfo.
Example 1
This call will copy part information from the part tracker connected to the robot
station with index 1 (corresponds to gripper 1 in this case). The data will be copied
(Note, not moved!) to the part tracker of the machine, sdMachine. Since this machine
only have one tracker the index was left out (means that index 1 will be used
internally).
Arguments
\FromStation
Data type: mtstationdata
The station to copy part tracker data from.
\FromStationName
Data type: string
The station to copy part tracker data from. In this argument, the name of the
mtstationdata definition is passed as a string.
\FromIndex
Data type: num
Specifies which part tracker index in FromStation to fetch part info from.
\ToStation
Data type: mtstationdata
The station to copy part tracker data to.
\ToStationName
Data type: string
The station to copy part tracker data to. In this argument, the name of the
mtstationdata definition is passed as a string.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
G.1.3 MT_CopyPartInfo - Copies part info between trackers
PERS mtstationdata sdRobot;
PERS mtstationdata sdMachine;
PERS num GRIPPER_1:=1;
PROC TestProc()
MT_CopyPartInfo
\FromStation:=sdRobot,\FromIndex:=GRIPPER_1,\ToStation:=sdMachine;
ENDPROC
MT_CopyPartInfo [\FromStation] | [\FromStationName] [\FromIndex]
[\ToStation] | [\ToStationName] [\ToIndex]
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
RobotWare - OS
Continues on next page
227

Advertisement

Table of Contents
loading

Table of Contents