background image

 

Specifications

C-5

High Speed Counter Encoder Module User Manual

The input filter has a clock that synchronizes the input pulse train. The
clock periods for each filter are listed below.

Filter Frequency 1/2 Filter Period

100 kHz filter:

2 microseconds

25 kHz filter:

8 microseconds

6.25 kHz filter:

32 microseconds

1.5 kHz filter:

128 microseconds

400 Hz filter:

512 microseconds

100 Hz filter: 2048 microseconds

To properly register the counting edges, the edges must be separated by at
least these times. This is demonstrated in Figure C-4 with a 100 kHz
Quadrature signal.

Input Signal A

Input Signal B

s

s

s

s

±

18

°

(

±

0.5 

s)

s

s

Figure C-4

Pulse Width Requirements for Quadrature Filtering at 100 kHz

The period of a 100 kHz signal is 10 microseconds (

s). A 90 degree phase

shift between two 100 kHz signals is 2.5 

s, edge to edge. The filter period is

s. Therefore, the signals can be 

±

0.5 

s off of a 90 degree phase shift, and

still count properly.

To calculate phase shift, use the following formula:

Signal Pulse Width

4

– 1/2 filter period

±

     360 degrees      

Signal Pulse Width

×

In the example above, the phase shift is calculated as follows:

10 

s

4

– 2 

s

±

360 degrees

10 

s

×

±

0.5 

s

×

36

°

/

s

±

18 degrees

Therefore, an offset of 0.5 

s produces a phase shift of 

±

18 degrees.

Minimum Pulse
Width for
Quadrature Mode

Содержание SIMATIC TI505

Страница 1: ... ...

Страница 2: ...ustrial Automation Inc does not possess full access to data concerning all of the uses and applications of customer s products we do not assume responsibility either for customer product design or for any infringements of patents or rights of others which may result from our assistance Technical data is subject to change We check the contents of every manual for accuracy at the time it is approved...

Страница 3: ...igh Speed Counter Encoder Module PPX 505 7003 User Manual Order Manual Number PPX 505 8127 1 Refer to this history in all correspondence and or discussion about this manual Event Date Description Original Issue 05 94 Original Issue 2802813 0001 ...

Страница 4: ...Cover Copyright Original History Effective Pages Original iii xiv Original 1 1 1 23 Original 2 1 2 13 Original 3 1 3 17 Original 4 1 4 5 Original 5 1 5 21 Original A 1 A 8 Original B 1 B 8 Original C 1 C 8 Original Index 1 Index 5 Original Registration Original ...

Страница 5: ...ature Counting Mode 1 7 2X Quadrature Counting Mode 1 8 4X Quadrature Counting Mode 1 8 1 4 Non Quadrature Modes of Counting 1 9 Up Down Counting Overview 1 9 Direction Counting Overview 1 9 1 5 Counting with the 24 Bit Counters 1 10 Binary Counting Recycle Mode 1 10 Binary Counting Non Recycle Mode 1 10 Divide by N Counting Recycle Mode 1 10 Divide by N Counting Non Recycle Mode 1 11 1 6 24 Bit C...

Страница 6: ...Value 1 23 Chapter 2 Installing the Module 2 1 Overview of Installation 2 2 Flow of Tasks 2 2 Handling the Module 2 2 Visual Inspection 2 2 2 2 Inserting the Module into the Base 2 3 Inserting the Module 2 3 2 3 Wiring the Module 2 4 I O Connections 2 4 Wiring 24 V User Power 2 4 Wiring 12 V Back up Power 2 4 Wiring the Terminal Block 2 6 Wiring Guidelines 2 6 Wiring the Inputs 2 7 Wiring the Outp...

Страница 7: ... Setup Words 3 8 Setup Words Program Mode 3 8 Program Mode Definitions 3 9 Interrupt Enable Bits WY19 09 through WY19 16 3 9 Program Mode Flag Bit WY20 01 3 9 User Power Supply Fault Bit WY20 02 3 9 Read Values at Power Up Bit WY20 03 3 9 Data Format Bit WY20 04 3 9 Select Counter 1 Format Bit WY20 05 3 9 Select Counter 4 Format Bit WY20 06 3 9 Up Down Counting Bit WY20 07 3 9 Up Down Counting Bit...

Страница 8: ...gs 4 2 24 Bit Counter Inputs 4 3 16 Bit Counter Inputs 4 3 24 Bit Counter Control Signals 4 3 Input Signal Filtering 4 3 Module Failure or PLC Output Disable Signal 4 3 24 Bit Counter Outputs 1 and 5 4 3 Output Polarity 4 3 4 2 Default Software Modes 4 4 Programming Optional Modes 4 4 24 Bit Counter Default Modes 4 4 16 Bit Counter Default Mode 4 4 4 3 Basic Programming Steps 4 5 Writing the Prese...

Страница 9: ...ng Position 5 17 1 µs Jumper 5 17 Input A Jumper 5 17 Input B Jumper 5 17 C D Input Jumper 5 17 Counter 3 2 6 5 Output Jumper 5 17 5 9 16 Bit Counter Software Setup Options 5 18 Channel 1 16 Bit Counter Presets 5 18 5 10 Basic Programming Steps 5 20 Writing the Presets to the Counters 5 20 Setting the Program Bit 5 21 Clearing the Program Bit 5 21 Appendix A Applications A 1 Using Counters 1 and 4...

Страница 10: ...roubleshooting B 3 B 3 Terminal Block Worksheets B 4 B 4 Jumpers Worksheet B 8 Appendix C Specifications C 1 Environmental Specifications C 2 C 2 Input Specifications C 3 Input Voltage and Current Specifications C 3 Input Filter Characteristics C 4 Minimum Pulse Width for Quadrature Mode C 5 C 3 Output Specifications C 7 Output Voltage and Current Specifications C 7 Output Power Supply Specificati...

Страница 11: ...he I O Base 2 3 Figure 2 3 Terminal Blocks and I O Connections 2 5 Figure 2 4 Non Inverted Input Drive 2 7 Figure 2 5 Inverted Input Drive 2 7 Figure 2 6 Differential Line Drive 2 8 Figure 2 7 Mechanical Switches 2 9 Figure 2 8 Output Wiring 2 10 Figure 2 9 Connecting the Terminal Block 2 11 Figure 2 10 Status and Output LEDs 2 12 Figure 2 11 Sample I O Module Definition Chart 2 13 Figure 3 1 Word...

Страница 12: ...C 3 Figure C 2 Filtering Noise from Input Signal C 4 Figure C 3 Minimum High and Low Pulse Widths for 100 kHz Signal C 4 Figure C 4 Pulse Width Requirements for Quadrature Filtering at 100 kHz C 5 Figure C 5 Peak vs Continuous Current Output C 7 ...

