![Pepperl+Fuchs VBG-PB-K20-DMD-C1 Manual Download Page 155](http://html1.mh-extra.com/html/pepperl-fuchs/vbg-pb-k20-dmd-c1/vbg-pb-k20-dmd-c1_manual_1527750155.webp)
AS-i/PROFIBUS-Gateway
Appendix: Example for startup on a Siemens S7
Subject to reasonable modifications due to technical advances.
Copyright Fuchs, Printed in Germany
Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Is
s
ue dat
e -
12.
8.
2007
153
12.2.6.1
AS-i flags byte 0, input bits 7 - 4
In order to check the current operating status of the AS-i circuit, the AS-i flags re-
freshed with each PROFIBUS cycle can be used. These for flags occupy bits 7 -
4 in input byte 0.
AS-i Config Error:
Bit 4: 0 = AS-i configuration OK, 1 = AS-i configuration faulty
If during running the gateway AS-i master detects a discrepancy between the nom-
inal configuration and the actual configuration, this bit is set. This allows the control
program to react to a faulty AS-i slave.
AS-i Power Fail
Bit 5: 0 = AS-i power OK, 1 = AS-i power fail
When there is a failure of the AS-i supply voltage, this is indicated by the AS-i pow-
er fail bit.
AS-i Peripheral Error
Bit 6: 0 = AS-I peripheral OK, 1 = AS-I peripheral error
This bit indicates that there is a peripheral error on an AS-i slave. This may result
for example from incorrect parameterizing of the AS-i slave.
AS-i Configuration Active
Bit 7: 0 = AS-i configuration is active, 1 = AS-i configuration is inactive.
This bit indicates whether the AS-i gateway is in protected mode (Bit 7 = 0) or in
projecting mode.
It is recommended that the AS-i flags be checked in the control program and to
respond according to the reported states.
12.2.6.2
AS-i flags byte 0, output bits 7 - 4
Output bits 7 - 4 in byte 0 can be used to affect the status of the AS-i circuit by the
controller.
AS-i Off Line
Bit 4: 0 = Online, 1 = Offline
Use this bit to enable/disable the data cycle of the AS-i circuit. If the AS-i Master
is in offline mode, no AS-i communication with the AS-i slaves will take place.
It is recommended that the AS-i flags be checked in the control program and
to respond according to the reported states.