Plc 5 Slot Numbering

People often ask “What is a PLC?” and “PLC Meaning”. A programmable logic controller (PLC) is a piece of hardware that isolates inputs from outputs. Programs are written to look at the inputs solve logic and set the outputs to perform work. Today we are going to look at the basic fundamental way we program. Every PLC company will do this…

When PLC rack is inserted in PLC manager, slots startwith number 1. If I use Allen-Bradley PLSs, the module numbers start with 0. So all the addressing.


Everything in the programmable logic controller actually boils down to bits in the memory.
It is these bits that we manipulate in order to accomplish the work that we need to be done by the PLC. The instruction set is the method we use to do this. In general, there are several ways to view the bits. Discrete input and output, Numbers and Position of bits will be covered. Understanding the different ways in which we can view these bits will help in developing programs.
Bits are part of the memory of all PLC systems. The memory can be retentive or non-memory retentive. Memory retentive means that if power is lost to the PLC, the status of the bit remains the same when power is restored. If the bit is non-memory retentive, and power is lost the bit returns to the off state. Addressing refers to how the controller understands what memory location to look at. When we address memory in the PLC we can do this in two different ways:
Direct Addressing: Specify a location of the memory location
Indirect Addressing: Specify a location that contains a value to point to the memory location required.

Discrete bits are the basic building blocks in the PLC. When we talk of digital I/O this is referring to the individual bits that you can wire switches, pushbuttons, proximity sensors, or any other device that is either on or off. (1 or 0) They can be usually wired to the PLC as a normally open or normally closed contact. The ladder logic is written in a way that you examine the bit as either on or off.
HOW PLC INPUTS WORK

  • Page 53 Limit the number of remote I/O rack numbers to those that your PLC-5 controller can support. The PLC-5 controller and the 1771-ASB adapter module automatically allocate the next higher rack number(s) to the remaining I/O groups of the chassis. For example, if you select. Page 54: Understanding Plc-5 Controller Memory.
  • The pattern of holes on the module designated for a given slot. When implemented, only modules of the same type can be inserted in a given slot. An adequate number of key pins are shipped with the housings as part of hardware kit AS-8536-002. Figure 5-2 I/O Module Key Pin Insertion KEY PINS INSERT INTO MODULE HOUSING TO.

HOW PLC OUTPUTS WORK
We also must look at the frequency (rate of change from off to on) of the input bits or output in some cases. The maximum frequency that we can read an input to the PLC will be determined by the scan of the PLC.
Example:
A 2 ms Scan (0.002 seconds) means that we can read the inputs and solve the logic in 2 ms. In order to ensure that the input is read in both states (on / off) we have to ensure that the input is off or on for at least 2 ms. The maximum frequency (Switching / Second) that the input could switch would be 2 ms = 1/.002 times per second = 500hz

Numbers in the PLC are all based on binary. Analog inputs and outputs are based upon the number of bits put together in order to display the range for the input. (12 bit or 16 bit) The values from the analog 12bit input will go from 000 to FFF base 16 (Hex). Hexadecimal is used to display the binary bits in the word or register. Some of the more common numbering systems in the PLC are binary, hexadecimal, BCD (binary coded decimal) and octal (based on 8 bits)
Additional Information on understanding numbering systems in the PLC:
What Everybody Ought to Know about PLC (Programmable Logic Controller) Numbering Systems

Position of the bits within the word, stack or accumulator can be very useful. Usually, we can use this to track items. The typical example of this is to track items on a conveyor belt. The belt movement is usually a pulse input from an encoder. A sensor indicates the item on the conveyor.
PLC PROGRAMMING EXAMPLE – SHIFT REGISTER (CONVEYOR REJECT)

Bits are the basic building blocks that we use to program programmable logic controllers. The three ways to view bits (Discrete, Number, and Position) will help users to understand the different ways to program.
Here are some additional links that you may find helpful:
Five Steps to PLC Program Development
PLC Programming Example – Process Mixer
PLC Programming Example – Shift Register (Conveyor Reject)
PLC Programming Example – Paint Spraying

The Secret of Using Counters
The Secret of Using Timers