Страница 13: ...ming Bit Values 3 15 Table 3 18 Channel 2 24 Bit Counter Preset 6 Value 3 16 Table 3 19 Channel 2 24 Bit Counter WY29 Programming Bit Values 3 16 Table 3 20 Channel 2 16 Bit Counter 5 Preset 7 Value 3 17 Table 3 21 Channel 2 16 Bit Counter 6 Preset 8 Value 3 17 Table 4 1 24 Bit Counter Programming Modes 4 4 Table 4 2 Word Outputs for Preset Values 4 5 Table 4 3 Setting Bit 1 to Program the Module ...

Страница 14: ...xii Contents Table C 1 Physical and Environmental Specifications C 2 Table C 2 Input Voltage and Current Specifications C 3 Table C 3 Output Specifications C 7 Table C 4 Module Response Times C 8 ...

Страница 15: ...IMATIC TI505 Programming Reference Manual PPX 505 8104 4 or later SIMATIC TI505 TISOFT2 Release 4 3 User Manual PPX TS505 8101 4 or later SIMATIC TI505 Input Output User Manual PPX 505 8105 x Refer to material in these manuals as necessary for additional information about using your TI505 High Speed Counter Encoder module NOTE The listed CPU Software releases may not properly allow the module to u...

Страница 16: ...rporation approved for Class I Div 2 Groups A B C D Hazardous Locations For technical assistance contact your Siemens Industrial Automation Inc distributor or sales office If you need assistance in contacting your sales office or distributor in the United States call 1 800 964 4114 The following conventions are used in this manual Bits are either set to their 1 state or are cleared to their 0 stat...

Страница 17: ... the Module 1 2 1 2 Functional Features of the Module 1 4 1 3 Quadrature Modes of Counting 1 7 1 4 Non Quadrature Modes of Counting 1 9 1 5 Counting with the 24 Bit Counters 1 10 1 6 24 Bit Counters Quadrature Mode Outputs 1 12 1 7 24 Bit Counters Non Quadrature Mode Outputs 1 14 1 8 Counting with 16 Bit Counters 1 17 ...

Страница 18: ... that communicates with the PLC when installed in a TI505 system The physical features of the module are shown in Figure 1 1 Back plane Connector Front Bezel Bezel Screw Output LEDs Removable Terminal Block Bezel Screw Status LEDs Configuration Jumpers Printed Circuit Board Shield Connector screw Edge card connector Figure 1 1 Physical Features of the High Speed Counter Encoder Module Physical Fea...

Страница 19: ...ected any hardware or software failure A green LED labeled RUN indicates that the module is in Run mode It flashes when the module is first powered up before it has been programmed configured from the PLC When the RUN LED is off the module is not in the Run mode or has detected a programming or other fault condition Other flashing patterns indicate fault conditions See Table B 1 HIGH SPEED COUNTER...

Страница 20: ...sly from the PLC It accumulates pulse inputs and controls outputs according to presets or other conditions you programmed into the module by Relay Ladder Logic RLL program Each 24 bit counter has three control inputs INDEX latches the count value or reloads the counter preset value Index can also be configured for a Reset and Go operation which clears the count value before counting continues INHI...

Страница 21: ...ontinue the counting operation in case of a loss of power to the I O base you can provide back up power to the module NOTE The listed CPU Software releases may not properly allow the module to update the WX words during an immediate I O Read cycle If you use one of the releases listed below use an immediate I O Write following the immediate I O Read to correct a possible conflict SIMATIC TI545 Rel...

Страница 22: ...er 6 16 Bit Inputs Outputs Pulse input Pulse input A B C D Ch1 INHIBIT Ch1 INDEX Ch1 RESET Encoder Pulse input Pulse input A B C D Ch2 INHIBIT Ch2 INDEX Ch2 RESET Output 1 Output 2 Output 3 Output 4 Output 5 Output 6 Output 7 Output 8 Encoder User Power 24 VDC User Power Return or pulse inputs or pulse inputs 1 2 3 4 5 6 7 8 Back up Power optional 12 VDC Return Preset Preset Preset Preset Preset P...

Страница 23: ...ree quadrature modes according to the resolution required by your application and the type of encoder you are using When set to 1X Quadrature Mode the module counts the rising or the falling edges of input A pulses depending on the count direction When input A leads input B the count direction is up and the count value increments on each rising edge of input A When input B leads input A the count ...

Страница 24: ... Down Counts both edges of input A Encoder Pulses Count Value 3 4 3 1 Figure 1 5 2X Quadrature Mode When set to 4X Quadrature Mode the module counts both edges of both input A pulses and input B pulses in both count directions Figure 1 6 shows the relationship between inputs A and B and the count value that results using 4X quadrature mode A B 1 3 4 0 Pulse A leads Count Up Pulse B leads Count Dow...

Страница 25: ...ned A 5 6 7 8 Count Value 7 4 B 5 6 Up Count Down Count Up Down Pulse Counting Mode Figure 1 7 Up Down Counting When you select direction counting mode the input B signal controls the count values of the input A pulse Refer to Figure 1 8 With input B low the count increments on the rising edge of input A With input B high the count decrements on the rising edge of input A For proper counting input...

Страница 26: ... generated when the counter overflows In the count down direction a borrow signal is generated when the count underflows When a carry or borrow signal occurs the counter stops The counter restarts when you reload the preset value into the counter or when you reset the counter registers by one of the following conditions An external INDEX pulse when WY21 07 or WY27 07 or both are set A PLC counter ...

Страница 27: ... the count underflows it generates a borrow signal When a carry or borrow signal occurs the counter stops The counter restarts when you reload the preset value into the counter or you reset the counter registers by one of the following conditions An external INDEX pulse when WY21 07 or WY27 07 or both are set A PLC counter reset WY19 02 or WY19 06 Setting the program flag WY20 01 Loading presets l...

Страница 28: ...r reset the Borrow Toggle output is on Set the output jumper to Compare Toggle In all module counting modes the PLC can read the Compare Toggle Carry Toggle and Borrow Toggle flags in Status Word WX17 Table 1 1 and Table 1 2 summarize the active outputs for various counter modes The Compare Toggle jumper selects a signal that changes state on the next count after the count value equals the preset ...

Страница 29: ...le User Manual Input A Pulse Carry Toggle 0 0 0 1 3 1 2 1 3 4 2 1 2 1 5 4 2 1 7 6 3 5 5 9 8 4 2 4 2 1 3 2 1 0 0 0 1 1 2 1 3 4 2 1 X4 Count X2 Count X1 Count Input B Pulse Borrow Toggle Compare Toggle Compare Latch Figure 1 9 24 Bit Quadrature Mode Outputs ...

Страница 30: ...el 1 or on Output 5 Channel 2 After counter reset the output signal is Off The Compare jumper selects a one half clock pulse that is active when the count value equals the preset value This pulse appears on Output 1 Channel 1 or on Output 5 Channel 2 After counter reset the output signal is Off The Compare Toggle jumper selects a signal that changes state on the next count after the count value eq...

