Allen Bradley Plc Slot Numbering

broken image


The AMCI 8213 Programmable Limit Switch module for Allen-Bradley ControlLogix systems provides up to sixteen programmable high speed limit switch outputs and sixteen inputs that can be used via an external relay board. This one-slot module's backplane connection enables fast transfer of information between itself and the ControlLogix processor(s). The slot numbering for Compact I/O modules always goes left-to-right, no matter if you're using a R/L or R/R expansion cable. 1769-L32E Slot 0 1769-IQ16 Slot 1 1769-IQ16 Slot 2 1769-IQ16 Slot 3 1769-PA4 (no slot number) 1769-IQ16 Slot 4 1769-OW16 Slot 5 1769-OW16 Slot 6 1769-OW16 Slot 7 1769-Expansion cable (no slot number) 1769-IF8 Slot 8. The I/O addresses are derived using the rack number, the I/O module slot number and the screw terminal number where the I/O device is wired. For detailed information of the Allen Bradley SLC500 series PLC visit the SLC500 Rack/Slot Addressing page on this site.

There are a number of addressing schemes used by PLC manufacturers. Let's take a quick look at how memory locations (including hardware I/O) are accessed with RSLogix 500. Along the way, let's define some terms.

INSTRUCTION – RSLogix's command language is comprised of 'instructions'. An XIC (it looks like a normally open contact –] [– ) is an instruction. A timer is an instruction. A few of the most common instructions are described below.

  • We then need to specify the IP address of the slot number on the second control logix PLC that holds the ENBT module. In this example, that IP address is 192.168.0.56. From there, we need to go to the backplane of the second control logix PLC, which again is a value of one, and then we want to end at the processor in slot zero.
  • So we need to click the Browse button and choose the controller we want to talk to. As you can see I've set up PLC2 in slot 1 of the same chassis as PLC1. So let's choose PLC2 and click Ok. Ok, now one more thing before we are ready to test our message instruction. The MSG instructions only run once when the rung is true.

BIT – an address within the PLC. It can be an input, output or internal coil, among others.

Allen bradley plc slot numbering chart

In RSLogix, there are a couple of ways to show the address of a bit. The default is:

[type]:[word]/[bit]

For example, an address that references an output of a MicroLogix 1100 is O:0/0. That is:

Allen bradley plc slot numbering machine

O:0/5 means that it is a physical output.
O:0/5 means that it uses Slot 0 (in the case of the 1100, this output is onboard)
O:0/5 means that it is the fifth output on the PLC.

By the way, don't get the capital 'O' confused with a zero.

RUNG – A section of the PLC ladder program that terminates in an output function of some type. Just like in an electrical ladder diagram, a rung has some type of output that is turned on or turned off by the preceding entities in the rung. The first rung in a ladder program is always 0000.

HARDWIRED INPUT – a physical connection to the PLC from an input device (switch or sensor, etc.).

Allen-Bradley uses the capital letter 'I' to designate a hardwired input. An address that describes an input on an SLC 500 is I:4/0.

Similar to the output structure,

Allen Bradley Plc Slot Numbering Chart

I:4/0 means that it is a physical input.
I:4/0 means that it uses Slot 4 (the 5th slot in the rack).
I:4/0 means that it is the first input on the card.

Don't get the capital 'I's' confused with ones.

HARDWIRED OUTPUT – a physical connection from the PLC to an output device (relay or pilot light, etc.) As was said above, an address that references an output of an SLC 500 is O:5/0.

INTERNAL COIL
This is a programmable bit used to simulate a relay within the PLC. The internal coil has no connection to the outside world. It does not connect to an output card. Internal coils are used to store information. The 'contacts' of this 'relay' can then be used multiple times in other parts of the program.

In RSLogix, the 'B3' (binary) file is commonly used for all the internal coils. There are many other words in other files that have bits you can use as internal coils, but we are going to stick with the B3 file for our application.

B3:0/0 means that it references an internal Binary file
B3:0/0 means that it uses the first word in the table
B3:0/0 means that it is the first bit in the word.

Note that, unlike the Output and Input files, you have to use the file number in the address. In this case, the default file number is 3.

TIMER
A timer is a programmable instruction that lets you turn on or turn off bits after a preset time.

The two primary types of timers are TON for 'timer on delay' and TOF for 'timer off delay'.

Allen Bradley Plc Slot Numbering Tool

Timers in A-B SLC and MicroLogix processors use file 4 for their timers.

T4:0 means that it references an internal Timer file
T4:0 means that it uses the first timer in the table

The address T4:0 simply refers to the timer. Each timer has bits that turn on after the timing function is complete. You can address this bit by simply putting a '/DN' after the timer address. DN stands for 'done'.

For example, if timer T4:0 is a TON (timer on delay), then the bit T4:0/DN will turn on after the timer has reached its preset value.

COUNTER
A counter is a programmable instruction that lets you turn on or turn off bits after a preset count has been reached.

There are different types of counters available in the RSLogix, but the CTU (counter up) instruction covers everything we will talk about here.

Counters in A-B SLC and MicroLogix processors use file 5.

C5:0 means that it references an internal Counter file
C5:0 means that it uses the first counter in the table

The address C5:0 simply refers to the counter. Each counter has bits that turn on after the counting function is complete. You can address this bit by simply putting a '/DN' after the counter address. DN stands for 'done'.

