Page 2
NOTICE BLH makes no representation or warranties of any kind whatsoever with respect to the contents hereof and specifically disclaims any implied warranties or merchantability or fitness for any particular purpose. BLH shall not be held liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this publication or its contents.
Introduction This manual describes an Allen-Bradley Remote I/O Set-up and calibration procedures are accomplished (RIO) communication link between a BLH DXp-40 using a series of internal switches and the LCD display weight transmitter and an Allen-Bradley PLC-5 (Figure (reference TM008). In operation, it provides up to three 1-1).
SECTION 2. The Remote I/O Interface OPERATIONAL OVERVIEW Figure 2-1. RIO Communication DIP Switch Settings The Allen-Bradley Remote I/O (RIO) interface is standard on many PLC-2, 3, and 5 series One Quarter Rack. The DXp-40 is configured to programmable logic controllers. The technology act as 1/4 rack of I/O using 2 input words and 2 used in the interface and licensed by Allen-Bradley output words in the PLC's I/O image table.
Page 7
Main Menu (Accessed from Operation Mode) Figure 2-2. Revised DXp-40 Main Menu w/Baud Rate Selection...
DISCRETE DATA TRANSFER The second word contains the commands that the PLC-5 expects the DXp-40 to perform. Word 2 2.3.1 OUTPUT IMAGE TABLE controls set points, filter selection, filter operation, The PLC-5 initiates the communication interface by and DXp-40 operating mode status. transmitting two words from the output image table (Figure 2-3).
Page 9
2.3.2 Input Image Table After evaluating the contents of the output image table, the DXp-40 responds by transmitting two words to the input image table (Figure 2-4). The first word contains signed integer weight data. The second word contains the upper order data bits, system error condition, and set point status status,...
BLOCK DATA TRANSFERS and the second word being the new set point value. Parameter guidelines for writing data to 2.4.1 INTERFACE BASICS the DXp-40 are presented in Table 2-2. Block data transfers are initiated by the ladder logic program write (BTW) and read (BTR) 2.4.4 A PERPETUAL POINTER commands.
Page 11
WORD 1 WORD WORD WORD WORD WORD 1 WORD 2 Register Gross Gross Gross Gross Register Set Point Address Weight Weight Weight Weight Address 55 Value Cell 1 Cell 2 Cell 3 Cell 4 Block Transfer Write Sample: One word desired (set point#1 weight value) requires two word write command (1 word is set point #1 address).
Page 12
SETPOINT 3 SETPOINT 4 FILTER 1 LENGTH ((word 2) x 32768.0) + word 1 FILTER 1 BAND FILTER 1 RESPONSE range = -9,999,999 to 9,999,999 FILTER 1 BAND AVERAGE FILTER 1 MOTION FILTER 1 MOTION TIMER FILTER 2 LENGTH FILTER 2 BAND FILTER 2 RESPONSE FILTER 2 BAND AVERAGE FILTER 2 MOTION...
Page 13
Table 2-3. Status Word Bit Definitions STATUS 1 (GENERAL STATUS) ACTIVE FILTER, (0) = FILTER 1, (1) = FILTER 2 UNABLE TO TARE/ZERO BECAUSE OF MOTION UNABLE TO ZERO BECAUSE OF LIMIT GROSS ZERO JUST ACQUIRED NET TARE JUST ACQUIRED IN CAL SPARE SPARE...
SECTION 3. Definitions and Explanations INPUT IMAGE TABLE BITS A table is provided to explain the Input Image Table presented in Figure 2-4. Table 3-1 defines the bit structure of both input words. Table 3-1. Input Image Table Word 'Bit' Definitions Word 1 BITS 0 - 15 WEIGH DATA (signed integer, -32768 to + 32767)
OUTPUT IMAGE TABLE BITS Table 3-2 shows the structure and bit definition of each Output Image Table word. Reference Figure 2-3 to view word breakouts. Table 3-2. Output Image Table Word/Bit Definitions Word 1 Unused Word 2 BIT 0 GROSS/NET (0= GROSS) Used for requesting total gross or net weigh data.
Page 16
Table 3-2 (Cont.) Output Image Table Bit Definitions BIT 11 SETPOINT #4 ENABLE (1 = ENABLE) Setting this bit to 1 enables the dxp40 setpoint #4 output to be controlled by the dxp40. If reset to 0 the setpoint #4 output is controlled by BIT 15. BIT 12 SETPOINT # 1 OVERRIDE If BIT 8 = 0 the state of this bit controls the setpolnt # I output.
SECTION 4. Sample Ladder Logic Programs INTRODUCTION 4.1.3 REFERENCE TABLES Pages 4-23 to 4-27 provide reference tables to be This section provides several sample programs (page used in conjunction with the sample programs. Use 4-2) that show Allen-Bradley these tables to clarify program references. communicates with the DXp-40 through the RIO interface.