Specifications
IP 240 Functional Description
6.3 Restart Characteristics
6.3.1 Power On
After ”Power on” a test routine is initiated on the IP 240 to verify proper functioning of the
module.
If the routine executes without error, the module is in a wait state which allows configuring of the
channels.
Any errors detected are stored in data words 8 to 10 of the specified data block when configuring,
and are indicated with the red MF LED.
The digital outputs are switched to the inactive state after ”Power on”.
6.3.2 CPU STOP
If the CPU goes from the RUN mode to the STOP mode, the IP 240 continues to run in the
configured mode.
After a CPU restart, the channels of the module can be reset to an initial state by reconfiguring, or
can continue to be operated in the configured mode.
If the channels are not reconfigured, any pending process interrupt requests must be cancelled by
reading the interrupt request bytes.
Note
Power failure
No battery backup is provided in the IP 240. All information is lost in the event of a
power failure.
Restart
When using an S5-150U or S5-135U with preliminary setting, any scratch flags and
system data areas used in the FBs ( Technical Specifications for Function Blocks)
must be saved in the restart routine (OB21/OB22).
The standard FBs for the S5-155U are programmed in such a way that this is un-
necessary.
Bit 3 in the PAFE byte can be set by the control FB, depending on the point at which
the program was interrupted ( Section 6.4). The data interchange that was in pro-
gress when the restart was initiated must be repeated.
6.4 Fault and Error Flagging
Each time a standard function block is called, a flag byte or output byte must be specified as PAFE
parameter. Any errors occurring are grouped and flagged in this error identifier byte. For this
purpose, the current error state is written into this byte at the end of a function block.
The possible errors subdivided into five categories, and flagged as follows by setting a PAFE byte
( Table 6.2). If a more detailed error description is possible, it is entered in KH format in data
words 8 to 10 and 13 of the specified data block as error message. The user must himself delete
the error messages in the DB.
The PAFE byte should be scanned for zero following every FB call.
EWA 4NEB 811 6120-02a
6-5