For example, if counter C5:0 is a CTU (counter up), then the bit C5:0/DN will turn on after the counter has reached its preset value.

–] [– Normally Open Contact
When used with a hardwired input, this instruction is off until there is a voltage applied to the input. The bit address then goes high, or on, and the instruction becomes 'true.' It works the same way when it has the same address as an internal coil, except that the coil must be turned on by logic in the program.

Slot

In RSLogix, there are a couple of ways to show the address of a bit. The default is:

[type]:[word]/[bit]

For example, an address that references an output of a MicroLogix 1100 is O:0/0. That is:

O:0/5 means that it is a physical output.
O:0/5 means that it uses Slot 0 (in the case of the 1100, this output is onboard)
O:0/5 means that it is the fifth output on the PLC.

By the way, don't get the capital 'O' confused with a zero.

RUNG – A section of the PLC ladder program that terminates in an output function of some type. Just like in an electrical ladder diagram, a rung has some type of output that is turned on or turned off by the preceding entities in the rung. The first rung in a ladder program is always 0000.

HARDWIRED INPUT – a physical connection to the PLC from an input device (switch or sensor, etc.).

Allen-Bradley uses the capital letter 'I' to designate a hardwired input. An address that describes an input on an SLC 500 is I:4/0.

Similar to the output structure,

Allen Bradley Plc Slot Numbering Chart

I:4/0 means that it is a physical input.
I:4/0 means that it uses Slot 4 (the 5th slot in the rack).
I:4/0 means that it is the first input on the card.

Don't get the capital 'I's' confused with ones.

HARDWIRED OUTPUT – a physical connection from the PLC to an output device (relay or pilot light, etc.) As was said above, an address that references an output of an SLC 500 is O:5/0.

INTERNAL COIL
This is a programmable bit used to simulate a relay within the PLC. The internal coil has no connection to the outside world. It does not connect to an output card. Internal coils are used to store information. The 'contacts' of this 'relay' can then be used multiple times in other parts of the program.

In RSLogix, the 'B3' (binary) file is commonly used for all the internal coils. There are many other words in other files that have bits you can use as internal coils, but we are going to stick with the B3 file for our application.

B3:0/0 means that it references an internal Binary file
B3:0/0 means that it uses the first word in the table
B3:0/0 means that it is the first bit in the word.

Note that, unlike the Output and Input files, you have to use the file number in the address. In this case, the default file number is 3.

TIMER
A timer is a programmable instruction that lets you turn on or turn off bits after a preset time.

The two primary types of timers are TON for 'timer on delay' and TOF for 'timer off delay'.

Allen Bradley Plc Slot Numbering Tool

Timers in A-B SLC and MicroLogix processors use file 4 for their timers.

T4:0 means that it references an internal Timer file
T4:0 means that it uses the first timer in the table

The address T4:0 simply refers to the timer. Each timer has bits that turn on after the timing function is complete. You can address this bit by simply putting a '/DN' after the timer address. DN stands for 'done'.

For example, if timer T4:0 is a TON (timer on delay), then the bit T4:0/DN will turn on after the timer has reached its preset value.

COUNTER
A counter is a programmable instruction that lets you turn on or turn off bits after a preset count has been reached.

There are different types of counters available in the RSLogix, but the CTU (counter up) instruction covers everything we will talk about here.

Counters in A-B SLC and MicroLogix processors use file 5.

C5:0 means that it references an internal Counter file
C5:0 means that it uses the first counter in the table

The address C5:0 simply refers to the counter. Each counter has bits that turn on after the counting function is complete. You can address this bit by simply putting a '/DN' after the counter address. DN stands for 'done'.

For example, if counter C5:0 is a CTU (counter up), then the bit C5:0/DN will turn on after the counter has reached its preset value.

–] [– Normally Open Contact
When used with a hardwired input, this instruction is off until there is a voltage applied to the input. The bit address then goes high, or on, and the instruction becomes 'true.' It works the same way when it has the same address as an internal coil, except that the coil must be turned on by logic in the program.

Allen-Bradley calls these normally open contacts 'XIC', or 'eXamine If Closed' instruction.

An XIC instruction can reference a hardwired input, a hardwired output, an internal coil or a timer done bit, among others.

–]/[– Normally Closed Contact
This is an inverted normally open contact.

When used with a hardwired input, this instruction is 'true' until there is a voltage applied to the input. It then goes low, or off, and becomes 'false.'

It also can be used with an internal coil, becoming true when the coil is off and becoming false when the coil is on.

Allen-Bradley calls these normally closed contacts 'XIO', or 'eXamine If Open' instructions.

Allen Bradley Plc Slot Numbering Software

-( )- Output Coil
When used with a hardwired output, this function is off until the logic in the program allows it to turn on. It then becomes 'true', and will energize the device that is wired to the respective output.

Allen Bradley Plc Port Number

If it is used as an internal coil, it will toggle the instructions associated with it. That is, it will close a normally open instruction and open a normally closed instruction.

Allen-Bradley calls these outputs 'OTE', or 'OutpuT Energize'.

An OTE may be used with a hardwired output or an internal coil.

TRUE – A state that indicates an instruction is allowing logic to 'flow' through it.

Allen Bradley Plc Slot Numbering Machine

Also, if the logic in a rung turns on the output of the rung, then the rung is said to be true.

FALSE – Without stating the obvious, this is the opposite of true.

Excerpted from PLC Programming with RSLogix 500





broken image