To create a new text in the cell, add a row to an existing file or create a new csv
file. There is also a possibility to add project specific alarms directly from code
using special RAPID instructions(see
FlexLoader Vision interface on page 102
). All
csv files in the selected language folder will be read into the robot. Inside the csv
file there are 7 columns to be filled to define the alarm or message.
Description
Element
Unique string through the system. This is later used in routine calls to point to
this message.
Identifier
“Error” = this is an alarm, “Warning” = this is a warning, “Information” = this is
an information. Leave this blank for other messages used in input boxes and so
on. If defined as any of the three this message will show in event log and alarm
lists.
Category
If wanted, name the station to which this message is connected. Leave blank if
not needed.
Station
If wanted, give an alarm number. This will be the last part of the alarm number
showing in alarm lists.
Number
If wanted, group texts and alarms in domains.
Domain
Header for the message. Depending on where you see this message, the header
might be the only line you see.
Header
Body text for the message. Possible to give a more detailed description of the
message.
Text
In the Header and Text wild cards can be used. A wild card is a place holder that
later can be changed to wanted text through RAPID code. For example Header:
“Emergency stop {1} machine number {2}”.
The placeholder numbers can be replaced by customer defined text when RAPID
calls are made in the program. If the example has the identifier "EMStop" then a
call in the program might look like this:
! Creating alarm: Emergency stop from machine number 3
MT_SetAlarm "EMStop",\WildCardTexts:=["from",ValToStr(3)];
The text shown in alarm list will be “Emergency stop from machine number 3”.
A maximum number of 5 wild cards per message is possible, which can be used
freely in both Header and Text.
Example of tasks that are handled by the alarms & messages are setting and
resetting of alarms, keeping track of active alarms and language handled UI
instructions.
Predefined data
There is some predefined data in the alarms & messages module that could be
good to know about.
MT_nMsgReadFromCSV
This variable will be set to 1 during the time that csv file information is read and
stored into the system. This could take some time and the alarms & messages
system will not work as intended during this time. If needed, make sure this variable
is set to 0 before starting normal execution and messaging usage in your user
program.
MT_bUIDialogActive
Continues on next page
Product manual - FlexLoader SC 6000
107
3HAC051768-001 Revision: D
© Copyright 2014-2020 ABB. All rights reserved.
7 RAPID program
7.5 FlexLoader Library Add-in
Continued
Содержание 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: ......