Technical data
9
907 KP 95 / Issued: 09.97
CEs
WRITE DSP TO THE AF100 COUPLER 07 KP 95 DSPOUT
Description
The function block DSPOUT writes a DSP (data set pe-
ripheral) to the AF100 coupler 07 KP 95 (Advant Fieldbus
100 coupler). This DSP can be received from other stati-
ons over the AF100 bus. The function block DSPOUT is
similar to the Element Sending DSP of the Advant control-
lers.
The inputs #NB, SM through #NR, SR define the com-
position of the DSP. The inputs #ID and #ST define the
definite identification of the DSP on the AF100 bus. For
each bus, this identification may be used only by one
DSPOUT block (or Sending DSP for the Advant control-
ler), but by several DSPIN blocks (or Receiving DSPs for
the Advant Controllers).
The DSP, which is written by the DSPOUT function block,
is read by an other station with the DSPIN function block
(or receiving DSP element). The values #ID, #ST, #NB,
#NI, #NIL, #NR of the DSPIN function block (receiving
DSP element) must be equal to the values #ID, #ST, #NB,
#NI, #NIL, #NR of the corresponding DSPOUT function
block.
Important note:
During program modifications on running programs the
DSPOUT function block must neither be deleted nor
added, and the inputs of the DSPOUT function block
must not be altered.
The enabled function block (input EN = 1) writes a DSP to
the AF100 coupler 07 KP 95.
EN BINARY
Enable block processing. Values:
EN = 0: The block is not processed.
The output ERR
is reset to zero.
EN = 1: The block is processed.
#ID DIRECT CONSTANT
At the input #ID the identifier of of the DSP is defined. This
identifier results together with the input #ST into the defi-
nite identification of the DSP on the AF100 bus.
Valid values: 1 <
#ID < 50
Important note:
The values #ID, #ST, #NB, #NI, #NIL, #NR must be equal
to the values #ID, #ST, #NB, #NI, #NIL, #NR of the corre-
sponding DSPIN function block or the corresponding re-
ceiving DSP element
Valid values: #NB + #NI + #NIL + #NR <
8 and
#NB + #NI + #NIL + #NR >
1
#NB DIRECT CONSTANT
At the input #NB (number of booleans), the number of
packed binary values (32 values) of the DSP is defined,
which are to be sent.
Valid values: 0 <
#NB < 8
SM BINARY
At the input SM, the first flag of the binary flag range is
given, which are to be sent.
Example: #NI = 2 and SM = M 01,00
the packed binary values from
M 01,00 to M 04,15 (64 values)
are sent within the DSP.
#NI DIRECT CONSTANT
At the input #NI (number of integer), the number of words
of the DSP is given, which are to be sent.
Valid values: 0 <
#NI < 8
SMW WORD
At the input SMW, the first flag of the word flag range is
given, which is to be sent.
#NIL DIRECT CONSTANT
At the input #NIL (number of integer long), the number of
double words of the DSP is given, which are to be sent.
Valid values: 0 <
#NIL < 8
SMD DOUBLE WORD
At the input SMD, the first flag of the double word flag
range is given, which is to be sent.
#NR DIRECT CONSTANT
At the input #NR (number of real), the number of real val-
ues of the DSP is given, which are to be sent.
Valid values: 0 <
#NR < 8
SR DOUBLE WORD
At the input SR, the first flag of the double word flag range
is given, which is to be sent. Previously, the processed
double words must be converted into the corresponding
real values (IEEE 754), using the DWREAL function
block.
#ST DIRECT CONSTANT
At the input #ST the station address is defined. This ad-
dress results together with the input #ID into the definite
identification of the DSP on the AF100 bus.
Valid values: 1 <
#ST < 80
#CT DIRECT CONSTANT
At the input #CT the transmission interval (cycle time) is
defined in ms. This input defines, how many times a DSP
is transmitted on the bus.
Valid values: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512,
1024, 2048, 4096
ERR BINARY
At the ERR output it is indicated, whether an error has oc-
curred.










