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 (PLC5/15, 5/25 only)
• bit 11, 12 = HW addressing
bit 12
bit 11
0 0 illegal
1 0 1/2slot
0 1 1slot
1 1 2slot
• 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 powerup
• bit 15 = set is memory unprotected
S:3 to S:6
Active Node table:
Word Bits DH+ Station #
3 015 0017
4 015 2037
5 015 4057
6 015 6077
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 (PLC5/12, 5/15, 5/25 only) I/O adapter image file
S:26 User control bits for processor startup routine
Commentaires sur ces manuels