Rockwell Automation 1785 PLC-5, 1785 Quick Reference

1785 PLC-5 Programmable Controllers Quick Reference
Addressing Instruction SetHardware Components Switch Settings Troubleshooting
Front Panels ........................ 1-1
Processor Comparison......... 1-6
1771 I/O Chassis ...............1-10
Power Supplies.................. 1-11
Keyswitch..........................1-13
I/O Status File .................... 1-30
Data Table Files ...................2-1
Program Files ......................2-4
I/O Image Addressing...........2-5
Logical Addressing...............2-6
Indexed Addressing..............2-7
Indirect Addressing ..............2-7
I/O Addressing Modes ..........2-8
I/O Placement ......................2-8
Concept Summary................2-9
Status Bits........................... 3-1
Relay................................... 3-2
Timer .................................. 3-5
Counter ............................... 3-7
Compare ............................. 3-9
Compute ........................... 3-12
Logical .............................. 3-22
Conversion ........................ 3-24
Bit Modify and Move.......... 3-26
File.................................... 3-28
Diagnostic ......................... 3-30
Shift Register..................... 3-32
Sequencer......................... 3-35
Program Control ................ 3-36
Processor Control and
Message ........................... 3-41
Block and ControlNet
Transfer ............................ 3-43
ASCII ................................. 3-47
Chassis Backplane............... 4-1
Chassis Configuration ..........4-3
Complementary I/O .............. 4-4
Enhanced and
Ethernet PLC-5 ....................4-7
ControlNetwork Address ....4-11
Classic PLC-5 ....................4-12
Ethernet Jumper ................ 4-21
Enhanced and Ethernet PLC-5
General .........................5-1
Communication.............5-3
PLC-5/40L and PLC-5/60L
Communication ....................5-5
Ethernet
Status and Transmit .............5-7
ControlNet
Status Indicators ..................5-8
Classic PLC-5
General ..............................5-12
Adapter Mode .............5-14
Scanner Mode.............5-15
Remote I/O .........................5-17
Extended Local I/O .............5-25
Flex I/O ControlNet .............5-28
1771 I/O ControlNet............5-29
ControlNet I/O Status..........5-30
ControlNet Errors................5-35
Fault Codes ........................5-45
Using this Manual
This Quick Reference provides information frequently needed for using and maintaining your Allen-Bradley PLC-5 processor. It is intended for reference purposes only, and not as the sole source of information.
For more specific information on any topic in this Quick Reference, see:
• Enhanced and Ethernet PLC-5 Family Programmable Controllers User Manual, publication 1785-6.5.12
• Classic PLC-5 User Manual, publication 1785-6.2.1
• ControlNet PLC-5 Programmable Controllers Phase 1.5 User Manual, publication 1785-6.5.22
Important User Information
Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards.
The illustrations, charts, sample programs and layout examples shown in this guide are intended solely for purposes of example. Since there are many variables and requirements associated with any particular installation, Allen-Bradley does not assume responsibility or liability (to include intellectual property liability) for actual use based upon the examples shown in this publication.
The Safety Guidelines for the Application, Installation, and Maintenance of Solid State Control, publication SGI-1.1 (available from your local Allen-Bradley office), describes some important differences between solid-state equipment and electromechanical devices which should be taken into consideration when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen-Bradley Company, Inc. is prohibited.
Summary of Changes
In this release of the PLC-5 Quick Reference, we have altered the way we reference software documentation. Rather than show specific screens and key sequences which may vary according to the software package you are using, we refer you instead to the programming software documentation that accompanies your particular software package. Of course, we still provide the essential reference information you need to quickly accomplish your tasks, but if you have specific questions about software procedures, you should refer to your programming software documentation set.
To help you find new information, we included change bars as shown to the left of this paragraph.
Conventions
The table below describes the naming conventions used in this manual:
You see this symbol in the lower right-hand corner of the page when information is continued on the next page.
© 1999 Rockwell Automation PLC, PLC-2, PLC-3, PLC-5, PLC-5/10, PLC-5/11, PLC-5/12, PLC-5/15, PLC-5/20, PLC-5/25, PLC-5/30, PLC-5/40, PLC-5/40L, PLC-5/60, PLC-5/60L, PLC-5/80, PLC-5/20E, PLC-5/40E, PLC-5/80E, PLC-5/250, PLC-5/20C, PLC-5/40C, PLC-5/80C, Ethernet, and DH+ are trademarks of Rockwell Automation.
This name: Represents these processors:
Enhanced
PLC-5/11™PLC-5/40
PLC-5/20™PLC-5/60
PLC-5/30™PLC5/80
PLC-5/40L™PLC-5/60L
Ethernet
PLC-5/20E™PLC-5/40E
PLC5/80E
ControlNet Phase 1.5
PLC-5/20C15™ 5/40C15
5/80C15
Classic
PLC-5/10™PLC-5/15
PLC-5/12™PLC-5/25
Hardware Components
Front Panel 1-1
Front Panel – Enhanced PLC-5 Processors
Channel 1A fixed DH+ port
Keyswitch
Channel 0 - on-board
serial port
Channel 1A status indicator (green/red)
Connect programming terminal here when channel 1A is configured for DH+ communications
Channel 1A communication port
Install memory module here
Battery holder
Channel 1B status indicator (green/red)
Channel 1B communication port
PLC-5/11 Processor PLC-5/20 Processor
Battery (red) Processor RUN/FAULT (green/red) Force (amber) Channel 0 communication
status (green)
Indicators:
Hardware Components
Front Panel 1-2
PLC-5/30, -5/40, -5/60,
-5/80 Processor
PLC-5/40L, -5/60L Processor
Keyswitch
Battery holder
Channel 2A status indicator (green/red)
Connect programming terminal here when channel 2A is configured for DH+ communications
Channel 2A communication port
Channel 2B communication port
Channel 1A status indicator (green/red)
Channel 1A communication port
Channel 1B communication port
Channel 2 status indicator (green/red)
Channel 2 extended-local I/O communication port
Channel 2B status indicator (green/red)
Install memory module here
Channel 1B status indicator (green/red)
Channel 0 - on-board serial port
The PLC-5/30 processor has 2 communication ports and 1 serial port
Battery (red) Processor RUN/FAULT (green/red) Force (amber) Communication ACTIVE/FAULT
status (green/red)
Indicators:
Labels to write information about the channel communication mode, station addresses, etc.
Connect programming terminal here when channel 1A is configured for DH+ communications
Hardware Components
Front Panel 1-3
Front Panel – Ethernet PLC-5 Processors
PLC-5/20E Processor
Keyswitch
Channel 0 - on-board serial port
Channel 1A status indicator (green/red)
Connect programming terminal here
Channel 1A
Battery (red) Processor RUN/FAULT (green/red) Force (amber) Channel 0 communication
status (green)
Install memory module here
Battery holder
Channel 1B status indicator (green/red)
Channel 1B
Channel 2 Ethernet status indicators
Channel 2
Indicators:
Battery (red) Force (amber)
Communication ACTIVE/FAULT (green/red)
Channel 0 - on-board serial port
Labels to write information about the channel communication mode, station addresses, etc.
Keyswitch
Channel 1A
Channel 1B
Battery holder
Channel 2
Indicators:
PLC-5/40E, -5/80E Processor
Channel 1A status indicator (green/red)
Connect programming terminal here
Channel 2 Ethernet status indicators
Processor RUN/FAULT (green/red)
Install memory module here
Channel 1B status indicator (green/red)
Hardware Components
Front Panel 1-4
Channel 2 Status Indicators
PLC-5/20C15 Processor
Keyswitch
I/O Status Indicator
Network Access Port
Channel 2
Channel 0
Channel 1 Status Indicators
DH+ Programming Terminal Connection to Channel 1A
Channel 1A
Battery
Processor RUN/FAULT Force
Channel 0 Communication ACTIVE/FAULT
Memory Module Space
Battery Holder
Channel 1B
Keyswitch
I/O Status Indicator
Channel 2 Status Indicators
Network Access Port
Channel 2
Channel 1 Status Indicators
DH+ Programming Terminal Connection to Channel 1A
Channel 1A
Channel 1B
Battery
Processor RUN/FAULT Force
Channel 0 Communication ACTIVE/FAULT
Channel 0 - on-board serial port
Memory Module Space
Battery Holder
PLC-5/40C15, -5/80C15 Processor
Front Panel – ControlNet PLC-5 Processors
ControlNet PLC-5 Processors
Phase Catalog Number
1.0/1.25 1785L20C, -L40C, -L80C
1.5 1785L20C15, -L40C15, -L80C15
Hardware Components
Front Panel 1-5
Hardware Components
REM I/O indicator ACTIVE/FAULT (green/red)
P R O G
PLC-5/10 Processor PLC-5/12, -5/15, -5/25 Processor
Keyswitch
DH+ communication indicator ACTIVE/FAULT (green/red)
Connect programming terminal here
Connect DH+ link here
Adapter indicator (green)
Connect remote I/O link here
Battery holder
Write the DH+ network station number on this label
12373
Battery (red) Processor RUN/FAULT (green/red) Force (amber)
Indicators:
Front Panel – Classic PLC-5 Processors
Hardware Components
Processor Comparison 1-6
Comparison Chart for
PLC-5 Family Processors
Processor Memory
(Words)
Local Chassis
Remote Chassis (I/O Racks)
I/O Capacity Communication
PLC-5/10 6K 1 resident none
128 (8-pt) 1, 256 (16-pt) 1, 512 (32-pt)
1
DH+ link
PLC-5/12 6K 1 resident none
128 (8-pt) 1, 256 (16-pt) 1, 512 (32-pt)
1
adapter, DH+ link
PLC-5/15 6K
(expands to 14K)
1 resident 12
(3 I/O racks)
• 512
1
• 512 inputs and 512 outputs using 16- or 32-pt modules
2
adapter/remote I/O scanner, DH+ link
PLC-5/25 13K
(expands to 21K)
1 resident 28
(7 I/O racks)
• 1024
1
• 1024 inputs and 1024 outputs using 16­or 32-pt modules
2
adapter/remote I/O scanner, DH+ link
PLC-5/11 8K 1 resident 4
(1 I/O rack) rack must be addressed as rack 3
• 256 (8-pt), 384 (16-pt), or 512 (16-pt)
1
• 512(16-pt) or 768 (32-pt)
2
• 1 channel (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
1 Any mix of I/O 2 Maximum I/O possible using 16-pt modules with 2-slot addressing or 32-pt modules with 1-slot addressing. Modules must alternate input/output in the chassis slots.
Hardware Components
Processor Comparison 1-7
PLC-5 comparison chart continued...
Processor Memory
(Words)
Local Chassis
Remote Chassis (I/O Racks)
I/O Capacity Communication
PLC-5/20 16K 1 resident 12
(3 I/O racks)
• 512
1
• 512 inputs and 512 outputs using 16- or 32-pt modules
• 1 channel (remote I/O scanner, adapter, DH+ link)
• 1 channel DH+ link
• 1 RS-232, RS-422, RS-423 serial port
PLC-5/20E 16K 1 resident 12
(3 I/O racks)
• 512
1
• 512 inputs and 512 outputs using 16- or 32-pt modules
• 1 channel (remote I/O scanner, adapter, DH+ link)
• 1 channel DH+ link
• 1 RS-232, RS-422, RS-423 serial port
• 1 channel Ethernet
PLC-5/20C15 16K 1 resident 12 (3 I/O racks)
• 512
1
• 512 inputs and 512 outputs using 16- or 32-pt modules
• 1 channel (remote I/O scanner, adapter, DH+ link)
• 1 channel DH+ link
• 1 RS-232, RS-422, RS-423 serial port
• ControlNet
PLC-5/30 32K 1 resident 28
(7 I/O racks)
• 1024
1
• 1024 inputs and 1024 outputs using16­or 32-pt modules
• 2 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
1
Any mix of I/O
Hardware Components
Processor Comparison 1-8
PLC-5 comparison chart continued...
Processor Memory
(Words)
Local Chassis
Remote Chassis (I/O Racks)
I/O Capacity Communication
PLC-5/40
48K
3
1 resident
60
2
(15 I/O racks)
• 2048
1
• 2048 inputs and 2048 outputs using 16­or 32-pt modules
• 4 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
PLC-5/40L
48K
3
1 resident up to 16 extended
60
2
(15 I/O racks)
• 2048
1
• 2048 inputs and 2048 outputs using 16­or 32-pt modules
• 2 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
• 1 channel extended local I/O scanner
PLC-5/40E
48K
3
1 resident (16 rack addressing capability)
60 (15 I/O racks)
• 2048
1
• 2048 inputs and 2048 outputs using 16­or 32-pt modules
• 2 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
• 1 channel Ethernet
PLC-5/40C15
48K
3
1 resident 60
15 I/O racks
• 2048
1
• 2048 inputs and 2048 outputs using 16­or 32-pt modules
• 2 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
• 1 channel ControlNet
PLC-5/60
3
64K 1 resident
92
2
(23 I/O racks)
• 3072
1
• 3072 inputs and 3072 outputs using 16­or 32-pt modules
• 4 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
1
Any mix of I/O
2
Maximum of 32 physical devices/channel
3
Maximum of 57K words per program file and 32K words per data table file
Hardware Components
Processor Comparison 1-9
PLC-5 comparison chart continued...
PLC-5 ControlNet Processors - Maximum I/O Map Entries
Processor Memory
(Words)
Local Chassis
Remote Chassis (I/O Racks)
I/O Capacity Communication
PLC-5/60L
3
64K 1 resident up
to 16 extended
64
2
(23 I/O racks)
• 3072
1
• 3072 inputs and 3072 outputs using16­or 32-pt modules
• 2 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
• 1 channel extended local I/O scanner
PLC-5/80
3.4
100K 1 resident
92
2
(23 I/O racks)
• 3072
1
• 3072 inputs and 3072 outputs using 16­or 32-pt modules
• 4 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
PLC-5/80E
3,4
100K 1 resident
92
2
(23 I/O racks)
• 3072
1
• 3072 inputs and 3072 outputs using 16­or 32-pt modules
• 2 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
• 1 channel Ethernet
PLC-5/80C15
3.4
100K 1 resident
92
2
(23 I/O racks)
• 3072
1
• 3072 inputs and 3072 outputs using 16­or 32-pt modules
• 2 channels (remote I/O scanner, adapter, DH+ link)
• 1 RS-232, RS-422, RS-423 serial port
• 1 channel ControlNet
1
Any mix of I/O
2
Maximum of 32 physical devices/channel
3
Maximum of 57K words per program file and 32K words per data table file
4
Maximum of 64K words total data table space
Phase 1.0/1.25 Phase 1.5
Processor Number of
Mappings:
Number of DIF Files:
Number of DIF Words:
Number of DOF Files:
Number of DOF Words:
Processor Number of
Mappings:
Number of DIF Files:
Number of DIF Words:
Number of DOF Files:
Number of DOF Words:
PLC-5/20C 64 1 1000 1 1000 PLC-5/20C 64 2 2000 2 2000 PLC-5/40C 64 1 1000 1 1000 PLC-5/40C 96 3 3000 3 3000 PLC-5/80C 64 1 1000 1 1000 PLC-5/80C 128 4 4000 4 4000
Hardware Components
1771 I/O Chassis 1-10
1771 I/O Chassis for PLC-5 Family
Processors
7KH3/&SURFHVVRUVDUHDOVRFRPSDWLEOHZLWK$$DQG$FKDVVLVZLWKVORWSRZHUVXSSOLHVRQO\
Catalog Number Chassis Size Mounting
Backpanel 19” Rack
Power Supply Socket
1771-A1B 4-slot X left 1771-A2B 8-slot X left 1771-A3B 12-slot X X top
1771-A3B1 12-slot X left
1771-A4B 16-slot X left
When using these processors with the 1771-A1, A2, and A4 chassis:
Only this mode of addressing is supported:
Classic PLC-5 processors 2-slot and 1-slot in the local rack
Enhanced and Ethernet PLC-5 processors 2-slot addressing
ControlNet PLC-5 processors 2-slot addressing
Hardware Components
Power Supply Modules 1-11
Power Supply Modules in a Chassis
(containing a PLC-5 processor)
Output Current
Output Current (in amps) when Parallel with: Power Supply
Power Supply Input Power (in Amps) P3 P4 P4S P4S1 P5 P6S P6S1 Location
1771-P3 120V ac 3 6 11 11 slot
1771-P4 120V ac 8 11 16 16 slot
1771-P4S 120V ac 8 11 16 16 slot
1771-P4S1 100V ac 8 16 slot
1771-P4R 120V ac
8, 16, 24
2
slot
1771-P5 24V dc 8 16 slot
1771-P6S 220V ac 8 16 slot
1771-P6S1 200V ac 8 16 slot
1771-P6R 220V ac
8, 16, 24
2
slot
1771-P7 120/220V ac 16
external
1
1771-PS7 120/220V ac 16
external
1
1
You cannot use an external power supply and a power supply module to power the same chassis; they are not compatible.
2
See publication 1771-2.166 for more information.
Hardware Components
Power Supplies 1-12
Power Supplies in a Remote Chassis (1771-ASB)
or an Extended Local I/O Chassis (1771-ALX)
Output Current Output Current (in amps) when Parallel with: Power Supply
Power Supply Input Power (in Amps) P3 P4 P4S P4S1 P5 P6S P6S1 Location
1771-P3 120V ac 3 6 11 11 slot
1771-P4 120V ac 8 11 16 16 slot
1771-P4S 120V ac 8 11 16 16 slot
1771-P4S1 100V ac 8 16 slot
1771-P4R 120V ac 8, 16, 24
2
slot
1771-P5 24V dc 8 16 slot
1771-P6S 220V ac 8 16 slot
1771-P6S1 200V ac 8 16 slot
1771-P6R 220V ac 8, 16, 24
2
slot
1771-P1 120/220V ac 6.5 external
1
1771-P2 120/220V ac 6.5 external
1
1771-P7 120/220V ac 16 external
1
1771-PS7 120/220V ac 16 external
1
1777-P2 120/220V ac 9 external
1
1777-P4 24V dc 9 external
1
1
You cannot use an external power supply and a power supply module to power the same chassis; they are not compatible.
2
See publication 1771-2.166 for more information.
Hardware Components
Keyswitch 1-13
Front Panel Keyswitch
Keyswitch Position
Operation RUN PROG REM
RUN PROG
Execute programs (with outputs enabled) X X Execute programs (with outputs disabled) Save program to disk X X X X Restore programs X X X Create or delete: ladder files, SFC files, data table files X X Edit online: ladder files and SFC files
(program files already exist)
X X X
Force live outputs X X Prohibit processor from scanning program X X Change operating mode using a programming device X X Download to/from EEPROM X X Automatically configure remote I/O X X Edit data table values
(data table files already exist)
X X X X
Establish ControlNet connections and exchange data X X X X
Hardware Components
Processor Status File 1-14
Processor Status File
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
Bit
Description 0 RAM checksum is invalid at power-up 1 processor in RUN mode 2 processor in TEST mode 3 processor in PROG mode 4 processor burning EEPROM 5 processor in download mode 6 processor has test edits enabled 7 mode select switch in REMOTE position 8 forces enabled 9 forces present 10 processor successfully burned EEPROM 11 performing online programming 12 not defined 13 user program checksum calculated 14 last scan of ladder or SFC step 15 processor running first program scan or the first scan of the next step
in an SFC
Hardware Components
Processor Status File 1-15
processor status file continued
This word of the status file: Stores:
S:7 Global status bits:
• S:7/0-7 - - rack fault bits for racks 0-7
• S:7/8-15 - - rack queue-full bits for racks 0-7 See also S:27, S:32, S:33, S:34, and S:35
S:8 Last program scan (in ms) S:9 Maximum program scan (in ms) S:2 Switch setting information
• bits 0 - 6 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 01/2-slot 0 11-slot 1 12-slot
• bit 13: 1 = load from EEPROM
• bit 14: 1 = RAM backup not configured
• bit 15: 1 = memory unprotected
S:3 to S:6 Active Node table for channel 1A
Word Bits DH+ Station # 3 0-15 00-17 4 0-15 20-37 5 0-15 40-57 6 0-15 60-77
Hardware Components
Processor Status File 1-16
processor status file continued...
This word of the status file: Stores:
S:10 Minor fault (word 1)
Bit Description 0 battery is low (replace in 1-2 days) 1 DH+ active node table has changed 2 STI delay too short, interrupt program overlap 3 EEPROM memory transfer at power-up 4 edits prevent SFC continuing; data table size changed
during program mode; reset automatically in run mode 5 invalid I/O status file 6 not defined 7 no more command blocks exist 8 not enough memory on the memory module to upload the program from the processor 9 no MCP is configured to run 10 MCP not allowed 11 PII word number not in local rack 12 PII overlap 13 no command blocks exist to get PII 14 arithmetic overflow 15 SFC action overlap
See also S:17
Hardware Components
Processor Status File 1-17
processor status file continued...
This word of the status file: Stores:
S:11 Major fault
Bit Description 0 corrupted program file (codes 10-19) 1 corrupted address in ladder file (codes 20-29) 2 programming error (codes 30-49) 3 SFC fault (codes 71-79) 4 error while assembling program (code 70); duplicate LBLs found 5 start-up protection fault; processor sets this bit when powering up in run mode if bit S:26/1 is set 6 peripheral device fault 7 jumped to fault routine (codes 0-9) 8 watchdog faulted 9 system configured wrong (codes 80-89) 10 recoverable hardware error 11 MCP does not exist or is not ladder or SFC file 12 PII does not exist or is not ladder 13 STI does not exist or is not ladder 14 fault routine does not exist or is not ladder 15 fault occurred in a non-ladder file
Hardware Components
Processor Status File 1-18
processor status file continued...
This word of the status file: Stores:
S:12 Fault codes
Code Description 0-9 user-defined 10 failed data table check 11 bad user program checksum 12 bad integer operand type 13 bad mixed mode operand type 14 not enough operands for instruction 15 too many operands for instruction 16 bad instruction found 17 no expression end in a CPT math expression 18 missing end of edit zone 19 download aborted 20 indirect address out of range (high) 21 indirect address out of range (low) 22 attempt to access undefined file 23 file number less than 0 or greater than number of defined files; or,
indirect reference to file 0, 1, 2; or bad file number24
indirect reference to wrong file type 25 reserved 26 reserved 27 reserved 28 reserved 29 reserved 30 subroutine jump nesting level exceeded
Hardware Components
Processor Status File 1-19
processor status file continued...
This word of the status file: Stores:
S:12 continued... Fault codes
Code Description 31 too few subroutine parameters 32 jump to non-ladder file 33 CAR routine not 68000 code 34 bad timer parameters entered 35 bad PID delta time entered 36 PID setpoint out of range 37 invalid I/O specified in an immediate I/O instruction 38 invalid use of return instruction 39 FOR loop missing NXT 40 control file too small 41 NXT instruction with no FOR 42 jump target does not exist or JMP missing LBL 43 file is not an SFC 44 error using SFR 45 invalid channel number entered 46 IDI or IDO instruction length operand too long (> 64 words) 46-69 reserved
Hardware Components
Processor Status File 1-20
processor status file continued...
This word of the status file: Stores:
S:12 continued... Fault codes
Code Description 70 duplicate labels 71 SFC subchart is already executing 72 tried to stop an SFC that is not running 73 maximum number of SFC subcharts exceeded 74 SFC file error 75 SFC contains too many active steps 76 SFC step loops back to itself 77 SFC references a step, transition, subchart, or SC file that is
missing, empty or too small 78 SFC could not continue after power loss 79 error in downloading an SFC to a processor that cannot run
SFCs or this specific PLC processor does not support this
Enhanced SFC 80 I/O configuration error 81 illegal setting of I/O chassis backplane switch 82 illegal cartridge type 83 user watchdog fault 84 error in user-configured adapter mode block transfers 85 bad cartridge 86 cartridge incompatible with host 87 rack addressing overlap (includes any adapter channel)
Hardware Components
Processor Status File 1-21
processor status file continued...
This word of the status file: Stores:
S:12 continued... Fault codes
Code Description 88 scanner channels are overloading the remote I/O buffer; too much data for the
processor to process 90 Sidecar module extensive memory test failed 91 Sidecar module undefined message type 92 Sidecar module requesting undefined pool 93 Sidecar module illegal maximum pool size 94 Sidecar module illegal ASCII message 95 Sidecar module reported fault, which may be the result of a bad
program that corrupts memory or of a hardware failure 96 Sidecar module not physically connected to the PLC-5 processor 97 Sidecar module requested a pool size that is too small for PCCC command (occurs at power-up) 98 Sidecar module first/last 16 bytes RAM test failed 99 Sidecar module-to-processor data transfer faulted 100 Processor-to-sidecar module data transfer failed 101 Sidecar module end of scan data transfer failed 102 The file number specified for raw data transfer through the sidecar
module is an illegal value 103 The element number specified for raw data transfer through the
sidecar module is an illegal value 104 The size of the raw data transfer requested through the sidecar module is an illegal size 105 The offset into the raw data transfer segment of the sidecar module is an illegal value
Hardware Components
Processor Status File 1-22
processor status file continued...
This word of the status file: Stores:
S:12 continued... Fault codes
Code Description 106 Sidecar module transfer protection violation; for PLC-5/26, -5/46,
and -5/86 processors only 200 ControlNet scheduled output data missed 201 ControlNet input data missed 202 Not used 203 Reserved 204 ControlNet configuration is too complex 205 ControlNet configuration exceeds bandwidth
206 Reserved 207 Reserved 208 Too many pending ControlNet I/O connections
S:13 Program file where fault occurred S:14 Rung number where fault occurred S:15 VME status file S:16 I/O Status File
Hardware Components
Processor Status File 1-23
processor status file continued...
This word of the status file: Stores:
S:17 Minor fault (word 2)
Bit Description 0 BT queue full to remote I/O 1 queue full – channel 1A; maximum remote block transfers used 2 queue full – channel 1B; maximum remote block transfers used 3 queue full – channel 2A; maximum remote block transfers used 4 queue full – channel 2B; maximum remote block transfers used 5 no modem on serial port 6 remote I/O rack in local rack table; or, remote I/O rack is greater than the image size 7 firmware revision for channel pairs 1A/1B or 2A/2B does not
match processor firmware revision 8 ASCII instruction error 9 duplicate node address 10 DF1 master poll list error 11 protected processor data table element violation 12 protected processor file violation 13 using all 32 ControlNet MSGs 14 using all 32 ControlNet 1771 READ and/or 1771 WRITE CIOs 15 using all 8 ControlNet Flex I/O CIOs
See also S:10.
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
Hardware Components
Processor Status File 1-24
processor status file continued...
This word of the status file: Stores:
S:24 Indexed addressing offset S:25 Reserved S:261. User control bits
Bit
Description 0 Restart/continuous SFC: when reset, processor restarts at first step in SFC.
When set, processor continues with active step after power loss or change to RUN 1 Start-up protection after power loss: when reset, no protection.
When set, processor sets major fault bit S:11/5 when powering up in run mode 2 Define the address of the local rack: when reset, local rack
address is 0. When set, local rack address is 1 3 Set complementary I/O: when reset, complementary I/O is not
enabled. When set, complementary I/O is enabled 4 Local block transfer compatibility bit: when reset, normal
operation. When set, eliminates frequent checksum errors to
certain BT modules 5 PLC-3 scanner compatibility bit: when set (1), adapter channel
response delayed by 1 ms; when reset (0), operate in
normal response time 6 Data table-modification inhibit bit. When set (1), user cannot edit
the data table while processor is in run mode
S:27 Rack control bits:
• S:27/0-7 - - I/O rack inhibit bits for racks 0-7
• S:27/8-15 - - I/O rack reset bits for racks 0-7 See also S:7, S:32, S:33, S:34, and S:35.
S:28 Program watchdog setpoint
Hardware Components
Processor Status File 1-25
processor status file continued...
This word of the status file: Stores:
S:29 Fault routine file S:30 STI setpoint S:31 STI file number S:32 Global status bits:
• S:32/0-7 - - rack fault bits for racks 10-17 (octal)
• S:32/8-15 - - rack queue-full bits for racks 10-17 See also S:7, S:27, S:33, S:34, and S:35.
S:33 Rack control bits:
• S:33/0-7 - - I/O rack inhibit bits for racks 10-17 (octal)
• S:33/8-15 - - I/O rack reset bits for racks 10-17 See also S:7, S:27, S:32, S:34, and S:35.
S:34 Global status bits:
• S:34/0-7 - - rack fault bits for racks 20-27 (octal)
• S:34/8-15 - - rack queue-full bits for racks 20-27 See also S:7, S:27, S:32, S:33, and S:35.
S:35 Rack control bits:
• S:35/0-7 - - I/O rack inhibit bits for racks 20-27 (octal)
• S:35/8-15 - - I/O rack reset bits for racks 20-27 See also S:7, S:27, S:32, S:33, and S:34.
S:36 Reserved S:37 Reserved
Hardware Components
Processor Status File 1-26
processor status file continued...
This word of the status file: Stores:
Classic PLC-5 processors use only 37 words for the status file. Therefore, the following descriptions apply only to Enhanced, Ethernet, and ControlNet processors.
S:38 - S:45 Reserved S:46 PII program file number S:47 PII module group S:48 PII bit mask S:49 PII compare value S:50 PII down count S:51 PII changed bit S:52 PII events since last interrupt S:53 STI scan time (in ms) S:54 STI maximum scan time (in ms) S:55 PII last scan time (in ms) S:56 PII maximum scan time (in ms) S:57 User program checksum S:58 Reserved S:59 Extended-local I/O channel discrete transfer scan (in ms) S:48 PII bit mask
Loading...
+ 142 hidden pages