Baumer GK473 User Manual
Page 11
![background image](/manuals/605654/11/background.png)
Manual_GK473_Profibus_EN.doc 11/16
Baumer IVO GmbH & Co. KG
04.05.11
Villingen-Schwenningen,
Germany
5.4.2. Continuous scanning of all connected SPAs
During operation the gateway is automatically scanning all SPA connected, checking whether they are
„in position“ or in error status. If requested, this information may be compiled by special command for
read-in by Profibus.
This function is optional in projecting (GSD file) and can even later be switched on or off by
supplementary command.
5.5. Profibus-specific
commands
There is a class of its own regarding commands for direct communication with the gateway without any
SPA commitment. All of these commands provide the „@“ code followed by a sub-code defining the
function in detail.
The total length of command and response is always 16, due to the constant Profibus transmission
length.
The “address” (Adr.) parameter is only for keeping the standard command structure, the value is
always 20h. Any bytes not used at the end of a message have always to be = 00h. They serve to
Profibus master and gateway for identification of the message length.
Significance of abbreviations applied. All numbers provide the offset of 20h.
Zhl
count byte (value zz)
Adr
SPA device address including offset 20h
Cmd
command (command code)
SCmd
sub command (sub command code)
BNr
block number including offset 20h
Anz
number of SPA including offset 20h
Daten
data transmitted or received
Rsvd
reserved byte
5.5.1. Batched information „SPAs connected“
The batched information „SPAs connected“ (command @-A) provides the total number of SPA’s
connected to the gateway together with the corresponding address information in bunches of 10. First
the Profibus Master should give the command with block number 0 (20h). In case of more than 10
SPAs being connected, the Profibus Master will scan the following SPAs in groups of 10 by further
command (block number 1..3 (21..23h).The addresses are in ascending order and may vary in the
range from 20h ..83h. The “Anz” parameter is always indicating the total number of all SPAs
connected.
Example: There are three SPAs (Adr. 25h, 26h and 27h) connected to the gateway
Zhl Adr Cmd Scmd BNr
data
transmit
zz
20h 40h 41h 20h
00h
00h
00h
00h
00h
00h
00h 00h 00h 00h
00h
Zhl Adr Cmd Scmd BNr
Anz
data
response
zz
20h 40h 41h 20h
23h
25h
26h
27h
20h
20h
20h 20h 20h 20h
20h