Страница 31: ...ry Carry Toggle Rollover Compare Toggle Latch Compare Pulse Input 3 2 1 0 1 2 3 4 5 6 7 Figure 1 10 24 Bit Counter Output Up Counting Borrow Borrow Toggle Rollover Compare Toggle Latch Compare Pulse Input 7 6 5 4 3 2 1 0 1 2 Figure 1 11 24 Bit Counter Output Down Counting ...

Страница 32: ...ow We recommend that Divide by N counting be done in the down count direction only with the Borrow Toggle signaling the underflow event In the non quadrature recycle counting mode the Carry and Borrow pulses are externally available and can be used to cascade to another counter input Table 1 1 Binary Counting Outputs Recycle Mode Non Recycle Mode Quadrature Non Quadrature Quadrature Non Quadrature...

Страница 33: ... value and starts counting on the On to Off edge When the corresponding Reset Counter flag WY19 03 04 07 or 08 for counter 2 3 5 or 6 is set and then cleared the preset value read during Program mode or Preset Update Run mode is reloaded into the counter The external trigger gate signal and the Reset Counter flag are Or d into the count trigger gate control Only one signal the external trigger or ...

Страница 34: ...e Setup Word WY20 Cascade counting requires that a jumper be configured You can configure the 16 bit counters to count in one of the following modes Retriggerable one shot Divide by N 16 bit counting Triggered Strobe Square Wave generator Cascade counting Appendix A presents applications of the 16 bit counters in cascade mode and in binary up down recycle mode 16 Bit Counter Modes ...

Страница 35: ... trigger the first rising edge decrements the count value without loading the preset value The next clock which is a On to Off to On clock pulse reloads the preset value A trigger is required to repeat the cycle The output remains Off until the next clock after the next trigger which reloads the preset and starts the count again The last clock decrements the count to zero and turns the output Off ...

Страница 36: ...e Reset Counter flags WY19 03 04 07 08 When the gate goes On high the counter pauses and the output is turned Off When the gate turns Off or the Reset Counter flag is cleared the preset is loaded into the counter and counting resumes on the next valid clock pulse A typical Divide by N counting waveform is presented in Figure 1 14 The waveforms show that the output is initially Off after the gate T...

Страница 37: ...decrements the count to zero and turns the output On The next clock turns the output Off If a trigger does not occur the count value continues to decrement and the output remains Off even through a rollover to the preset value A typical waveform for the Triggered Strobe mode of counting is presented in Figure 1 15 The waveforms show that the output is initially Off after the trigger and clock The ...

Страница 38: ...cycle repeats until an high gate control signal pauses the counting A gate can be an external input or the PLC can set the Reset Counter flags WY19 03 04 07 or 08 corresponding to counter 2 3 5 or 6 When the gate is On the counting pauses and the outputs turn Off When the gate is released turns Off or the Reset Counter flag is cleared the counter is loaded with the preset value and counting resume...

Страница 39: ...nd the outputs turn Off When the gate is released turns Off or the Reset Counter flag is cleared the counter is loaded with the preset value and counting resumes on the next valid clock The square wave generator waveform Figure 1 17 shows that for an odd initial preset value of five the output is Off and remains Off until the counter decrements to one half the initial value When the counter counts...

Страница 40: ...nto the Base 2 3 Inserting the Module 2 3 2 3 Wiring the Module 2 4 I O Connections 2 4 Wiring 24 V User Power 2 4 Wiring 12 V Back up Power 2 4 Wiring the Terminal Block 2 6 Wiring Guidelines 2 6 Wiring the Inputs 2 7 Wiring the Outputs 2 10 Connecting the Terminal Block 2 11 2 4 Powering Up the Base 2 12 Supplying Power to the I O Base 2 12 LED Status after Power Up 2 12 2 5 Configuring I O Addr...

Страница 41: ... are susceptible to damage by the discharge of static electricity Follow the precautions below to reduce the probability of damage when you are handling the HSCE module the controller or any of the I O modules Take the following precautions to help ensure that you and the module are at the same ground potential Transport the module in an anti static container or in anti static material Ensure that...

Страница 42: ...low these steps 1 Disconnect all power to the base and any modules in the base 2 Position the HSCE module so that the bezel is facing you 3 Grasp the top and bottom of the module 4 Carefully push the module into the slot until it mates with the back plane connector see Figure 2 2 You will feel a slight increase in resistance as the module connects with the back plane connector 5 Tighten the top an...

Страница 43: ...5 Ch1 RESET B2 Ch1 INHIBIT B6 Ch1 INHIBIT B3 Ch2 A B7 Ch2 A B4 Ch2 B B8 Ch2 B CR Ch2 C CC Ch2 C C1 Ch2 D C5 Ch2 D C2 Ch2 INDEX C6 Ch2 INDEX C3 Ch2 RESET C7 Ch2 RESET C4 Ch2 INHIBIT C8 Ch2 INHIBIT DR RTN DC PWR D1 Output 2 D5 Output 1 D2 Output 4 D6 Output 3 D3 Output 6 D7 Output 5 D4 Output 8 D8 Output 7 The outputs are driven by external 24 VDC user supplied power Figure 2 3 shows the location of...

Страница 44: ...SET Ch2 INHIBIT Ch2 INHIBIT Ch2 A Output 3 Output 4 Output 5 Output 6 Output 7 Output 8 PPX 2587705 8011 Front accessible 12 Volts DC Class 2 Power Supply User Power PWR 24 Volts DC Class 2 Power SUpply Connector 8011 accepts only the wire termination shown below Connector 8010 accepts any of the three wire terminations shown below 6mm 0 25 in Wire Guage 14 22 6mm 0 25 in Wire Guage 14 22 Stud siz...

Страница 45: ...al block screw and tighten the screw firmly Once the D series is completed connect the C series and continue until the terminal block is completely wired NOTE A stick on label is provided separately with space available to identify inputs and outputs Write in the corresponding input or output names and apply the label to the flat side of the terminal block Appendix B contains worksheets to help yo...

Страница 46: ...terminals of the module for a non inverted signal V A A Input Encoder Module OCI Constant current load Input OCI On Figure 2 4 Non Inverted Input Drive Figure 2 5 shows an example of wiring electronic encoder outputs to the input terminals of the module for an inverted signal V A A Input Encoder Module OCI Constant current load Input OCI On Ic R V 4V 13mA Ic rating must allow for this current Figu...

Страница 47: ...er Module OCI Constant current load Input OCI On _ Figure 2 6 Differential Line Drive Table 2 2 Features of Electronic Drives Open Collector or Single Ended Differential Drives 5 to 24 V Source or sink Polarity selection Multiple input drive capability Can drive long cable lengths Normally 5 V Polarity selection Voltage and current ratings may not drive input Active on and off drive ...

