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
VAR mtpartstate tempState;
VAR string tempString;
MT_GetPartInfo
\Station:=sdRobot,\Index:=GRIPPER_1,\State:=tempState,\UserDef:=tempString;
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
MT_GetPartInfo [\Station] | [\StationName] [\Index] [\ProgCode]
[\TypeCode] [\AuxCode] [\ToolCode] [\MachineCode] [\Routine]
[\Part] [\Tool] [\PLoad] [\State] [\UserDef]
\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.
Continues on next page
Product manual - FlexLoader SC 6000
231
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
G.1.6 MT_GetPartInfo - Gets any kind of part tracker data from a part tracker
RobotWare - OS
Summary of Contents for FlexLoader SC 6000
Page 1: ...ROBOTICS Product manual FlexLoader SC 6000 ...
Page 8: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 78: ...This page is intentionally left blank ...
Page 172: ...This page is intentionally left blank ...
Page 174: ...This page is intentionally left blank ...
Page 176: ...This page is intentionally left blank ...
Page 178: ...This page is intentionally left blank ...
Page 182: ...This page is intentionally left blank ...
Page 184: ...This page is intentionally left blank ...
Page 186: ...This page is intentionally left blank ...
Page 192: ...This page is intentionally left blank ...
Page 224: ...This page is intentionally left blank ...
Page 283: ......