beautypg.com

Siemens CP 243-2 User Manual

Page 99

background image

Command Interface

5-31

SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02

Meaning of the Flags

OFFLINE_READY

The flag is set when the offline phase is active.

APF

This flag is set when the voltage on the AS-i cable is too low.

NORMAL_MODE

This flag is set when the CP 243-2 is in the normal mode.

CONFIG_MODE

The flag is set in the configuration mode and reset in the protected mode.

AUTO_ADDR_AVAIL

This flag is set when the automatic address programming can be executed
(in other words exactly one slave is currently out of operation).

AUTO_ADDR_ASSIGN

This flag is set when the automatic address programming is possible (in
other words AUTO_ADDR_ENABLE = 1 and there is no “incorrect” slave
connected to the AS-i cable).

LDS_0

This flag is set when a slave exists with address 0.

CONFIG_OK

This flag is set when the desired (configured) and actual configuration
match.

OFFLINE

This flag is set when the CP is to change to the OFFLINE mode or is
already in this mode.

EEPROM_OK

This flag is set when the test of the internal EEPROM did not detect any
errors.

AUTO_ADDR_ENABLE

This flag indicates whether the automatic address programming is enabled
(BIT = 1) or disabled (BIT = 0) by the user.

INTERNAL

This flag is always set.

PERIPHERY_FAULT

This flag is set when at least one AS-i slave is signaling a peripheral fault.

MPO startup

The “master_power_on_startup” flag is set after the power supply of the
AS-i master has been turned on. If the master is later
changed to OFFLINE, the bit is reset.

meaning of the bits in the lists:

Bit = 0:

AS-i slave is not activated (detected, configured)

Bit = 1:

AS-i slave is activated (detected, configured)