Allen-Bradley FLEX I/O 1794-IP4 User Manual Download Page 1

User
Manual

FLEX I/O 4 Input
Pulse Counter
Module

(Cat. No. 1794-IP4)

Allen-Bradley

Allen-Bradley HMIs

Summary of Contents for FLEX I/O 1794-IP4

Page 1: ...User Manual FLEX I O 4 Input Pulse Counter Module Cat No 1794 IP4 Allen Bradley Allen Bradley HMIs...

Page 2: ...s such as those described in this publication Reproduction of the contents of this copyrighted publication in whole or in part without written permission of Allen Bradley Company Inc is prohibited Thr...

Page 3: ...vered in that chapter Chapter Title Contents 1 Overview of FLEX I O and the Pulse Counter Module Describes FLEX I O pulse counter modules features and how they function 2 How to Install Your Pulse Cou...

Page 4: ...794 ADN 24V dc DeviceNet Adapter 1794 5 14 1794 6 5 5 1794 ASB C 24V dc Remote I O Adapter 1794 5 50 1794 6 5 9 1794 ASB2 B 24V dc 2 Slot Remote I O Adapter 1794 5 44 1794 6 5 13 1794 APB 24V dc Profi...

Page 5: ...ac 8 Input Module 1794 5 9 1794 OA8 120V ac 8 Output Module 1794 5 10 1794 IA8I 120V ac Isolated 8 Input Module 1794 5 55 1794 OA8I 120V ac Isolated Output Module 1794 5 56 1794 IA16 120V ac 16 Input...

Page 6: ...Using This Manual P 4 Publication 1794 6 5 16 September 1998...

Page 7: ...e Module 2 4 Mounting the Terminal Base Unit on a DIN Rail 2 4 Panel Wall Mounting 2 6 Mounting the Pulse Counter Module on the Terminal Base Unit 2 7 Connecting Wiring for Your Pulse Counter Module 2...

Page 8: ...put 5 3 Mapping Data into the Image Table 5 3 Pulse Counter Module 1794 IP4 Image Table Mapping 5 3 Block Transfer Read Word Assignments for the Pulse Counter Module 1794 IP4 5 4 Block Transfer Write...

Page 9: ...4 Image Table Mapping 6 6 Bit Word Definitions for Block Transfer Read Words for the Pulse Counter Module 6 6 Chapter 7 What This Chapter Contains 7 1 Status Indicators 7 1 What s Next 7 1 Chapter 8 S...

Page 10: ...Table of Contents iv Publication 1794 6 5 16 September 1998...

Page 11: ...nary data The module s primary use is accurate high speed counting of pulses from flow meters or density meters This includes quantity counting and speed calculations The module has 2 16 bit up down c...

Page 12: ...bit Counter 16 bit Counter 16 bit Counter 16 bit Counter 16 bit Counter 16 bit Counter 16 bit Counter 16 bit Counter Control Word N D N D N D N D N D Configuration is selected by setting A below in th...

Page 13: ...process ADAPTER ACTIVE FAULT LOCAL FAULT 24VDC POWER SUPPLY RIO ADAPTER 1794 ASB Allen Bradley 1 The adapter transfers your configuration data to the module using a BTW Flexbus External devices trans...

Page 14: ...e Counter module and the control system take place using variables accessible in the control system program Examples of variables are selection of clock frequency ClockFrequency selection of measureme...

Page 15: ...measurement is not complete 1 The positive edge of the flag indicates that the measurement is complete MeasurementReady is reset by the module when a positive edge of StartMeasurement is received Sele...

Page 16: ...ion 0 Measure during 1 period 1 Measure during 2 period 2 Measure during 4 period 3 Measure during 8 period 4 Measure during 16 period 5 Measure during 32 period 6 Measure during 64 period 7 Measure d...

Page 17: ...backplane 24V dc power must be applied to your module before installation If power is not applied the module position will appear to the adapter as an empty slot in your chassis If this product has th...

Page 18: ...lications Industrial Automation Wiring and Grounding Guidelines For Noise Immunity publication 1770 4 1 Guidelines for Handling Lithium Batteries publication AG 5 4 Automation Systems Catalog publicat...

Page 19: ...any noisy dc digital I O modules in your system Pulse Counter Module wiring separate from digital wiring Note All modules powered by the same power supply must be pulse frequency or TC RTD mV modules...

Page 20: ...inal base unit when power is applied Interruption of the flexbus can result in unintended operation or machine motion 1 Remove the cover plug if used in the male connector of the unit to which you are...

Page 21: ...is fully retracted 30077 M Press down on the terminal base unit to lock the terminal base on the DIN rail If the terminal base does not lock into place use a screwdriver or similar device to open the...

Page 22: ...m to the wall or panel If you are installing your module into a terminal base unit that is already installed proceed to Mounting the Pulse Counter Module on the Terminal Base on page2 7 Use the mounti...

Page 23: ...2 at a slight angle and engage the top of the mounting plate in the indention on the rear of the adapter module 5 Press the adapter down flush with the panel until the locking lever locks 6 Position t...