Страница 48: ...le User Manual Figure 2 7 shows an example of wiring mechanical switch inputs Note that with mechanical switches the contacts can bounce when switched V A A Module OCI Constant current load V A A Module OCI Constant current load Figure 2 7 Mechanical Switches ...

Страница 49: ... an example of output wiring Load 24 V Power supply fuse 100 mA Total Load Current Output Drive To 7 other outputs Inductive Load Protection Output fuse Rated load current External fuses provided by user must conform to accepted wiring practives required by the installation Figure 2 8 Output Wiring Wiring the Outputs ...

Страница 50: ...Figure 2 9 1 Align the terminal block with the edge card connector on the bezel 2 Press firmly at both ends of the terminal block until it is seated 3 Tighten the screws at the top and bottom Do not over tighten Not Available in Electronic Format Refer to your hard copy Figure 2 9 Connecting the Terminal Block Connecting the Terminal Block ...

Страница 51: ...e base the module executes a diagnostic check The power up diagnostics take less than a second The MOD GOOD LED red lights to indicate that the module is functional The RUN LED green blinks the module has not been programmed When the Program Module setup bit WY20 01 is set the RUN LED stops blinking and is off When this bit is cleared either the RUN LED turns on and remains steady or it blinks in ...

Страница 52: ...or bit is clear 2 In TISOFT access the Configure I O function menu 3 Select the appropriate channel and base number 4 Execute the Read Base function The HSCE module appears as 18 WX inputs and 14 WY outputs In the example shown in Figure 2 11 the module is located in slot 1 It uses 32 I O address locations 5 Assign the starting I O address and write the completed I O configuration to the controlle...

Страница 53: ...le Operation 3 1 Module I O Map 3 2 3 2 Data Formats 3 4 3 3 Reading Module Status 3 6 3 4 Configuring Program Mode Setup Words 3 8 3 5 Configuring Run Mode Setup Words 3 10 3 6 Setting Preset Values and Programming Options for Channel 1 3 12 3 7 Setting Preset Values and Programming Options for Channel 2 3 15 ...

Страница 54: ...e low word Current count value word Current count value word Counter 1 Counter 1 Counter 2 Counter 3 WX5 WX6 WX7 WX8 Current count value high word Current count value low word Current count value word Current count value word Counter 4 Counter 4 Counter 5 Counter 6 WX9 WX10 WX11 WX12 Holding Register 1 high word Holding Register 1 low word Holding Register 2 high word Holding Register 2 low word C...

Страница 55: ...Current Count WX4 Preset 4 WY26 Counter 4 24 Bit Current Count WX5 WX6 Holding Register 3 WX13 WX14 Holding Register 4 WX15 WX16 Preset 5 WY27 WY28 Preset 6 WY29 WY30 Counter 5 16 Bit Current Count WX7 Preset 7 WY31 Counter 6 16 Bit Current Count WX8 Preset 8 WY32 Counter 1 24 Bit Current Count WX1 WX2 Holding Register 1 WX9 WX10 Holding Register 2 WX11 WX12 Preset 1 WY21 WY22 Preset 2 WY23 WY24 F...

Страница 56: ... LSWord 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 The count values for Counters 1 and 4 are contained in the following words Counter 1 Count value WX1 and WX2 Counter 4 Count value WX5 and WX6 The Holding Registers for Counters 1 and 4 are the following words Counter 1 Holding Register 1 WX9 and WX10 Holding Register 2 WX11 and WX12 Counter 4 Holding Register 3 WX13 and WX14 Holding Register 4 WX15 a...

Страница 57: ... 7 8 9 10 11 12 13 14 15 16 The current count value for each 16 bit counter is contained in a one word input for example WX3 for Counter 2 The preset value for each 16 bit counter uses a single word output for example WY25 for Counter 2 The format for the count value and preset value is shown in Table 3 4 Table 3 4 16 Bit Value Format Word MSByte LSByte WX WY 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16...

Страница 58: ...it is cleared Ch2 Counter 4 Sign set after counter is reset or when it overflows cleared when it underflows Ch2 Counter 4 Compare Toggle cleared after a counter reset toggles when count equals preset Ch2 Counter 4 Carry Toggle cleared after a counter reset toggles when counter overflows Ch2 Counter 4 Borrow Toggle cleared after a counter reset toggles when counter underflows WX18 01 WX18 02 WX18 0...

Страница 59: ...ce Manual PPX 505 8104 4 or later for interrupt information The interrupt request flag indicates that an interrupt request has been generated The flag is cleared by setting bit WY20 06 The outputs disabled flag indicates that the output drives are disabled All of the outputs are off The count format flag indicates the format of the Counter 1 and 4 data words When this bit is cleared each value is ...

Страница 60: ...function WY19 09 WY19 10 WY19 11 WY19 12 WY19 13 WY19 14 WY19 15 WY19 16 Output 8 interrupt enable bit Output 8 can trigger an interrupt Output 7 interrupt enable bit Output 7 can trigger an interrupt Output 6 interrupt enable bit Output 6 can trigger an interrupt Output 5 interrupt enable bit Output 5 can trigger an interrupt Output 4 interrupt enable bit Output 4 can trigger an interrupt Output ...

Страница 61: ...n operational and a module failure is not reported During the first module programming request after base power recovers the counter values are read and placed into the Holding Registers As long as the programming bit remains set these values can be read by the PLC The data format bit selects the data format for Counters 1 and 4 double 16 bit 0 or 32 bit 1 signed integer format Select Counter 1 bi...

Страница 62: ...n Ch2 Counter 4 Inhibit counting pauses while set Ch2 Counter 4 Reset Counter count value is cleared to 0 when set Reset and Go function Ch2 Counter 5 Reset Counter count value is cleared to 0 when set Reset and Go function Ch2 Counter 6 Reset Counter count value is cleared to 0 when set Reset and Go function WY19 09 WY19 10 WY19 11 WY19 12 WY19 13 WY19 14 WY19 15 WY19 16 Force Output 8 ON Force O...

Страница 63: ...loaded and the counting resumes from the new preset value at the next rollover For Counters 2 3 5 and 6 the count values are loaded with the new preset values and counting starts on the next clock edges from the preset value Set the latch holding registers bit to halt the INDEX or Period signals from updating the values in the Holding Registers Set the disable outputs bit to disable all outputs tu...

Страница 64: ...t A direction input B 0 1 0 Up Down counting count up input A count down input B 0 1 1 Up Down counting count up input A count down input B 1 0 0 Quadrature 1X input A pulses input B pulses 1 0 1 Quadrature 2X input A pulses input B pulses 1 1 0 Quadrature 4X input A pulses input B pulses 1 1 1 Quadrature 4X input A pulses input B pulses 01 02 03 04 05 06 07 08 Counter Mode Setup 0 0 0 Binary coun...

