Baumer GK473 User Manual
Page 30

Manual_GK473_S7_Profibus_EN.doc 30/32
Baumer IVO GmbH & Co. KG
04.05.11
Villingen-Schwenningen,
Germany
Positioning direction
0/1
(UP/DOWN)
Counting
direction 0/1
(UP/DOWN)
Arrows
0/1/2/3
(UP/DOWN/UNI/OFF)
Rounding the current value
0/1
(OFF/ON)
Turn
display
0/1
(OFF/ON)
Offset
0/1/2/3
(NORM/MAST/SLAV/WKZR)
Hide
target
0/1/2
(OFF/ON/EVER)
Data_4_5 1..99
(SPA-Identifier)
Call function
CALL FC 16
SPA_identifier
:=
INT;
Positioning direction
:= BOOL;
Counting direction
:= BOOL;
Arrows
:=
INT;
Rounding the current value
:= BOOL;
Turn display
:= BOOL;
Offset
:=
INT;
Hide target
:= INT;
Data_4_5
:=
INT;
4.13 FC 17 – Program profile
This function is for selecting a SPA profile. The function comprises SPA identifier and the requested
profile number. Both information is converted into ASCII and written into the respective command to be
sent.
Call function
CALL FC 17
SPA_identifier
:= INT
Profile
number
:=
INT
Time_Out
:= BOOL
Error
:= BOOL
Busy
:= BOOL
4.14 FC 18 – Collective information “connected SPA”
This function is for calling the gateway function „SPA connected“. The command generated comprises
the imperative count byte, the gateway address (20h) and the command byte for internal processing
(40h= ‘@’) as well as the command byte for special functions, in the example 41h. Following is a block
number (1..3 (21..23h)) comprising a group of 10 SPAs each.
Replied is again a 16 byte data block of the following structure: Count byte, gateway address, byte for
internal processing and command byte followed by the addressed block. The next byte comprises the
total of SPAs connected followed by their individual identifiers (please refer also to gateway manual
GK473, chapter 3.5).
Presently the function calls and reads the first block only. The function replies the total of SPAs
connected. If the function is intended for calling off other blocks due to requiring the identifiers of the
connected SPAs the function has to be correspondingly extended and adapted.