Interface to the User Program in the S7-200 CPU

2.4.2Error Register in the Analog Module

Meaning for the User Program

With this register, the CP 243-2 signals errors to the user program.

Structure of the Error Register

Bit 7

0

Bit 6

0

Bit 5

0

Bit 4

0

Bit 3

0

Bit 2

APF

Bit 1

0

Bit 0

CER

Bit Description/Range of Values

Table 2-3

Bit

CER

APF

Value

0

1

0

1

Meaning

AS-i configuration correct (only in the protected mode)

The ªCERº LED is off

AS-i configuration error (only in the protected mode)

This indicates a difference between the slave configuration detected on the AS-i cable and the desired configuration configured on the CP 243-2.

The ªCERº LED is lit (see Section 1.8.1 Status Display of the CP 243-2).

AS-i voltage correct

The ªAPFº LED is off.

AS-i Power Fail.

This indicates that the voltage supplied on the AS-i cable by the AS-i power supply unit is too low or there is a complete power outage.

The ªAPFº LED is lit (see Section 1.8.1 Status Display of the CP 243-2).

Note

The ªCERº bit indicates configuration errors only in the protected mode. In the configuration mode, the ªCERº bit is always ª0º.

The ªCERº LED, on the other hand, indicates configuration errors both in the configuration mode and in the protected mode.

2-14

SIMATIC NET CP 243-2 AS-i Master

C79000-G8976-C142/02

Page 40
Image 40
Siemens CP 243-2 Error Register in the Analog Module, Structure of the Error Register, Bit Description/Range of Values