6.ADDRESS ASSIGNMENT TO POINTS OPERATION B-82604EN/01
- 36 -
6.5 READING ALARM HISTORY (%R)
Robot controller alarm history can be read through CIMPLICITY. Set
$SNPX_ASG to perform %R assignment in the same manner as for
registers.
When assigning alarm history, set the elements of $SNPX_ASG as
follows:
$SNPX_ASG element Explanation
$ADDRESS Meaning: Start address of %R to be assigned
Range: 1 to 16384
$SIZE Meaning: Number of %R’s to be assigned
For each alarm, 100 %R’s are used.
(The number of %R’s used for each alarm can be changed by specifying @ in
$VAR_NAME)
Range: 1 to 16384
$VAR_NAME Meaning: Character string indicating the data to be assigned
When assigning alarm history, specify, for example, ALM[1]. The number in
brackets corresponds to the line number on the alarm screen. The line number
of the latest alarm is set to 1.
When ALM[1] is specified, the alarm displayed on the alarm issuance screen
on the teach pendant is read.
When E is added before the alarm number such as ALM[E1], the alarm
displayed on the alarm history screen on the teach pendant is read.
When the password option is ordered, specifying P before the alarm number
such as ALM[P1] allows reading of the operation history displayed on the
password history screen on the teach pendant.
$MULTIPLY Meaning: Multiplier
There is no data in alarm histroy that required the muliplier. $MULTIPLY for
alarm history specifies the data format of character string data. Whenever
communicating with CIMPLICITY, set this element to 1.
Range: 1
NOTE
The alarm history is read only. Even when a write
operation is performed, nothing occurs.
Each alarm use 100 %R’s. The contents of the 100 %R’s are listed
below:
%R address Explanation
1 Alarm ID 16-bit signed integer
For SRVO-001, the alarm ID indicating the servo, 11, is read. The alarm ID
number are listed in the alarm code table in the robot controller Operator’s
Manual.
2 Alarm number 16-bit signed integer
For SRVO-001, 1 in 001 is read.