B-82604EN/01 OPERATION6.ADDRESS ASSIGNMENT TO POINTS
- 37 -
3 Cause code: alarm ID 16-bit signed integer
Normally, when an alarm is issued, the alarm is indicated in the first line of the
teach pendant. Some alarms are indicated in the upper two lines of the teach
pendant. In this case, the indication on the second line is the cause code.
At this address, the alarm ID of the cause code can be read. For an alarm with
no cause code, 0 is read.
4 Cause code: alarm number 16-bit signed integer
The alarm number of the cause code can be read. For an alarm with no cause
code, 0 is read.
5 Alarm severity 16-bit signed integer
A numeric value indicating the alarm severity can be read.
NONE 128 SERVO 54
WARN 0 ABORT.L 11
PAUSE.L 2 ABORT.G 45
PAUSE.G 34 SERVO2 58
STOP.L 6 SYSTEM 122
STOP.G 38
6 Date of occurrence (calendar year) 16-bit signed integer
7 Date of occurrence (month) 16-bit signed integer
8 Date of occurrence (day) 16-bit signed integer
9 Time of occurrence (hours in 24-hour clock) 16-bit signed integer
10 Time of occurrence (minutes) 16-bit signed integer
11 Time of occurrence (seconds) 16-bit signed integer
12-51 Alarm message Up to 80 characters
An alarm message can be read. The characters displayed on the first line on
the teach pendant including the characters of the alarm code such as
“SRVO-001” can be read directly.
52-91 Cause code message Up to 80 characters
The alarm message of the cause code can be read.
92-100 Alarm severity characters Up to 18 characters
A character string indicating alarm severity such as WARN can be read.
For RESET, 0 is read for both the alarm ID and alarm number. For the
alarm message, RESET is read.
When there are only two alarm lines on the alarm occurrence screen,
the elements of ALM[3] and later are all set to 0.
In elements containing a character string such as an alarm message,
the remaining part after the character string are set to 0. Katakana
characters are indicated in shifted JIS character code.
Alarm history has such a large data structure that each alarm uses
100 %R’s, and most of the data structure is for character strings such
as an alarm message. If you don’t need these strings, @ can be
specified for efficient communication.
For example, set $SNPX_ASG as follow:
$ADDRESS $SIZE $VAR_NAME $MULTIPLY
$SNPX_ASG[1] 1 12 ALM[E1]@1.4 1