Страница 65: ...nel 1 24 Bit Counter Preset 2 Value Word MSByte LSByte WY23 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 WY24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Table 3 13 Channel 1 24 Bit Counter WY23 Programming Bit Values Bit Position Description 01 02 03 04 05 06 07 08 1 Current count updates on an INDEX or PERIOD 0 0 0 0 0 0 0 PLC controls Output 2 1 0 0 0 0 0 0 When Counter 1 value Preset 2 set Output 2 0 1 0...

Страница 66: ...le 3 14 and Table 3 15 shows the formats for the preset values 0 65535 for Counters 2 and 3 Table 3 14 Channel 1 16 Bit Counter 2 Preset 3 Value Word MSByte LSByte WY25 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Table 3 15 Channel 1 16 Bit Counter 3 Preset 4 Value Word MSByte LSByte WY26 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Channel 1 16 Bit Counter Presets ...

Страница 67: ...A direction input B 0 1 0 Up Down counting count up input A count down input B 0 1 1 Up Down counting count up input A count down input B 1 0 0 Quadrature 1X input A pulses input B pulses 1 0 1 Quadrature 2X input A pulses input B pulses 1 1 0 Quadrature 4X input A pulses input B pulses 1 1 1 Quadrature 4X input A pulses input B pulses 01 02 03 04 05 06 07 08 Counter Mode Setup 0 0 0 Binary counti...

Страница 68: ...ramming values of WY29 Table 3 18 Channel 2 24 Bit Counter Preset 6 Value Word MSByte LSByte WY29 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 WY30 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Table 3 19 Channel 2 24 Bit Counter WY29 Programming Bit Values Bit Position Description 01 02 03 04 05 06 07 08 1 Current count updates on an INDEX or PERIOD 0 0 0 0 0 0 0 PLC controls Output 6 1 0 0 0 0 0 0 When Count...

Страница 69: ...rmats for the preset values 0 65535 for Counters 5 and 6 Table 3 20 Channel 2 16 Bit Counter 5 Preset 7 Value Word MSByte LSByte WY31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Table 3 21 Channel 2 16 Bit Counter 6 Preset 8 Value Word MSByte LSByte WY32 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Channel 2 16 Bit Counter Presets ...

Страница 70: ...it Counter Inputs 4 3 24 Bit Counter Control Signals 4 3 Input Signal Filtering 4 3 Module Failure or PLC Output Disable Signal 4 3 24 Bit Counter Outputs 1 and 5 4 3 Output Polarity 4 3 4 2 Default Software Modes 4 4 Programming Optional Modes 4 4 24 Bit Counter Default Modes 4 4 16 Bit Counter Default Mode 4 4 4 3 Basic Programming Steps 4 5 Writing the Presets 4 5 Programming the Module 4 5 Set...

Страница 71: ...odes skip to Chapter 5 1 2 3 4 5 6 MODFAIL OUTDIS Hold Filter Ch1 Ch2 Counter 1 Output 1 Counter 4 Output 5 Compare 100 kHz External Index Latch Inhibit Level Output Polarity 1 2 3 4 5 6 7 8 Counter 1 Ch1 4 Ch2 Input A pulse Input B pulse Input A pulse Channel 1 Channel 2 Counter Counter Jumper holding position D input clock pulse 24 bit Counter Output Options Output State Mode for Module Failure ...

Страница 72: ...osition a high INHIBIT signal pauses the counter a low INHIBIT signal resumes the counting action The default input filter setting is 100 kHz At 100 kHz the module counts any signal that has a minimum pulse width greater than 4 microseconds Refer to Figure C 3 for 100 kHz signal duty cycle specifications The MODFAIL and OUTDIS jumpers are set to the Hold or Freeze position by default In this posit...

Страница 73: ...counted and the state of input B determines the direction of counting 24 bit binary counting recycle mode INDEX is set to latch the counter value Output is set for Compare On when count value preset Table 4 1 24 Bit Counter Programming Modes 01 02 03 04 05 06 07 08 Mode 0 0 0 Direction counter count A direction B 0 0 0 24 bit binary counting recycle mode 0 INDEX latches counter value 0 Output Comp...

Страница 74: ...word Counter 1 WY25 WY26 PRESET 3 word PRESET 4 word Counter 2 Counter 3 WY27 WY28 WY29 WY30 PRESET 5 high word PRESET 5 low word PRESET 6 high word PRESET 6 low word Counter 4 WY31 WY32 PRESET 7 word PRESET 8 word Counter 5 Counter 6 Set bit WY20 01 shown shaded in Table 4 3 All other bit values in the module Setup Words WY19 and WY20 can be left at zero Table 4 3 Setting Bit 1 to Program the Mod...

Страница 75: ...mper 5 9 5 6 Control and Output Jumper Selections 5 10 External Index or Internal Period Jumper 5 10 Latch or Reset and Go Jumper 5 11 Inhibit Jumper 5 11 Compare Jumper 5 11 Rollover Jumper 5 11 Compare Toggle Jumper 5 11 Latch Jumper 5 11 5 7 24 Bit Counter Software Setup Options 5 12 24 Bit Counter Programming Options 5 12 5 8 16 Bit Counter Options 5 16 Holding Position 5 17 1 µs Jumper 5 17 I...

Страница 76: ...s that you selected by jumpers Jumpers must be installed as indicated in the following paragraphs Not installing a required jumper may cause a signal line to float and produce unpredictable counter operation This chapter is organized as follows First an overview of the configuration tasks is presented Second those jumpers that affect the basic configuration of the module and are independent of the...

Страница 77: ...1 Ch1 4 Ch2 Input A pulse 1 s internal Counter 2 output Counter 3 output Input B pulse Up Count Only Input A pulse 1 s internal Counter 5 output Counter 6 output Channel 1 Channel 2 Counter Counter Jumper holding position 1 s internal A input B input D input Counter 5 output 24 bit Counter Output Options Output State Mode for Module Failure or PLC Output Disable Signal Counter Inputs 24 bit Counte...

Страница 78: ...ity Jumpers Basic Set up WY20 02 24V power fails Neg Pos Clear Hold Clear Hold Select Inhibit Jumper Select Index Jumper 24 Bit Counter 24 Bit Counter Edge Level Reset Go 24 Bit Counter Latch Latch Select Input A Jumper 24 Bit Counter Select Compare Mode Jumpers Set up WY21 08 24 Bit Counter Toggle Set up Count Mode Set up WY21 01 thru 03 24 Bit Counter Set up WY21 07 Internal External Set up WY21...

Страница 79: ... 08 Set up WY20 07 and 08 16 Bit Counter Set up Up Down Count Mode Set up WY20 09 thru 16 16 Bit Counter 16 Bit Counter Set up Preset 1 words WY25 26 31 and 32 24 Bit Counter Set up Counter Mode B C C Set up Recycle Non Recycle Mode 24 Bit Counter Set up WY21 06 RUN Mode Clear WY20 1 16 Bit Counter Use Holding Jumper for Input positions 16 Bit Counter 2 Select 1us A B C or D Ctr 2 3 5 6 Input Jump...