Page 24: ...power When you remove or insert a module with field side power applied an electrical arc may occur An electrical arc can cause personal injury or property damage by sending an erroneous signal to your...

Page 25: ...nd 35 and 51 common 34 and 50 24V dc 16 and 33 chassis ground 40 thru 45 chassis ground Connecting Wiring using a 1794 TB3 and TB3S Terminal Base Units 1 Connect individual input wiring N N or D D to...

Page 26: ...l 34 on the next base unit 6 If continuing common to the next terminal base unit connect a jumper from terminal 33 common on this base unit to terminal 16 on the next base unit ATTENTION Do not daisy...

Page 27: ...t 15V at the input Do not limit the input to less than 6V 2 Connect the associated input common to the corresponding odd numbered terminal on row C for each input as indicated in the table below 3 Con...

Page 28: ...2 N 4 21 39 4 N 5 22 40 5 3 N 6 23 41 6 N 7 24 42 7 32 bit Period Time Measurement 0 D 8 25 43 8 D 9 26 44 9 1 D 10 27 45 10 D 11 28 46 11 2 D 12 29 47 12 D 13 30 48 13 3 D 14 31 49 14 D 15 32 50 15 0...

Page 29: ...7 38 39 40 41 42 15 51 34 0V dc 12 24V dc External Power Supply 12 24V dc Signal Inputs Channel 0 Channel 3 Channel 2 Channel 1 0 7 A B C 1 6 Example of 32 bit Period Time Measurement Wiring 4 channel...

Page 30: ...of internal logic is complete and correct B Insertable label for writing individual I O assignments C Status indicators for each channel Indication Color Description P Yellow When on indicates the inp...

Page 31: ...ming required for communication to take place between the module and a PLC processor These programs can be modified to suit your application requirements A configuration block transfer write BTW is in...

Page 32: ...file may not provide meaningful data to the PLC 2 processor PLC 5 Family Processor Block transfer instructions with the PLC 5 processor use a control file and a data file The block transfer control f...

Page 33: ...obtained by the PLC 5 processor from the IP4 module is placed in memory starting at N18 10 and is 10 words long lThe program continuously performs read block transfers to read data from the module IP...

Page 34: ...S B3 5 1 BTR ERROR BIT B3 0 12 0002 B3 5 1 COP COPY FILE SOURCE DEST M1 1 200 B3 10 LENGTH 4 0003 BTW PENDING B3 15 0 CHECK BTW STATUS B3 15 1 BTR status is copied to the B3 0 area when a BTR is in pr...

Page 35: ...M1 1 103 N7 10 6 BTR PENDING B3 5 0 B3 5 1 BTR ENABLE BIT B3 100 15 L U U 0005 When a BTR successfully completes and the done bit is detected the BTR data is copied into the N7 0 to N7 9 area Whe a BT...

Page 36: ...possible When a BTW occurs the error code is moved to N7 11 To next page 0 BTR ENABLE BIT BTR DONE BIT BTR ERROR BIT BTR PENDING BTR ENABLE BIT B3 100 15 B3 0 13 B3 0 12 B3 5 0 B3 100 15 0010 B3 10 13...

Page 37: ...the scanner module while the BTW is in progress until the enable done and error bits are turned off BTR DONE BIT B3 0 13 BTR CONTROL BTW ERROR BIT B3 10 12 BTW ENABLE BIT B3 110 15 MOV MOVE SOURCE DE...

Page 38: ...Publication 1794 6 5 16 September 1998 In this chapter you learned how to program your 1794 IP4 Pulse Counter module using block transfer instructions and ladder logic Now you can configure your modul...

Page 39: ...s available are number of inputs encoder multiplier gate function latch function rollover Configure your module for its intended operation by means of your programming terminal and write block transfe...

Page 40: ...put Size 0 to 3 Words 1 to 10 Words Counter 00 16 bit period measurement or low word of 32 bit period measurement for channel 0 Code for identification of software version Control Word 0 Sets the meas...

Page 41: ...high word of 32 bit period measurement for channel 3 8 Readback of Control Word 2 8 Reserved M3 M2 M1 M0 9 Revision read software version code Where M positive edge measurement ready for the respectiv...

Page 42: ...iod multiple 2 Control Word 2 sets the start of a new measurement 3 4 Not used Bit Word Definitions for the Block Transfer Write Words for the Pulse Counter Module Write Word Bit Definition Write Wor...

Page 43: ...10 Clock frequency for period time measurement Channel 2 refer to bit 00 Bits 09 11 11 13 Selection of Number of periods for measurement Channel 2 see bits 01 03 above Bit 12 14 Clock frequency for p...

Page 44: ...4 6 Writing Configuration to and Reading Status from Your Module with a Remote I O Adapter Publication 1794 6 5 16 September 1998...

Page 45: ...to the network Refer to the DeviceNetManager Software User Manual publication 1787 6 5 3 Output data is received by the adapter in the order of the installed I O modules The Output data for Slot 0 is...

