Device Description HG G-71450/1/3/5-A | English, Revision 02 | Date: 06.06.2019
32
Chapter 6 – Interfaces: Profibus (HG G
-
71451)
6
Interfaces: Profibus (HG G
-
71451)
The code supplied by the transponder has a sequence of 24 bits in which 16 bits are
coded. The data and a status byte are output via the Profibus. The programming of
transponders can also be carried out via the Profibus. The additionally available serial
interface can be used for logging and for the configuration via the internal monitor
program (see chapter 9 on page 49).
6.1 Profibus Address (Hex Rotary Switch)
2 Hex-rotary switches under 2 blind plugs are available for the adjustment of the
Profibus address (see Figure 8 on page 18). Set the address in area 0 to 7E with a
screwdriver and re-seal the plugs afterwards. For the readjusted address to be used
the antenna has to be turned off and on again.
6.2 Profibus Configurations
By means of the GSD files HG71451A3.GSD (see section 6.5 on page 34) it is possi
-
ble to project three different configurations:
1.
Simple reading of the antenna with 3 input bytes according to the following
table:
2.
Reading of the antenna with 3 input bytes (Table 23) and send delete statement
with 1 output byte (Table 24)
The output byte has to be used according to the following table:
If – e.g. after a change in the direction of travel – a new positioning pulse should be
generated at the transponder just read the delete statement has to be send. The de
-
lete statement is initiated by a rising edge of the CLR bit; i. e. first the status byte
should be transfered with a deleted CLR bit. The current status will be indicated in
the status byte (see Table 26 on page 33).
Table 23
HG G-71451: Structure of the three Profibus input bytes
Byte #
Length Type
Sequence
Meaning
1
2 Byte
unsigned int
Lo Byte
read transponder code
2
Hi Byte
3
1 Byte
unsigned char
Status (according to
Table 26 below)
Table 24
HG G-71451: Structure of the Profibus output bytes
Byte #
Length Type
Sequence
Meaning
1
1 Byte
unsigned char
Command bit (accord
-
ing to Table 27 below)