Technical data

Table Of Contents
DPV1 SFBs According to PNO AK 1131
System Software for S7-300/400 System and Standard Functions - Volume 1/2
8-24
A5E00709327-01
LEN parameters
The LEN parameter specifies the length in bytes of the additional interrupt
information to be sent. The maximum permitted range of values is 0 to 16.
For all possible interrupt types, the following table shows the values LEN can have
for the individual modes of an intelligent slave.
Interrupt type DP S7-compatible
Diagnostic interrupt 4 to 16
Hardware interrupt 4
The following table shows the response of SFB 75 when you assign LEN a value
other than the length of AINFO in BYTE.
Value of LEN SFB 75 response
<= length specified for AINFO SFB 75 sends an interrupt to the DP master. The amount
of bytes of additional interrupt information transmitted is
as specified in LEN.
Outside the permitted range of
values (< 0 or > 16)
SFB 75 does not send an interrupt.
Error information: W#16#80B1, STATUS[4]=B#16#FF
> length specified for AINFO SFB 75 sends an interrupt to the DP master. The amount
of bytes of additional interrupt information transmitted is
as specified in the length information from AINFO.
Error information: W#16#00B1, STATUS[4]=Length
information from AINFO
AINFO parameters
AINFO is the source area for additional interrupt information. As far as the
intelligent slave is concerned, you can fill this area with any values that you wish.
However, if you are using a DP master of the S7 family, the additional information
sent along with the interrupt must conform to S7 conventions.
If you send a diagnostic interrupt (ATYPE=1), then you are responsible for
entering appropriate, relevant values in data record 0, and if necessary, also in
data record 1.
The following table shows you a proposed set of S7-compatible entries. In this
case, the "module fault" bit (see above) was already set. Up to actually naming the
bit, this suggestion corresponds to the default assignment (the one existing after a
POWER UP, after a STOP-RUN transition at the intelligent slave or a station
return).
Data record no.. Assignment
0 B#16#01, 0B, 00, 00
1 For S7-compatible mode: data record 0 + 12 bytes with zero
(See also Overview of the Structure of Diagnostic Data)