Watch on YouTube: PLC Bits Numbers and Position
If you have any questions or need further information please contact me.
Thank you,
Garry
If you’re like most of my readers, you’re committed to learning about technology. Numbering systems used in PLC’s are not difficult to learn and understand. We will walk through the numbering systems used in PLCs. This includes Bits, Decimal, Hexadecimal, ASCII and Floating Point.

To get this free article, subscribe to my free email newsletter.
Use the information to inform other people how numbering systems work. Sign up now.

The ‘Robust Data Logging for Free’ eBook is also available as a free download. The link is included when you subscribe to ACC Automation.


The PLC-5® processor module in a 1771 platform provides a proven approach for industrial control. PLC-5 processors are high-speed, single-slot processors used for control and information processing. They are designed for larger sequential and regulatory control applications with specialized I/O requirements and/or the need to coordinate with other processors and devices.

PLC-5 processors are available in a range of I/O capacity and memory size, and can be connected in a variety of networks for distributed processing and distributed I/O. The 1771 I/O products offer a full range of digital and analog I/O (including intelligent I/O) in a rugged modular assembly.

Benefits

  • Modularity — Modular I/O and communication interfaces provide a configurable and expandable system. A system should be configured for the required number of I/O and the communication networks. Later, when system expansion is necessary, I/O or communication interfaces can be added.
  • Speed — Fast delivery of messages between networks, between links within networks, and between modules across the backplane.
  • Toughness — Industrially-hardened hardware platform is designed to withstand the vibrations, thermal extremes, and electrical noise associated with harsh industrial environments.
  • Broad I/O options — A large selection of 1771 I/O modules available for use in the local I/O chassis, and an even larger selection of I/O available at locations remote from the processor, can be connected across ControlNet™, DeviceNet™, and Remote I/O links.

Communication

A PLC-5 processor communicates across the 1771 backplane to 1771 I/O modules in the chassis in which the processor resides. The different models of PLC-5 processors have various on-board ports for communication with other processors, computers, and remotely located I/O. Also, separate modules are available to provide additional communication ports.

Each PLC-5 processor has a built-in RS-232/422/423 communication port. Each PLC-5 processor also has one or more on-board ports that can be configured for either Data Highway Plus (DH+) or Universal Remote I/O. As a Universal Remote I/O port, it can be configured as either an I/O scanner port or an I/O adapter port. Selected models of PLC-5 processors have on-board ports for Ethernet, ControlNet, or Extended Local I/O communication.

In addition to the on-board ports available with PLC-5 processors, adding another communication port for a PLC-5 processor is as simple as adding an optional communication module.

I/O adapter modules for 1771 I/O are available for ControlNet, Universal Remote I/O, and Extended Local I/O links. An I/O adapter module in a chassis with I/O modules interfaces the I/O modules with the I/O link for communication with a scanner port of a processor at another location.

System Components

A PLC-5 / 1771 control system at minimum consists of a processor module and I/O modules in a single 1771 chassis with a power supply. Choose the processor module with the on-board communication ports needed.

On-board Universal Remote I/O scanner ports are available on all PLC-5 processors. On-board Extended Local I/O scanner ports are available on some PLC-5 processors. On-board ControlNet ports are available on some PLC-5 processors. To provide a DeviceNet I/O scanner port to the system, a DeviceNet scanner module (1771-SDN) is necessary.

Typical Configurations

In this typical configuration, a ControlNet port on the processor module interfaces the processor to the ControlNet link. In each of the two chassis remote from the processor, a 1771-ACN15 I/O adapter module provides I/O modules in those chassis with an interface to the ControlNet link. The PLC-5 processor monitors/controls the I/O in its local I/O chassis as well as the I/O in the remote locations.

The 1771 power supply module plugs into an I/O module slot, or you can connect a stand-alone 1771 power supply to the left end of each chassis.

PLC-5 Processors Overview

The PLC-5® processors are single-slot modules that are placed into the left-most slot of a 1771 I/O chassis. They are available in a range of I/O, memory, and communication capability.

PLC-5 processors have ports configurable for either a Data Highway Plus messaging communication link or a Universal Remote I/O link. As a Universal Remote I/O port, it can be configured as either an I/O scanner port or an I/O adapter port. As an I/O scanner port, it monitors and controls the I/O on the link by communicating with the I/O adapters for those I/O. As an adapter port, it communicates only with the I/O scanner port on the link, passing a maximum of one I/O rack of input and output data between the two to provide distributed processing.

