Mt_Setpartinfo - Sets Part Information Of A Part In A Specific Tracker - ABB FlexLoader SC 6000 Product Manual

Table of Contents

Advertisement

G FlexLoader Library Add-in reference
G.1.17 MT_SetPartInfo - Sets part information of a part in a specific tracker
RobotWare - OS
G.1.17 MT_SetPartInfo - Sets part information of a part in a specific tracker
Usage
MT_SetPartInfo is used to set any type of part data information to a specific part
tracker.
Basic examples
The following example illustrates the instruction MT_SetPartInfo.
Example 1
This code will set part state raw to robot gripper 1 (Robot station index 1).
Arguments
\Station
Data type: mtstationdata
The station to set part tracker data to.
\StationName
Data type: string
The station to set part tracker data to. In this argument name of the mtstationdata
definition is passed as a string.
\Index
Data type: num
Specifies which part tracker index to set part info to.
\ProgCode
Data type: dnum
ProgCode to set to the specified part tracker. See mtpartdata.
\State
Data type: mtpartstate
State to store in the specified part tracker. See mtparttracker.
\UserDef
Data type: string
User defined data to store in the specified part tracker. See mtparttracker.
244
PERS mtstationdata sdRobot;
PERS num GRIPPER_1:=1;
MT_SetPartInfo \Station:=sdRobot,\Index:=GRIPPER_1,\State:=psRAW;
MT_SetPartInfo [\Station] | [\StationName] [\Index] [\ProgCode]
[\State] [\UserDef]
© Copyright 2014-2020 ABB. All rights reserved.
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D

Advertisement

Table of Contents
loading

Table of Contents