As-i flags byte 0, input bits 7 - 4, As-i flags byte 0, output bits 7 - 4 – EUCHNER AS-i 3.0 PROFIBUS Gateway with integrated Safety Monitor for 2 AS-i circuits User Manual
Page 165
AS-i 3.0 PROFIBUS Gateway with integrated Safety Monitor
Appendix: Example for startup on a Siemens S7
Subject to reasonable modifications due to technical advances
Id.-No.: 103329
Issue date - 24.10.2008
EUCHNER GmbH + Co. KG
165
Kohlhammerstraße 16 • D-70771 Leinfelden-Echterdingen
Tel. +49/711/75 97-0 • Fax. +49/711/753316
17.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
nominal 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
power 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.
17.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.
AS-i LOS Master Bit
Bit 5: 0 = Offline when AS-i configuration error disabled, 1 = enabled
Information!
It is recommended that the AS-i flags be checked in the control program and to
respond according to the reported states.