beautypg.com

B - processor status file, Processor status file, S:0ćs:2 – Rockwell Automation 1785-L20C_L40C, D17856.5.14 ControlNet PLC-5 Programmable Controllers User Manual User Manual

Page 82

background image

Appendix

B

B-1

Processor Status File

Processor status data is stored in data-file 2.

This word of

the status file:

Stores:

S:0

Arithmetic flags

bit 0 = carry

bit 1 = overflow

bit 1 = overflow

bit 2 = zero

bit 3 = sign

S:1

Processor status and flags
Bit

Description

0

RAM checksum is invalid at powerĆup

1

processor in Run mode

2

processor in Test mode

3

processor in Program mode

4

processor burning EEPROM

5

enabled download operation

6

enabled test edit mode

7

mode select switch in Remote position

8

forces enabled

9

forces present

10

processor successfully burned EEPROM

11

performing online programming

12

processor in Debug mode

13

user program checksum done

14

last scan of ladder or SFC step

15

processor started fist program scan or the

first scan of the next step

in an SFC

S:2

Switch setting information

bits 0-7 DH+ station number

bit 11Ć12 are set based on the I/O chassis backplane switches
bit 12

bit 11 = I/O chassis addressing

0

0

illegal

1

0

1/2Ćslot

0

1

1Ćslot

1

1

2Ćslot

bit 13: 1 = load from EEPROM

bit 14: 1 = RAM backup not configured

bit 15: 1 = memory unprotected

S:0ĆS:2