Preparing Power-Up Routines

14-3

 

 

To set and reset bits:

1.Cursor to the bit location.

2.Set by entering 1; reset the bit by entering 0.

Use this Bit

To

0

Control controllers that are using SFCs

 

This bit determines if the SFC restarts or resumes at the last active

 

step after a power loss.

 

 

1

Select power-loss protection

 

If this bit is set and a power loss occurs, the controller sets major

 

fault bit 5 and executes a fault routine you define before it returns to

 

normal program scan.

 

 

The above table describes the possible start-up routines. For more information about fault routines, see chapter 16.

See chapter 21 for definitions of the user control bits (S:26/0-6).

 

 

Possible Controller Power-Up Routines

 

If You are

With

And You Want to:

Then Set Bit 0 and 1 as Shown:

 

 

 

15..............0

 

 

 

 

Using SFCs

No fault routine

Restart at the first step

xxxxxxxx xxxxxx00

 

 

 

 

 

 

Restart at the last active step

xxxxxxxx xxxxxx01

 

 

 

 

Not using SFCs

Fault routine

Start at the first file

xxxxxxxx xxxxxx0x

 

 

 

 

 

 

Restart using the fault routine file

xxxxxxxx xxxxxx1x

 

 

 

 

Using a fault file

SFCs

Restart using the fault file and then the first step

xxxxxxxx xxxxxx10

 

 

 

 

 

 

Restart using the fault file and then the last active step

xxxxxxxx xxxxxx11

 

 

 

 

Not using a fault file

Not using SFCs

Start at the first file in the controller’s memory.

xxxxxxxx xxxxxx00

 

 

 

 

Each x indicates a bit that can be 0 or 1 for the status value described.

Publication 1785-UM012D-EN-P - July 2005

Page 237
Image 237
Bradley Smoker PLC-5 user manual Use this Bit, 15..............0