Plc 5 1/2 Slot Addressing

Slot

Before you can program any PLC system, you have to understand how the addressing is done in that particular PLC. I have included a actual screenshot from RSLogix 5000 below that shows examples of addressing in RSLogix 5000. INSTRUCTION – RSLogix 5000’s Relay Ladder Logic command language is comprised of “instructions”. An XIC (it looks. As you can see, I have a 10 slot CLX rack, with a 1756-ENBT card in slot 1 (address 134.200.211.16), and two processors, one in slot 0, and one in slot 2. The one in slot 2 is the processor we are going to use for this exercise. With 4 off and 5 on, every slot equals a group (1-slot addressing). When 4 is on and 5 is off, every 1/2 slot equals a group. (1/2 slot addressing) — Both switches ON is an invalid setting.

List of TCP port numbers used by commercial equipment controllers:

  • Allen Bradley – All newer Rockwell PLC’s : 44818 (See List Below for more details)
  • Allen Bradley – Older Rockwell AB PLC5E and SLC5/05 use TCP 2222
  • BECKHOFF Embedded PC: 48898
  • C-more HMI Programming: 9999
  • Danfoss ECL Apex: 5050
  • FATEK FB Series: 500
  • GE Fanus Series 90-30: 18245
  • GE SRTP uses TCP ports 18245 and 18246
  • GE QuickPanels use TCP port: 57176
  • HITACHI EHV Series: 3004
  • KEYENCE KV-5000: 8501
  • Korenix 6550: 502
  • Koyo Ethernet: 28784
  • LS GLOFA FEnet: 2004
  • LS XGB FEnet: 2004
  • LS XGK FEnet: 2004
  • Memobus (Yaskawa MP Series Controllers): 502
  • Mitsubishi FX: 1025
  • MITSUBISHI FX3u (Ethernet): 5001
  • MITSUBISHI MELSEC-Q (Ethernet): 4999
  • MITSUBISHI MR-MQ100 (Ethernet): 4999
  • MITSUBISHI QJ71E71 (Ethernet): 5002
  • MODBUS TCP/IP (Ethernet): 502
  • MODBUS Server (Modbus RTU Slave): 502
  • Omron PLC: 9600
  • Panasonic FP (Ethernet): 9094
  • Panasonic FP2 (Ethernet): 8500
  • Parker Drives using MODBUS TCP/IP (Ethernet): 502
  • Red Lion HMI’s: 789
  • SAIA S-BUS (Ethernet): 5050
  • Schleicher XCX 300: 20547
  • Siemens S7 protocol uses TCP port: 102
  • Toshiba Series PLC’s uses Modbus port: 502
  • Trio (MODBUS RTU, TCP/IP): 502
  • Unitronics Socket1 – TCP slave: 20256
  • Unitronics Socket2 – TCP slave: 502
  • Unitronicsw Socket3 – TCP slave: 20257
  • Wago CODESYS – TCP: 2455
  • YAMAHA NETWORK BOARD Ethernet RCX series uses telnet port: 23
  • YASKAWA MP Series Ethernet: 10000
  • YASKAWA MP2300Siec: 44818
  • YASKAWA SMC 3010 (Ethernet): 23
  • Yokogawa FA-M3 (Ethernet): 12289

Newer Rockwell Allen Bradley Detailed Equipment List for TCP Port 44818
1756-ENET
1756-ENBT
1756-EWEB
1794-AENT
1734-AENT
1769-L35E, 1769-L32E
1788-ENBT
1761-NET-ENI
1785-LXXE
1785-ENET
1747-L55x
1763-L16x
1766-L32x
PowerMonitor 1000
PowerMonitor 3000
PowerMonitor 5000
PanelView
RSLinx Classic
RSLinx Enterprise
INTERCHANGE (rsicd)

Plc 5 1/2 Slot Addressing

Older Rockwell Allen Bradley Equipment List TCP Port 2222
1785-Lxxe
1785-ENET
1771-DMC(x)
1747-L55x
5820-EI
PowerMonitor II
INTERCHANGE
PowerMonitor 1000
PowerMonitor 3000
PowerMonitor 5000
RSLinx Classic

This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Your Personal PLC Tutor Site - Interactive Q & A

'Block transfer Write/read, PLC-5 (Ab)'

New Here? Please read this important info!!!
Email this topic to a friend
Printer-friendly version of this topic
Archived thread - Read only
Previous Topic Next Topic
HomeConferences*** LIVE PLC Q&A ***(Public)
Original message

Mike - (9 posts) Jan-22-02, 12:27 PM (EST)
'Block transfer Write/read, PLC-5 (Ab)'
Basically, I need to know what the specifics are of the BTW/BTR in a PLC-5. I am new to these functions, and need to appreciate the interpolation between the control bits BTxxxx and the remote I/O attached. I have tried unsuccessfully to get a decent explanation from Ab.com, and the programming help is of little use. If anybody can help me thanks v much.
Top

Plc 5 1/2 Slot Addressing Tool

Table of contents

RE: Block transfer Write/read, PLC-..., Allen Nelson, Jan-22-02, (1)
RE: Block transfer Write/read, PLC-..., ianingram, Jan-23-02, (2)
Lobby Topics Previous Topic Next Topic

Plc 5 1/2 Slot Addressing System

Messages in this topic

Allen Nelson - (187 posts) Jan-22-02, 01:49 PM (EST)
1. 'RE: Block transfer Write/read, PLC-5 (Ab)'

Because analog I/O has data than can just fit in a single 16-bit word, you need to have a special instruction to get the data into/out of the modules, instead of just being able to look at the data table (You probably knew that, but I'm writing for lurkers too - forgive me if I get too simplistic).

Those instructions are the Block Transfer Write (BTW) and Block Transfer Read (BTR). These instruction transfer a block of data (up to 64 words) from the PLC to a module (BTW) or from the module to the PLC (BTR).

In general, each (analog) I/O module needs a BTW/BTR pair, one for configuration, the other for data. If, for example, you have an analog input module, you would execute a BTW instruction on the powerup scan (or if data from the BTR indicated that the module had somehow lost it's configuration) to give it all the parameters that it needs to return data correctly (number of channels, format of data (2's complement, BCD), range for each channel (typically 0-4095, but some folks like to bring in the Input in engineering units))

Then, on all other scans, the BTR instruction will be executed to read all the channel data.

The BTR and BTW instruction need two blocks of register addresses in order to work: a control register, and a data register. The control register can be either a BT type (preferred), or an integer type (if you're dealing with older PLCs, or SLCs). The data register must be an integer type (although as I look at the Help file, I see an Input type shown in the example - I have no idea why they would do that!).

The control registers contains all the housekeeping info for making the instruction work - the status bits, the Rack/Slot/Group address (shown on the instruction), and other stuff that is frankly unimportant.

The data registers contain the data that is to be transferred in one block. If it's the BTW to that Analog input, it would contain the number of channels, format of data, etc. If its the BTR from the AI, it would contain some header info (typically about 5 words), followed by the current readings (scaled in the manner that you configured the module with the BTW).

Now for the easy part. In the bad old days, we had to set up the configuration by hand, making sure that all 22 words of data sent to configure an analog input were just right. RSLogix has made it easy with the IO CONFIGURATION, near the top of the project window on the left.

Double Click on IO CONFIGURATION. Double click on the Chassis Type (or right click and Add a Chassis). Configure your rack to the correct size. Point to the slot on the chassis where you will have a module, right click and select Add Module. Pick the part number. Once the part number is in the correct spot, right click and select Display Module (or just double click), and you will be presented with a dialog box for entering the Config and Data registers for both the BTW and BTRs. Enter them if you've already decided what they should be, or just pick Auto-pick (I've never been happy with the addresses they auto-assign, but that could just be me), and it will bring up a helpful window. This window allows you to just pick the setting that you want, and shows where the data will be located for programming. (If you were live with the PLC, it would show that actual raw data).

You can use the Insert Ladder Rungs button to have RSLogix make the proper ladder code for the BTW and BTR rungs. Play around with this screen and the settings and you'll get a good feel for what's going on in the BTR/BTW.

You can access this screen quickly by clicking on 'Setup Screen' on the BTR or BTW instruction.

Good luck, if you have any more specific questions, just ask,

Allen
©¿©¬

Top
Plc 5 1/2 Slot AddressingSlot
ianingram - (23 posts) Jan-23-02, 07:12 AM (EST)
2. 'RE: Block transfer Write/read, PLC-5 (Ab)'
try this link

(this link is mainly about analog inputs/outputs in general, but there is an example for a PLC-5 using BTW)

Top

Plc 5 1/2 Slot Addressing Machine



Remove

Lobby Topics Previous Topic Next Topic
Rate this topic (1=skip it, 10=must read)? [ 1 2 3 4 5 6 7 8 9 10 ]

Plc 5 1/2 Slot Addressing Machines

Your Personal PLC Tutor Site Learn Now!!.