ABB FlexLoader Vision Product Manual page 277

Table of Contents

Advertisement

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.
Name
Func num activeMes-
sageType()
FUNC string getMes-
sageLine()
PROC InitializeUser-
Texts()
FUNC bool isMessage-
Active()
Product manual - FlexLoader Vision
3HAC051771-001 Revision: B
B.6 FlexLoader assistance and utility functionality
Description
Check active types of messages. If no argument is passed,
highest active ranked message type is returned.
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.
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 FILE_PREFIX+sUsedLan-
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
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.
Argument nMessageNumber = -Optional- specific message to
check status for. If argument left out, functions returns TRUE if
any message is active.
© Copyright 2014-2018 ABB. All rights reserved.
B FlexLoader RAPID reference
Continues on next page
Continued
277

Advertisement

Table of Contents
loading

Table of Contents