![background image](http://html.mh-extra.com/html/abb/flexloader-sc-6000/flexloader-sc-6000_product-manual_5012250.webp)
G.2.5 MT_GetPartState - Gets current part state of a part in specific tracker
Usage
MT_GetPartState
is used to get the part state of a part in a specific part tracker.
This is normally a faster way to fetch the state than using MT_GetPartInfo.
Basic examples
The following example illustrates the function
MT_GetPartState
.
Example 1
PERS mtstationdata sdRobot;
PERS num GRIPPER_1:=1;
IF MT_GetPartState(\Station:=sdRobot,\Index:=GRIPPER_1)=psRAW THEN
!Do actions if raw part
ENDIF
Take some actions if the part in robot gripper 1 is a raw part.
Return value
Data type:
mtpartstate
Arguments
MT_GetPartState ([\Station] | [\StationName] [\Index])
\Station
Data type:
mtstationdata
The station data which part state data should be fetched in.
\StationName
Data type:
string
Name of the station data declaration as a string. Through this name the correct
mtstationdata definition will be found and the corresponding part tracker where
part state data should be fetched.
\Index
Data type:
num
Index number of the part tracker fetch state from. Note, each station can have up
to 20 trackers.
250
Product manual - FlexLoader SC 6000
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
G FlexLoader Library Add-in reference
G.2.5 MT_GetPartState - Gets current part state of a part in specific tracker
RobotWare - OS
Содержание FlexLoader SC 6000
Страница 1: ...ROBOTICS Product manual FlexLoader SC 6000 ...
Страница 8: ...This page is intentionally left blank ...
Страница 12: ...This page is intentionally left blank ...
Страница 78: ...This page is intentionally left blank ...
Страница 172: ...This page is intentionally left blank ...
Страница 174: ...This page is intentionally left blank ...
Страница 176: ...This page is intentionally left blank ...
Страница 178: ...This page is intentionally left blank ...
Страница 182: ...This page is intentionally left blank ...
Страница 184: ...This page is intentionally left blank ...
Страница 186: ...This page is intentionally left blank ...
Страница 192: ...This page is intentionally left blank ...
Страница 224: ...This page is intentionally left blank ...
Страница 283: ......