Rockwell Automation 1785-LTx,D17856.2.1 Classic PLC-5 Programmable Controllers Users Manual User Manual

Page 81

Advertising
background image

Planning Your System Programs

Chapter 6

6-10

Table 6.F

Processor Status File Addresses

This word of the status file:

Stores:

S:0

Arithmetic flags

bit 0= carry

bit 1 = overflow

bit 2= zero

bit 3 = sign

S:1

Processor status and flags

S:2

Switch settings:

bits 0 Ć 5 = DH+ station #

bit 7 = set is scanner; reset is adapter (PLCĆ5/15, Ć5/25 only)

bit 11, 12 = HW addressing
bit 12

bit 11

0

0

illegal

1

0

1/2Ćslot

0

1

1Ćslot

1

1

2Ćslot

bit 13, 14 = EEPROM
bit 13

bit 14

0

0

EEPROM transfer if processor memory bad

0

1

EEPROM transfer disabled

1

1

EEPROM transfer at powerĆup

bit 15 = set is memory unprotected

S:3 to S:6

Active Node table:

Word

Bits

DH+ Station #

3

0Ć15

00Ć17

4

0Ć15

20Ć37

5

0Ć15

40Ć57

6

0Ć15

60Ć77

S:8

Last program scan duration (in ms)

S:9

Maximum program scan duration (in ms)

S:10

Minor fault bits

S:11

Major fault bits

S:12

Fault code storage location

S:13

Program file where fault occurred

S:14

Rung number where fault occurred

S:16

I/O status file number storage location

S:18

Processor clock year

S:19

Processor clock month

S:20

Processor clock day

S:21

Processor clock hour

S:22

Processor clock minute

S:23

Processor clock second

S:24

Indexed addressing offset

S:25

(PLCĆ5/12, Ć5/15, Ć5/25 only)

I/O adapter image file

S:26

User control bits for processor startĆup routine

Advertising