13.3.5 FlexLoader assistance and utility functionality
Overview
Assistance and utility functionality enables efficient and user friendly programming
of the robot cell. It provides means for localized messaging, tool handling and
several global utility functions.
For further reference, see
FlexLoader assistance and utility functionality on page 276
RAPID example user messaging
The FlexLoader Vision standard modules integrates a localizable user
communication interface. The following example describes the typical use of the
messaging system.
Create a custom message identifier in MessageConfiguration.sys. Use a unique
identifier in the range 1 .. 200 (integrator messages). Other identifier ranges are
reserved for predefined system messages. See the file UserTexts_en_.txt for more
detailed information.
CONST num MY_INFORMATION_TOPIC:=1;
CONST num MY_ALARM_TOPIC:=2;
CONST num MY_QUESTION_TOPIC:=3;
The corresponding text data must be added to the file UserTexts_en_.txt, where
"en" can be replaced by alternative language codes.
1;Message1_Header; Message 1 line 2.; Message 1 line 3;
2;Message2_Header; Message 2 line 2.; Message 2 line 3;
3;Message3_Header; Message 3 line 2.; Message 3 line 3;
The message handling must be initialized at program start, e.g. in InitializeMain in
MainModule.mod.
! Initialize all texts and reset messages
InitializeUserTexts;
ResetMessage ALL_MESSAGES;
Message handling can then be used for e.g. messages, alarms and user input. If
selected, the information is transferred to the FlexLoader Vision information system
as well.
If present, the indication lights are updated according to the message severity.
! ask user during program execution
IF isUserInput(GRIPPERS_EMPTY\nTRUEButton:=TEXT_YES
\nFALSEButton:=TEXT_NO\ShowInPickMT:=FALSE)=FALSE THEN
! TODO - handle case gripper not empty
ENDIF
! display error message
WriteError LOW_AIR_PRESSURE;
! wait for action
ResetMessage LOW_AIR_PRESSURE;
! request value from user
nFeederOutSpeed:=numUserInput(MEASURE_DISTANCE\MinValue:=0
Continues on next page
Product manual - FlexLoader Vision
201
3HAC051771-001 Revision: B
© Copyright 2014-2018 ABB. All rights reserved.
13 Robot integration
13.3.5 FlexLoader assistance and utility functionality
Summary of Contents for FlexLoader Vision
Page 1: ...ROBOTICS Product manual FlexLoader Vision ...
Page 8: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 14: ...This page is intentionally left blank ...
Page 16: ...This page is intentionally left blank ...
Page 62: ...This page is intentionally left blank ...
Page 96: ...This page is intentionally left blank ...
Page 180: ...This page is intentionally left blank ...
Page 218: ...This page is intentionally left blank ...
Page 286: ......
Page 287: ......