Страница 80: ...locations for the basic options Jumpers are shown in their default positions Ch 1 Ch 2 E53 100 kHz E54 25 kHz E55 6 25 kHz E56 1 5 kHz E57 400 Hz E58 100 Hz Filtering Options MODFAIL OUTDIS Hold Clear 1 2 3 4 5 6 7 8 Inverted 0 On Output Polarity Non Inverted 1 On E67 E68 E69 E70 E71 E72 E73 E74 E45 E46 E47 E48 E49 E50 E51 E52 Output Disable Mode Output Figure 5 3 Basic Configuration Jumpers Jumpe...

Страница 81: ...96 microseconds For a more detailed description of the characteristics of input filtering see Appendix A Setting both jumpers to the Hold left position prevents the MODFAIL or OUTDIS signals from affecting the output drivers If you install the MODFAIL jumper in the Clear right position an active signal disables turns off the eight outputs If you install the OUTDIS jumper in the Clear right positio...

Страница 82: ...ions Input B Options Counter 1 E1 E2 E3 E4 E5 E6 Input A pulse 1 s internal pulse Counter 5 output or Counter 6 output Input B pulse or Up Count Only Input A Options Input B Options Counter 4 E7 E8 E9 E10 E11 E12 Figure 5 4 24 Bit Counter Input Jumpers The input signals for each channel are defined in Table 5 2 Table 5 2 Input Signal Names Input Definition A Input A Quadrature Up Count or Down Cou...

Страница 83: ...to count 1 µsecond periods up count only for a period determined by the INDEX Pulse The output of Counter 2 5 or Counter 3 6 can be jumpered to the input of Counter 1 4 for cascaded counting NOTE Select one of the following B input jumpers Input B or Up Count Only for Counter 1 and Counter 4 24 bit counters The Input B jumper connects the input B terminal to the counter Input B Input B jumper is t...

Страница 84: ...Latch Reset and Go Inhibit Level Edge 24 bit Counter Control Signals Compare Rollover Compare Toggle Latch E63 E64 E65 E66 Figure 5 5 Control and Output Jumpers In the External Index default position left this jumper selects a user supplied external INDEX pulse to transfer the counter s value to output holding registers 1 and 2 or to reload the preset value into the counter In the Internal Period ...

Страница 85: ...mes the counting NOTE Select one of the four Compare Rollover Compare Toggle or Latch jumper positions for Counter 1 4 The Compare jumper selects a one clock wide pulse that is active when the count equals the preset 2 value Channel 1 or preset 6 value Channel 2 This pulse appears on Output 1 Channel 1 or on Output 5 Channel 2 Compare is the default jumper setting The Rollover jumper selects a sig...

Страница 86: ...8 bits of WY21 for Counter 1 or the upper 8 bits of WY27 for Counter 4 Counter Type Bits 1 2 3 Direction counting Up Down counting 0 0 Counter Mode Setup Bits 4 5 6 Divide by N counting non recycle mode Internal sample INDEX Bit 7 Index or period latches count value Index or period loads counter with Preset 1 or Preset 5 0 1 Output Bit 8 Compare output latch toggle Rollover output 0 1 0 1 x x 0 1 ...

Страница 87: ... input B pulses 1 0 1 Quadrature 2X input A pulses input B pulses 1 1 0 Quadrature 4X input A pulses input B pulses 1 1 1 Quadrature 4X input A pulses input B pulses 01 02 03 04 05 06 07 08 Counter Mode Setup 0 0 0 Binary counting recycle mode 0 0 1 Binary counting non recycle mode 0 1 0 Divide by N counting recycle mode 0 1 1 Divide by N counting non recycle mode 01 02 03 04 05 06 07 08 Internal ...

Страница 88: ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Table 5 6 Channel 1 24 Bit Counter WY23 Programming Bit Values Bit Position Description 01 02 03 04 05 06 07 08 1 Current count updates on an INDEX or PERIOD 0 0 0 0 0 0 0 PLC controls Output 2 1 0 0 0 0 0 0 When Counter 1 value Preset 2 set Output 2 0 1 0 0 0 0 0 When Counter 1 value Preset 2 set Output 2 0 1 1 0 0 0 0 When Counter 1 value Preset 1 and Preset 2...

Страница 89: ... when set Reset and Go function Ch2 Counter 4 Inhibit counting pauses while set Ch2 Counter 4 Reset Counter count value is cleared to 0 when set Reset and Go function WY20 01 WY20 02 WY20 03 WY20 04 WY20 05 WY20 06 WY20 07 WY20 08 Program module counters Update PRESET values Latch holding registers prevents Index or Period from updating values in Holding Registers Disable outputs Enable interrupt ...

Страница 90: ...5 E16 E17 E18 Jumper Holding 1 µs clock A Input Pulse B Input Pulse D Input Pulse Counter 2 Output Counter 3 E25 E26 E27 E28 E29 E30 Jumper Holding 1 µs clock A Input Pulse B Input Pulse C Input Pulse Counter 6 Output Counter 5 Jumper Holding 1 µs clock A Input Pulse B Input Pulse D Input Pulse Counter 5 Output Counter 6 E19 E20 E21 E22 E23 E24 E31 E32 E33 E34 E35 E36 Gate Trigger Clock Pulse 16 B...

Страница 91: ...cts this signal to clock or gate trigger the 16 bit counter The C for counters 2 and 5 or D for counters 3 and 6 Input jumper allows you to select this input to clock or gate the counter Clock is the default position You can jumper the output from counter 3 into counter 2 to either clock or gate the counter You can jumper the output from counter 2 into counter 3 to either clock or gate the counter...

Страница 92: ...he function bits that are 0 reset the function The module setup words have two modes Run and Program In Program Mode the definitions in Table 5 10 apply in Run mode Table 5 11 applies During Program mode the counters are inhibited and the outputs are off After setting up the module in Program Mode set the module to Run Mode as described in Section 5 10 Table 5 9 shows the format of the preset word...

Страница 93: ...e 5 8 is a graphic representation of how to set the bit patterns to configure the counting mode for each of the 16 bit counters 16 Bit Counter Mode Retriggerable one shot Divide by N Square Wave Triggered Strobe 09 10 11 12 13 14 15 16 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 Counter 2 3 5 6 M1 M2 M1 M2 M1 M2 M1 M2 WY20 Figure 5 8 16 Bit Counter Mode Setup NOTE Chapter 1 Sec...

Страница 94: ... locations in RLL Because forcing output word values must be done after every power cycle use of RLL programming automates this task and also updates all of the I O words during the same I O scan If you choose to force all of the preset words do it before setting WY20 01 Program Mode In your RLL program write the preset values to the words that correspond to the counters you are setting up A prese...

