Enhanced Ethernet PLC-5 Programmable Controllers
Important User Information
Is on
Summary of Changes
Additional Ethernet PLC-5 Controller Enhancement
Publication 1785-UM012D-EN-P July
Summary of Changes
Table of Contents
Controller-Resident I/O
Memory
Chapter Communicating with
Chapter
Communicating with Devices on a DH+ Link Chapter
Communicating with a PLC-5 Adapter Channel
Extended-Local I/O
Communicating with Devices on a Serial Link
Protecting Your Programs
Preparing Fault Routines
Appendix a System Specifications
Appendix B Processor Status File
Appendix C
Appendix D
Appendix E Switch Setting Reference
Appendix F Troubleshooting
Appendix G Cable Reference
Index
Related PLC-5 Documentation
Publication Title Publication Number
Term Definition
Controllers in this manual only
Manual Overview
This manual has three main sections Design Operate Maintain
Preface Publication 1785-UM012D-EN-P July
Extended-local I/O scanner
Using This Chapter Lay Out the System
For Information About
PLC-5/11, -5/20 and -5/26 controllers PLC-5/30 controllers
Identifying Controller Components
For the Front Panels
No parity
Keyswitch selects controller mode
Install memory module here Install battery here
4Understanding Your Programmable Controller
Keyswitch selects controler mode
PLC-5/30 Controller Front Panell
DF1 point-to-point One stop-bit 2400 bps
Install memory module here PLC-5 family member designation
Channel 2B status indicator lights green and red
Channel 1B status indicator lights green and red
PLC-5/20E Controller Front Panel
External transceiver fuse Keyswitch selects controller mode
Configure this 3-pin port for
6Understanding Your Programmable Controller
PLC-5/40E and -5/80E Controller Front Panels
8Understanding Your Programmable Controller
Install battery here PLC-5 family member designation
PLC-5/40L and -5/60L Controller Front Panels
If You Want to
This Capability Lets You
MCP
Scanner-mode PLC-5 controller
PLC-5/40
1771-ASB Remote I/O Link Cable Belden
At housekeeping
Connect the controllers via the remote I/O link
Controller transfers I/O data and status data using
12Understanding Your Programmable Controller
Publication 1785-UM012D-EN-P July
Scanner
14Understanding Your Programmable Controller
Selecting I/O Modules
Using This Chapter
Selecting and Placing I/O
Selecting I/O modules
Explanation
Selecting I/O Module Density
Choose this Type
Module Examples
Selecting and Placing I/O
Input Output
4Selecting and Placing I/O Publication 1785-UM012D-EN-P July
Placing System Hardware
Acceptable Range
102mm 51mm2
51mm Wiring Duct 102mm 153mm
2Placing System Hardware
Mount the I/O chassis horizontally
Protecting Your Controller
Troubleshooting is convenient
Preventing Electrostatic Discharge
RFI, we recommend a steel enclosure
Route Conductors
Laying Out Your Cable Raceway
Categorize Conductors
4Placing System Hardware
Side
Chassis Dimensions Series B
Laying Out Your Backpanel Spacing
Chassis and External Power Supply Dimensions
6Placing System Hardware
Ground Bus To Grounding Electrode System
Recommended Grounding Configuration for Remote I/O Systems
Enclosure
8Placing System Hardware Publication 1785-UM012D-EN-P July
Addressing I/O and Controller Memory
Classification Term Relation to Controller Memory
Addressing as It Relates to an I/O Terminal
2Addressing I/O and Controller Memory
Choosing an Addressing Mode
Termi
16-point Example
Input
Nals
Controller memory Rack
Point Example
Point input module
Group Point input module Point output module Word #
Example of Efficient I/O Image Table Use
6Addressing I/O and Controller Memory
Addressing Block-Transfer Modules
Addressing Mode Guidelines
Addressing Summary
Use this table as a quick reference for addressing
Slot Rack Racks 2 racks
If Using this Slot Addressing Chassis Size Results
Assigning Racks
8Addressing I/O and Controller Memory
When assigning remote I/O rack numbers, use these guidelines
Controller memory is divided into two basic areas
Formatted address
Understanding Data Storage Data-Table Files
Specify the file in which the data is stored
Data, you specify it with a formatted address
12Addressing I/O and Controller Memory
Addressing File Types
1000words
Words/1000 structures Structure
14Addressing I/O and Controller Memory
Accepts Any
Understanding Program-File Storage
Valid Data Types/Values Are
Program File Number of Words Used
Valid formats for addressing data files are
Addressing
Specifying I/O Image Addresses
To Specify the Address of a Use these Parameters
Where Is
Specifying Logical Addresses
TON, TOF, RTO
Specifying Indirect Addresses
Word Level Example Bit Level
Example Variable Explanation
Source N710 N720
Specifying Indexed Addresses
Value Base Address
N115 N1115
AUTO1
Specifying Symbolic Addresses
LS1
SW1
Optimizing Instruction Execution Time and Controller Memory
22Addressing I/O and Controller Memory
Following examples illustrate these concepts
Effectively Using I/O Memory
Use Application
Configuring the system for controller-resident I/O
Introduction to PLC-5 Controller Scanning
Program Scanning
2Communicating with Controller-Resident I/O
Transferring Data to Controller-Resident I/O
Transferring Discrete Data to Controller-Resident I/O
Transferring Immediate I/O Requests
Transferring Block-Transfer Data to Controller-Resident I/O
4Communicating with Controller-Resident I/O
Communicating to a remote I/O node adapter
Configuring a controller channel as a scanner
Communicating with Remote I/O
Can Connect
Category Product Catalog Number
An example remote I/O system looks like this
Introduction to Remote I/O
Block-transfer data with remote I/O devices
Designing a Remote I/O Link
Transmission rate. Configure all devices on a remote I/O
Network using a daisy chain or trunk line/drop line
Configuration
Link to communicate at the same transmission rate
Configuring a Controller Channel as a Scanner
Catalog Number Series
Specify the scan list Publication 1785-UM012D-EN-P July
Specify Channel Configuration Information
Define an I/O Status File
This Field Define By Doing the Following
Diagnostic file
Scanner mode link 57.6, 115.2, and 230.4 kbps
Cursor to the field, type an integer file number
Do the Following
Specify the Scan List
Scan list includes the following
For this Field Scan List Contains
10Communicating with Remote I/O
ASB Adapter Modules, Do the Following See
Communicating to a Remote I/O Node Adapter
Remote I/O Scan and Program Scan Loops
Appendix E
Troubleshooting Remote I/O Communication Difficulties
12Communicating with Remote I/O
Racks
Interrupt from STI or Fault Routine
Remote I/O Scan Extended Local
Adapter used in the remote I/O scan is the 1771-ASB
Description
Channel pairMinor fault bits set
Block-Transfer Minor Fault Bits
Minor Fault Description
PLC-5 typeMaximum number of command blocks
Block-transfer module
16Communicating with Remote I/O
Packet includes data if it is a block-transfer write
Transfer read
Does the module respond?
Block-Transfer Sequence with Status Bits
Yes Does this slot address
Yes See
Yes Sets the done .DN bit
Sets the error .ER bit Yes
18Communicating with Remote I/O
Go to
General Considerations
Retries request once more before setting the .ER bit
Block-Transfer Programming Considerations
For Controller-Resident Local Racks
20Communicating with Remote I/O
Status Field Location Description
Monitoring transmission retries
Monitoring Remote I/O Scanner Channels
Field indicating the rack was globally reset
Fault
Reset
Rack Address
Messages Tab Messages = SDA messages + SDN messages
Error
Messages sent with error
Messages unable to receive
N1547
24Communicating with Remote I/O
Defined I/O status file
Fault Bits
Present Bits Fault Bits Not Used
Reset and inhibit bits that correspond to each quarter
When you use a ladder program or the software to
Inhibit and reset an I/O rack, you must set or clear
Rack in a given chassis. Failure to set all the appropriate
Monitoring remote I/O adapter channels
Configuring communication to a PLC-5 adapter channel
Communicating with a PLC-5 Adapter Channel
Monitoring the status of the supervisory controller
2Communicating with a PLC-5 Adapter Channel
Configuring Communication to a PLC-5 Adapter Channel
Into for the supervisory controller
Remote I/O Adapter
Specify adapter settings Publication 1785-UM012D-EN-P July
Controller
Damage can result
Default is rack
Status information
Cursor to the field and select the desired rate
Specify the Discrete Transfer Configuration Files
6Communicating with a PLC-5 Adapter Channel
Discrete Data and Block-Transfer Status
8Communicating with a PLC-5 Adapter Channel
Enter the word number decimal of the source data
Input destination
Enter the file number decimal of the source data
Adapter’s input file
10Communicating with a PLC-5 Adapter Channel
Programming Discrete Transfers Adapter Mode
Data to an Adapter Channel
0x7 N5115
Configure Block-Transfer Requests
12Communicating with a PLC-5 Adapter Channel
Adapter Mode Configuration screen
Data Monitor screen
BT100 Has a length of 64 words
Must Match
BT000000 BT010000 BT011000 BT011001 BT011040
Examples of Block-Transfer Ladder Logic
14Communicating with a PLC-5 Adapter Channel
BR0200 BWO200
PLC-5 adapter-mode processor is configured for rack
Condition the use of BTR data with a data valid bit
Data Not Valid Bit
Locations of module 0 and 1 data
16Communicating with a PLC-5 Adapter Channel
Word For status Output File Input File Module
Adapter channel status
Monitoring the Status of the Adapter Channel
Status bits sent to scanner
When this Bits It Indicates
Monitoring the Status of the Supervisory Controller
Adapter
Messages received with error
Monitoring Remote I/O Adapter Channels
Page
Scanner Monitoring extended-local I/O status
Configuring the controller as an extended-local I/O
For Information About Go to
PLC-5/40L and -5/60L processor
You cannot connect two 2 m cables together. You would
Cabling
Form a custom cable length. For example, if you have a
Have to use the 5 m cable and have the extra 1 m as slack
Processor-resident local I/O racks
Numbered 4, 5, 10, 11, 12,
4Communicating with Extended-Local I/O
PLC-5/40L and -5/60L I/O Scanning and Update
Transferring Data
Remote I/O Scan
Extended Local I/O Data Exchange Image Update
Discrete Data Transfer
PLC-5/40L and -5/60L Extended-Local I/O Scan Time
Transferring Block Data
6Communicating with Extended-Local I/O
This formula assumes
Calculating Block-Transfer Completion Time
Where
Considerations for Extended-local Racks
8Communicating with Extended-Local I/O
Want to get status information for that channel
This Field Specifies Configure by Doing the Following
Scan list Channel I/O configuration
List
Remote I/O Scan List vs Extended-local I/O Scan List
Or 1/2-Slot
Slot Logical rack Logical racks 11/2 logical rack
10Communicating with Extended-Local I/O
An asterisk * after a range indicates the last
Valid rack entry
Automatically calculated based upon rack
Monitoring Extended-Local I/O Status
Switch settings on the adapters are set correctly
Display the new configuration when you save edits
Screen
Retry Word
Channel retry Word
Retry counts
Word Multiples Etc Entry
Page
Selecting devices that you can connect Link design
Using the global status flag file
Selecting Devices That You Can Connect
Estimating DH+ link performance Application guidelines
Link Design
Serial port or a PLC-5 coprocessor, use channel 2 for
Configuring the Channel for DH+ Communication
You must set switch assembly SW1 on the controller
Better overall system performance
Status information Words long
Diagnostic file File containing the channel’s
Link ID Local link where the channel
Other used file. Unpredictable machine damage can result
System creates an integer file 64 words long
Using the Global Status Flag File
Pass data
Information previously in this file is lost
Octal N107 Octal N1010 Octal N1015 Octal N1030
Files are updated during housekeeping
6Communicating with Devices on a DH+ Link
Status Field Words Description
Monitoring messages
Monitoring DH+ Communication Channels
Monitoring Data Sent with Acknowledgment
Transmit confirm
Need updates once per second
Noise or a cabling problem
Transmit NAK full
Monitoring Data Sent without Acknowledgment
10Communicating with Devices on a DH+ Link
Monitoring General Status
Started linear scan below for more information
Noise or cabling problems
Linear scan failed
Token retry
Size and Number of Messages
Sending Command Type Maximum Packet Station Size Data Words
Nodes
PLC-5
Completes the message transaction Station
Message Destination
14Communicating with Devices on a DH+ Link
Internal Processing Time
Number of Controllers
Average DH+ Link Response Time Test Results
16Communicating with Devices on a DH+ Link
50 W 100 W + 250 W X 500 W =Words
Application Guidelines
Number of Controllers
Page
Choosing Between
This Is Normally Used When You Method
Communicating with Devices on a Serial Link
RS-423
System Mode
Using Channel
User Mode
10-2Communicating with Devices on a Serial Link
DF1 Slave Mode
Use this Mode For
DF1 Master Mode
Point-to-Point
Method Option Name Principal Benefits
Follow these guidelines
Polling Inactive Priority Stations
Changing Modes
Port Transmission
DF1 slave 10-9 DF1 master 10-12 User mode
Configuring Channel
Configure Channel 0 for DF1 Point-to-Point
If You Want to Use
Serial Settings
Option Settings
DF1 Enqs
Option is enabled
Configure Channel 0 as a Slave Station
Select Enabled or Disabled
To get status information for that channel
Driver
Error checking. CRC is more complete checking
Select one of the following
Station address
RTS signal
RTS send delay Amount of time that elapses
Signal and the beginning
Message ACK timeout Amount of time you want
Configure Channel 0 as a Master Station
10-12Communicating with Devices on a Serial Link
Retried before being declared
Enter a valid value RTS send delay
Octal
This time allows the modem to
Polling Settings
Transmit Message transmit
Master message
If you want the master station to
Between Station Polls
Remote stations
Default size is 64 words
Default size is 18 words
Priority poll file
New remote station is polled
Contains this Information
Being polled, etc
Word 2 through word
10-18Communicating with Devices on a Serial Link
Configure Channel 0 for User Mode Ascii Protocol
Remote mode change
File containing the channel’s
10-19
XON/XOFF
If You Want To Select
Enable
Disable
Remotely
10-22Communicating with Devices on a Serial Link
Using the System Mode Status Display
Monitoring Channel 0 Status
Messages sent
DCD recover
High
Device
Using the User Mode Ascii Status Display
Modem Lines
Communicating with Devices on an Ethernet Network
Using This Chapter Media and Cabling
Configuring channel 2 for Ethernet communication
Assigning Your IP Address
Manually Configuring Channel
Network Addressing
11-2Communicating with Devices on an Ethernet Network
11-3
Ethernet Channel 2 Configuration Fields
With programming software if Bootp is enabled
Broadcast Address
Using Bootp to Enter Configuration Information
Network This field is required when you
Controller should respond
11-6Communicating with Devices on an Ethernet Network
Editing the Bootptab Configuration File
Based on this configuration, the Bootptab file looks like
11-8Communicating with Devices on an Ethernet Network
Advanced Ethernet communications characteristics
Using Broadcast Addressing
If Bootp is enabled, you can’t change any
Broadcast addressing 11-9 Subnet masks and gateways 11-11
Form
C.dWhere a, b, c, d are between 0-255 decimal
If you change the default and need to reset it, type
11-10Communicating with Devices on an Ethernet Network
If You are Then See
Using Subnet Masks and Gateways
Using Bootp to configure Be sure Bootp is enabled 11-13
11-12
Enter an address of the following form
Subnet Mask Controller’s subnet mask
Subnets
Local subnet
Server 130.151.194.xxx Ethernet TCP/IP network
Personal computer Windows
Or HP 9000 or VAX computer
130.151.132.1
Bootptab files that correspond to this example looks like
11-14Communicating with Devices on an Ethernet Network
Using Domain Name Service
Using the Embedded Web Server
11-16Communicating with Devices on an Ethernet Network
Diagnostic Information
11-18Communicating with Devices on an Ethernet Network
This Counter Totals
Session Table Connections
This Indicates
Application Memory
11-20Communicating with Devices on an Ethernet Network
11-21
Generating User Provided Web Pages
11-22Communicating with Devices on an Ethernet Network
Output Timer
Status Counter Control
11-24Communicating with Devices on an Ethernet Network
Input image word is I0 is b!ABDTR-I0/b
Time values in T40 are!ABDTR-T40
BCD
Importing User Page Files to the PLC-5 Controller
11-26Communicating with Devices on an Ethernet Network
11-27
11-28Communicating with Devices on an Ethernet Network
11-29
Following examples use this system configuration
Multihop Examples
11-31
11-32Communicating with Devices on an Ethernet Network
Communicating with ControlLogix Devices
Comparing Multihop and Non-Multihop Messages Over Ethernet
Code Hexadecimal Description
Interpreting Error Codes
Controller sets the .ER bit and enters an error code
Displayed on the data monitor screen
Active screen
Interpreting Ethernet Status Data
F00A
11-34Communicating with Devices on an Ethernet Network
Monitoring general Ethernet status
Status Field Bytes Displays the Number
11-36Communicating with Devices on an Ethernet Network
Monitoring Ethernet commands
Monitoring Ethernet replies
Personal Computer
Ethernet PLC-5 Performance Considerations
Performance Host to Ethernet PLC-5 Controller
PLC-5 Controller Typed Write Packet Size
11-38Communicating with Devices on an Ethernet Network
12-4
Using protected controllers 12-6
Protecting Your Programs
File Assigning a privilege class to a node 12-4
Node privileges override the default privilege class
Channel
Structure
Defining Privilege Classes
Will be appropriate for a particular application
12-4Protecting Your Programs
Assigning a Privilege Class to a Node
Assigning a Privilege Class to a Channel or Offline File
12-5
Page
Forcing Inputs and Outputs
Programming Considerations
Forcing
13-11
13-2Programming Considerations
Extended Forcing
Forcing SFC Transitions
Non-block-transfer data. All non-block-transfer data
That you include in the extended force configuration
Do not use BTR data tables files to store
Table as read data will be forced to zero during
Force Privileges
Enabled 003 ms Disabled 0015 ms
Increased Program Scan Time
13-4Programming Considerations
With the Programming Software
Using Protected Controllers
Setting Up and Using Extended Forcing
Package
Select all of data file N11
Select Which Group of Data You Want to Force
13-6Programming Considerations
BTR #2 and ending at the end of BTR #4
Forces Must be of Type B, A, N, or D
Radix Force Screen Display
Enable or Disable the Forces
Using Extended Forcing with Time-Critical Applications
Binary
Enable the BTW
OTL
Using Special Programming Routines
13-10Programming Considerations
Deciding When to Use Special Routines
Priority Scheduling for Interrupts and MCPs
Program Execution States
13-12Programming Considerations
Program would be executing if it were of a higher priority
An MCP, STI, PII Does the program fault?
Rescheduling Operation
Program can be
13-14Programming Considerations
I012
Interrupted
Power-up routines Fault routines
Defining and Programming Interrupt Routines
Page
If S26/1 is After power loss, the controller
Preparing Power-Up Routines
Setting Power-Up Protection
Set
Fault or power-up condition
Defining a Controller Power-Up Procedure
Portion of the fault routine associated with a particular
Allowing or Inhibiting Startup
Use this Bit
15..............0
Page
Understanding the Fault Routine Concept
Preparing Fault Routines
Responses to a Major Fault
For Information About See
General
Faults
Understanding
It Sets
Fault in a Remote I/O Chassis
Preparing Fault Routines
Here are two programming methods you can use
15-4Preparing Fault Routines
Remote inputs inactive
Inputs
15-5
To fault mode without completing the fault routine
Programming a Fault Routine
Avoiding Multiple Watchdog Faults
If You Encounter Then
Fault. Be sure to examine the fault bit and correct
Setting an Alarm
Clearing a Major Fault
Cause of the fault before clearing it
Then faults
Example of Comparing a Major Fault Code with a Reference
If the Fault Routine Then the Controller
15-8Preparing Fault Routines
Changing the Fault Routine from Ladder Logic
Using Ladder Logic to Recover from a Fault
Ways to Recover from a Rack Fault Method Description
Testing a Fault Routine
Monitoring Faults
Block-Transfers in Fault Routines
You can Monitor Description
Interpreting Minor Faults
Monitoring Major/Minor Faults and Fault Codes
Interpreting Major Faults
For a description of the major faults S11, see Appendix B
PLC-5/60, -5/60L, -5/80, 5/80E
Monitoring Status Bits
PLC-5/11, -5/20, 5/20E PLC-5/30 PLC-5/40, -5/40L, 5/40E
Page
Selecting Main Control Programs
Using Main Control Programs
Consider Using this Technique If You are
16-2Using Main Control Programs
MCP
Using Main Control Programs
Configuring MCPs
An I/O update
If the MCP is a Following Occurs
This Field Do the Following Status File
Monitoring MCPs
Page
Writing STI Ladder Logic
Using Selectable Timed Interrupts
Using a Selectable Timed Interrupt
STI Application Example
17-2Using Selectable Timed Interrupts
Control R60 Length Position Mode
Block-Transfers in Selectable Timed Interrupts STIs
Defining a Selectable Timed Interrupt
Do the Following Status File
Controller uses the value in S30 to determine how often to
STI. If you disable the STI write a 0 to S31,
Monitoring Selectable Timed Interrupts
Check for a non-zero value in S31
Using a processor input interrupt
Using Processor Input Interrupts
Using a Processor Input Interrupt
18-1
PII Application Examples
Mode Description
Writing PII Ladder Logic
Two ways that you can use a PII program
Output image bit remains set until the next count
Counter C40 Preset 100 Accum
Block-Transfers in Processor Input Interrupts PIIs
C40.CU
18-4Using Processor Input Interrupts
Design Considerations
Defining a Controller Input Interrupt
Monitoring Controller Input Interrupts
This PII Field Stores Address
System Specifications
Controller Specifications
Maximum Maximum Number of I/O Cat. No
Memory and Channel Specifications
Controller Maximum
Any Mix
Compatible Extended Local I/O PLC-5/80 100 K3 Any mix or
PLC-5/60 64 K2 Any mix or
Compatible PLC-5/60L 64 K2 Any mix or
Compatible PLC-5/80E 100 K3 Any mix or
Available
Battery Specifications
Eeprom Compatibility
Eeprom compatibility is related to
Area Description
6System Specifications Publication 1785-UM012D-EN-P July
This Word Stores Arithmetic flags
Processor Status File
S0 S2
Step in an SFC
2Processor Status File
S2Switch setting information
This Word Stores
S3-10
S11
S12
This word stores the following fault codes
This Fault Code Indicates this Fault Fault Is
You jumped to an invalid non-ladder file
Error using SFR. This error occurs if
Non-recoverable. The fault
For instruction with missing NXT
Publication 1785-UM012D-EN-P July
8Processor Status File
Recoverable
Service
S13-S24
S26-S35
RUN
S36-S78
S79-S127
Maximizing System Performance
Using This Chapter Program Scan
Using program control instructions
Other instructions may have a greater or lesser effect
Effects of Different Input States on Logic Scan Time
Effects of False Logic versus True Logic on Logic Scan Time
If I000/00 is Then the Rung is
Effects of Using Interrupts on Logic Scan Time
Effects of Different Instructions on Logic Scan Time
Online editing times for ladder programs are as follows
Editing While in Remote Run Mode
Effects of Housekeeping Time
For this Editing Operation This Type Times are Program
Calculating Throughput
Using Global Status Flag Files
Card Backplane + Card Remote I/O Processor Delay Scan Time
6Maximizing System Performance
Input and Output Modules Delay
Remote I/O Scan Time
Time Rate kbps
Communication Rate
Number of Rack Entries
57.6 115.2 230.4
8Maximizing System Performance
Block-Transfers
Ms/Word Overhead ms Rate kbps
Kbps Rack Words words No BTs
Calculating Worst-Case Remote I/O Scan Time
Optimizing Remote I/O Scan Time
10Maximizing System Performance
Maximum scan time
Minimum time to complete
Update Image
Controller Time
Block-transfer to all modules = 1 3D + 3BT = 3D + 3BT
Variable Value
Example Calculation
Worst-case controller time is
No impact 50 ms/Kwords
Effect of Inserting Ladder Rungs at 56K-word Limit
Down at the End of a Rungs Program File
Remote block-transfers
Instruction Consideration
Using JMP/LBL Instructions
Using FOR/NXT Instructions
JMP
Timing and memory requirements for file program control,
Instruction Set Quick Reference
If You Want to Read About
Relay Instructions
TON
Timer Instructions
Instruction Description
TOF
RES
Counter Instructions
RTO
CTU
LIM
Compare Instructions
CTD
MEQ
GEQ
CMP
EQU
GRT
ACS
Compute Instructions
CPT
ADD
AVE
ASN
ATN
DIV
CLR
COS
10Instruction Set Quick Reference
Multiply
MUL
SourceN70
SQR
NEG
SIN
SRT
STD
SUB
To the power of Y XPY
Subtract
Tangent
Logical Instructions
DEG
Conversion Instructions
Convert to Degrees
MOV
Bit Modify and Move Instructions
RAD
MVM
FAL
File Instructions
BTD
FSC
File Fill
File Copy
COP
FLL
DDT
Diagnostic Instructions
FBC
BSR
Shift Register Instructions
BSL
FFL
LFU
Sequencer Instructions
LFL
SQI
Program Control Instructions
RET
JSR
SBR
AFI
UID
SFR
EOT
UIE
Process Control, Message Instructions
Block Transfer Instructions
BTW
BTR
Requeued
Identifies the number of words in the transfer. a
ACB
Ascii Instructions
ABL
AHL
AEX
AIC
ARD
AWA
ASC
ASR
AWT
Floating Point True False
Bit and Word Instructions
Category Code Title
FRD
True False
TOD
LOG
File, Program Control, and Ascii Instructions
Category Code Title Time ∝s Words Integer Floating Point
Category Code Title Time ∝s Words
END
ISA
AHL ¡
ACI
ACN
Ascii AIC
Write
ASCII2 AWA
Write with append
38Instruction Set Quick Reference
Controller’s DH+ address
Switch Setting Reference
For this Switch Setting
Channel 1A
Controller Switches
Switch
Front Processor 12 3 4 5 6 7 8 9 Side View
To Specify Set Switches
RS-232C Off RS-422A RS-423
PLC-5 Controller in the I/O Chassis
4Switch Setting Reference
Chassis Backplane
Off Slot At top on closed Pressed
Always Off Switch Last State
AS or -ASB Switches Addressing Pressed
Slot At bottom OFF open Not allowed
Set Y when you install
Chassis Configuration Plug
6Switch Setting Reference
Power supply module
Kbps
First I/O Group Number
First I/O Group Number Rack Number see below see next
Link Response
8Switch Setting Reference
Rack
SW-2 Not Used
ALX Switch SW1
Extended-Local I/O Adapter Module
First I/O Group Number Rack Number
On the 2 upper pins
ALX Configuration Plug
If You are Using But Not
Modules and any Addressing method
Entering run mode
Troubleshooting
For Information About Troubleshooting Go to
Unexpected PLC-5 controller operation when
PLC-5 Controller
General Problems
Indicator Color Description
Recommended Action
Force
Comm
DH+
Controller Communication Channel Troubleshooting
Color Channel Mode Description
Indicator Color Channel Mode Description
Extended-Local I/O Troubleshooting
Ethernet Status Indicator
Indicator Color Description Probable Cause
Remote I/O System
Ethernet Transmit LED
Troubleshooting F-7
Indicators are still blinking, check
Mode adapter to
Adapter module
Line fault Off Module not Power supply fault
Off Chassis fault Problem exists between
Problem resulting from high noise.2
Configuration
Fault Rack
Extended-Local I/O System
This Executes These Actions During Prescan Instruction
Unexpected Operation when Entering Run Mode
Instructions with Unique Prescan Operations
AWT AWA ACB ABL AHL BTR
Suggested Action
MSG
12Troubleshooting Publication 1785-UM012D-EN-P July
Shading indicates that the pin is reserved
Cable Reference
Pin RS-232C RS-422A RS-423
Serial Cable Pin Assignments
2Cable Reference
Connecting Diagrams
Terminal 1784-CAK KE Series B 1770-CD
4Cable Reference
Terminal Cable #2 1770-KF2 1784-CP5 1784-CP7
Cable 1784-CAK Connects 1785-KE to WorkstationT
Programming Cable Specifications
For Use this Cable See
Blue Controller Pin D-Shell Workstation
6Cable Reference
Shield
Clear Shield Blue Pin
Pin D-Shell Female
Position Terminal connector Blue Shield Clear
Twinax Cable
10 ft
Pin D-Shell Workstation Female Controller DH+ 9-pin
Cable 1784-PCM5 Controller to Workstation using a 1784-PCMK
8Cable Reference
Controller Male
Cable Reference G-9
Table below describes Allen-Bradley transceivers
Catalog Number Description
Ethernet cable Transceivers and transceiver cables
5810-TAM/A kit
5810-TC15/A
5810-TAS/A kit
5810-TBS/A kit
1784CP2 9-21784CP3
Numerics
1771KRF 9-21771SN
Extendedlocal I/O scanner configuration
IP address 11-7using
Using 6200 software 11-3using Bootp
Serial 10-6troubleshooting F-4
Connections Ethernet G-9
Data transfer 6-11blocktransfer
Program state 13-12extendedlocal I/O
Token passing 9-13transmission rate 9-4troubleshooting F-4
Power supplies 3-6discrete data transfer
Addressing 11-2advanced functions
Clearing 6-10,8-11global status bits 15-11,15-13
Gapping 4-12gateways
Interrupts C-3scheduling
Communication F-4Ethernet F-5,F-6
Prescan timing F-10program control D-22
Mnemonic 4-18specifying
Optimizing 4-22program files 4-15protection E-4
Passwords 12-2performance
Chassis dimensions 3-5power supply dimensions
Multiple chassis status bits 15-11,15-13
Recover from rack fault 15-10terminal connections G-5
Mounting dimensions 3-6powerup routines 13-10,13-11,14-1
Fault routines 15-6features
Schemes 10-16techniques
Serial devices 10-1setting switches
Performance 17-2program flow
Specifications A-1specifications A-1
Program files 4-15temperature
Pointtopoint 10-3status
Input states C-2instructions C-3
Token passing 9-13transceivers G-9troubleshooting
User interrupts 13-14user mode 10-2,10-18
Influencing processor priorities
Index Publication 1785-UM012D-EN-P July
Clarity
Completeness
Technical Accuracy
Other Comments
Business Reply Mail
Other Comments
Page
Page
Page
Rockwell Automation Support
Installation Assistance
New Product Satisfaction Return