Page 46: ...O o ule ault 3 This bit is set 1 when an error is detected in slot position 3 I O Module Fault 4 This bit is set 1 when an error is detected in slot position 4 5 This bit is set 1 when an error is de...

Page 47: ...word of 32 bit period measurement for channel 0 Code for identification of software version Control Word 0 Sets the measure function Control Word 2 sets the start of a new measurement Control Word 1...

Page 48: ...measurement for channel 3 9 Readback of Control Word 2 9 Reserved M3 M2 M1 M0 10 Revision read software version code Where M positive edge measurement ready for the respective channel Block Transfer W...

Page 49: ...Word 1 Bits 00 Pulse counting and period time measurement selection for Channel 0 0 pulse counting and period time measurement selected 1 period time measurement selected Bits 01 Pulse counting and pe...

Page 50: ...r measurement Channel 2 see bits 01 03 above Bit 12 14 Clock frequency for period time measurement Channel 1 refer to bit 00 Bits 13 15 15 17 Selection of Number of periods for measurement Channel 1 s...

Page 51: ...or Pulse Counter modules the defaults reflect the actual number of input words output words For example for the Pulse Counter module you have 10 input words and 5 output words You can change the I O d...

Page 52: ...5 8 How Communication Takes Place and I O Image Table Mapping with the DeviceNet Adapter Publication 1794 6 5 16 September 1998...

Page 53: ...scanners One 1794 ACN15 and ACNR15 ControlNet adapter can interface up to eight terminal base units with installed FLEX I O modules forming a FLEX I O system of up to eight slots The adapter communic...

Page 54: ...ber of nodes application program NUT amount of scheduled bandwidth used etc determine how much time there is for unscheduled messaging Module I O Mapping The I O map for a module is divided into read...

Page 55: ...to slot 7 Adapter Status Slot 0 Input Data Slot 1 Input Data Slot 7 Input Data Slot 0 Output Data Slot 1 Output Data Slot 7 Output Data Read Data Output Data Network READ Network WRITE ControlNet Ada...

Page 56: ...d since power up I O State Created by PLC 5 controller 9 Bit 0 idle Bit 1 run 10 thru 15 Not used set to 0 Possible causes for an I O Module Fault are transmission errors on the FLEX I O backplane a f...

Page 57: ...e of the controlling processor or scanner Only 2 states can be detected run mode or program mode idle When run mode is detected the adapter copies the output data received from the processor to the co...

Page 58: ...nel 2 or high word of 32 bit period measurement Counter 30 16 bit period measurement or low word of 32 bit period measurement for channel 3 Counter 31 pulse counter for channel 3 or high word of 32 bi...

Page 59: ...on Configuration Wor 0 Control Word 0 Control word for setting the function of counter 0 Word 0 Bits 00 Pulse counting and period time measurement selection for Channel 0 0 pulse counting and period t...

Page 60: ...07 Selection of Number of periods for measurement Channel 1 see bits 01 03 above Bit 08 10 Clock frequency for period time measurement Channel 2 refer to bit 00 Bits 09 11 11 13 Selection of Number o...

Page 61: ...up Green indicates initialization of internal logic is complete and correct B Insertable label for writing individual I O assignments C Status Indicators Indication Color Description P Yellow When on...

Page 62: ...7 2 Troubleshoot the Pulse Counter Module Publication 1794 6 5 16 September 1998...

Page 63: ...mA 12V dc 15mA 24V dc Module Location Mounts on Cat No 1794 TB2 TB3 TB3S and TBN Terminal Base Units Isolation Voltage 500V dc Flexbus Current 5mA 5V dc Power Supply external 12 24V dc 10 Current cons...

Page 64: ...exceed 40oC 25 to 70oC 13 to 158oF 5 to 90 noncondensing operating 5 to 80 noncondensing nonoperating 15 g peak acceleration 11 1 ms pulse width Tested 2 g 10 500Hz per IEC 68 2 6 Input Conductors Wir...

Page 65: ...n 2 1 ControlNet I O unscheduled non discrete I O data transfer 6 2 unscheduled operations ladder rung messages 6 2 messaging from programming devices 6 2 peer to peer messaging 6 2 ControlNet I O Tra...

Page 66: ...ansfer programming 3 2 PLC 5 family processor block transfer programming 3 2 polled I O structure 5 1 6 3 power defaults 5 7 R removing and replacing under power RIUP 2 8 S sample program PLC 5 3 2 se...

Page 67: ...sibility info not in manual text illustration Technical Accuracy Completeness What information is missing Clarity Sequence What is not in the right order What is unclear Other Comments Use back for mo...

Page 68: ...REMOVE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE TECHNICAL COMMUNICATION 1 ALLEN BRAD...

Page 69: ...cumentation updates technical subscription services Engineering and Field Services application engineering assistance integration and start up assistance field service maintenance support Technical Tr...

Page 70: ...Croatia Cyprus Czech Republic Denmark Ecuador Egypt El Salvador Finland France Germany Greece Guatemala Honduras Hong Kong Hungary Iceland India Indonesia Ireland Israel Italy Jamaica Japan Jordan Ko...

Reviews: