User`s manual

5-24 Series 90™-30 CPU with Embedded PROFIBUS Interface – November 2004 GFK-2334A
5
DP-V1 Alarm Acknowledge (9)
The master uses the DP-V1 Alarm Request Block to perform a DP-V1 Alarm
acknowledgement to a slave device. This message is sent to acknowledge and receive
information about an alarm when the alarm information appears in the DP-V1 status
words of the PLC. The information mapped to these words must be used in the DP-V1
Alarm Response command to process the alarm properly. The mapping of these words is
as follows.
Word Byte Name Description
1 Low Slave Address Address of slave with alarm
1 High Slot Number Slot number of alarm
2 Low Alarm Type Type of the alarm. (Valid values are 1—6 and 32—126.)
2 High Alarm Spec Alarm Specifier. (Valid values are 0—7.)
DP-V1 Alarm Request Command Block – Basic Example
The following command block accomplishes the following:
Send DP-V1 Alarm Request to Station Address 1, Slot 2, Sequence Number 1, Alarm
type 6, Alarm Spec 7.
Return the COMMREQ Status Word to %R10—%R13.
Return the Device Status to %R251—%R257.
Word Dec (Hex) Definition
1 9 (0009) Length of command Data Block
2 0 (0000) Always 0 (no-wait mode request)
3 8 (0008) Memory type of COMMREQ status word (%R)
4 9 (0009) COMMREQ status word address minus 1 (%R10)
5 0 (0000) Reserved
6 0 (0000) Reserved
7 9 (0009) DP-V1 Alarm Request Command
8 8 (0008) Memory type to write response (%R)
9 250 (00FA) Starting Address to write response (response
written to %R251)
10 7 (0007) Size of response (always 7)
11
1 (0001) Slave Address 0-125
12
2 (0002) Slot Number 0-254
13
1 (0001) Sequence Number
14
6 (0006) Alarm Type. (Valid values are 1—6 and 32—126.)
15
7 (0007) Alarm Specifier. (Valid values are 0—7.)
(Word 7) Command Code: Word 7 specifies the Command code for the COMMREQ to
be executed. DP-V1 Alarm Request = 9.
(Word 8) Local PLC - Memory Type: Words 8—9 specify the location in the PLC where
the response will be written. Values for Word 8 are listed on page 5-5.