Страница 95: ...values the outputs WX18 09 through WX18 16 are disabled and WX18 05 Interrupt is disabled If bit WY20 03 Hold counter values on reset and power up was set then the counter values remaining are loaded into the Holding Registers Clear bit WY20 01 by writing the run time values to WY19 and WY20 word locations If no fault exists WX18 01 RUN Flag is set and the module is ready to run WX18 02 Update Pre...

Страница 96: ... A 2 Using Time Sampled Rate Counting A 3 Using Frequency Counting A 3 A 2 Using Counters 2 3 5 and 6 A 4 Using Binary Up or Down Counting A 4 Using Retriggerable One Shot Mode A 4 Using Divide by N Mode A 5 Using Triggered Strobe Mode A 5 A 3 Cascade Counting Applications A 6 32 Bit Cascade Counting A 6 A 4 Prescale Counting Applications A 7 16 Bit Prescale 16 Bit Counting A 7 16 Bit Prescale 24 ...

Страница 97: ...e count value continues to accumulate Period measurement counting measures actual time between the rising edge of two external INDEX pulses The 24 bit counter counts internal 1 s pulses for an externally specified duration The INDEX input signal is configured in the Reset and Go mode resetting the counter after each INDEX signal The number of 1 s periods is loaded into Holding Register 1 At the ne...

Страница 98: ... At the next INDEX signal the new count value is loaded into Holding Register 1 and the previous value is pushed into Register 2 Frequency counting mode provides a counts per second value You select the sample period of 1 second by setting the appropriate bits in the Preset word and by setting the control signal jumpers to Internal Period and Reset and go The counter is reset at the start of the s...

Страница 99: ...nt count value is read from each of the counter registers and written to the respective WX3 WX4 WX7 and WX8 word locations The count loads the preset value on the first valid clock The count is incremented or decremented on each subsequent clock pulse For simple counting bits WY20 07 and 08 set the incrementing count Up Count format Configure the counter for Retriggerable one shot mode as follows ...

Страница 100: ...ue 0 In this mode the count value is one less than the number of clocks since a reset or gate Configure the counter for Triggered Strobe mode as follows Preset 1 Triggered Strobe sets the count value to one on the first valid clock pulse The count value equals the number of pulses since a reset or trigger The outputs remain Off The clock increments the count value until counter rollover at zero At...

Страница 101: ...on Initial Output Off The counter counts in recycle mode When the count value rolls over from 65535 to 0 the rollover signal clocks the input of the second 16 bit counter The output of each 16 bit counter is the OR d output 8 7 4 or 3 and the corresponding Force Output On bit WY19 09 10 13 or 14 If the corresponding Force Output On bit is 1 the output is forced On and overrides the counter output ...

Страница 102: ... by N Internal Gate Reset Flags WY19 04 08 External Gate Not allowed for proper operation By using the repetitive nature of Divide by N mode the output of Counter 3 or 6 pulses the rollover signal at the count of 1 The rollover signal is defined in Chapter 1 The output of each 16 bit counter is the OR d output 8 7 4 or 3 and the corresponding Force Output On bit WY19 09 10 13 or 14 If the correspo...

Страница 103: ...Integer 0 to 65535 prescale value to divide clock pulses Counter Mode Divide by N Internal Gate Reset Flags WY19 03 04 07 08 External Gate Use the RESET or INHIBIT signal 24 Bit Counter 1 or 4 Configuration Preset Per application Internal Inhibit Reset Flags WY19 01 05 Internal Reset Reset Flags WY19 02 06 Initial Output Off After programming the 24 bit counter value is zero On the first valid clo...

Страница 104: ...ting B 1 High Speed Counter Encoder Module User Manual Appendix B Troubleshooting B 1 LED Status and Error Code Descriptions B 2 B 2 Troubleshooting B 3 B 3 Terminal Block Worksheets B 4 B 4 Jumpers Worksheet B 8 ...

Страница 105: ...ords WX1 through WX16 If Error bit WX18 03 is clear and Run bit WX18 01 is set then there are no error codes in the I O words Table B 2 Error Codes in I O Words Integer Hex Code Error Bit WX18 03 Run Bit WX18 01 Description 32767 7FFF 0 or 1 0 Module failed 32766 7FFE 0 or 1 0 Module in Programming Mode 32765 7FFD 1 0 Error in programming 32764 7FFC 1 0 Module not programmed 32763 7FFB 1 0 or 1 Mo...

Страница 106: ...ng connections Change encoder Check signal wire noise Marginal input signal Does not count Count being reset or inhibited Check Reset and Inhibit signals from field Controller does not communicate with module Broken wire Check continuity Broken wire Check continuity Broken wire Check continuity Input wires substantially different lengths Check that wires are as short as possible and make wires the...

Страница 107: ... Terminal Block PPX 2587705 8010 Back up Power 12V Back up Power RTN Ch1 A Ch1 A Ch1 B Ch1 B Ch1 C Ch1 C Ch1 D Ch1 D Output 1 Output 2 Ch1 INDEX Ch1 INDEX Ch1 RESET Ch1 RESET Ch1 INHIBIT Ch1 INHIBIT Ch2 A Ch2 B Ch2 B Ch2 C Ch2 C Ch2 D Ch2 D PWR 24V RTN Ch2 INDEX Ch2 INDEX Ch2 RESET Ch2 RESET Ch2 INHIBIT Ch2 INHIBIT Ch2 A Output 3 Output 4 Output 5 Output 6 Output 7 Output 8 Figure B 1 Typical Side...

Страница 108: ...Troubleshooting B 5 High Speed Counter Encoder Module User Manual Figure B 2 Terminal Block Worksheet ...

Страница 109: ...k up Power RTN Ch1 A Ch1 A Ch1 B Ch1 B Ch1 C Ch1 C Ch1 D Ch1 D Output 1 Output 2 Ch1 INDEX Ch1 INDEX Ch1 RESET Ch1 RESET Ch1 INHIBIT Ch1 INHIBIT Ch2 A Ch2 B Ch2 B Ch2 C Ch2 C Ch2 D Ch2 D PWR 24V RTN Ch2 INDEX Ch2 INDEX Ch2 RESET Ch2 RESET Ch2 INHIBIT Ch2 INHIBIT Ch2 A Output 3 Output 4 Output 5 Output 6 Output 7 Output 8 Figure B 3 Typical Front Accessible Terminal Block ...

Страница 110: ...Troubleshooting B 7 High Speed Counter Encoder Module User Manual Figure B 4 Terminal Block Worksheet ...

Страница 111: ... output Input B pulse Up Count Only Input A pulse 1 s internal Counter 5 output Counter 6 output Channel 1 Channel 2 Counter Counter Jumper holding position 1 s internal A input B input D input Counter 5 output 24 bit Counter Output Options Output State Mode for Module Failure or PLC Output Disable Signal Counter Inputs 24 bit Counter Control Signals Channel 1 Channel 2 Freeze Inverted 0 On Non In...