All PLC-5 processors have Data Highway Plus and RS-232-C/422-A/423-A communication ports. In addition to these ports, each Ethernet PLC-5 processor has an Ethernet communication port, and each ControlNet PLC-5 processor has a ControlNet communication port.

Although each Ethernet PLC-5 processor has on-board Ethernet ports; additional Ethernet ports can be added to any PLC-5 processor system with a 1785-ENET Ethernet Interface Module. PLC-5 processors do not have an on-board DeviceNet port. A DeviceNet port can be added to the system with a 1771-SDN scanner module.

Benefits

Numbering
  • Ladder-logic and structured-text programming
  • Advanced instruction set including file handling, sequencer, diagnostic, shift register, immediate I/O, and program control instructions
  • Multiple main control programs for segregation of control tasks
  • Processor input interrupts and global status flags
  • Programmable fault response for reacting to a fault before the system goes down
  • Timed interrupt routine for examining specific information at specific time intervals
  • Protected memory selectable by word on selected processors
  • 512 through 3072 maximum forcible I/O in any mix
  • Up to 50,176 maximum non-forcible I/O
  • Processor-resident local I/O (1771 I/O modules)
  • Extended-local I/O on selected processors (1771 I/O modules)
  • Universal Remote I/O (1746, 1771, and 1794 I/O modules and 1791 I/O blocks)
  • DeviceNet I/O (1794 I/O modules, 1792D I/O blocks)
  • ControlNet I/O on selected processors (1771, 1734, 1794, 1797 I/O modules)
  • Universal Remote I/O ports can be configured as either an I/O scanner port or an I/O adapter port
Slot

Built-in Web Services

Ethernet PLC-5 processors (1785-L20E, -L40E, and -L80E), and the Ethernet interface module (1785-ENET) provide built-in web capabilities:

  • Web Diagnostics and Module Information lets a standard web browser access information stored in the PLC-5 processor data table, including module diagnostic information (requires RSLogix5, version 5.2 or later).
  • Web User Provided Pages allows for unique Web page creation to provide custom data table information. Any Internet user who has network access to the PLC-5 processor can view these pages, which can be either HTML pages that contain data table elements, text and images, or Custom Data Monitor pages that contain data table elements in table form.
  • Domain Name Service (DNS) lets Internet users access the built-in Web server by a specified name instead of by IP address (requires RSLogix5, version 5.2 or later).

PLC-5 Processors with Protected Memory (1785-L26B, -L46B, L86B, -L46C15)

All enhanced PLC-5 processors have memory protection. However, those processors designated as having the memory protection feature have the added capability of limiting access to individual words.

Choose a PLC-5 processor with protected memory when access must be limited to critical or proprietary areas of programs, selectively guard processor memory and I/O words, or restrict use of processor operations.

The PLC-5 protected memory feature expands system validity and security beyond what is provided by the password-and-privilege capability of the other PLC-5 enhanced processors. Custom software protection schemes can be designed for each application.

Plc 5 Slot Numbering Machines

Rockwell Software programming software can be used to assign class privileges to specific user accounts or a user job function, such as system administrator, plant engineer, maintenance engineer, or operator. Using four privilege classes and associated passwords, access can be limited to critical program areas and restrict access to:

  • Communication channels
  • Remote nodes attached to a DH+ or ControlNet network

Plc 5 Slot Numbering Machine

  • Program files
  • Data files
  • Individual data words

Plc Slot Numbering

The PLC-5/26, PLC-5/46, and PLC-5/86 protected processors are equivalent to the PLC-5/20, PLC-5/40, and PLC-5/80 standard processors, respectively, plus the added memory protection feature. These processors are listed under the heading “Standard PLC-5 Processors with Protected Memories” in the PLC-5 Processor selection tables.

Plc 5 Slot Numbering Software

The PLC-5/46C15 protected processor is equivalent to the PLC-5/40C15 ControlNet processor plus the added memory protection feature. This processor is listed under the heading “ControlNet PLC-5 Processors with Protected Memories” in the PLC-5 Processor selection tables.