Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 4 of 45

Enhanced and Ethernet PLC-5 Programmable Controllers User Manual: Chapter 1 - Understanding Your Programmable Controller

Pages 19 to 32 of 388, from Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

The original document is the PDF (5.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 1785-L20B and Allen-Bradley 1785-L40B

Page 19

Chapter

1

Understanding Your Programmable Controller

Using This Chapter For Information About Lay Out the System Identifying controller components Programming features Using a controller channel as a remote I/O scanner Using a controller channel as a remote I/O adapter Using a PLC-5/40L, -5/60L programmable controller as an extended-local I/O scanner

Lay Out the System

Go to Page 1-1 1-2 1-10 1-11 1-12 1-14

Lay out the system by determining the network configuration and the placement of components in each location. Decide at this time whether each location will have its own controller. Place each controller’s I/O on an isolated network to maximize the performance and to more easily accommodate future network or system configuration changes. If you plan to share I/O, make sure the I/O is on a network that each controller can access. Assume that Network A and Network B both require a controller and its I/O. Both controllers interact with time critical information. RSView Network C Panel C

Network B

Network A Panel A chassis 1

Panel View

1

Panel A chassis 2

Panel A chassis 3

Panel B chassis 1

Panel B chassis 2

Panel View

Publication 1785-UM012D-EN-P - July 2005

Page 20

1-2

Understanding Your Programmable Controller

For a PLC-5 controller to control I/O modules, both the controller and the I/O modules must be directly attached to the same network. I/O Location

Controller in Panel A, chassis 1

Controller in Panel B, chassis 1

Panel A, chassis 1 yes yes

Panel A, chassis 2 yes no

Panel A, chassis 3 yes no

Panel B, chassis 1 yes yes

Panel B, chassis 2 no yes

Panel C, chassis 1 yes yes

Evaluate what communications need to occur between controllers. If there is sporadic information that is not time-critical, use a message-based network such as an EtherNet/IP (the information portion) or Data Highway PlusTM.

Identifying Controller Components

To become familiar with the controller’s front panels, use these figures:

For the Front Panels Of PLC-5/11, -5/20 and -5/26 controllers PLC-5/30 controllers PLC-5/40, -5/46, -5/60, -5/80 and -5/86 controllers PLC-5/20E controllers PLC-5/40E and -5/80E controllers PLC-5/40L and -5/60L controllers

Publication 1785-UM012D-EN-P - July 2005

Page 1-3 1-4 1-5 1-6 1-7 1-8

Page 21

Understanding Your Programmable Controller

1-3

PLC-5/11, -5/20, and -5/26 Controller Front Panels

PLC-5/11 Controller

PLC-5/20 or -5/26 Controller battery indicator (red when the battery is low)

controller RUN/FAULT indicator (green when running; red when faulted)

keyswitch; selects controller mode force indicator (amber when I/O forces are enabled) channel 0 communication status indicator (green when the channel is communicating)

channel 0-25-pin D-shell serial port; supports standard EIA RS-232C and RS-423 and is RS-422A compatible 1 Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols. The port's default configuration supports controller programming: DF1 point-to-point 2400 bps no parity

Install memory module here.

one stop-bit BCC error check no handshaking Install battery here channel 1A status indicator (lights green and red) channel 1B status indicator (lights green and red)

8-pin mini-DIN, DH+ programming terminal connection parallel to channel 1A channel 1B communication port; its default configuration is remote I/O scanner 2 channel 1A communication port; for the PLC-5/11 controller, the default configuration is DH+ 2

PLC-5 family member designation channel 1A communication port; this 3-pin port is a dedicated DH+ port

1 Channel 0 is optically-coupled (provides high electrical noise immunity) and can be used with most RS-422A equipment as long as: termination resistors are not used the distance and transmission rate are reduced to comply with RS-423 requirements 2 Configure these 3-pin ports for: remote I/O scanner remote I/O adapter, DH+ communication unused

Publication 1785-UM012D-EN-P - July 2005

Page 22

1-4

Understanding Your Programmable Controller

PLC-5/30 Controller Front Panell battery indicator (lights red when the battery is low) controller RUN/FAULT indicator (green when running; red when faulted) force indicator (amber when I/O forces are enabled)

keyswitch; selects controler mode channel 0 communication status indicator (green when the channel is communicating) channel 0-25-pin D-shell serial port; supports standard EIA RS-232C and RS-423 and is RS-422A compatible 1 Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols. The port's default configuration supports processor programming: DF1 point-to-point one stop-bit 2400 bps BCC error check no parity no handshaking channel 1A status indicator (lights green and red) channel 1B status indicator (lights green and red) 8-pin mini-DIN, DH+ programming terminal connection parallel to channel 1A Install memory module here channel 1A communication port; its default configuration is DH+ 2 channel 1B communication port; its default configuration is remote I/O scanner 2

Use these labels to write information about the channel: communication mode, station addresses, etc.

Install battery here PLC-5 family member designation

1 Channel 0 is optically-coupled (provides high electrical noise immunity) and can be used with most RS-422 equipment as long as: termination resistors are not used the distance and transmission rate are reduced to comply with RS-423 requirements 2 Configure these 3-pin ports for: remote I/O scanner, remote I/O adapter, DH+ communication unused

Publication 1785-UM012D-EN-P - July 2005

Page 23

Understanding Your Programmable Controller

1-5

PLC-5/40, -5/46, -5/60, -5/80, and -5/86 Controller Front Panel battery indicator (red when the battery is low) controler RUN/FAULT indicator (green when running; red when faulted) keyswitch; selects controller mode force indicator (amber when I/O forces are enabled) channel 0 communication status indicator (green when the channel is communicating) channel 2A status indicator (lights green and red) 8-pin mini-DIN, DH+ programming terminal connection parallel to channel 2A when channel 2A is configured for DH+ communications channel 2B status indicator (lights green and red)

channel 0-25-pin D-shell serial port; supports standard EIA RS-232C and RS-423 and is RS-422A compatible 1 channel 2A communication port; its default configuration is unused 2 channel 2B communication port; its default configuration is unused 2 channel 1A status indicator (lights green and red)

Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols. The port's default configuration supports processor programming: DF1 point-to-point 2400 bps no parity one stop-bit BCC error check no handshaking channel 1B status indicator (lights green and red)

8-pin mini-DIN, DH+ programming terminal connection parallel to channel 1A Use these labels to write information about the channel: communication mode, station addresses etc. channel 1A communication port; its default configuration is DH+ at 57.6 kbps 2

Install memory module here channel 1B communication port; its default configuration is remote I/O scanner 2 PLC-5 family member designation Install battery here 1 Channel 0 is optically-coupled (provides high electrical noise immunity) and can be used with most RS-422A equipment as long as: termination resistors are not used the distance and transmission rate are reduced to comply with RS-423 requirements 2 Configure these 3-pin ports for: remote I/O scanner, remote I/O adapter, DH+ communication unused

Publication 1785-UM012D-EN-P - July 2005

Page 24

1-6

Understanding Your Programmable Controller

PLC-5/20E Controller Front Panel battery indicator (red when the battery is low) external transceiver fuse controller RUN/FAULT indicator (green when running; red when faulted) force indicator (amber when I/O forces are enabled)

keyswitch; selects controller mode channel 0 communication status indicator (green when the channel is communicating) channel 2 Ethernet status indicator (green when functioning normally; red when not functioning) channel 2, Ethernet transmit indicator (green when the channel is communicating) channel 2 communication port; a 15-pin Ethernet port Install memory module here channel 0*25-pin D-shell serial port; supports standard EIA RS-232C and RS-423 and is RS-422A compatible 1 Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols. The port's default configuration supports controller programming: DF1 point-to-point 2400 bps no parity one stop-bit BCC error check no handshaking

Install battery here channel 1A status indicator (lights green and red) channel 1B status indicator (lights green and red) 8-pin mini-DIN, DH+ programming terminal connection parallel to channel 1A channel 1B communication port; its default configuration is remote I/O scanner 2 channel 1A communication port; its default configuration is DH+ communication 3

PLC-5/20E Programmable Controller

PLC-5 family member designation

1 Channel 0 is optically-coupled (provides high electrical noise immunity) and can be used with most RS-422A equipment as long as: termination resistors are not used the distance and transmission rate are reduced to comply with RS-423 requirements 2 Configure these 3-pin ports for: remote I/O scanner remote I/O adapter DH+ communication unused

3 Configure this 3-pin port for: remote I/O adapter DH+ communication

Publication 1785-UM012D-EN-P - July 2005

Page 25

Understanding Your Programmable Controller

1-7

PLC-5/40E and -5/80E Controller Front Panels battery indicator (red when the battery is low) controller RUN/FAULT indicator (green when running; red when faulted) external transceiver fuse force indicator (amber when I/O forces are enabled) channel 0 communication status indicator (green when the channel is communicating)

keyswitch; selects controller mode channel 2 Ethernet status indicator (green when functioning normally; red when not functioning) channel 2, Ethernet transmit indicator (green when the channel is communicating) channel 0-25-pin D-shell serial port; supports standard EIA RS-232C and RS-423 and is RS-422A compatible 1 channel 2 communication port; a 15-pin Ethernet port

Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols. The port's default configuration supports controller programming: DF1 point-to-point 2400 bps no parity channel 1A status indicator (lights green and red)

one stop-bit BCC error check no handshaking channel 1B status indicator (lights green and red) 8-pin mini-DIN, DH+ programming terminal connection parallel to channel 1A Install memory module here channel 1A communication port; its default configuration is DH+ communication 2 Use these labels to write information about the channel: communication mode, station addresses etc. channel 1B communication port; its default configuration is remote I/O scanner 2 Install battery here PLC-5/40E Programmable Controller

PLC-5 family member designation

1 Channel 0 is optically-coupled (provides high electrical noise immunity) and can be used with most RS-422A equipment as long as: termination resistors are not used the distance and transmission rate are reduced to comply with RS-423 requirements 2 Configure these 3-pin ports for: remote I/O scanner remote I/O adapter DH+ communication unused

Publication 1785-UM012D-EN-P - July 2005

Page 26

1-8

Understanding Your Programmable Controller

PLC-5/40L and -5/60L Controller Front Panels battery indicator (red when the battery is low) controller RUN/FAULT indicator (green when running; red when faulted) force indicator (amber when I/O forces are enabled) channel 0 communication status indicator (green when the channel is communicating)

keyswitch; selects controller mode channel 2 extended-local I/O status indicator (green when functioning normally; red when not functioning) channel 2 communication port; a 50-pin, dedicated extended-local I/O port channel 0*25-pin D-shell serial port; supports standard EIA RS-232C and RS-423 and is RS-422A compatible 1 Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols. The port's default configuration supports controler programming: DF1 point-to-point 2400 bps no parity channel 1A status indicator (lights green and red) 8-pin mini-DIN, DH+ programming terminal connection parallel to channel 1A one stop-bit BCC error check no handshaking channel 1B status indicator (lights green and red)

Install memory module here channel 1A communication port; its default configuration is DH+ communication 2 channel 1B communication port; its default configuration is remote I/O scanner 2

Use these labels to write information about the channel: communication mode, station addresses etc.

Install battery here PLC-5 family member designation

1 Channel 0 is optically-coupled (provides high electrical noise immunity) and can be used with most RS-422A equipment as long as: termination resistors are not used the distance and transmission rate are reduced to comply with RS-423 requirements 2 Configure these 3-pin ports for: remote I/O scanner, remote I/O adapter, DH+ communication unused

Publication 1785-UM012D-EN-P - July 2005

Page 27

Understanding Your Programmable Controller

1-9

Use the keyswitch to change the mode in which a controller is operating. If You Want to Turn the Keyswitch to • Run your program. Outputs are enabled. (Equipment being controlled by the I/O RUN addressed in the ladder program begins operation.) PROG

• Force I/O. • Save your programs to a disk drive (during operation).

R E M

• Enable outputs.

RUN

• Edit data table values. Notes:

• You cannot create or delete a program file, create or delete data files, edit online, or change the modes of operation through the programming software while in run mode. • You can prevent forcing and data table changes by usingRSLogix5 programming software to set user control bit S:26/6. • Disable outputs (outputs are turned off). • Create, modify, and delete ladder files, SFC files, or data files.

PROG (program) PROG

• Download to/from a memory module.

R E M

• Save/restore programs. Notes:

RUN

• The controller does not scan the program. • You cannot change the mode of operation through the programming software while in program mode. Change between remote program, remote test, and remote run modes through the programming software. Remote run

REM (remote) PROG

• Enable outputs.

R E M

• Save/restore programs. • Edit while operating.

RUN

Remote program

See the program-mode description above. Remote test

• Execute ladder programs with outputs disabled. • Cannot create or delete ladder programs or data files. • Save/restore programs. • Edit while operating.

Publication 1785-UM012D-EN-P - July 2005

Page 28

1-10

Understanding Your Programmable Controller

Programming Features

This table highlights the programming features of a PLC-5 programmable controller.

This Capability Ladder logic

Lets You program using a language that is representative of relay logic. Choose this language

Subroutines

Sequential Function Charts (SFCs)

• if you are more familiar with ladder logic than with programming languages such as BASIC Your plant personnel may be more familiar with ladder logic; consider their needs as well. • performing diagnostics • programming discrete control store recurring sections of program logic that can be accessed from multiple program files. A subroutine saves memory because you program repetitive logic only once. The JSR instruction directs the controller to go to a separate subroutine file within the logic controller, scan that subroutine file once, and return to the point of departure. use sequence-control language to control and display the state of a sequential process. Instead of using one long ladder program for your application, divide the logic into steps and transitions. A step corresponds to a control task; a transition corresponds to a condition that must occur before the programmable controller can perform the next control task. The display of these steps and transitions lets you see what state the machine process is in at a given time via a flowchart form. SFCs offer constructs that enable execution of multiple paths of logic, or a single selected path of logic, as well as the ability to jump forwards and backwards. Troubleshooting can be reduced to a small routine of logic instead of an entire ladder file.

Structured text

SFCs are best for defining the order of events in a sequential process. program using a language similar to BASIC. Choose structured text if you are:

Main Control Programs (MCPs)

• more familiar with programming languages such as BASIC than with ladder logic • using complex mathematical algorithms • using program constructs that repeat or “loop” • creating custom data-table monitoring screens separate sequential logic from ladder logic and structured text as a way of modularized your process and making troubleshooting easier. Use several main control programs (MCPs) to define one main control program for each particular machine or function of your process. MCPs accommodate independent or non-sequential activities. A main control program can be an SFC file numbered 1-999 or a ladder-logic file or structured-text program numbered 2-999. One data table is used by all MCPs (i.e., you do not have a separate data table for each MCP).

Publication 1785-UM012D-EN-P - July 2005

Page 29

Understanding Your Programmable Controller

Using a Controller Channel as a Remote I/O Scanner

1-11

Configure a remote I/O channel for scanner mode to read and write I/O information between a controller and an I/O device remotely located from the controller. PLC-5/40

A controller with a channel configured for scanner mode acts as a supervisory controller for other controllers that are in adapter mode as well as remote I/O adapter modules. The scanner-mode PLC-5 controller can: gather data from node adapter devices in remote I/O racks process I/O data from 8-, 16-, or 32-point I/O modules address I/O in 2-, 1-, or 1/2-slot I/O groups support a complementary I/O configuration support block-transfer in any I/O chassis 1771-ASB

Remote I/O Link Cable: Belden 9463

PLC-5/20

The scanner-mode PLC-5 controller: transfers discrete data and block-transfer data to/from modules in remote I/O racks as well as to/from controllers in adapter mode. scans remote I/O buffers asynchronously to the program scan. updates the input/output image data table from the remote I/O buffer(s) synchronously to the program scan

PLC-5 data table is updated synchronously to program scan (at housekeeping).

PLC-5 Data Table

Output

Remote I/O buffers are updated asynchronously to the program scan.

Controller -resident I/O Input

Remote I/O Buffer

Output

Input

Remote I/O Link

Publication 1785-UM012D-EN-P - July 2005

Page 30

1-12

Understanding Your Programmable Controller

A controller transfers I/O data and status data using: • discrete transfers data transfers of 8 words per rack occur automatically on the remote I/O network • block-transfers special data transfers that require ladder logic instructions to achieve the transfer allow a transfer of a maximum of 64 words of data also used to communicate information between a scanner channel and an adapter-mode controller channel

Using a Controller Channel as a Remote I/O Adapter

Configure a controller channel for adapter mode when you need predictable, real-time exchange of data between a distributed control adapter-mode controller channel and a supervisory controller. The remote I/O adapter channel exchanges data with a supervisory controller.

PLC-5/40 In this example, a PLC-5/40 controller channel is the supervisory (scanner-mode) controller of the 1771-ASB module and the PLC-5/20 controller. Connect the controllers via the remote I/O link.

1771-ASB You can monitor status between the supervisory controller and the adapter-mode PLC-5 controller channel at a consistent rate (i.e., the transmission rate of the remote I/O link is unaffected by programming terminals and other non-control-related communications).

Remote I/O Link Cable: Belden 9463

PLC-5/20

The adapter-mode PLC-5 controller can monitor and control its controller-resident local I/O while communicating with the supervisory controller via a remote I/O link.

Publication 1785-UM012D-EN-P - July 2005

Page 31

Understanding Your Programmable Controller

1-13

For Enhanced and Ethernet programmable controller channels in adapter mode, you do not need ladder logic in the adapter controller for block-transfer instructions. You define the block-transfers via an adapter configuration screen and by defining block-transfer files.

PLC-5 controller channel in adapter mode 2

Supervisory Controller 1

Remote I/O Link

1771 I/O

PanelView

Remote I/O Link

1 The following programmable controllers can operate as supervisory controllers: PLC-2/20 and PLC-2/30 controllers PLC-3 and PLC-3/10 controllers PLC-5/15 and PLC-5/25E controllers All Enhanced and Ethernet PLC-5 controllers; separate channels can be configured for a remote I/O scanner and an adapter PLC-5/V30, PLC-5/V40, PLC-5/V40L, and PLC-5/V80 controllers PLC-5/250 controllers

2 All PLC-5 family controllers, except the PLC-5/10, can operate as remote I/O adapter modules

Publication 1785-UM012D-EN-P - July 2005

Page 32

1-14

Understanding Your Programmable Controller

Using a PLC-5/40L, -5/60L Programmable Controller as an Extended-Local I/O Scanner

Use the extended-local I/O link when you need I/O updates more quickly than is possible from remote I/O link. An extended-local I/O link provides faster scan and update time than a remote I/O link. The extended-local I/O link is limited to 30.5 cable-m (100 cable-ft). If an I/O chassis is located more than 30.5m from the controller, you must use a remote I/O link.

PLC-5/60L A PLC-5/40L or -5/60L controller (channel 2) and an extended-local I/O adapter module (1771-ALX) form an extended-local I/O link. The extended-local I/O link is a parallel link that enables a PLC-5/40L or -5/60L controller to scan a maximum of 16 extended-local I/O chassis.

Extended-local I/O Link Cable: 1771-CXx

Due to the cabling design, you can remove an adapter module from a chassis on the extended-local I/O link without disrupting communication to other chassis on the extended-local I/O link.

1771-ALX

Important: The PLC-5/40L and -5/60L controllers cannot be used as extended-local I/O adapters.

ExtendedLocal I/O Link

Input Output

PLC-5 data table is updated synchronously to program scan (at housekeeping).

Remote I/O buffers are updated asynchronously to the program scan.

Publication 1785-UM012D-EN-P - July 2005

PLC-5 data table

Input

Output

Remote I/O Buffer

Input

Output

Remote I/O Link

Input Output

ControllerResident Local I/O