Страница 112: ...C 2 Input Specifications C 3 Input Voltage and Current Specifications C 3 Input Filter Characteristics C 4 Minimum Pulse Width for Quadrature Mode C 5 C 3 Output Specifications C 7 Output Voltage and Current Specifications C 7 Output Power Supply Specifications C 7 Module Response Times C 8 Backup Power Supply Specifications C 8 ...

Страница 113: ...64 664 A Vibration Sinusoidal IEC 68 2 6 Test Fc 0 15 mm peak to peak 10 57 Hz 1 0 g 57 150 Hz Random IEC 68 2 34 Test Fdc equivalent to NAVMAT P 9492 0 04 g2 Hz 80 350 Hz 3 dB octave rolloff 80 20 Hz 350 2000 Hz Impact Shock IEC 68 2 27 Test Ea Electrostatic discharge IEC 801 Part 2 Level 4 15kV Noise immunity conducted on Series 505 power supply and user power supply IEC 801 Part 4 Level 3 IEC25...

Страница 114: ...oltage 4 to 28 VDC maximum On Current 7 to 13 mA Off Voltage Less than 1 25 VDC Off Current Less than 100 A Current mA Volts ON Note In the transition region from 1 25 to 4 volts the response of the module cannot be determined The inputs may be on or off For the fastest and most reliable counting the input signal rise and fall times should be as short as possible Transition region Min Max Figure C...

Страница 115: ...256 microseconds 400 Hz filter 1024 microseconds 100 Hz filter 4096 microseconds Input Signal Filtered Signal to Counter noise filter period External Figure C 2 Filtering Noise from Input Signal Continuous wave forms of a frequency higher than the specified filter have a rejection equal to or greater than 20 dB per decade above the cutoff frequency Due to the input circuit delays the minimum input...

Страница 116: ...100 kHz Quadrature signal Input Signal A Input Signal B 2 s 2 s 2 s 2 s 18 0 5 s 5 s 5 s Figure C 4 Pulse Width Requirements for Quadrature Filtering at 100 kHz The period of a 100 kHz signal is 10 microseconds s A 90 degree phase shift between two 100 kHz signals is 2 5 s edge to edge The filter period is 2 s Therefore the signals can be 0 5 s off of a 90 degree phase shift and still count proper...

Страница 117: ...the filter period then the counting may be off This type of error can be determined by inputting both an up count and down count Quadrature pulse train at the rated frequency One direction may be correct while the other direction counts an incorrect number of pulses If neither count is what you expect electrical noise or a configuration error may exist ...

Страница 118: ... 200 mA per output Peak 500 mA per output for less than 1 3 of the period of the output pulse or 1 second whichever is less see Figure C 5 Output Continuous Current adjacent channel outputs 200 mA per output OR one output at 500 mA with remaining channel outputs off or having a load of less than 20 mA 500 mA 200 mA 1 3 2 3 Output Pulse Figure C 5 Peak vs Continuous Current Output The Output Power ...

Страница 119: ...Preset 2 to output 2 Less than 1 millisecond Counter 2 to output 3 Less than 10 microseconds Counter 3 to output 4 Less than 10 microseconds Counter 4 to output 5 Less than 10 microseconds Counter 4 Preset 6 to output 5 Less than 1 millisecond Counter 4 Preset 6 to output 6 Less than 1 millisecond Counter 5 to output 7 Less than 10 microseconds Counter 6 to output 8 Less than 10 microseconds The B...

Страница 120: ...on basic options 5 6 5 7 tasks overview 5 4 Configuring I O memory 2 13 Connecting terminal block 2 11 Control signal jumpers 5 10 5 11 Conventions in this manual xiv Count value format 3 4 Counter control signals 4 3 inputs 4 3 Counting modes divide by N 1 20 retriggerable one shot 1 19 square wave generator 1 22 1 23 triggered strobe 1 21 D Data formats 3 4 3 5 Default modes hardware 4 2 4 3 sof...

Страница 121: ...Input filters 5 7 C 5 signal filtering default setting 4 3 specifications C 3 C 6 wiring 2 7 2 8 Input signals definitions 5 8 for 16 bit counters 5 16 5 17 for 24 bit counters jumpers 5 8 5 9 Inputs filters 5 7 Installing the module overview 2 2 procedure 2 3 Interrupt enabled flag 3 7 programming 3 7 request flag 3 7 Task 8 3 7 J Jumper locations 5 3 Jumper settings 1 microsecond 5 9 16 bit coun...

Страница 122: ... C 7 wiring 2 10 Output polarity default settings 4 3 jumpers 5 7 Outputs disabled flag 3 7 Outputs of 16 bit counters forced on by PLC 1 17 A 6 A 7 A 8 in divide by N mode 1 20 in retriggerable one shot mode 1 19 in square wave generator mode 1 22 1 23 in triggered strobe mode 1 21 Outputs of 24 bit counters in divide by N mode 1 16 in non quadrature mode 1 14 in quadrature mode 1 12 Overflow 1 1...

Страница 123: ...n mode 3 10 3 11 Signed integer 3 5 Software optional features 4 4 Software compatibility xiii 1 5 Software setup options 16 bit counters 5 18 24 bit counters 5 12 5 15 Specifications electrical C 3 C 6 environmental C 2 input C 3 C 6 output C 7 Square wave generator counting even initial value 1 22 1 23 odd initial value 1 23 Status LEDs 2 12 B 2 words 3 6 3 7 Strobe triggered configuration 1 21 ...

Страница 124: ...unting 1 9 Up Down counting in Divide by N mode A 5 Retriggerable One shot mode A 4 Triggered Strobe mode A 5 User power wiring connections 2 4 W Wiring inputs 2 7 2 8 outputs 2 10 terminal block 2 6 the module 2 4 2 11 Word I O definitions 3 2 Worksheet jumpers B 8 terminal block B 4 ...

Страница 125: ... ...

Страница 126: ...zation Clarity Completeness Overall design Size Index Would you be interested in giving us more detailed comments about our manuals Yes Please send me a questionnaire No Thanks anyway Your Name Title Telephone Number Company Name Company Address Manual Name SIMATIC TI505 High Speed Counter Encoder User Manual Edition Original Manual Assembly Number 2586546 0092 Date 05 94 Order Number PPX 505 8127...

Страница 127: ...JOHNSON CITY TN FOLD FOLD POSTAGE WILL BE PAID BY ADDRESSEE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES ATTN Technical Communications M S 3519 SIEMENS INDUSTRIAL AUTOMATION INC 3000 BILL GARLAND RD P O BOX 1255 JOHNSON CITY TN 37605 1255 ...

Отзывы: