Allen-Bradley FLEX I/O 1794-ID2 Скачать руководство пользователя страница 11

Chapter 

1

Publication 1794-6.5.15 – December 1998

    

 

Read this chapter to familiarize yourself with the 1794–ID2 module.

For information on

See page

How You Use the incremental encoder Module . . . . . . . . . . .  1–1
What the incremental encoder Module Does . . . . . . . . . . . . .  1–2
Input Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  1–3
How the incremental encoder Operates . . . . . . . . . . . . . . . . .  1–4

The 1794–ID2 module is an intelligent I/O module designed to
perform high speed pulse counting.  The module provides:

2 pulse transmitter interfaces, each with 4 optocoupled inputs

Each input has + and – inputs for connection to transmitters with
complementary and noncomplementary signals.

The pulse inputs can accept frequencies up to 100KHz.  The module
accepts and returns binary data.

The module’s primary use is accurate, high-speed counting of pulse
from pulse transmitters or incremental encoders with 1 or 2 pulse
trains. This includes quantity counting, positioning and speed
calculations.

The module has 2 up/down counters, each individually
programmable. The number of edges to be counted can be multiplied
by 1, 2 or 4 (x1, x2, x4). Pulse transmitters can be complementary or
noncomplementary.

What This Chapter
Contains

How You Use the
Incremental Encoder
Module

Allen-Bradley Motors

Содержание FLEX I/O 1794-ID2

Страница 1: ...User Manual FLEX I O 2 Input Incremental Encoder Module Cat No 1794 ID2 Allen Bradley Allen Bradley Motors ...

Страница 2: ...ts 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 Throughout this manual we make notes to alert you to possible injury to people or damage to equipment under specific circumstances ATTENTION Identifies information about practices or circumstances that ...

Страница 3: ...EX 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 Counter Module How to install and wire the module 3 Module Programming Explains block transfer programming sample programs 4 Writing Configuration to and Reading Status From with a Remote I O Adapter Explains how to configure your modules and read status informati...

Страница 4: ...47 1794 ACNR15 24V dc Redundant Media ControlNet Adapter 1794 5 48 1794 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 Profibus Adapter 1794 5 40 1794 6 5 6 1794 IB8 24V dc 8 Sink Input Module 1794 5 30 1794 OB8 24V dc 8 Source Output Module 1794 5 31 1794...

Страница 5: ... 5 50 1794 6 5 12 1794 IJ2 24V dc 2 Frequency Input Module 1794 5 49 1794 6 5 11 1794 IA8 120V ac 8 Input Module 1794 5 9 1794 OA8 120V ac Output Module 1794 5 10 1794 TB2 1794 TB3 2 wire Terminal Base 3 wire Terminal Base 1794 5 2 1794 TBN Terminal Base Unit 1794 5 16 1794 TBNF Fused Terminal Base Unit 1794 5 17 1794 TB3T Temperature Terminal Base Unit 1794 5 41 1794 TB3S Spring Clamp Terminal Ba...

Страница 6: ...Using This Manual P 4 Publication 1794 6 5 15 December 1998 ...

Страница 7: ...ter Contains 2 1 Before You Install Your Input Module 2 1 European Union Directive Compliance 2 1 EMC Directive 2 1 Low Voltage Directive 2 2 Power Requirements 2 2 Wiring the Terminal Base Units 1794 TB3G shown 2 3 Installing the Module 2 4 Mounting the Terminal Base Unit on a DIN Rail 2 4 Panel Wall Mounting 2 6 Mounting the Incremental Encoder Module on the Terminal Base Unit 2 7 Connecting Wir...

Страница 8: ...he Incremental Encoder Module 4 5 Bit Word Definitions for the Block Transfer Write Words for the Incremental Encoder Module 4 5 Chapter Summary 4 7 Chapter 5 What This Chapter Contains 5 1 About DeviceNetManager Software 5 1 Polled I O Structure 5 1 Adapter Input Status Word 5 2 System Throughput 5 3 Mapping Data into the Image Table 5 3 Incremental Encoder Module 1794 ID2 Image Table Mapping 5 3...

Страница 9: ...e Removal 6 5 Incremental Encoder Module 1794 ID2 Image Table Mapping 6 6 Bit Word Definitions for Block Transfer Read Words for the Pulse Counter Module 6 6 Chapter 7 Chapter Objective 7 1 Calibrating Your Module 7 1 Calibration Method 1 7 2 Calibration Method 2 7 3 Chapter 8 What This Chapter Contains 8 1 Status Indicators 8 1 What s Next 8 2 Appendix A Specifications A 1 Input Output and Config...

Страница 10: ...Table of Contents iv Publication 1794 6 5 15 December 1998 ...

Страница 11: ...t has and inputs for connection to transmitters with complementary and noncomplementary signals The pulse inputs can accept frequencies up to 100KHz The module accepts and returns binary data The module s primary use is accurate high speed counting of pulse from pulse transmitters or incremental encoders with 1 or 2 pulse trains This includes quantity counting positioning and speed calculations Th...

Страница 12: ...operations for various industrial applications The module interfaces with a FLEX family adapter which then communicates with a programmable controller processor that has block transfer capability and external I O devices The adapter power supply transfers data to the module block transfer write and from the module block transfer read using BTW and BTR instructions in your ladder diagram program Th...

Страница 13: ... move the data if valid before it is written over by the transfer of new data in a subsequent transfer 6 Your ladder program performs BTWs to the module when you power it up and any time you wish to reconfigure the module 7 OK 2 CH INCREMENTAL ENCODER 1 1794 ID2 Allen Bradley You can use the 1794 ID2 module in the power management automotive food and beverage and oil and gas industries for various...

Страница 14: ...ation The control word sent to the incremental encoder module can be read back to the control system allowing verification that one I O scan been performed since the cycle has been initiated Start Counting The control bit CounterEnable enables counting It must be set to 1 to enable counting and all other functions Selecting the Incremental Encoder and up down counting Depending on the incremental ...

Страница 15: ... B 0 Counter Mode 0 Counter Register Logic A B 0 1 Counter Value Counting Up Counting Down Up Down Up Down counting controlled by input B Up Down Counting using Pulses at Inputs A and B 1 0 2 1 The counter counts up on the positive edge of the pulses at input A and counts down on the positive edge of input B Input A Input B 0 Counter Mode 4 Counter Register Logic A B Counter Value Up Down 1 Up Dow...

Страница 16: ...t signals A and B Counter Mode 1 2 or 3 Counter Register Logic A B Up Down Up Down Counting using pulses at the inputs of A and B 1 2 3 2 1 Input A Input B Counter Value Counting Up Counting Down Example 1 Counter Mode 1 x1 0 1 3 5 4 2 Input A Input B Counter Value Counting Up Counting Down Example 2 Counter Mode 2 x2 0 2 4 3 1 1 5 9 8 4 Input A Input B Counter Value Counting Up Counting Down Exam...

Страница 17: ...operation and can only be set after at least one additional counting pulse Gate Function Use the gate function to determine when counting starts and stops You can use this function to measure distance The parameter GateControl determines the gate function The gate signal is connected to input G It is a 2 bit binary code in write word 1 or 2 bits 09 and 10 Word 1 or 2 Gate Control Function 1 or 2 B...

Страница 18: ...unter value on the negative edge of G if Stored X 0 3 1 1 Save the counter value on both the positive edge and negative edge of G if Stored X 0 The parameter Stored must be reset 0 Stored is set 1 when the operation is completed Reset after the operation with StoreReset Store Control 1 Counter Register Logic G Stored 0 The counter value is copied to the store register on the positive edge of input...

Страница 19: ...Limited 1 Logic Count Up pulse Count Down pulse Counter 0 Counter PresetValue Note If the preset register value 0 the counter retains the value 0 In this chapter you learned about the incremental encoder module block transfer communication and details of how the module functions Now you can install the module Install the ID2 Module Chapter Summary Allen Bradley Motors ...

Страница 20: ...1 10 Overview of the Incremental Encoder Module Publication 1794 6 5 15 December 1998 ...

Страница 21: ... the 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 the CE mark it is approved for installation within the European Union and EEA regions It has been designed and tested to meet the following directives EMC Directive This product is tested to meet C...

Страница 22: ... publications 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 publication B111 This equipment is classified as open equipment and must be mounted in an enclosure during operation to provide safety protection The wiring of the terminal base unit is determined by the ...

Страница 23: ...I O modules in your system incremental encoder Module wiring separate from digital wiring Note All modules powered by the same power supply must be pulse frequency or TC RTD mV modules for this configuration Note All modules must be pulse frequency or TC RTD mV modules for this configuration incremental encoder Module Digital Input Module ATTENTION Do not daisy chain power or ground from the termi...

Страница 24: ...ce a terminal 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 connecting this terminal base unit 2 Check to make sure that the 16 pins in the male connector on the adjacent device are straight and in line so that the mating female connector on this ter...

Страница 25: ...or 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 locking tab press down on the terminal base until flush with the DIN rail and release the locking tab to lock the base in place Gently push the flexbus connector into the side of the adapter to com...

Страница 26: ...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 incremental encoder Module on the Terminal Base on page2 7 Use the mounting kit Cat No 1794 NM1 for panel wall mounting 1 4 35 5 1 1794 NM1 Mounting Kit Contents 1 Mounting Plate for Adapter 2 18 6 self tapping screws 2 for the adapter and 2 each for up to 8 modules ...

Страница 27: ...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 the terminal base unit up against the adapter and push the female bus connector into the adapter 7 Secure to the wall with two 6 self tapping screws 8 Repeat for each remaining terminal base unit Note The ada...

Страница 28: ...ane 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 system s field devices causing unintended machine motion causing an explosion in a hazardous environment Repeated electrical arcing causes excessive wear to contacts on both the module and its ma...

Страница 29: ... 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 A A B B Z Z G G to numbered terminals on the 0 15 row A as indicated in the table below ATTENTION Do not connect maximum input voltage simultaneously to all inputs if the module ambient temperature is expected to exceed 40o...

Страница 30: ...onnect a jumper from terminal 51 24V dc on this base unit to terminal 34 on the next base unit 7 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 chain power or ground from this terminal base unit to any ac or dc digital module terminal base unit ATTENTION This module does not ...

Страница 31: ... about 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 Connect 24V dc to terminal 34 on row C 4 Connect 24V dc common to terminal 16 on row B 5 If continuing power to the next terminal base unit connect a jumper from terminal 51 24V dc on this base unit...

Страница 32: ... 5 22 40 5 G 6 23 41 6 G 7 24 42 7 incremental encoder Channel 1 A 8 25 43 8 A 9 26 44 9 B 10 27 45 10 B 11 28 46 11 Z 12 29 47 12 Z 13 30 48 13 G 14 31 49 14 G 15 32 50 15 0V dc Terminals 16 and 33 1794 TB2 Terminals 16 thru 33 1794 TB3 TB3S Terminals 16 and 33 12 24V dc Terminals 34 thru 51 1794 TB3 3S Terminals 34 and 51 1 Auxiliary terminal blocks are required when using these terminal base un...

Страница 33: ...wiring table Note Dotted lines indicate signals not always used Signal for counter gate Signal for counter calibra tion preset Signal for up down counting Example of Incremental Encoder Wiring G Z B A 17 18 19 20 21 22 23 24 25 33 0 1 2 3 4 5 6 7 8 16 35 36 37 38 39 40 41 42 15 51 34 0V dc 12 24V dc External Power Supply 12 24V dc incremental encoder Channel 0 Signal Inputs Example of incremental ...

Страница 34: ...of input Z G Status of input G Positive count detected Negative count detected Indicator Indication Explanation A Yellow Input A active Off Input A not active B Yellow Input B active Off Input B not active Z Yellow Input Z active Off Input Z not active G Yellow Input G active Off Input G not active Yellow On when a positive pulse is detected turns off on negative pulse Yellow On when a negative pu...

Страница 35: ...ogramming 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 initiated when the module is first powered up and subsequently only when the programmer wants to enable or disable features of the module The configuration BTW sets the bits which enable the progra...

Страница 36: ...n the BTR 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 file contains the data table section for module location the address of the block transfer data file and other related data The block transfer data file stores data that you want transferred t...

Страница 37: ...obtained by the PLC 5 processor from the ID2 module is placed in memory starting at N18 10 and is 8 words long lThe program continuously performs read block transfers to read data from the module ID2 BTR Enable Bit ID2 BTR Control File First scan of ladder or SFC ID2 BTW Control File PLC 5 Processor Program Example BTW Module Type Generic BT Module Type Generic BT The SLC 5 programs using the 1747...

Страница 38: ...length and RIO address at power up Bit B3 100 7 must be set to 1 to indicate a BTR and bit B3 110 7 must be 0 to indicate a BTW U BTR DONE BIT B3 0 13 CHECK BTR STATUS 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 progress Unlatch the bit that contin...

Страница 39: ...7 6 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 7 area Whe a BTR error occurs the error code is moved to N7 9 To next page 0 0007 U BTW DONE BIT B3 10 13 B3 15 0 BTW PENDING BTW ENABLE BIT B3 110 15 CHECK BTW STATUS B3 15 1 L U CHECK BTR STATUS When a BTW successfully compl...

Страница 40: ... as possible When a BTW occurs the error code is moved to N7 17 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 One BTW is triggered at power up Four words of data starting at N7 10 is sent to the 1794 ID2 module B7 20 0 B3 10 12 COP COPY FILE SOURCE DEST M1 1 210 N7 10 LENGTH 7 BTW PENDING B3 15 0 BTW ENA...

Страница 41: ...or 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 DEST B3 110 M0 1 200 0012 BTW DONE BIT B3 10 13 BTW CONTROL This BTR control word is moved to the M0 file for the scanner module while the BTR is in progress until the enable done and error bits are t...

Страница 42: ...ule Publication 1794 6 5 15 December 1998 In this chapter you learned how to program your ID2 incremental encoder module using block transfer instructions and ladder logic Now you can configure your module Configure the ID2 Module Chapter Summary ...

Страница 43: ...res 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 transfers Note Programmable controllers that use 6200 software release 4 2 or higher programming tools can take advantage of the IOCONFIG Addendum utility to configure this module IOCONFIG Addendum uses me...

Страница 44: ...tal encoder module The module uses up to 8 words of input data and up to 4 words of output data Each word is composed of 16 bits Incremental Encoder Module 1794 ID2 Image Table Mapping Module Image I O Image Input Size Output Size 0 to 4 Words 1 to 8 Words G0 Z0 B0 A0 S1 S0 C1 C0 R Z1 G1 A1 B1 PR0 PR1 Store 0 Stored Counter Value on channel 0 Channel 0 current counter value Channel 1 current count...

Страница 45: ...bit 1 when input is on C0 Cal 0 when bit is set counter 0 has been calibrated reset by CalReset C1 Cal 1 when bit is set counter 1 has been calibrated reset by CalReset S0 Stored 0 when bit is set counter 0 value has been saved in Store 0 reset by StoreReset S1 Stored 1 when bit is set counter 1 value has been saved in Store 1 reset by StoreReset Once a Store occurs L0 and L1 are on until cleared ...

Страница 46: ...l configuration modes the counter 0 value equals the preset 0 value either in a positive or negative direction This bit is reset by PresetReset0 and can only be set again after at least 1 more pulse Bit 13 15 Preset Reached 1 PR1 When this bit is set 1 in all configuration modes the counter 1 value equals the preset 1 value either in a positive or negative direction This bit is reset by PresetRese...

Страница 47: ...input signal A and down on positive edge of input signal B 1 0 1 No count function 1 1 0 No count function 1 1 1 No count function Bit 03 Preset Reset bit A positive edge on this bit moves the value in Preset X to Counter X independent of Preset Enable NOTE To use Preset as Reset use a count value of 0000 in the Preset value word Bit 04 Enable Z Preset bit When this bit is set 1 a positive edge on...

Страница 48: ...ex 65535 decimal Bit 14 16 Store Reset bit A positive edge on this bit resets Store X in Signals Bit 15 17 Preset Reset bit A positive edge on this bit resets Preset Reached in Signals Write Wor 1 Channel 1 Control Word Control word for setting the function of counter 1 Word 1 Bits 00 02 02 01 00 Mode Selection bits 0 0 0 Counting on positive rising edge of input signal A Up dwn counting determine...

Страница 49: ...ntrol bits These bits will trigger a Store only if the channel Store status bit L0 or L1 is cleared 0 13 14 0 0 Save the counter value on the positive edge of Z if Store X 0 0 1 Save the counter value on the positive edge of G if Store X 0 1 0 Save the counter value on the negative edge of G if Store X 0 1 1 Save the counter value on the positive edge and negative edge of G if Store X 0 Bit 13 Rol...

Страница 50: ...4 8 Writing Configuration to and Reading Status from Your Module with a Remote I O Adapter Publication 1794 6 5 15 December 1998 ...

Страница 51: ...tware works in order to add a device 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 received first followed by the Output data for Slot 1 and so on up to slot 7 The first word of input data sent by the adapter is the Adapter Status Word This is fo...

Страница 52: ... 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 detected in slot position 5 6 This bit is set 1 when an error is detected in slot position 6 7 This bit is set 1 when an error is detected in slot position 7 Node Address Changed 8 This bit is set 1 whe...

Страница 53: ...able mapping is shown below Incremental Encoder Module 1794 ID2 Image Table Mapping Module Image I O Image Input Size Output Size 0 to 7 Words 1 to 8 Words G0 Z0 B0 A0 S1 S0 C1 C0 R Z1 G1 A1 B1 PD0 PD1 Store 0 Saved Counter Value on channel 0 Store 1 Saved Counter Value on channel 1 Channel 0 current counter value on channel 0 Channel 1 current counter value on channel 1 Channel 0 Counter word rea...

Страница 54: ... is on B1 Status of input B channel 1 bit 1 when input is on Z1 Status of input Z channel 1 bit 1 when input is on C0 Cal 0 when bit is set counter 0 has been calibrated reset by CalReset C1 Cal 1 when bit is set counter 1 has been calibrated reset by CalReset S0 Stored 0 when bit is set counter 0 value has been saved in Store 0 reset by StoreReset S1 Stored 1 when bit is set counter 1 value has b...

Страница 55: ...n set 1 indicates a counter value is saved in store 0 This bit is reset by StoreReset Bit 11 13 Store 1 This bit when set 1 indicates a counter value is saved in store 1 This bit is reset by StoreReset Bit 12 14 Preset Reached 0 PR0 When this bit is set 1 in all configuration modes the counter 0 value equals the preset 0 value either in a positive or negative direction This bit is reset by PresetR...

Страница 56: ...der is enabled Bits 06 08 06 10 Calibration Control bits bits 06 07 and 08 06 10 06 Enable bit When this bit is set 1 the counter can be calibrated 07 Direction bit When this bit set 1 calibration is performed in a negative direction when reset 0 calibration is performed in a positive direction 08 Reset bit Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit...

Страница 57: ...alibration is performed in a negative direction when reset 0 calibration is performed in a positive direction 08 Reset bit Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit Bits 09 10 11 12 10 09 Gate Control bits 11 12 0 0 No gate function on input G 0 1 Counting only if G is high active 1 0 Counting only if G is low inactive 1 1 Calibration if G is high ...

Страница 58: ...ed For incremental encoder modules the defaults reflect the actual number of input words output words For example for the incremental encoder module you have 9 input words and 7 output words You can change the I O data size for a module by reducing the number of words mapped into the adapter module as shown in real time sizes Real time sizes are the settings that provide optimal real time data to ...

Страница 59: ...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 communicates to other network system components typically one or more controllers or scanners and or programming terminals over the ControlNet network The adapter communicates with its I O modules over the backplane Inputs Stat...

Страница 60: ...mber 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 words and write words Read words consist of input and status words and write words consist of output and configuration words The number of read words or write words can be 0 or more The length of eac...

Страница 61: ...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 Adapter Slot 0 I O Module Read Write Slot 1 I O Module Slot 7 I O Module Adapter Input Status Word The input status word consists of I O module fault bits 1 status bit for each slot node address changed 1...

Страница 62: ...ed 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 failed module a module removed from its terminal base incorrect module inserted in a slot position the slot is empty the slot contains a non discrete module The ControlNet adapter provides storage for...

Страница 63: ...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 corresponding module output When program mode is detected the adapter can be configured to leave the module output data in its last state hold last state reset the module output data to zero reset apply...

Страница 64: ...ord Sets the function of counter 1 Configuration File Size 0 to 4 Words Channel 0 Control Word Sets the function of counter 0 Channel 0 Preset value to load or compare with counter 0 Channel 1 Preset value to load or compare with counter 1 Channel 1 Control Word Sets the function of counter 1 Bit Word Definitions for Block Transfer Read Words for the Incremental Encoder Module Input Word Bit Defin...

Страница 65: ...eached 0 PR0 When this bit is set 1 in all configuration modes the counter 0 value equals the preset 0 value either in a positive or negative direction This bit is reset by PresetReset0 and can only be set again after at least 1 more pulse Bit 13 15 Preset Reached 1 PR0 When this bit is set 1 in all configuration modes the counter 1 value equals the preset 1 value either in a positive or negative ...

Страница 66: ...l bits bits 06 07 and 08 06 10 06 Enable bit When this bit is set 1 the counter can be calibrated 07 Direction bit When this bit set 1 calibration is performed in a negative direction when reset 0 calibration is performed in a positive direction 08 Reset bit Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit Bits 09 10 11 12 10 09 Gate Control bits 11 12 0 ...

Страница 67: ...ration is performed in a negative direction when reset 0 calibration is performed in a positive direction 08 Reset bit Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit Bits 09 10 10 09 Gate Control bits 0 0 No gate function on input G 0 1 Counting only if G is high active 1 0 Counting only if G is low inactive 1 1 Calibration if G is high active and Bits ...

Страница 68: ...ol bits bits 06 07 and 08 06 10 06 Enable bit When this bit is set 1 the counter can be calibrated 07 Direction bit When this bit set 1 calibration is performed in a negative direction when reset 0 calibration is performed in a positive direction 08 Reset bit Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit Bits 09 10 11 12 10 09 Gate Control bits 11 12 0...

Страница 69: ... calibration is performed in a negative direction when reset 0 calibration is performed in a positive direction 08 Reset bit Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit Bits 09 10 10 09 Gate Control bits 0 0 No gate function on input G 0 1 Counting only if G is high active 1 0 Counting only if G is low inactive 1 1 Calibration if G is high active and...

Страница 70: ...6 12 Input Output and Configuration Files for Analog Modules when used with ControlNet Publication 1794 6 5 15 December 1998 ...

Страница 71: ...on The input to Z can be a zero pulse integrated with an incremental encoder Or input Z can come from another transmitter independent of the pulse transmitter Calibration is performed at the first positive edge of input signal Z and is independent of the signal duration Calibration is enabled if CalEnable 1 or if GateControl 3 and G input 1 The counter direction must coincide with CalDirection and...

Страница 72: ...counter register value is saved in the store register for evalution Calibration direction is determined by CalDirection 0 positive direction 1 negative direction Reset Calibrated Stored and PresetReached after calibration with CalReset StoreReset and PresetReset Counter Register Latched Register Counter Register Logic Z Preset Register PresetReached 1 Stored 1 CalEnable 1 CalDirection Direction of...

Страница 73: ...value is saved in the store register for evalution Calibration direction is determined by CalDirection 0 positive direction 1 negative direction Reset Calibrated Stored and PresetReached after calibration with CalReset StoreReset and PresetReset Counter Register Stored Register Counter Register Logic Z Preset Register PresetReached 1 Stored 1 CalDirection Direction of the latest count pulse Calibr...

Страница 74: ...7 4 Calibrating Your Incremental Encoder Module Publication 1794 6 5 15 December 1998 ...

Страница 75: ...REMENTAL ENCODER MODULE 1794 ID2 A B Z G A B Z G Allen Bradley 1 A Power status indicator indicates power applied to module and status of module B Insertable label for writing individual I O assignments C Status Indicators A Status of input A B Status of input B Z Status of input Z G Status of input G Positive count detected Negative count detected What This Chapter Contains Status Indicators Alle...

Страница 76: ...ve Yellow On when a positive pulse is detected turns off on negative pulse Yellow On when a negative pulse is detected turns off on positive pulse OK Red Red during initialization after power turned on Green Green when initialization is completed When an input indicator yellow is lighted it indicates that a valid signal active high or active low is present at one of the Input terminals To find out...

Страница 77: ... typical 3mA 6V dc 9mA 12V dc 15mA 24V dc General Specifications Module Location Cat No 1794 TB3 TB3S TBN TBNF Terminal Base Isolation Voltage 500V dc Flexbus Current 0mA 5V dc Power Supply 12 24V dc 10 Current consumption from external power supply 150mA 12V dc 75mA 24V dc Power Dissipation 5W maximum 26 4V dc Thermal Dissipation Maximum 17 1 BTU hr 26 4V dc Indicators field side driven logic sid...

Страница 78: ...o 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 Wire Category Length max Belden 8761 21 1000ft 304 8m Agency Certification when product is marked CUL certified CUL listed Class I Division 2 Groups A B C D UL listed CE marked for all applicable directives Installation Instructio...

Страница 79: ...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 Transfer CIO instructions 6 2 curent draw through base units 2 2 D daisy chaining wiring 2 3 default values 5 8 DeviceNetManager software 5 1 DIN rail mounting 2 4 E European Union Directive compliance 2...

Страница 80: ...ily processor block transfer programming 3 2 PLC 5 family processor block transfer programming 3 2 polled I O structure 5 1 6 3 power defaults 5 8 R removing and replacing under power RIUP 2 8 S sample program PLC 5 3 2 software DeviceNetManager 5 1 status indicators 2 14 system throughput 5 3 T terminal bases compatible 2 9 troubleshooting 8 1 U unscheduled non discrete I O data transfer 6 2 W wa...

Страница 81: ...ity 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 more comments Your Name Location Phone Return to Marketing Communications Allen Bradley Co 1 Allen Bradley Drive Mayfield Hts OH 44124 6118 Phone 216 646 3176 FAX 216 646 4320 Publication ICCG 5 21 August 19...

Страница 82: ...E 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 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 PLEASE REMOVE PLEASE FASTEN HERE DO NOT STAPLE ...

Страница 83: ...cumentation updates technical subscription services Engineering and Field Services application engineering assistance integration and start up assistance field service maintenance support Technical Training lecture and lab courses self paced computer and video based training job aids and workstations training needs analysis Repair and Exchange Services your only authorized source current revisions...

Страница 84: ...Republic Denmark Ecuador Egypt El Salvador Finland France Germany Greece Guatemala Honduras Hong Kong Hungary Iceland India Indonesia Ireland Israel Italy Jamaica Japan Jordan Korea Kuwait Lebanon Malaysia Mexico Netherlands New Zealand Norway Pakistan Peru Philippines Poland Portugal Puerto Rico Qatar Romania Russia CIS Saudi Arabia Singapore Slovakia Slovenia South Africa Republic Spain Sweden S...

Отзывы: