UserCommunication.sys
The FlexLoader Vision standard modules integrate a localizable user communication
interface.
The module
UserComunication.sys
contains a number of predefined
procedures/functions for interacting with the operator.
Description
Name
Check active types of messages. If no argument is passed,
highest active ranked message type is returned.
Func num activeMes-
sageType()
Rank order with highest first: ALARM_TYPE, WARNING_TYPE,
QUESTION_TYPE, INFORMATION_TYPE.
If type is passed as argument function returns TYPE_ACTIVE
(constant num), else TYPE_NOT_ACTIVE (constant num).
Gets one message line from language file.
FUNC string getMes-
sageLine()
Reads user texts from file and updates all user texts in program.
Note
The correct user text file must be placed in robot HOME directory.
The name of the file should be FILEsUsedLan-
guage+FILE_SUFFIX, this is for example “
UserTexts_en.txt
” for
english.
File structure like this:
1;MessageRow1/Header;MessageRow2; .... MessageRow11
2;MessageRow1/Header;MessageRow2; .... MessageRow11
...
...
MAX_MESSAGES;MessageRow1/Header;MessageRow2; ....
MessageRow11
PROC InitializeUser-
Texts()
Note
The number first in every row points to which message, also look
at to CONSTANT declarations in this file. It’s not necessary to
write all lines for every message. One row could be good enough:
1;Message1Row1
2;Message2Row1; Message2Row2
6;Message6Row1
Checks if any message is active or if a single message is active.
FUNC bool isMessage-
Active()
Argument nMessageNumber = -Optional- specific message to
check status for. If argument left out, functions returns TRUE if
any message is active.
Continues on next page
Product manual - FlexLoader Vision
277
3HAC051771-001 Revision: B
© Copyright 2014-2018 ABB. All rights reserved.
B FlexLoader RAPID reference
B.6 FlexLoader assistance and utility functionality
Continued
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: ......