Mt_Getpartinfo - Gets Any Kind Of Part Tracker Data From A Part Tracker - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G.1.6 MT_GetPartInfo - Gets any kind of part tracker data from a part tracker
Usage
MT_GetPartInfo is used to read any type of part data information from a specific
part tracker.
Basic examples
The following example illustrates the instruction MT_GetPartInfo.
Example 1
This code will get the current state and user defined string for the part currently in
robot gripper 1 (Robot station index 1). The data will be stored in tempState and
tempString.
Arguments
\Station
Data type: mtstationdata
The station to fetch part tracker data from.
\StationName
Data type: string
The station to fetch part tracker data from. In this argument name of the
mtstationdata definition is passed as a string.
\Index
Data type: num
Specifies which part tracker index to fetch part info from.
\ProgCode
Data type: dnum
Stores ProgCode into this INOUT argument. See mtpartdata.
\TypeCode
Data type: dnum
Stores TypeCode into this INOUT argument. See mtpartdata.
\AuxCode
Data type: dnum
Stores AuxCode into this INOUT argument. See mtpartdata.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
G.1.6 MT_GetPartInfo - Gets any kind of part tracker data from a part tracker
VAR mtpartstate tempState;
VAR string tempString;
MT_GetPartInfo
\Station:=sdRobot,\Index:=GRIPPER_1,\State:=tempState,\UserDef:=tempString;
MT_GetPartInfo [\Station] | [\StationName] [\Index] [\ProgCode]
[\TypeCode] [\AuxCode] [\ToolCode] [\MachineCode] [\Routine]
[\Part] [\Tool] [\PLoad] [\State] [\UserDef]
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
RobotWare - OS
Continues on next page
231

Advertisement

Table of Contents
loading

Table of Contents