Plc 5 1/2 Slot Addressing

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. Page 1 Allen-Bradley User PLC-5 Ethernet Interface Module Manual (Cat. 1785-ENET); Page 2 Attention statements help you to: identify a hazard avoid the hazard recognize the consequences Important: Identifies information that is critical for successful application and understanding of the product.

This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.

S Contents Preface 1 Guide to the S7-300 Documentation 2 Installation Order 3 S7-300 Modules 4 Configuring 5 Installation 6 Wiring 7 Addressing 8 Commissioning 9. SIMATIC S5 S5-115U Programmable Controller Manual CPU 941-7UB11 CPU 942-7UB11 CPU 943-7UB11 and CPU 943-7UB21 CPU 944-7UB11 and CPU 944-7UB21 EWA 4NEB 811 6130-02b.

Plc 5 1/2 slot addressing machineYour 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
Messages in this topic

Plc 5 1/2 Slot Addressing Machine

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 Addressing Machines

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


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 ]
Your Personal PLC Tutor Site Learn Now!!.

PLC5 read in Logix5000 msg

PLC5 read in Logix5000 msg

Plc 5 1/2 Slot Addressing System

I am trying to to a PLC 5 read in a Logix 5000 to get data from a PLC 5. I am confused about the routing. Could anyone help.
I have it set up as PLC 5 Type read in the Configuration Tab. The number of elements is 1.
I am trying to configure the routing in the Communication tab.
Here is my path.
Logix processor
Backplane
slot 2 1756 DHRIO Chnl B Link 2
DH+
Node 70 1756 DHRIO Slot 2 Chnl A Link 7
Backplane
Slot 3 1756 DHRIO Chnk B Link 4
DH+
Node 35 PLC 5 Processor
Any hints on the routing would be appreciated. I know I must be missing something simple.
Thanks
Marty