Home
User Manual - LUCKINSlive
Contents
1. counter 1 counter 2 digital inputs A A LN Q Q i Ne Mas N 5555 ggz SN N C a Ad Bir Zi Ci A2 B2 Z2 C2 AHC la 14 ls 16 M L 1 vn a El D D D D O D D D D D R 315 mA fast hlom Ai Bi Zi Ci A2 B2 Z2 C2 il 1l Qi 02 Q3 Q4 1M il 2 D D L L D D R u A m D D L 5 A fast bjow 2M 2L A2 B2 Z2 1M 1M 2M 2l 3 D D D m A D D D D D u a BE AO aa ee counter enable 1 N A fast blow RES preset value q accept BV encoder supply Al At 2M Pulse encoder 2l 46 33001466 06 2011 Description of Module Installation example for pulse encoder 24 V counter 1 counter 2 digital inputs A A A S3ss C X R N gt gt 55 aace Ad Bi Zi Ci A2 B2 Z2 C2 D D D D E D D D Qa E G E a io 7 315 mA fastilow 4 ES 5 A fast blow AJ Bit Zit N2M 2L A2 B2r Zo 2M 2L 1M 1M 1M 1M 1M 1M 2M 2l 3 o o V AHA A ETA freeze count value ll counter enable A ea eee accept default value ESS eo 1A fast blow encoder supply 2M 2l NOTE The installation example refers to operating mode 1 down counting 33001466 06 2011 47 Description of Module Installation exam
2. counter 1 counter 2 digital inputs 00 A A A Boece L Nee er a Seas t OOD Na aa AI Bi Zi Ci A2 B2 Z2 C2 D l2 B 4 I 16 M Ly 1 O D D D D D D D D P A lujo fa O a L 315 mA fast blow T Ad Bi Zi Ci A2 B2 Z2 C2 il L Qi 02 Q3 Q4 1M il 2 El D D D D D D D D al CE D D D a m 5A fast blow T Ai Bi Zit 2M 2L A2 B2 Z2 2M ES 1M 1M 1M 1M 2M 2L 3 Ya D D D D D D D D D I D Es D D D counter enable 1kQ accept default value 120 33001466 06 2011 Application Examples Solution Setting Parameters The counter parameters are set in 7 steps setting the operating mode and preset mode sending the preset value configuring output 1 as a frequency output sending the threshold value 1 configuring output 2 sending the threshold value 2 setting the software enable setting the counter to the preset value setting the hardware enable Noo E GM These steps are explained below Step 1 Setting the Operating Mode and Preset Mode Sending the Preset Value Set the operating mode 2 and the preset mode 1 At the same time send the preset value 100 reference number 1 Output registers 1 3 and 5 are also used Step 1 Setting the Operating Mode and Preset Mode Output word Output Word Entry 400 101 1200 hex 400 102 0
3. 1 A fast blow encoder supply ali u incremental encoder 2l NOTE The installation example refers to operating modes 3 4 and 5 33001466 06 2011 49 Description of Module Installation example for absolute encoders with actuators counter 1 counter 2 digital inputs A A AL S8 C S Nee N gt gt 35 tt O NNO Ad Bit Zit Cit A2 B2 Z2 C2 R OS 3 l4 16 M 1 D D D D D D D D P O D D a i y 315 mA fast blor Ai B4 Zi C1 A2 B2 Z2 C2 il iL Qi 02 Q3 Q4 1M il 2 Ja D a D D D D D D D L D oO i T 5 A fast bor 2M 2L aar Ber za 2M Sr 1M La 1M 2M at 3 freeze count value counter enable A tastbl le ast blow 1 os Y H accept default value SN nz encoder supply Al Ai Ci Ci A 2M absolute encoder 2L NOTE The installation example refers to operating modes C D and E absolute encoder SSI 50 33001466 06 2011 Description of Module LED Status Indicators LED Block Front view of the LED block slelzlalohohihelhshalishe Meaning Ready for operation supply voltage available for internal logic 5 V Not ready for operation Turn on voltage 1L f
4. preset value preset value 70 33001466 06 2011 Output Words Preset Mode Hex 3 Explanation for preset mode preset mode hex 3 pulse MUI LIL UL UU UU SW bit E_P L HW input 11 4 ee enable SW E_C i i enable HW 12 6 er Zu count value preset value preset value Preset Value Accepted with Short Cams The preset value is accepted if the software enable Bit E_P the hardware input 11 4 and the zero pulse are applied at the count input Z This function can be used if only a zero pulse is delivered from the encoder over the cam length The down counter value is accepted with a falling edge of the zero pulse and the up counter value with a rising edge With incremental encoders it is always accepted with the rising edge of the zero pulse because the counter input B at the time of the zero pulse is always 1 NOTE If the encoder delivers several zero pulses while the cam signal is on the counter will be set to the preset value with every zero pulse The following clock diagram explains the setting to the preset value with a short cam signal 33001466 06 2011 71 Output Words Function of the short cam counterinputa INN counter input B counting down i count direction g counting up l counter input Z N i T zero pulse l T i enable SW E_P i short cam i E ca UN 11 13 u i x count value preset value
5. Signal Meaning 11 Valence of digital input 11 12 Valence of digital input 12 13 Valence of digital input 13 EP_B Acceptance of software releases at a preset value EC_B Counter 1 software releases ECP_B Freeze software releases with a count value of 1 CHI_B Initialization of counter 1 complete A_1 Valence of count input A1 P_E Parameter error WD_B Time supervision error at absolute encoder LE line break at the count inputs SOR_E Exceeded of software limit switch COR_E Counter overflow O_E Short circuit or overload of outputs Q1 Q2 PS_E Local supply voltage missing outputs encoder M_E Module parameters have not been defined Error Bits Low Bytes Input Words 1 and 2 Bits 0 7 The following errors are reported using these bits 90 33001466 06 2011 Status Messages and Count Values DO M_E D1 PS E D2 0_E D3 COR_E D4 SOR_E D5 L_E D6 WD_E D7 P_E 1 Module has not yet been configured i e no valid operating modes have been sent This bit is set by resetting HW or SW 1 Local supply voltage for digital outputs or sensor supply missing 1 A short circuit or overload has occurred at the digital outputs 1 The maximum authorized count range has been exceeded It is only possible to reset the bits using a 0 gt 1 edge of the SW release bits E_C This function is not active in absolute encoder 1 The set value for the SW limit switch has been exceeded The digital
6. actual value or capture valte gt input words 6 8 bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 actual value or capture value a p sign unusable Current Values for the Absolute Encoder Absolute encoders constantly report current values The resolution is e for 25 cycles 25 bits without sign i e from O to 33 554 431 e for 24 cycles 24 bits without sign i e from O to 16 777 215 e for 12 cycles 12 bits without sign i e from 0 to 4 095 33001466 06 2011 95 Status Messages and Count Values Representation of input words for 12 24 and 25 bits input words 5 7 bit 12 bit resolution input words 6 8 bit 15 14 13 12 t 11 10 9 8 7 6 5 4 3 2 1 0 actual value or capture value gt 24 bit resolution 31 30 29 28 27 26 25 24 t 23 22 21 20 19 18 17 16 _ actual value or capture valtte _ unused 25 bit resolution 96 33001466 06 2011 Parameter Setting of the AEC Block 7 Overview This chapter describes the AEC block What s in this Chapter This chapter contains the following topics Topic Page Brief Description 98 Representation 100 Parameter Description 101 33001466 06 2011 AEC Block Brief Description Function Description The DFB A
7. counter input B complete period pulses counted 28 33001466 06 2011 Operating Modes If no external clocking signal is available digital outputs Q1 Q3 can be configured as frequency outputs However as the outputs are only available at 24 V level the corresponding output Q1 Q3 must be connected with the 1M to counter input B and B Operating Mode 9 Period Meter with 5 Time Bases This operating mode measures the duration of a period To do this the pulses are counted for the duration of the gate time Various time bases can be selected according to the duration of the period There are 5 time bases available from 1ms to 10 000 ms This operating mode is used to acquire time measurements for processes NOTE The time base should be chosen to achieve the desired accuracy and ensure the measuring time of the counter is not exceeded Full as well as half periods can be measured depending on the process Full period means the measurement of a series of pulses from positive to positive edge counter input A E vemen TULL UV LLL UL UU UU UU UU 4 complete period gt a in micro sec complete period counter input A moat pace 1 UIA half period gt tt in m
8. threshold value 1 4 N threshold value 2 Q 13 Hex A Output Behavior Output Q1 Q3 is set to 1 signal if the count value gt the threshold value 1 The output Q1 Q3 is set to O signal if the count value gt threshold value 2 33001466 06 2011 83 Output Words Function hex A output behavior count value A threshold value 2 K Se os eS threshold value 1 fs es es Q 1 2 Hex B and Hex C Output Behavior The pulse is triggered as soon as the count value threshold value 1 The pulse length can be defined here 1 2 EXP 32 ms 84 33001466 06 2011 Output Words Function hex B and hex C output behavior count value A threshold value 1Y 1 threshold value 2 y pulse length adjustable Q 1 2 Priorities The following priorities apply when setting the digital outputs highest priority force by the PLC frequency output active hex D software limit switch min max lowest priority software configuration for threshold value 1 and 2 33001466 06 2011 85 Output Words Data in Output Words 5 6 and 7 8 Output Words 5 6 When counter 1 matches the reference number set points will be sent as 32 bit values in output words 5 and 6 Reference Number Function hex 0 No set point value selected hex
9. 170 LNT 810 00 170 ENT 110 00 NOTE Detailed Information about the individual bus adapters can be found in separate manuals See Related Documents see page 7 36 33001466 06 2011 Adapter CPU Adapters and Interface Adapters of the TSX Momentum CPU Adapters The CPU adapter can be compared to the central unit of a PLC that runs a user program and controls process l O points It can be plugged into this I O unit to control its I O points as local I O The following four CPU adapters are available Model Number Internal Flash RAM Clocking Speed Interfaces Memory 171 CCS 700 00 64 Kbytes 256 Kbytes 20 MHz 1 x RS 232 171 CCS 700 10 64 Kbytes 256 Kbytes 32 MHz 1 x RS 232 171 CCS 760 00 256 Kbytes 256 Kbytes 20 MHz 1 x RS 232 1 x I O bus 171 CCS 780 00 64 Kbytes 256 Kbytes 20 MHz 1 x RS 232 1 x RS 485 171 CCS 780 10 512 Kbytes 32 MHz 1 x RS 232 1 x RS 485 171 CCS 760 10 512 Kbytes 32 MHz The functionality of the CPU adapter can be expanded using an interface adapter The interface adapter is connected between the CPU adapter and the I O unit Interface adapters offer e time e battery buffering e additional communication interfaces NOTE Interface adapters can only be used in connection with a CPU adapter and not with bus adapters Three different interface adapters are available Model Number Interfaces 172 JNN 210 32 32 Modbus inter
10. 300 108 33001466 06 2011 133 Application Examples The pulse at count input 1 are counted as long as the software enable is on After the first measurement bit 15 in input register 3 is set and the count value per second is in input register 5 100 in this case NOTE When configuring output 1 or 3 as a frequency output make sure that a value gt 0 is entered in register 5 6 or 7 8 before mode D register 3 or 4 is entered for the corresponding output otherwise the output remains inactive Switching from full to half cycle only becomes active after a positive edge of the software enable bit bit 1 in word 1 The digital inputs have no function in operating mode 8 134 33001466 06 2011 Application Examples 8 5 Period Meter with Internal Time Base Overview This section describes the application of the 170 AEC 920 00 counter module as a period meter with an internal time base What s in this Section This section contains the following topics Topic Page Task Specification 136 Solution 138 33001466 06 2011 135 Application Examples Task Specification Period Meter Mode 9 with External Time Base In this operating mode the duration of a period can be measured This period is the duration of a e positive edge to the next negative one at count input A counting gate half cycle e positive to the next positive edge at count input A countin
11. This is also defined in output words 3 and 4 NOTE The digital inputs Accept Preset Value Counter Enable and Freeze Current Counter Value have no role in this operating mode Only the frequency output function is available for the digital outputs See Output Word 4 see page 74 33001466 06 2011 27 Operating Modes Example 1 Pulse counting with external clocking signal e g 5V level coumor imputa UUUUUUUUUUUUUUUUUUUUUUU ext clock signal at Y counter input B nali period p pulses counted ext clock signal at Zar counter input B complete period pulses counted IJ l NOTE When an external clocking signal of a 24V level is used the external clocking signal must be connected to counter input B Example 2 Pulse counting with internal clocking signal 24V level only e e TUU UU U output Q1 Q3 A Y counter input B 4 half period pulses counted jil UL or output Q1 Q3
12. 1 Preset value 24 bit signed or SSI offset value max encoder resolution hex 2 Threshold value 1 24 bit signed for incremental encoder 25 bit for absolute encoder hex 3 Threshold value 2 24 bit signed for incremental encoder 25 bit for absolute encoder hex 4 Upper software limit switch counter 1 24 bit signed for incremental encoder 25 bit for absolute encoder hex 5 Upper software limit switch counter 2 24 bit signed for incremental encoder 25 bit for absolute encoder hex 6 Pulse width in ms of digital output Q1 Q2 1 2 EXP 32 hex 7 Modulo value for event counter repeating counter function can be disabled with a modulo value of 0 max 24 bit hex 8 Time base at counter operation mode period meter operation mode 9 0 no time base Complete cycle 1 1 2 10 3 100 4 1 000 5 10 000 in micro sec Half period 9 1 A 10 B 100 C 1 000 D 10 000 in micro sec Bit P_E is set for the transfer of all other values and the reference number returns to 1F hex 9 Time base at counter operation mode frequency meter operation mode A 0 no time base Complete cycle 1 0 1 2 1 3 10 4 100 5 1 000 in ms Half period 9 0 1 A 1 B 10 C 100 D 1 000 in ms Bit P_E is set for the transfer of all other values and the reference number returns to IF hex A Selection of complete half cyc
13. 2 7 B1 B2 negative differential input B counter channel 1 2 3 8 Z1 Z2 negative differential input Z counter channel 1 2 4 9 C1 C2 negative clock output for SSI counter channel 1 2 13 14 Q1 Q2 digital output from counter channel 1 15 16 Q3 Q4 digital output from counter channel 2 17 1M Return 24 VDC Switching Voltage 11 12 18 1L 24 VDC Switching voltage for digital outputs supply voltage for digital inputs Series 3 Terminal Number Signal Function 1 6 A1 A2 positive differential inputs A 24 V counter channel 1 2 2 7 B1 B2 positive differential inputs B 24 V counter channel 1 2 3 8 Z1 Z2 positive differential inputs Z 24 V counter channel 1 2 11 16 1M Return 24 VDC Switching Voltage 4 9 17 2M Return for encoder supply 5 10 18 2L 5 30 VDC supply voltage for encoder Limit Frequencies and Cable Lengths for Incremental Encoders Encoder type with signal level Signal Level Cable Length Limit Frequency kHz 5V 100 m shielded twisted pairs 200 kHz 5V 300 m shielded twisted pairs 300 kHz 24 V 300 m 10 kHz Filter activated 33001466 06 2011 43 Description of Module Limit frequencies and cable lengths for absolute encoders Encoder Type with Cable Length Limit Frequency kHz RS 422 max 100 m each one is determined by the 170 AEC 920 00 44 33001466 06 2011
14. 6 76 5 14 3 1 2 1 1 1 0 Set data for counter 1 low part Address 4x 5 Output word 6 High word 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Set data for counter 1 high part Address 4x 6 Output word 7 Low word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Set data for counter 2 low part Address 4x 7 Output word 8 High word 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Set data for counter 2 high part NOTE A detailed description of word functions can be found in Output Words see page 61 62 33001466 06 2011 Output Words Input Words DFB Block The bus master receives eight words from the I O module containing information as follows Address 3x Input word 1 slo 15 14 13 12 11 10 9 8 7 6 5 41 3 Module status bits for counter 1 Error bits for counter 1 Address 3x 1 Input word 2 15 14 13 11 10 19 8 7 6 5 4 3 1 2 1 1 1 0 Module status bits for counter 2 Error bits for counter 2 Address 3x 2 Input word 3 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Output status counter 1 Reference numbers for set data 1 Address 3x 3 Input word 4 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Output status counter 2 Reference numbers for set data 2 Address 3x 4 Input word 5 Low word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Cu
15. Description of Module Wiring and Examples Hints for Wiring To protect count signals from external interference in push pull or common mode we recommend the following measures Use shielded twisted pair cables with a minimum line diameter of 0 22mm two for the count signals Ground the cable shield Assuming that the same grounding is used the counter inputs of the I O unit can be connected with a multi lead cable twisted pair which also supplies the encoder For the encoder supply principally 5 V take note that the voltage drop amounts to ca 0 35 V with a cable length of 100m 1 mm 2 line diameter and an encoder current consumption of 100 mA Keep encoder cables and power supply leads or similar sources of electrical interference separate distance as much as possible gt 0 5 m The supply for encoders and periphery should be drawn from separate sources to achieve isolation Example of connection of an incremental encoder for 5 V counter 1 incremental encoder terminals or DIN plug Momentum terminals series 4 3 2 1 1 Ate JA1 Al Ri 2 B1 B1 ZH 3 Z1 Z1 2L 2M L LI This link is established directly if the incremental encoder does not have a connection to ground 33001466 06 2011 45 Description of Module Wiring example for pulse encoder 5 V
16. active default 1 inactive to be used with encoders with 24 V single ended signals Reference Numbers for the Command Data Output Words 3 and 4 Bits 0 4 The reference numbers can be used to send various set data to the module Output word 4 can be used to determine the same functions for counter 2 but with Q3 instead of Q1 and Q4 instead of Q2 for digital outputs Individually these are as follows Reference 43210 Function Number hex 0 00000 No reference number selected hex 1 00001 Reference number for preset value or SSI offset value hex 2 00010 Reference number for threshold value 1 hex 3 00011 Reference number for threshold value 2 hex 4 00100 Reference number for lower software limit switch Outputs will be disabled if counting pulses gt value hex 5 00101 Reference number for lower software limit switch Outputs will be disabled if counting pulses lt value hex 6 00110 Reference number for pulse width of the digital outputs Q for counters 1 and 2 in ms hex 7 00111 Reference number for modulo value with repeating counters function can be disabled with the modulo value 0 hex 8 01000 Reference number for time base in period meter counter mode hex 9 01001 Reference number for time base in frequency meter counter mode hex A 01010 Reference number for operating mode 8 pulse counter with time base hex B 01011 Reference number for
17. preset value Preset Value Accepted with Long Cams The preset value is accepted with the first rising edge of the zero pulse on the count input as a result of the 1 changing to O on the hardware input For it to be accepted it is necessary for the software to be enabled via the Bit E_P NOTE All other zero pulses have no effect The following clock diagram explains the setting to the preset value with a long cam signal 72 33001466 06 2011 Output Words Clock diagram for the preset value with long cams counter input A counter input B counting down counting up count direction counter input Z T i zero pulse x l long cam 11 13 enable SW E_P i count value preset value preset value time 33001466 06 2011 73 Output Words Configuring Output Words 3 and 4 Output Words 3 and 4 Output Word 3 Output Word 4 Output word 3 is used to determine the following functions for counter 1 while output word 4 is used for counter 2 Output word 3 is used to specify the following functions for counter 1 The meaning of the parameters which will be transferred to words 5 and 6 is specified using the reference numbers for set data DO D3 D4 and D5 are reserved D6 D7 behavior of the module during bus interrupt and line break of the counter inputs Output configuration of the d
18. 0 set data for counter 1 2 gt output words 6 8 24 bit resolution bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 d Set data for counter 1 2 unusable 25 bit resolution 33001466 06 2011 87 Output Words 88 33001466 06 2011 Status Messages and Count Values Overview Status messages and count values are transferred from the counter module to the PLC in 8 words What s in this Chapter This chapter contains the following topics Topic Page Status and Error Bits Words 1 and 2 90 Status Returned Words 3 and 4 93 Actual Values for Counters 1 and 2 95 33001466 06 2011 89 Status Messages and Count Values Status and Error Bits Words 1 and 2 Status Bits The counter uses the status bits to deliver error messages and states of the hardware inputs and the associated software enable information Status and error messages are sent to the PLC for counter 1 in input word 1 The bits have the following meaning high byte status low byte error bit 15 14 13 12 11 10 9 8 6 5 4 3 2 1 PL a a Br I Bea R e S E Bw a signal Jalo amp Z lt j alao gijon wu D 9 5 2 3 Q a Meaning of the signals
19. 2 Bit O 15 Set points for counter 2 Bit 16 31 33001466 06 2011 65 Output Words Configuring Output Words 1 and 2 Bit Signal Display The following functions for counter 1 are determined with output word 1 preset bits force bits count direction bits for operating modes EN N 4 Y v na bit is i4 fig 18 11 10 o 8 7 o6o sJ 4 3 2 1 0 signal D_B P_B2 P_B1 P_Bo m o D E a2 laz Far far_FleL FEE cP E_c E_P Meaning of the signals Signal Meaning D_B If Bit 15 is set by the software the count direction in all operating modes will be reversed P_B2 3 bits for the choice of preset mode P_B1 P_BO M 4 bits for the choice of operation mode O D E Q2 Valence entry for digital output Q2 force to O or 1 Q2_F Activate force for digital output Q2 1 active Q1 Valence entry for digital output Q1 force to O or 1 Q1_F Activate force for digital output Q1 1 active EI_F Enable input filter 0 without Filter lt 200 kHz 1 with Filter lt 20 kHz E_CP Enable software to freeze count value E_C Enable software for counter E_P Enable acceptance of preset value With SSI encoders the preset value and the software limit switch values must still be transmitted after the count directions of have been reversed With output 2 the same functions are determi
20. 300 106 300 107 300 108 138 33001466 06 2011 Application Examples Step 2 Configuring Output 3 Counter 2 as a Frequency Output for the Count Pulse Configure output 3 as a frequency output output mode D and send a time base of 50ms for the cycle frequency output words 4 and 7 The output then flashes at 50ms intervals NOTE Enter the time base into register 7 first then the reference numbers DOB into register 4 Otherwise output 3 will be disabled Output word Output Word Entry 400 101 908 hex 400 102 0 400 103 0 400 104 DOB hex 400 105 0 400 106 0 400 107 50 dec 400 108 0 Input word Input Word Return Value 300 101 220 hex 320 hex 300 102 300 103 800 hex 300 104 B hex 10B hex 300 105 300 106 300 107 300 108 Step 3 Sending the Time Base Period ID and Disabling the Line Break Monitoring This is done via output words 3 and 5 Output word Output Word Entry 400 101 908 hex 400 102 0 400 103 88 hex 33001466 06 2011 139 Application Examples Output Word Entry 400 104 DOB hex 400 105 2 dec 400 106 0 400 107 50 dec 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 hex 300 102 300 103 808 hex 300 104 B hex 10B hex 300 105 300 106 300 107 300 108 St
21. 400 103 81 hex 400 104 0 400 105 100 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 102 300 103 801 hex 300 104 300 105 300 106 33001466 06 2011 121 Application Examples Input Word Return Value 300 107 300 108 Step 2 Configuring Output 1 as a Frequency Output Configure output 1 as a frequency output output mode D and send the time base 250ms for the cycle frequency output registers 3 and 5 The output then flashes at 250ms intervals Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 D8B hex 400 104 0 400 105 250 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 hex 300 102 300 103 80B hex 90B hex 300 104 300 105 300 106 300 107 300 108 Step 3 Sending the Threshold Value 1 Configuring Output 2 Configure the output 2 output mode A and send the threshold value 1 200 output registers 3 and 5 122 33001466 06 2011 Application Examples Step 4 Sending the Threshold Value 2 Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 AD82 hex 400 104 0 400 105 200 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 hex 3
22. K cece ett LED Status Indicators sion a a a a eens Technical Data eraa a ae ann A a ecke ann Selecting a Momentum Adapter 000 eee eee eee Selection of Terminal Blocks ccc ee eee eens Configuration lt sun ei eae ew R R 9 owe te eas Configuration of Output WordS Configurations 242 8 2 ii heile Wee ee Summary of the Output Words aaan eee eee eee Configuring Output Words 1 and 2 000 eee eee eee Configuring Output Words 3 and 4 eee eee eee ee Data in Output Words 5 6 and 778 0c cee eee File Format of Set Data 0 00 cece eens 33001466 06 2011 Chapter 6 Status Messages and Count Values 89 Status and Error Bits Words 1 and 21 00 eee eee ee 90 Status Returned Words 3 and 1 0 00 cece eee eee 93 Actual Values for Counters 1 and 2 0 0 0 c cece eee 95 Chapter 7 Parameter Setting of the AEC Block 97 Brief Descriptions cmd att gow Oe ede gga Some ar 98 Representation x e e e K K eee eee 100 Parameter Description aaan e K e e K 101 Chapter 8 Application Examples s x x e e x e x K K x K e 102 8 1 Up Counter Mode 21 2 22 22 onen eae 104 Example TTT 105 SOON 0 o RAE 107 8 2 Up Counter with Preset Value n uaaa anane 111 Task Specification een en 112 Solution AD A 114 8 3 Up Counter with Internal Clock Pulse nanana 119 Task Specification 0 nenn 120 Solution se is l
23. Words Operation Bit Type of Function Mode Hex 111098 Encoder 9 1001 pulse Period meter with 5 time bases for full or half periods 0 without time basis half per 9 1 A 10 B 100 C 1 000 D 10 000 ms half per 9 1 A 10 B 100 C 1 000 D 10 000 ms A 1010 pulse Frequency meter with 5 time bases for full or half periods 0 without time basis whole period 1 0 1 2 1 3 10 4 100 5 1 000 ms half period 9 0 1 A 1 B 10 C 100 D 1 000 ms B 1011 corresponds with operation mode 0 C 1100 abs Path evaluation with single turn encoders SSI 12 bit resolution D 1101 abs Path evaluation with multi turn encoders SSI 24 bit resolution E 1110 abs Path evaluation with multi turn encoders SSI 25 bit resolution F 1111 Software reset In this instance both counters are always reset regardless of this operation mode is called for counter 1 or 2 Preset Mode Output Words 1 and 2 Bits 12 14 The preset values are accepted through the hardware input 11 for counter 1 14 for counter 2 If no preset value is transmitted from the PLC a preset value of 0 will be accepted But the SW enable must be set Preset mode Function Preset Modes Preset value is accepted with SW Bit E_P 1 signal the HW input 11 4 has no function The preset value is accepted with the 0 1 edge of the HW preset signal See Preset Mod
24. below Step 1 Setting the Operating Mode and Preset Mode The operating mode 2 and the preset mode 1 are set This is done via output word 1 Output word Output Word Entry 400 101 1200 hex 400 102 400 103 400 104 400 105 400 106 400 107 ojo 00 0 00 400 108 Input word Input Word Return value 300 101 220 hex 300 102 300 103 800 hex 300 104 300 105 300 106 300 107 300 108 33001466 06 2011 107 Application Examples Step 2 Sending the Threshold Value 1 Configuring Output 1 The threshold value 1 100 is sent Output 1 is simultaneously configured reference number 7 and the line break detection is turned off Output words 3 and 5 are also used for this All the other entries remain Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 782 hex 400 104 0 400 105 100 hex 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 102 300 103 802 hex 300 104 300 105 300 106 300 107 300 108 Step 3 Sending the Threshold Value 2 Configuring Output 2 The threshold value 2 200 is sent Output 2 is simultaneously configured reference number A Output words 3 and 5 are also used All the other entries remain NOTE Modify the contents of word 400103 and the entry i
25. current value gt threshold value 1 current value gt of lower software limit switch y preset value 16 777216 lower threshold values 1 and2 upper 16 777 216 software limit switch software limit switch The counting pulse signals are dependent on the type of encoder The I O unit can process signal levels of 5V or 24V For this reason there are two counter inputs available for each of the two counters e 5V differential signals channels A A B B Z Z e 24V differential signals channels A A B B Z Z e 24V single ended signals channels A B Z connected with the relationship of the encoder potential Switch off the encoder monitor Digital Inputs to Control Counters The digital inputs counter enable preset value and selection of current counter status are only effective in combination with the corresponding software signals NOTE With 5V and 24V signals the counter inputs can operate using configurations with and without filters When the filter is activated used with mechanical contacts the count frequency is reduced max 20 kHz Digital Outputs to Control Actuators The digital outputs operate in two ways e through configured links in the user program e through forcing in the configuration possible anytime How the outputs become effective is specified in the counter configuration See Configuration of the Digital Outputs see page 77 Channel specific Error Messages The user can obta
26. path increments etc and compares them continuously with preset values It controls two hardware outputs per counter depending on the result of this comparison These outputs can therefore used for pre stop and limit switch outputs These operating modes often demand particular types of encoder impulse encoders absolute encoders or incremental encoders The encoder input signals are 5 volt signals 24 volt signals are also acceptable in many applications For the control of counting and comparison functions each of the two counters has three additional hardware inputs that can also be used as software signals e enabling the counting function e accept default value e freeze counter value NOTE The operating modes are described in Description of Operating Modes see page 17 See Configuration of Output Words see page 61 and Status Messages and Count Values see page 89 for the configuration and diagnostic data for these functions Refer to Setting Parameters for the AEC DFB Block see page 97 for examples of the configuration of counter operation modes The module is suitable for the evaluation of fast count impulses and for specific reactions if preset values are exceeded in positive or negative direction 14 33001466 06 2011 Introduction Repeating Counters Infinite Counts In this operating mode the module counts to the previously transferred modulo value and subsequently jumps to the 0 value and counts from the
27. the IN_2 counter Manish counter enable bus adapter 8 word IN IN_3 8 word OUT current count value freeze A mu T A SSI interface C C Operating Mode C Channel Acquisition with Single turn Encoders SSI 12 bit Resolution Connection of an SSI encoder with one channel The resolution amounts to 12 bits per rotation single turn encoder Single turn encoders begin to count from 0 after one full rotation They are suitable for procedures where the encoder does not use the whole rotation or for applications where the number of rotations is not important carousel etc See Up Counters Mode 2 see page 104 for an example of path evaluation with single turn encoders 33001466 06 2011 33 Operating Modes Operating Mode D Channel Acquisition with Multi turn Encoders SSI 24 bit Resolution The multi turn encoder with 24 bit resolution delivers 12 bit resolution per rotation 4096 pulses and can count 4096 rotations before overrunning The advantage of the absolute encoder is that the absolute position is available immediately after it is switched on Operating Mode E Channel Acquisition with Multi turn Encoders SSI 25 bit Resolution The multi turn encoder with 25 bit resolution delivers 13 bit resolution per rotation 8192 pulses and can count 4096 rotations before overrunning The advantage of the absolute encoder is that the
28. value is between threshold values 1 and 2 output 1 always remains inactive The counter is reset to the preset value with a 0 gt 1 edge at digital input 1 NOTE To set a new preset value or another kind of presetting the new value must be sent and then a positive edge must be triggered on the software bit E_P bit 0 in the first output word New set points are accepted directly 118 33001466 06 2011 Application Examples 8 3 Up Counter with Internal Clock Pulse Overview This section describes the application of the 170 AEC 920 00 counter module as an up counter with a 24 V pulse encoder and internal clock pulse What s in this Section This section contains the following topics Topic Page Task Specification 120 Solution 121 33001466 06 2011 119 Application Examples Task Specification Up Counter with 24 Volt Pulse Encoder and Internal Clock Pulse Task specification Counter 1 as up counter Reset via hardware input 1 Threshold value 1 is 200 Threshold value 2 is 300 value 2 is reached e Output 1 remains unused Counter enabling via hardware input 2 0 gt 1 edge Start value of the counter is 100 Output 1 is frequency output with 250ms pulse These cycles are to be counted Output 2 turns on when threshold value 1 is reached and turns off when threshold Wiring diagram for up counter with 24 Volt pulses and internal clock
29. which if not avoided can result in minor or moderate injury CAUTION CAUTION used without the safety alert symbol indicates a potentially hazardous situation which if not avoided can result in equipment damage Electrical equipment should be installed operated serviced and maintained only by qualified personnel No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material A qualified person is one who has skills and knowledge related to the construction and operation of electrical equipment and its installation and has received safety training to recognize and avoid the hazards involved 33001466 06 2011 About the Book A At a Glance Document Scope This manual describes the structure and the configuration of the fast counter module AEC 920 The different operating modes are explained using the applications as examples Validity Note This documentation is valid for Unity Pro from v6 0 Product Related Information A WARNING UNINTENDED EQUIPMENT OPERATION The application of this product requires expertise in the design and programming of control systems Only persons with such expertise should be allowed to program install alter and apply this product Follow all local and national safety codes and standards Failure to follow these instructions can result in death serious injury or equipment damage User Comme
30. wiring for period meter mode 9 with internal time base counter 1 counter 2 digital inputs G G A A E BG EE f N L aN gt gt 33 OOD N Nada AI Bi Zi Ci A2 B2 Z2 C2 or la l4 16 16 M L 1 O o D D D D D D D D D Qo D D O El a a 315 mA fast hlo Ai Bi Zi Ci A2 B2 Z2 C2 iL iL Qi Q2 Q3 Q4 1M il 2 o D O D D O D E H D D O o D E 5 A fast bow AA Bi Zi 2M 2L A2 B2 72 2M om 1M 1M iM iM 2M 2L 3 D D D o E D D D D D D D D D 33001466 06 2011 137 Application Examples Solution Setting Parameters The counter parameters are set in these 4 steps 1 setting the operating mode and activating the 20 kHz filter 2 configuring output 3 as a frequency output for the count frequency 3 sending the time base period id and disabling the line break monitoring 4 setting the software enable 1 These steps are explained below Step 1 Setting the Operating Mode and Activating the 20 kHz Filter Set the operating mode 9 and the 20 kHz filter This occurs in the output word word 1 Output word Output Word Entry 400 101 908 hex 400 102 400 103 400 104 400 105 400 106 400 107 400 108 ojo OI OIIO O Input word Input Word Return Value 300 101 220 hex 300 102 300 103 800 hex 300 104 300 105
31. 0 Values reserved as with hex 0 no report to bus adapter hex F 1111 Clock Diagrams for the Function of the Digital Outputs The following clock diagrams show the different output configurations for outputs Q1 3 and Q2 4 Hex 1 and Hex 2 Output Behavior Output Q1 3 is set to 1 signal and remains saved if the count value threshold value 1 hex 1 Output Q2 4 is set to 1 signal and remains saved if the count value threshold value 2 hex 2 78 33001466 06 2011 Output Words Function hex 1 and hex 2 output behavior count value A threshold value 2 A N threshold value 1 RN ARES AA l u t l A ais Ca hex 1 i gt p t l l A l l Hex 2 and Hex 4 Output Behavior Output Q1 Q3 is set to 1 signal as soon as the counter is enabled Output Q1 Q3 goes to 0 if the count value is equal to the threshold value 1 saving Output Q2 Q4 is set to 1 signal as soon as the counter is enabled Output Q2 Q4 goes to 0 if the count value is equal to the threshold value 2 saving 33001466 06 2011 79 Output Words Function hex 3 and hex 4 output behavior count value A threshold value 2 er threshold value 1 I Hex 5 Output Behavior Output 1 Q3 is set to O signal if the count va
32. 00 102 300 103 802 hex 902 hex 300 104 300 105 300 106 300 107 300 108 Send the threshold value 2 300 output registers 3 and 5 NOTE Modify the contents of register 400103 before the entry in register 400105 Otherwise overwrite the value for threshold value 1 Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 AD83 hex 400 104 0 400 105 300 dec 400 106 0 33001466 06 2011 123 Application Examples Output Word Entry 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 hex 300 102 300 103 803 hex 903 hex 300 104 300 105 300 106 300 107 300 108 Step 5 Setting the Software Enable Set the software enable output word 1 Output word Output Word Entry 400 101 1203 hex 400 102 0 400 103 AD83 hex 400 104 0 400 105 300 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 1B00 hex 1A00 hex 300 102 300 103 803 hex 903 hex 300 104 300 105 124 33001466 06 2011 Application Examples Step 6 Setting the Counter to the Preset Value Input Word Return Value 300 106 300 107 300 108 Set the counter status to the preset value Then trigger a 0 gt 1 edge at the binary entry Now the entry register 300 105
33. 00 104 400 105 400 106 400 107 400 108 ojo 0 0 0 0 0 Input word Input Word Return Value 300 101 220 hex 300 102 300 103 800 hex 300 104 300 105 300 106 300 107 300 108 130 33001466 06 2011 Application Examples Step 2 Configuring Output 1 as a Frequency Output and Disabling the Line Break Monitoring Step 3 Configuring Configure output 1 as a frequency output output mode D disable the line break monitoring and send the time base 5ms as the cycle frequency output registers 3 and 5 The output then flashes at 5ms intervals NOTE Enter the time base first and then the reference values in register 3 Otherwise output 1 is disabled Output word Output Word Entry 400 101 808 hex 400 102 0 400 103 D8B hex 400 104 0 400 105 5 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 hex 300 102 300 103 80B hex 90B hex 300 104 300 105 300 106 300 107 300 108 Output 3 Counter 2 as a Frequency Output for the Time Base Configure output 3 as a frequency output output mode D and send a cycle frequency time base of 500ms output registers 4 and 7 The output then flashes at 500ms intervals Output word Output Word Entry 400 101 808 hex 400 102 0 33001466 06 2011
34. 06 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 102 300 103 801 hex 300 104 300 105 300 106 300 107 300 108 NOTE Steps 1 and 2 can also be combined into one Step 3 Sending the Threshold Value 1 Configuring Output 2 Send the threshold value 1 200 Output 2 is configured at the same time reference number A Output words 3 and 5 are also used for this All the other entries remain Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 A082 hex 400 104 0 33001466 06 2011 115 Application Examples Step 4 Sending the Threshold Value 2 Output Word Entry 400 105 200 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 102 300 103 802 hex 300 104 300 105 300 106 300 107 300 108 Send the threshold value 2 300 Output registers 3 and 5 are used again All the other entries remain NOTE Modify the contents of word 400103 and then the entry in word 400105 Otherwise you would overwrite the value for threshold value 1 Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 A083 hex 400 104 0 400 105 300 dec 400 106 0 400 107 0 400 108 0 116 33001466 06 2011 Application Examples Input word Input Word Return Value
35. 11 25 Operating Modes Pulse diagram of incremental encoder with 1 1 logic counting up p gt counting down counter input A1 AVATAR counter input B1 counter input Z1 Operating Mode 5 Counting with Incremental Encoder with 1 4 Logic As with operating mode 4 but with fourfold resolution as each edge of counter input A and B is evaluated See Up Counter Mode 2 see page 104 Pulse diagram of incremental encoder with 1 4 logic counting up p gt counting down TG C RARA counter input A1 2 46 10 12 12 i 1311 9 E FLEA AVS u LALA counter input B1 041 3 57 9 11 13 15 gt 14121086 4 2 0 4 gt 4 90 90 counter input Z1 NOTE In operating modes 4 and 5 the differential signals are not displayed Operating Mode 6 Differential Counter In this operating mode all pulses at counter input A cause the counter to count up and all pulses at counter input B cause it to count down This means that in this operating mode the difference is established between counter input A and counter input B Two digital outputs can be controlled using two programmable threshold values Differential counter pulse diagram counter input A E T 4 T up counter 0 1 2 3 4 counter input B 4 i down counter 3 2 1 0 26 33001
36. 131 Application Examples Step 4 Sending the Complete Period ID Output Word Entry 400 103 D8B hex 400 104 DOB hex 400 105 5 dec 400 106 0 400 107 500 dec 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 hex 300 102 300 103 80B hex 90B hex 300 104 B hex 10B hex 300 105 300 106 300 107 300 108 NOTE Steps 1 3 can also be combined into one This occurs via output registers 3 and 5 reference number A value 1 Output word Output Word Entry 400 101 808 hex 400 102 0 400 103 D8A hex 400 104 DOB hex 400 105 1 dec 400 106 0 400 107 500 dec 400 108 0 132 33001466 06 2011 Application Examples Input word Input Word Return Value 300 101 200 hex 300 hex 300 102 300 103 80A hex 90A hex 300 104 B hex 10B hex 300 105 300 106 300 107 300 108 Step 5 Setting the Software Enable Set the counter enable bit in register 1 Output word Output Word Entry 400 101 80A hex 400 102 0 400 103 D8A hex 400 104 DOB hex 400 105 1 dec 400 106 0 400 107 500 dec 400 108 0 Input word Input Word Return Value 300 101 A00 hex BOO hex 300 102 300 103 880A hex 890A hex 300 104 B hex 10B hex 300 105 100 dec 300 106 300 107
37. 300 101 200 hex 300 102 300 103 803 hex 300 104 300 105 300 106 300 107 300 108 Step 5 Setting the Software Enable Set the software enable This occurs in output word 1 All the other entries remain Output word Output Word Entry 400 101 1203 hex 400 102 0 400 103 A083 hex 400 104 0 400 105 300 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 1A00 hex 300 102 300 103 803 hex 300 104 300 105 300 106 300 107 300 108 33001466 06 2011 117 Application Examples Step 6 Setting the Counter to the Preset Value Set the counter status to the preset value Then trigger a 0 gt 1 edge at the binary entry Now the entry register 300 105 displays this value Output word Output Word Entry 400 101 1203 hex 400 102 0 400 103 A003 hex 400 104 0 400 105 300 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 9A00 hex 300 102 300 103 4803 hex 300 104 300 105 100 dec 300 106 300 107 300 108 Step 7 Hardware Enable Enable the counter by setting binary input 2 Each pulse at the count input 1 is counted as long as the binary input 1 has a 1 signal Register word 300 105 displays the current count value Output 2 becomes active when the counter
38. 33001466 06 Modicon Momentum 170 AEC 920 00 User Manual 06 2011 Schneider Electric www schneider electric com The information provided in this documentation contains general descriptions and or technical characteristics of the performance of the products contained herein This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications It is the duty of any such user or integrator to perform the appropriate and complete risk analysis evaluation and testing of the products with respect to the relevant specific application or use thereof Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein If you have any suggestions for improvements or amendments or have found errors in this publication please notify us No part of this document may be reproduced in any form or by any means electronic or mechanical including photocopying without express written permission of Schneider Electric All pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to help ensure compliance with documented system data only the manufacturer should perform repairs to components When devices are used for applications with technical safety requirements the relevant instruction
39. 466 06 2011 Operating Modes Operating Mode 7 Up Down Counter with Direction Signal In this operating mode all pulses at counter input A corresponding to the valence at counter input B are counted either up or down With signal 1 at counter input B counting proceeds upwards with signal O at counter input B counting proceeds downwards Two digital outputs can be controlled using two programmable threshold values Pulse diagram of up down counter counterinput ats 4 14 R na 0 e E 1 2 1 0 1 2 counter input B1 Counting up counting down min 50 micro sec min 50 micro sec at 20 kHz at 20 kHz Operating Mode 8 Pulse Counter with Time Base RPM Measurement This operating mode is suitable for determining velocities rates of flow or rotary speeds The pulses are counted and saved during a selected time base gate opening time Then the counter is reset and the counting process starts again The gate opening time can be controlled through two modes e an external clocking signal e an internal clocking signal transmitted through digital outputs Q1 or Q3 These outputs must be configured output words 3 and 4 as frequency outputs Function D The frequency must also be selected through reference number B The count duration results from the positive edge to the negative edge of the clocking signal half period or from one positive edge to the next full period
40. EC makes configuration easier for the 170 AEC 920 00 module in Concept For this each counter channel requires a DFB block The DFB block transmits many set values one after another which are then stored in the data structure par_arr and returns the current values of the counters The data transfer of bytes words and double words is started using a O gt 1 edge at the send input All bits are sent in each cyclic AEC Block Location After installing Concept the AEC block can be located in the DAT directory as AEC ASC It must be installed before it can be used Directory structure ch rel Concept DAT DFB PRJ al E DFB el m installation drive el Concept directory DAT directory global DFB directory project directory local DFB directory 98 33001466 06 2011 AEC Block Installing the AEC Block The following steps are necessary for the installation of the AEC block Step Action 1 Copy the file AEC ASC from the DAT directory into a DFB directory If the DFB is available for all projects copy it into the global DFB directory If the DFB should only be available for one specific project copy it into the project s local DFB directory Start the Concept converter Click File gt Import Select the file from the directory chosen in step1 oa AJO
41. JN Click OK to begin the conversion Result The AEC block is only available for configuration in Concept 33001466 06 2011 99 AEC Block Representation Symbol AEC function block AEC 3 00001 gt Start3x Start4x 1 gt 4 00001 4 00001 gt Start4xi counter status send error E P SratioNo H EC Q 1 3 E CP Q 2 4 EI_F REF ECPP H Q1 3 F ECP Q1 3 PP Q24 F RCVA 1Q02 4 ACT_VAL MODE p_error Pres Mod ready D B O_config j L_ED CLOA first bl tot_blk par_arr 100 33001466 06 2011 AEC Block Parameter Description Outputs Inputs Output type and function Parameters Data type Meaning Start4x Word Arr 9 1 Address of the 8 output words status BYTE High byte of 1st or 2nd input word Status bits error BYTE Low byte of 1st or 2nd input word error bits SratioNo BYTE Reference number returned in case of error 1F hex Q_1_3 BOOL Valence of output Q1 or Q3 Q24 BOOL Valence of output Q2 or Q4 REF BOOL Preset value has been accepted ECPP BOOL Freeze HW and SW counter values ECP BOOL Counter has been enabled PP BOOL Accept preset HW and SW values RCVA BOOL 1 Count cycle is complete ACT_VAL DINT Current value or capture value p_error BOOL Transmission
42. Threshold value 1 is 100 Threshold value 2 is 200 Output 1 turns on when the counter is enabled and turns off when the threshold value 1 is reached e Output 2 turns on when threshold value 1 is reached and turns off when threshold value 2 is reached 33001466 06 2011 105 Application Examples Installation example for pulse encoder 24 V par 2L counter 1 counter 2 digital inputs oo A Re A GOE E L NE Ni vy gt gt 33 aged Al Bi Zi Ci A2 B2 Z2 C2 1 12 a 4 l6 M L 1 CONE CEA O aA CODO m 315 mA fast Hlor Ai Bi Zi Ci A2 B2 Z2 C2 iL iL Qi Q2 Q3 Q4 1M il 2 r D D D D EE EEI Q oO D R D R r D R LJ 5 A fast bow AT BUZIS M 2L AS B2 Z2 2M 2L iM iM 1M 1M 1M JiM 2M 2l 3 La D D al Fe D D D oo D 5 a freeze count valug et et A ES counter enable accept default value 1 A fast blow encoder supply Ai 106 33001466 06 2011 Application Examples Solution Setting Parameters The counter parameters are set in 5 steps setting the operating mode and preset mode sending the threshold value 1 configuring output 1 sending the threshold value 2 configuring output 2 setting the software enable setting the hardware enable Q Z GM These steps are explained
43. absolute position is available immediately after it is switched on See Up Counters Mode 2 see page 104 for an example of path evaluation with multi turn encoders 34 33001466 06 2011 TSX Momentum Adapter Overview TSX Momentum is a modular system Bus adapters and CPU adapters work in connection with an I O unit as standalone modules In order to function properly each I O unit must be equipped with an adapter The following two sections give an overview of the available CPU and bus adapters What s in this Chapter This chapter contains the following topics Topic Page TSX Momentum Bus Adapter 36 CPU Adapters and Interface Adapters of the TSX Momentum 37 33001466 06 2011 35 Adapter TSX Momentum Bus Adapter Available Bus Adapters The bus adapters are used in the I O units as interfaces for numerous industry standardized open communication networks The following bus adapters are available Model Number 170 INT 110 00 170 NEF 110 21 Modbus Plus simple network cable and 984 data format 170 NEF 160 21 Modbus Plus double network cable and 984 data format 170 PNT 110 20 Modbus Plus simple network cable and IEC data format 170 PNT 160 20 Modbus Plus double network cable and IEC data format 170 DNT 110 00 170 FNT 110 00 FIPIO for TSX 7 and April 170 FNT 110 01 FIPIO for TSX Premium 170 LNT 710 00
44. al Meaning RCVA 1 Count cycle is complete PP Accept preset HW and SW values ECP Counter has been enabled ECPP Freeze HW and SW count values REF Preset value has been accepted operating mode 4 5 free free Q2 Valence of digital output Q1 Valence of digital output free free free free free free Reserved Reserved D3 Reference numbers returned Handshake D2 D1 DO 33001466 06 2011 93 Status Messages and Count Values Reference Number Returned Low Bytes Input Words 3 and 4 Bits DO D3 Using bits DO D3 reference numbers which have previously been sent to the module for configuration via output word 3 4 are reported back to the PLC A returned reference number serves as a handshake for sent set data See Reference Numbers for Set Data Output Words 3 and 4 Bits O 4 see page 75 NOTE Should an invalid reference number be sent it will be recorded in these bits DO D4 with a value of 1F hex and the set data in words 5 6 and 7 8 will not be accepted Status Returned High Bytes Input Words 3 and 4 Bits 8 15 Using bits DO D15 the status of the counter module and the output are returned Bit Signal Meaning D8 Q1 Q3 1 Digital output Q1 Q3 has a 1 signal D9 Q2 Q4 1 Digital output Q2 Q4 has a 1 signal D10 not used D11 REF 1 The preset value has been accepted Mode 4 or 5 and the outputs have been enabled In all other operating m
45. ar ei dal Clock for SSI encoder Ai Bi Zi A A2 B2 gt 1L il Qi Q4 1M il 2 IS O A E p dig outputs 2M 2L A2 B2 Z2 M2 2L 1M iM 2M 2L 5 5 6 A A 4 DANGER SHORT CIRCUIT AND OR SPIKES Install external fuses as protective measure according to the fuse values provided in the wiring diagrams A module unprotected by a fuse can cause short circuit and or spikes Failure to follow these instructions will result in death or serious injury Assignment of Terminal Blocks Series 1 Terminal Number Signal Function 1 6 A1 A2 positive differential input A 5 V counter channel 1 2 2 7 B1 B2 positive differential input B 5 V counter channel 1 2 3 8 Z1 Z2 positive differential input Z 5 V counter channel 1 2 4 9 C1 C2 positive clock output for SSI counter channel 1 2 11 14 11 14 digital inputs accept preset value counter channel 1 2 12 15 11 15 digital inputs counter enable counter channel 1 2 42 33001466 06 2011 Description of Module Terminal Number Signal Function 13 16 13 16 digital inputs freeze current counter value for counter channel 1 2 17 M Supply voltage return line 18 L Supply for module 24 VDC Series 2 Terminal Number Signal Function 1 6 A1 A2 negative differential input A counter channel 1 2
46. code gray code or similar The advantage of this type of encoder is that the absolute position is available immediately after it is switched on The determination of the actual position is carried out as follows The 170 AEC 920 00 requests the position value through a clock pulse sequence The absolute position existing in the encoder is saved with the first clocking signal of the170 AEC 920 00 and transmitted to the 170 AEC 920 00 as a serial data telegram Gn G0 synchronously to the clock signal The length of the data stream to be transmitted is dependent on the resolution and the data format of the encoder and can be defined using configuration words With standard codes the resolution is n 24 SSI data and clocking telegrams clock 2 E E p p LALALA A ay as Gn Xan n 2X X X X X G1 X GO This data transfer is conducted through a synchronous serial interface of four lines two each for clock signal and data To allow data transfer at higher frequencies the signals are transmitted as differential signals corresponding to RS 422 so that interfering impulses can be identified and common mode interference filtered out 16 33001466 06 2011 Description of the Operating Modes Overview This chapter describes all current operating modes in which the counter can function The operating modes for each counter are set individually over output words 1 an
47. d 2 Further information can be found in Configuration see page 59 What s in this Chapter This chapter contains the following topics Topic Page Overview of the Operating Modes 18 Common Counter Properties 20 Count Channel for Count Functions with Pulse and Incremental Encoder 24 Operating Modes for Pulse and Incremental Encoders 25 Operating Modes for Absolute Encoder 31 Count Channel for Counting Functions with Absolute Encoders 33 33001466 06 2011 17 Operating Modes Overview of the Operating Modes Overview The following table gives an overview of the current operating modes Operating Encoder Function Mode Type 0 Channel not ready Parameters not reset Output O 1 imp Down counter 2 imp Up counter 3 ink corresponds with operation mode 0 4 ink Up down counter path evaluation 1 1 logic 5 ink Up down counter path evaluation 4 1 logic 6 imp Differential counter Counter input A up Counter input B down 7 imp Up counter Down counter Counter Input A up down Counter Input B Direction 1 up O down 8 imp Impulse counter with time base e g for variable speeds counting Cv factors etc a with external Clock Signal on counter input B as time base or b digital output Q as time base on counter input B 9 imp Period meter with 5 time bases for full or half period f
48. displays this value Output word Output Word Entry 400 101 1203 hex 400 102 0 400 103 AD83 hex 400 104 0 400 105 300 dec 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 9B00 hex 4903 hex 300 102 300 103 4803 hex 4903 hex 300 104 300 105 100 dec 300 106 300 107 300 108 Step 7 Hardware Enable Enable the counter by setting binary input 2 Each pulse at the count input 1 is counted as long as 1 signal is at binary input 1 Register word 300 105 displays the current count value Output 2 becomes active when the counter value is between threshold values 1 and 2 output 1 always remains inactive 33001466 06 2011 125 Application Examples The counter is reset to the preset value with a 0 gt 1 edge at digital input 1 NOTE When configuring output 1 or 3 as a frequency output make sure that a value gt 0 is entered in register 5 6 or 7 8 before mode D register 3 or 4 is entered for the corresponding output otherwise the output remains inactive Inverting bit D_B bit 15 in output word 1 reverses the counting direction 126 33001466 06 2011 Application Examples 8 4 Pulse Counter with External Time Base Overview This section describes the application of the 170 AEC 920 00 counter module as a pulse counter mode 8 with an external time base What s in this Section Thi
49. ds two periodical square wave signals in quadrature which are evaluated and counted correspondingly in the AEC To allow data transfer at higher frequencies the signals can also be transmitted as differential signals corresponding to the RS 422 so that interfering impulses as well as common mode interference can be recognized and filtered out In this case six lines are required for the data transfer two each for the three count inputs Accepting reference values accepting preset values If the current positions are lost because of voltage loss or disconnection the 170 AEC 920 00 measuring system must be reset when the voltage returns or when it is reconnected accepting preset values The encoder will transmit a reference signal zero impulse to do this 33001466 06 2011 15 Introduction There seven different possibilities available for the acceptance of a preset value An acceptance of the preset value is also necessary after every new enable of the counting channel otherwise the digital outputs will not be operated So that the point of reference is constantly approached from one direction the reference point switch should be installed just in front of a hardware limit switch Absolute Path Evaluation In absolute path evaluation a numerical value is assigned to each position This task is undertaken by an absolute encoder The numerical values exist in the encoder as a code pattern e g on code slices in dual
50. e Hex 1 see page 70 The preset value is accepted with the 1 0 edge of the HW preset signal Bits 1413 12 hex 0 000 hex 1 001 hex2 010 hex 3 011 The preset value is accepted if the preset signal is 1 and the counter is stopped The counter starts if the preset signal is O See Preset Mode Hex 3 see page 71 33001466 06 2011 69 Output Words Bits 141312 Function Preset Modes hex 4 100 The preset value is accepted with the 1 0 edge up counter and with 0 1 edge down counter of the preset signal Application with axes control hex 5 101 The preset value is accepted with the 1 0 edge up counter and with 0 1 edge down counter of the preset signal hex 6 110 Reference point with short cam signal See Accept Preset with Short Cam see page 71 hex 7 111 Reference point with long cam signal See Accept Preset with Short Cam see page 71 SW Bit E_P must always be signal 1 Reversals of the Count Directions E_P Preset Mode Hex 1 D15 D_B If Bit 15 is set to 1 by the software the count direction in all operating modes will be reversed NOTE With SSI encoders the preset value and the software limit switch value must be transmitted again after the count directions have been reversed Explanation for preset mode preset mode hex 1 pulse UL ULLA SW bit E_P HW input 11 4 er Gil enable SW E_C Be EE enable HW 12 6
51. e dS ated a ne re eee Os 121 8 4 Pulse Counter with External Time Base 0c eee 127 Example M tooo a Herne nen 128 Soles en ee ren RT died aOR 130 8 5 Period Meter with Internal Time Base aana 135 Task Specifications s rira esdan siak a aaa E E a O nn 136 A O 138 WGK RN 143 33001466 06 2011 Safety Information A Important Information NOTICE Read these instructions carefully and look at the equipment to become familiar with the device before trying to install operate or maintain it The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure The addition of this symbol to a Danger or Warning safety label indicates that an electrical hazard exists which will result in personal injury if the instructions are not followed personal injury hazards Obey all safety messages that follow this symbol to avoid possible injury or death A DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury A WARNING WARNING indicates a potentially hazardous situation which if not avoided can result in death or serious injury T This is the safety alert symbol It is used to alert you to potential 33001466 06 2011 5 PLEASE NOTE A CAUTION CAUTION indicates a potentially hazardous situation
52. e page 61 status messages and numerical values see page 89 DFB parameter settings see page 97 Module view Varara ara ara ara ra ara ara ra Ara ara ara internal connector to the adapter locking and grounding contact for the adapter LED display field sockets for the terminal plugs grounding screw installation point for busbar Gn Q E GM 12 33001466 06 2011 Introduction 7 locking catch for DIN rail 8 holes for wall mounting 33001466 06 2011 13 Introduction Function Mode and Application Range Use of the 170 AEC 920 00 Event Counting The 170 AEC 920 00 I O unit has two hardware counters with a maximum input frequency of 200 kHz They can be used for the following applications e event counts e frequency measurements e period measurements e clock output pulse generator e path evaluation using incremental encoders The module can therefore be used to evaluate pulses and positions To do this one of 13 possible operating modes must be set depending on the application See Operating Modes see page 18 Encoders evaluate impulses or positions and send this information on to the I O unit The I O unit s firmware interprets them depending on the operating mode as impulses
53. edge during downward counting on the digital input Preset Reference point with short cam signal Reference point with long cam signal In preset modes 6 and 7 the zero pulse from the encoder counter input Z is used for the reception of the preset value The encoder gives out this counting pulse after every full rotation The preset mode can be set See Preset Modes Output Words 1 and 2 Bits 12 14 see page 69 The preset modes are not applicable in all operating modes frequency period and pulse counters 33001466 06 2011 23 Operating Modes Count Channel for Count Functions with Pulse and Incremental Encoder Functional Principle The configured links for software and hardware show the correlations for incremental encoders IN_1 Concept accept IN_2 counter enable IN_3 current count value freeze counter preset value counter interface to the TSX Momentum bus adapter word IN word OUT counter inputs 24 33001466 06 2011 Operating Modes Operating Modes for Pulse and Incremental Encoders Overview Operating modes 1 A are described below Operating Mode 1 Down Counter for Pulses In this operating mode all pulses of counter input A are used for down counting b
54. eginning from a preset value default 0 Counter input B has no function Pulse encoders with 5V differential output as well as pulse encoders with 24V single ended output 24V initiators can be connected Two digital outputs can be controlled using two programmable threshold values See the example Up Counter Mode 2 see page 104 Operating Mode 2 Up Counter for Pulses In this operating mode all pulses of counter input A are used for up counting beginning from a preset value default 0 Counter input B has no function Pulse encoders with 5V differential output as well as pulse encoders with 24V single ended output 24V initiators can be connected Two digital outputs can be controlled using two programmable threshold values See the example Up Counter Mode 2 see page 104 Operating Mode 3 Reserved Corresponds with operating mode 0 Operating Mode 4 Counting with Incremental Encoder with 1 1 Logic Position measurement with incremental encoders is carried out according to the counting procedure The measuring system must therefore be reset after switching on or power failure The encoder transmits a reference signal zero pulse to do this In order to identify the direction of spin when counting up or down the incremental encoder sends two periodical square wave signals in quadrature which are evaluated by the 170 AEC 920 Two digital outputs can be controlled using two programmable threshold values 33001466 06 20
55. ep 4 Setting the Software Enable Set the counter enable bit in word 1 Output word Output Word Entry 400 101 90A hex 400 102 0 400 103 88 hex 400 104 DOB hex 400 105 2 dec 400 106 0 400 107 50 dec 400 108 0 Input word Input Word Return Value 300 101 A00 hex BOO hex 300 102 140 33001466 06 2011 Application Examples Input Word Return Value 300 103 8808 hex 300 104 B hex 10B hex 300 105 9990 dec 300 106 300 107 300 108 NOTE Steps 1 4 can also be combined into one The internal time interval encoder pulse are counted as long as the counting gate is open and the software enable is present After the first measurement bit 15 in input word 3 is set and the count value per gate opening time is in input word 5 9990 in this case This corresponds to 9990 x 10ms 99 9ms 33001466 06 2011 141 Application Examples 142 33001466 06 2011 Index A absolute encoder 17 41 61 89 assembly accessories 35 basic parameters 97 103 C capture 17 61 configuring input words 61 configuring output words 61 counting functions 11 17 41 103 counting values 89 E error codes 17 89 event counting 11 event processing 17 F functions 11 incremental encoder 17 41 61 89 input output features 17 97 M measurement values 11 17 P parameter se
56. error wrong value ready BOOL Data transfer display 0 Transmission is active 1 Transmission is complete Input type and function Parameters Data type Meaning Start3x Word Arr 9 1 Address of the 8 input words Start4xi Word Arr 9 1 Address of the 8 output words Counter BYTE Select counter 1 or 2 send BOOL 0 1 Edge for the data transfer of BYTE word double word Bool values are sent in a cyclic manner EP BOOL Enable acceptance of preset value EC BOOL Software Enable for counter E_CP BOOL Software Enable to freeze counter value EI_F BOOL Enable input filter Q1_3 F BOOL Activate forcing of digital outputs Q1 3 33001466 06 2011 101 AEC Block Parameters Data type Meaning Q1_3 BOOL Record Valence of digital outputs Q1 3 Q2_4_F BOOL Activate forcing of digital outputs Q2 4 Q2_4 BOOL Record Valence of digital outputs Q2 4 Mode BYTE 4 bits for the choice of operation mode Pres_Mod BYTE 3 bits for the choice of preset mode D_B BOOL Invert counting direction effective in all operating modes O_config BYTE Configure outputs Q1 2 or Q3 4 L_ED BOOL Monitoring of the counter inputs A B Z for a line break CLOA BOOL Behavior of Q1 to Q4 during bus interruption first_bl INT Number of the 1st data block to be sent tot_blk INT Total number of data blocks to be sent par_arr Word Arr 31 Data structure with 31 wo
57. et to 1 signal if count value threshold value 1 saving Output is set to 0 signal if count value threshold value 2 saving hex 6 0110 Output is set to 1 signal if count value gt threshold value 1 Output is set to O signal if count value lt threshold value 1 hex 7 0111 Output is set to 1 signal counter enabled and count value lt threshold value 1 Output is set to O signal if count value gt threshold value 1 hex 8 1000 Output is set to 1 signal if count value gt threshold value 2 Output is set to 0 signal if count value lt threshold value 2 hex 9 1001 Output is set to 1 signal if counter enabled and count value lt threshold value 2 Output is set to O signal if count value gt threshold value 2 hex A 1010 Output is set to 1 signal if count value gt threshold value 1 Output is set to O signal if counter value gt threshold value 2 33001466 06 2011 77 Output Words Bits 1110 9 8 Function control of counter 1 digital outputs Q1 3 Bits 1514 1312 Function control of counter 1 digital outputs Q2 4 hex B 1011 Trigger pulse if count value threshold value 1 the pulse length can be defined 1 2 EXP 32 ms hex C 1100 Trigger pulse if count value threshold value 2 the pulse length can be defined 1 2 EXP 32 ms hex D 1101 Frequency output only for digital outputs Q1 3 a frequency must also be given via reference number B hex E 111
58. face which are RS 232 or RS 485 compatible 172 PNN 210 22 a Modbus Plus interface 172 PNN 260 22 Two redundant Modbus Plus interfaces NOTE Further information about CPU adapters and interface adapters can be found in the Momentum M1 Processor Adapter and Option Adapter User Guide The dimensions of modules assembled together with and without interface adapters are given in the Modicon Momentum l O Base User Guide 33001466 06 2011 37 Adapter 38 33001466 06 2011 Module Description 33001466 06 2011 39 Module Description 40 33001466 06 2011 Structure of the 170 AEC 920 Overview The following chapter provides an overview of the hardware structure of the fast counter module 170 AEC 920 Details of the wiring of the module and the signal assignments are described What s in this Chapter This chapter contains the following topics Topic Page Internal Connections and Meaning of Signals 42 Wiring and Examples 45 LED Status Indicators 51 Technical Data 52 Selecting a Momentum Adapter 56 Selection of Terminal Blocks 57 33001466 06 2011 41 Description of Module Internal Connections and Meaning of Signals O Unit The figure below shows the internal connections of the I O unit counter 1 counter 2 digital inputs ic 2 Ni L bi NO Ai Bit Zit Ci AS B2 Z2 C2 D a a er Ta o VER es m jet d
59. ference number 9 with an invalid value Status Bits High Bytes Input Words 1 and 2 Bits 8 15 D8 A_1 A_2 D9 CHI_B D10 ECP B D11 EC B D12 EP_B D13 13 16 D14 12 15 D15 11 14 The following states are reported using these bits 1 Input count A1 A2 5 V or A1 A2 24 V is set to 1 signal 1 Counter has been correctly configured i e both counters have been initialized for either the absolute or incremental encoder A O signal indicates an incorrect operating mode or different encoder configuration 1 Enable software to freeze count value has been set 1 Enable software for counters has been set 1 Enable acceptance of software at preset value has been set 1 Hardware input freeze counters is set to 1 signal 1 Hardware input enable counters is set to 1 signal 1 Hardware input accept preset value is set to 1 signal 92 33001466 06 2011 Status Messages and Count Values Status Returned Words 3 and 4 Input Words 3 and 4 Reference numbers and the bit parameter status of the counters are sent to the PLC in input words 3 and 4 Return values for counter 1 are sent in input word 3 The bits have the following meaning high byte return value low byte reference numbers bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Meaning of the signals Sign
60. g Modes Operating Modes for Absolute Encoder Absolute Encoder with SSI Protocol Absolute encoders with SSI protocol can also be connected to both counters of the 170 AEC 920 00 A mixed operation with incremental encoders and absolute encoders is not possible The functions that deviate from the incremental encoder only are described below NOTE In operating modes C D and E the input filter must be switched off Counter Resolution The resolution of the two count channels is either 12 24 or 25 bit This corresponds to decimal values from 4096 to 33 554 431 The following operating modes are possible with absolute encoders e C Counting with a resolution of 12 Bit Single turn Encoder e D Counting with a resolution of 24 Bit Multi turn Encoder e E Counting with a resolution of 25 Bit Multi turn Encoder Encoder Offset With the encoder offset the absolute position value of the encoder can be shifted This shift is only permissible within the maximum encoder resolution The defined offset is added to the current actual value through an 0 gt 1 edge on Bit E P To make the absolute value of the encoder the machine zero point the current actual position is transferred negated as the offset for the encoder Through the addition of absolute value and offset carried out in the module the actual value stands now at zero SSI Synchronous Serial Interface With the transfer of the absolute position the absolute pos
61. g gate full cycle During the gate opening time the counter counts internal time cycles that it generates according to a definable time base This time base is entered as a coded value that also specifies whether the counting gate is opened over the full or half cycle Five different time bases with a full and half cycle respectively are available 10 different codes altogether The time base internally generated time interval should be 10ms The period to be measured is simulated via digital output 3 frequency output with a 50ms time interval The following settings are generated from this e operating mode 9 counter 1 as period meter e time base 2 10 ms full cycle e Output 3 is a frequency output with a 50 ms interval and generates the counting gate 50ms in 50ms out 100ms gate opening time in a full cycle NOTE In period meter mode the preset mode and the digital inputs have no function Only the frequency output function is available for the digital outputs 24 single ended signals are present in this example Therefore only the 20 kHz filter needs to be activated As no signals are connected to counter input B and Z the line break monitoring needs to be disabled Wiring e output 3 with count input A1 clamp 2 15 with clamp 3 1 e A1 with the group of digital outputs clamp 2 1 with clamp 3 11 e A 1 kOhm resistance from output 1 to the group 136 33001466 06 2011 Application Examples Example of
62. gned function of the PLC counter force D4 QIi_F 1 activate forcing for digital output Q1 D5 specifies the valence of the output Q1 33001466 06 2011 67 Output Words This bit defines the valence of the digital output Q1 for forcing O output inactive 1 output active 24 V 1 activate forcing for digital output Q2 D7 determines the valence of the Q2 output D5 Q1 D6 Q2_F D7 Q2 This bit defines the valence of the digital output Q2 for forcing O output inactive 1 output active 24 V Bit 8 to Bit 11 for Operation Modes Output Words 1 and 2 Bit 8 to bit 11 for operation modes output words 1 and 2 Operation Bit Type of Function Mode Hex 111098 Encoder 0 0000 Channel not ready parameter reset back output 0 1 0001 pulse Down counter 2 0010 pulse Up counter 3 0011 corresponds with operation mode 0 4 0100 ink Up down counter path evaluation 1 1 logic 5 0101 ink Up down counter path evaluation 1 4 logic 6 0110 pulse Difference counter Counter input A upwards Counter input B down 7 0111 pulse Up down counter Counter input A up down Counter input B direction 1 up O down 8 1000 pulse Pulse counter with external time base e g for speed counter rate of flow etc a with external clock on the counter input B as time base or b frequency output Q1 Q3 as time basis on counter input B 68 33001466 06 2011 Output
63. icro sec half period U U NOTE Half period means the measurement of a series of pulses from positive to the next negative edge 33001466 06 2011 29 Operating Modes Operating Mode A Frequency Meter with 5 Time Bases In this operating mode the number of pulses per unit of time is measured Various time bases can be selected according to the frequency to be measured There are 5 time bases available from 0 1 ms to 1000 ms NOTE The time base should be chosen to achieve the desired accuracy and ensure the measuring time of the counter is not exceeded Full as well as half periods can be measured depending on the process e Full period means the measurement of a frequency from positive to positive edge of the time base e Half period means the measurement of a frequency from positive to negative edge of the time base Pulse diagram for full and half periods Frequency measurement over a complete period da paid EN ll il N L UL intemal time baset Complete period Frequency measurement over a half period counter input A frequency to be measured ji intemal time baset UUW UU LUDO k Half period 30 33001466 06 2011 Operatin
64. igital output Q1 D8 D11 Output configuration of the digital output Q2 D12 D15 Bit and signal representation of output word 3 output configuration output configuration reference numbers for set data for Q2 for Qi bit 15 14 13 12 11 10 9 8 T 6 5 4 3 2 1 0 signal Dis D14 D13 D12 D11 Dio D9 D8 L_ED D D5 D4 D3 D2 D1 DO reserved behavior Qi to Q4 on bus interruption monitoring of the counter inputs A B Z for an line break 0 active default 1 inactive to be used with encoders with 24 Y single ended signals Output word 4 is used to specify the following functions for counter 2 The meaning of the parameters which will be transferred to words 7 and 8 is specified using the reference numbers for set data DO D3 D4 D5 and D6 are reserved D7 behavior of the counter during line break of the count inputs Output configuration of the digital output Q3 D8 D11 Output configuration of the digital output Q4 D12 D15 74 33001466 06 2011 Output Words Bit and signal representation of output word 4 bit signal out ut configuration for Q4 output configuration reference numbers for set data or Q3 D11 D10 D9 DB L_ED D DS D4 D3 D2 D1 Do reserved monitoring of the counter inputs A B Z for an line break 0
65. in detailed indications as to the nature of the error at the counter input through the error word This can be e error in the supply voltage for the encoder e running over or under the measuring range 22 33001466 06 2011 Operating Modes e faulty encoder e faulty encoder connection These errors are reported through the input word See Status Messages and Count Values see page 89 Receiving the Preset Value into the Counter Preset Mode With the preset value preset the counter can be loaded with a freely definable value from the PLC The acceptance of the preset value is dependent on the preset mode as well as the digital inputs In this case digital input 1 is assigned to counter 1 and digital input 4 is assigned to counter 2 The following preset modes are available Preset Mode Function 0 No preset value 1 The preset value is accepted with a positive edge at the digital input Preset 2 The preset value is accepted with a negative edge at the digital input Preset 3 The preset value is accepted with a rising edge of the hardware input Preset The counter has stopped The counter starts again with the falling edge of the hardware input 4 The preset value is accepted with a positive edge during upward counting or with a negative edge during downward counting on the digital input Preset 5 The preset value is accepted with a negative edge during upward counting or with a positive
66. ition data is transferred to a clock specified by the counter synchronously beginning with the most significant bit MSB The length of the data word may be 12 bit with single turn encoders and 24 or 25 bit with multi turn encoders Evaluations of parity bits or power failure bits are not provided 33001466 06 2011 31 Operating Modes Clock signal cycle for data format a nxT T T 4 Microseconds rt u AA A ee l n n 1 x n 2 n 3 Y 3 2 X 1 MSB LSB Each clock signal edge triggers the transmission of a data bit The clock signal frequency is specified by the module and amounts to 250 kHz Clock signal and data signals stand at level 1 when non operative The current measurement is saved with the first falling edge The data transmission occurs with the first rising edge After transmission of a data word the data output stays at level O until the absolute encoder is ready for another measurement request t This time is dependent on the absolute encoder being used and amounts to approximately 30 microseconds 32 33001466 06 2011 Operating Modes Count Channel for Counting Functions with Absolute Encoders Absolute Encoder Function Display The configured links for software and hardware show the correlations for absolute encoders IN_1 without function interface to
67. le for pulse counter with time base operation mode 8 0 invalid PE bit is set 1 complete cycle 2 half cycle at respective count input Bx hex B Time base in ms for clock output 1 2 EXP 32 only for pulses at digital outputs Q1 3 only for half cycles hex C Reserved hex D to hex F Reserved value corresponds to reference number 0 86 33001466 06 2011 Output Words File Format of Set Data Incremental Encoder Set data for incremental encoder e The resolution of the set data amounts to only 24 bits plus sign 16 777 216 to 16 777 215 e Modulo values only have a resolution of 24 bits without sign 0 to 16 777 215 Representation of bits from output words 5 7 and 6 8 output words 5 7 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 set data for counter 1 2 Be output words 6 8 bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Mt set data for counter 1 2 sign unusable Absolute Encoder The resolution of the set data amounts to a maximum of 25 bits without sign 0 to 33 554 431 This is dependent on the encoder resolution from 0 to 4 095 with 12 bits from 0 to 16 777 215 with 24 bits Resolution for 12 and 24 bits output words 5 7 12 bit resolution bit 15 14 13 E 10 9 8 7 6 5 4 3 2 1
68. line break monitoring of the counter inputs The following applies 0 line break monitoring active 1 line break monitoring disabled 76 33001466 06 2011 Output Words NOTE For encoders with a 24 DCV signal level single ended bit L_ED must be set to 1 to disabled line monitoring Configuring the Digital Outputs Various functions can be assigned to the digital outputs 4 bits are available for configuration for each output e counter 1 output Q1 bit 8 11 in word 3 e counter 1 output Q2 bit 12 15 in word 3 e counter 2 output Q3 bit 8 11 in word 4 e counter 2 output Q4 bit 12 15 in word 4 The Functions of the Digital Outputs Output Words 3 and 4 The following is a table of the functions that can be assigned to the digital outputs Bits 1110 9 8 Function control of counter 1 digital outputs Q1 3 Bits 15 14 13 12 Function control of counter 1 digital outputs Q2 4 hex 0 0000 Outputs carry 0 signal hex 1 0001 Output is set to 1 signal and remains saved if count value threshold value 1 hex 2 0010 Output is set to 1 signal and remains saved if count value threshold value 2 hex 3 0011 Output is set to 1 signal if counter enabled output becomes 0 if count value threshold value 1 saving hex 4 0100 Output is set to 1 signal if counter enabled output becomes 0 if count value threshold value 2 saving hex 5 0101 Output is s
69. lue is equal to the threshold value 1 saving Output 0 Q3 is set to O signal if the count value is equal to the threshold value 2 saving 80 33001466 06 2011 Output Words Function hex 5 output behavior count value threshold value 2 Y M2 threshold value T ee een Le innen Q 13 Hex 6 and Hex 8 Output Behavior Output Q1 is set to 1 signal if the count value gt the threshold value 1 The output is set to O signal if the count value lt the threshold value 1 Output Q2 is set to 1 signal if the count value gt the threshold value 2 Output Q2 is set to O signal if the count value lt the threshold value 2 33001466 06 2011 81 Output Words Function hex 6 and hex 8 output behavior count value threshold Yale 2 2 tao A a ea eS rs a ne threshold value 1 L 3 3a u 2h 5 A a EF Hex 7 and Hex 9 Output Behavior Output Q1 3 is set to 1 signal if the counter is enabled and count value lt threshold value 1 The output is set to O signal if the count value gt the threshold value 1 Output Q1 Q3 is set to 1 signal if the counter is enabled and count value lt threshold value 2 The output is set to O signal if the count value gt the threshold value 2 82 33001466 06 2011 Output Words Function hex 7 and hex 9 output behavior count value A
70. n Te D El D D D DO O NS e L R E HO E counter enable accept default value 1 A fast blow encoder supply Ai 2M 2L 33001466 06 2011 113 Application Examples Solution Setting Parameters The parameters for the counter are set in 7 steps setting the operating mode and preset mode sending the preset value sending the threshold value 1 configuring output 2 sending the threshold value 2 setting the software enable setting the counter to the preset value setting the hardware enable Noo ROD These steps are explained below Step 1 Setting the Operating Mode and Preset Mode The operating mode 2 and the preset mode 1 are set This is done via output word 1 Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 400 104 400 105 400 106 400 107 o 0 0 0 0 0 400 108 Input word Input Word Return Value 300 101 220 hex 300 102 300 103 800 hex 300 104 300 105 300 106 300 107 300 108 114 33001466 06 2011 Application Examples Step 2 Sending the Preset Value The preset value 100 is sent Output words 3 and 5 are also used for this All the other entries remain Output word Output Word Entry 400 101 1200 hex 400 102 0 400 103 81 hex 400 104 0 400 105 100 dec 400 1
71. n on If the value 0 is exceeded during down counting the count value jumps to the modulo value Only positive modulo values are acceptable NOTE The repeating function can be activated for each operating mode by the transfer of a positive modulo value reference number 7 The operating modes C D and E for absolute encoders are exceptions Frequency Measurements In this operating mode frequencies up to 200 kHz can be measured The time base can be varied in a range from 0 1 ms to 1000 ms Period Measurements In this operating mode the duration of a period can be measured To do this the pulses are counted for the duration of the gate time Various time bases can be selected according to the duration of the period There are 5 time bases available from 1ms to 10 000 ms Clock Output Pulse Generator Pulses generated through the module can be distributed through the outputs Q1 counter 1 and Q2 counter 2 Pulses with a pulse width of 1 ms up to 1000 s can be distributed See Operating Mode 8 Impulse Counter with Time Base RPM Measurement see page 27 Incremental Path Evaluation Path evaluation with incremental encoders occurs according to the counting procedure The measuring system must therefore be reset after switching on or voltage loss accepting preset values The encoder then transmits a reference signal zero impulse In order to identify the direction of spin while turning forward or backward the encoder sen
72. n word 400105 Otherwise you would overwrite the value for threshold value 1 Output word Output Word Entry 400 101 1200 hex 400 102 0 108 33001466 06 2011 Application Examples Step 4 Setting the Software Enable Output Word Entry 400 103 A783 hex 400 104 0 400 105 200 hex 400 106 0 400 107 0 400 108 0 Input word Input Word Return Value 300 101 200 hex 300 102 300 103 803 hex 300 104 300 105 300 106 300 107 300 108 The counter s software enable is now set This occurs in output word 1 All the other entries remain Output word Output Word Entry 400 101 1203 hex 400 102 0 400 103 A783 hex 400 104 0 400 105 200 hex 400 106 0 400 107 0 400 108 0 33001466 06 2011 109 Application Examples Input word Input Word Return Value 300 101 5A00 hex 300 102 300 103 803 hex 300 104 300 105 300 106 300 107 300 108 Step 5 Hardware Enable Enable the counter by setting binary input 2 Output 1 is now active Every pulse at counter input 1 is counted The current count value is in register word 300 105 The counter can be reset to O by a 0 gt 1 edge at digital input 1 preset value 0 110 33001466 06 2011 Application Examples 8 2 Up Counter with Preset Value Overview This sec
73. ned for counter 2 but Q3 instead of Q1 and Q4 instead of Q2 with digital outputs 66 33001466 06 2011 Output Words Enable Software and Filter Output Words 1 and 2 Bits 0 4 With bits O 4 the following functions are enabled DO E P 1 Enable acceptance of preset value preset The preset value will be accepted after it has been enabled by the software with an edge at the hardware input 11 14 Di lt E C 1 Enable counters The counter is enabled with a 1 signal on the hardware input 12 15 after being enabled by the software D2 E_CP 1 Freeze count value enable capture The count value is frozen with an edge at the hardware input 13 16 after it has been enabled by the software After the frozen count value has been accepted it will be transmitted as the actual value to the PLC until the bit E_CP is reset again through the software After being reset the actual value of the counter is transmitted Pulses which enter the count input after the count value has been frozen continue being counted internally D3 El_F 1 Activating the input filter of the count inputs Through activating the input filter the input frequency of the counter is limited to lt 20 kHz NOTE It is necessary to activate the filter in order to prevent disturbances for 24V single ended pulse encoders Force the Digital Outputs Output Word 1 and 2 Bits 3 7 The digital outputs can be switched on or off independently from the assi
74. nts We welcome your comments about this document You can reach us by e mail at techcomm schneider electric com 33001466 06 2011 7 33001466 06 2011 Function Overview Overview This part of this manual provides a brief overview of the structure application and What s in this Part various operating modes of the 170 AEC 920 00 fast counter module This part contains the following chapters Chapter Chapter Name Page 1 Introduction 11 Description of the Operating Modes 17 TSX Momentum Adapter 35 33001466 06 2011 Overview 10 33001466 06 2011 Introduction Overview This chapter contains a short overview of function mode and application range What s in this Chapter This chapter contains the following topics Topic Page Introduction 12 Function Mode and Application Range 14 33001466 06 2011 Introduction Introduction General Information about the 170 AEC 920 00 Counter The 170 AEC 920 00 I O unit is used for fast counting operations and conforms to the system properties of the Modicon Momentum family With the addition of a bus or CPU adapter it forms an operating module In this book the mode of operation of the 170 AEC 920 00 is described introduction current chapter description of the operating modes see page 17 hardware description of the 170 AEC 920 00 unit see page 41 counter configuration se
75. odes no presetting is necessary to enable the outputs 0 The preset value has not been accepted Mode 4 or 5 and the outputs have not been enabled or an invalid operating mode was selected D12 ECPP 1 The function freeze count values has been activated D13 ECP 1 The function enable counters has been activated D14 PP 1 The function accept preset value is performed by the counters D15 RCVA 1 The first count cycle in operating modes 8 pulse counter 9 period measurement or A frequency measurement is complete 94 33001466 06 2011 Status Messages and Count Values Actual Values for Counters 1 and 2 Input Words 5 6 and 7 8 The current encoder values actual data are placed in input words 5 and 6 for counter 1 or 7 and 8 for counter 2 Therefore each counter has two words 1 double word at its disposal NOTE Only the counters feedback data is sent in input words 5 6 or 7 8 It is not possible to review previously sent set data The parameter values are not sent back to the bus adapter Current Values for the Incremental Encoder Resolution with without sign e The resolution of the feedback data amounts to only 24 bits plus sign 16 777 216 to 16 777 215 e f a modulo value is entered the resolution amounts to a maximum of 24 bits without sign 0 to 16 777 215 Representation of actual values input words 5 7 bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
76. or digital outputs Q1 4 available Turn on voltage 1L for digital outputs Q1 4 unavailable Supply voltage for encoder 2L 5 30V available Supply voltage for encoder 2L 5 30 V 4 unavailable Input status depending on the LED input input point active i e 1 signal on the input logic ON Input status depending on the LED input input point inactive i e O signal on the input logic OFF Output status one LED per digital output output active i e 1 signal on the output logic ON Output status one LED per digital output output inactive i e O signal on the output logic OFF Digital outputs overloaded one LED per output short circuit or overload of the corresponding output LED meaning LED Status ready green off 1L green off 2L green off Top row green IN 11 16 off OUT row green 13 16 off Bottom red row 13 10 Outputs Q1 Q4 function as normal 33001466 06 2011 51 Description of Module Technical Data General Information General information for the 170 AEC 920 00 Type of module 2 quick counters 10 200 kHz Supply voltage encoder supply starting voltage 24 VDC Input current 6 mA at 24 VDC Type 1 or Type 2 Max load current 0 5 A Output ID Code for Interbus 0633 hex1587 dec Supply voltage 20 24 30 VDC Current consumption ty
77. outputs are disabled by an error message If the count value returns within the SW limit switch value the SOR_E bits switches from 1 to O and the outputs resume their original status 1 Aline break has occurred at counter input A B or Z Only count input A is monitored by the absolute encoder 1 The time supervision for sending absolute data from the encoder has responded This error occurs as a result of a line break or inadequately set parameters for encoder resolution It is only possible to reset the bits using a 0 gt 1 edge of the SW release bits E_C 1 Reasons for faulty parameters for counter 1 could be e Invalid operating mode 3 B e The incremental encoder parameters are set for one channel and the absolute encoder for another channel e The wrong output configuration was selected function E F for output Q1 Q3 functions D E F for output Q2 Q4 e In output function D for Q1 Q3 0 was selected as the time for the frequency output e Invalid reference number D 1F was selected for the set data 33001466 06 2011 91 Status Messages and Count Values e In operating mode 8 pulse counter with external time base no relevant mode was selected for the duration of the period reference number A with an invalid value e In operating mode 9 period meter no valid time base was selected reference number 8 with an invalid value e In operating mode A frequency meter no valid time base was selected re
78. pe 200 mA at 24 VDC max 350 mA Power loss 4 W typical 6 W maximum Digital Inputs Help Inputs Layout of inputs Encoder supply 24 V type 30 V max Number of Inputs 6 Number of groups 2 Input 3 for every counter with the functions a accept preset value b Enable counter c Freeze count value Type of signal True High IEC 1131 Type 1 Signal level for 1 signal 11 30 VDC Signal level for 0 signal 3 5 VDC Input current min 2 6 mA for 1 Signal max 1 2 mA for 0 Signal Voltage range for inputs 3 30 VDC Surge Surge 45 Vp for 10 ms Input delay output counter max 1 ms off to on max 1 ms on to off 52 33001466 06 2011 Description of Module Counter Inputs for Pulses Digital Outputs Layout of counter inputs Input types 5 VDC differential RS422 or 24 VDC single ended IEC 1131 Type 2 Count range incremental 24 Bit plus sign 16 777 216bis 16 777 215 absolute 25 Bit 0 to 33 554 431 5 VDC differential Maximum count frequency 200 kHz Input voltage for 1 signal minimum 2 4 VDC Input current for 1 signal gt 3 7 mA Input voltage for O signal maximum 1 2 VDC Input current for O signal lt 1 mA at 1 2 VDC 24 VDC single ended Maximum count frequency 10 kHz Input voltage for 1 signal minimum 11 VDC Inpu
79. ple for incremental encoders RS 422 counter 1 counter 2 digital inputs G G A A N AGEE L A nf DA 2 N gt gt 33 t QO SN Nada AI Bi Zit CH A2 B2 Z2 C2 kl BT C l ig M L 1 D D D jay Ya D D ns D D D RB g 315 mA fast Hlom g A1 Bi1 Zi C1 A2 B2 Z2 C2 il iL Qi Q2 Q3 Q4 1M il 2 m m m D D D D m oO R E D RB R 5A tast blowl 2M 2L A2 B2 Z2 1M 1M 2M 2L 3 p m B B D D a a a a u a Lt M1 freeze court valuej counter enable 1 A fast blow LR LL accept default value FE encoder supply Ad Ai Bi Bi Zi Zi 2M inoremental encoder 2l 48 33001466 06 2011 Description of Module Installation for use as 24 V pulse encoder for A B and R line counter 1 counter 2 digital inputs oO A A AL GOE E a e Ak NE gt gt 33 Ide Al Bd Zi Ci A2 B2 Z2 C2 H 12 la 4 ls 16 M L 1 ia D D D D D D D D S D je D a a 315 m fast Hlow g Ai B1 Zi C1 A2 B2 Z2 C2 i il 01 Q2 Q3 Q4 1M il 2 a 1 D D D D D D D S R D D a a el 5 A fast Hlo 3 a Bit Y gt 2L Azt B2 zz 2M 2l M 1M 1M K x 2M 2L freeze count valug 2 LCN counter enable N Ui 4 accept default value
80. rd data block 1 word Reference number 2 word Set point value High word 3 word Set point value low word NOTE The data structure par_arr is composed of 10 data blocks Each data block has 3 words the reference number the setpoint value low word and the setpoint value high word 102 33001466 06 2011 Application Examples Overview The following chapter contains typical applications outlining configuration and associated wiring What s in this Chapter This chapter contains the following sections Section Topic Page 8 1 Up Counter Mode 2 104 8 2 Up Counter with Preset Value 111 8 3 Up Counter with Internal Clock Pulse 119 8 4 Pulse Counter with External Time Base 127 8 5 Period Meter with Internal Time Base 135 33001466 06 2011 103 Application Examples 8 1 Up Counter Mode 2 Overview This section described the application of the 170 AEC 920 00 counter module as an up counter in mode 2 with a 24 V impulse encoder What s in this Section This section contains the following topics Topic Page Example 1 105 Solution 107 104 33001466 06 2011 Application Examples Example 1 Up Counter with 24 V Impulse Encoder Mode 2 Task specification counter 1 as up counter Counter enabling via hardware input 2 Reset via hardware input 1 0 gt 1 edge Start value of the counter is 0
81. re set To simplify open project creation the functions of the output words for each bit will be explained What s in this Chapter This chapter contains the following topics Topic Page Configuration 62 Summary of the Output Words 65 Configuring Output Words 1 and 2 66 Configuring Output Words 3 and 4 74 Data in Output Words 5 6 and 7 8 86 File Format of Set Data 87 33001466 06 2011 61 Output Words Configuration Output Words The eight output words for the counter are sent from the bus master to the I O module with the following configuration data Address 4x Output word 1 15 14 13 12 11 10 9 8 76 5 14 3 2 1 0 Configuration for counter 1 Address 4x 1 Output word 2 1514 1312 m lnl a s 7 6 5 4 3 2 110 Configuration for counter 2 Address 4x 2 Output word 3 15 14 13 12 1 10 9 elle i5 14 3 2 1 0 Configuration of the digital outputs Reference numbers for set data and Q1 Q2 for counter 1 Open circuit monitoring counter 1 Address 4x 3 Output word 4 las 32 as 12 11110 s s BEE o Configuration of the digital outputs Reference numbers for set data and Q3 Q4 for counter 2 Open circuit monitoring counter 2 Address 4x 4 Output word 5 Low word 15 114 13 12 11 1 10 1 9
82. red by connecting the terminal blocks only after first assembling the adapter When the I O unit is connected to the power supply electrical voltages are present Make sure that there is no voltage present while the I O unit has no adapter Failure to follow these instructions can result in injury or equipment damage 56 33001466 06 2011 Description of Module Selection of Terminal Blocks Overview For the connection of encoders as well as sensors and actuators to the I O unit suitable terminal blocks must be acquired These can be found in the TSX Momentum I O Base User Guide 33001466 06 2011 57 Description of Module 58 33001466 06 2011 Configuration Overview This part deals with the configuration of the fast counter module 170 AEC 920 00 The DFB block AEC is described and a configuration example is given for each operating mode What s in this Part This part contains the following chapters Chapter Chapter Name Page 5 Configuration of Output Words 61 6 Status Messages and Count Values 89 7 Parameter Setting of the AEC Block 97 8 Application Examples 103 33001466 06 2011 59 Configuration 60 33001466 06 2011 Configuration of Output Words Overview By setting parameters for the output words the counting functions output configuration and default values for the count channels of the 170 AEC 920 00 module a
83. rrent count word counter 1 low part Address 3x 5 Output word 6 High word 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Current count word counter 1 high part Address 4x 6 Input word 7 Low word 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Current count word counter 2 low part Address 4x 7 Output word 8 High word 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Current count word counter 2 high part NOTE A detailed description of word functions can be found in Status Words see page 89 The DFB block is provided to simplify project creation using the 170 AEC 920 00 module 33001466 06 2011 63 Output Words NOTE A detailed description of the AEC block can be found in DFB Description see page 97 64 33001466 06 2011 Output Words Summary of the Output Words The 8 Output Words 8 output words are available for the configuration of the two counters of the 170 AEC 920 00 Summary of the function of the output words Output Word Function 1 Configuration bit for counter 1 Configuration bit for counter 2 Configuration of outputs set data for counter 1 Configuration of outputs set data for counter 2 Set points for counter 1 Bit O 15 Set points for counter 1 Bit 16 31 os O Qn El OIN Set points for counter
84. s must be followed Failure to use Schneider Electric software or approved software with our hardware products may result in injury harm or improper operating results Failure to observe this information can result in injury or equipment damage O 2011 Schneider Electric All rights reserved 33001466 06 2011 Table of Contents Part I Chapter 1 Chapter 2 Chapter 3 Part Il Chapter 4 Part Ill Chapter 5 Safety Information xs e e x x x x cece ee eee eee About the Book ss see Function Overview lt e e e e Introduction s Re ee Be TR RY ai Introduction TT Function Mode and Application Range rennen Description of the Operating Modes Overview of the Operating Modes 0 000 cece eee eee Common Counter Properties 222222222 Count Channel for Count Functions with Pulse and Incremental Encoder Operating Modes for Pulse and Incremental Encoders Operating Modes for Absolute Encoder sasaaa aarne Count Channel for Counting Functions with Absolute Encoders TSX Momentum Adapter sse s s e e x e e cece eee eee TSX Momentum Bus Adapter 0 0 0 c eee ee eee CPU Adapters and Interface Adapters of the TSX Momentum Module Description oooooooooo Structure of the 170 AEC 920 ooooooooooo o Internal Connections and Meaning of SignalS Wiring and Examples e e x
85. s section contains the following topics Topic Page Example 4 128 Solution 130 33001466 06 2011 127 Application Examples Example 4 Pulse Counter Mode 8 with External Time Base Task specification The number of pulses per time interval is to be counted This time interval need not be fixed but can vary In this example it is one second The pulses to be counted are on digital output 1 and the counting gate on digital output 3 This results in the following settings operating mode 8 counter 1 as pulse counter complete period Output 1 is a frequency output with e g a 5 ms cycle 5 ms in 5 ms out and simulates the counter pulse Output 3 is a frequency output with a 500 ms cycle 500 ms in 500 ms It simulates the time base of 1s with the complete period setting Counting then proceeds from one positive edge to the next NOTE In pulse counter mode the preset mode and the digital inputs have no function Only the frequency output function is available for the digital outputs 24 single ended signals are present in this example Therefore only the 20 kHz filter needs to be activated Wiring Example for Pulse Counter Wire output 1 with count input A1 clamp 2 13 with clamp 3 1 output 3 with count input A1 clamp 2 15 with clamp 3 2 A1 with the group of digital outputs clamp 2 1 with clamp 3 11 B1 and the group of digital outputs clamp 2 2 with clamp 3 12 each 1 kOhm of re
86. sistance from output 1 and 3 to the group 128 33001466 06 2011 Application Examples Example of wiring for pulse counter complete period with external time base counter 1 counter 2 digital inputs oo ar eee S555 Nada Ad Bit Zi Cit A2 B2 Z2 C2 Ep AR Is l4 g l O Qa el D D D D D je D D u D D D D aZ 315 m _fast blow E Ai Bi Zi Ci A2 B2 Z2 C2 il L Qi Q2 Q3 Q4 1M al Te O Pease sn o oa El va D dn D l 5 A fast blow AA Bi Z4 2M 2L A2 B2 Z2 2M NE 1M 1M 1M 1M 2M 2L iat lt O ORC er O m AA IR 2 A a E El 1kQ 1kQ 33001466 06 2011 129 Application Examples Solution Setting Parameters The counter parameters are set in these 5 steps 1 setting the operating mode and activating the 20 kHz filter 2 configuring output 1 as a frequency output for the count frequency and disabling the line break monitoring 3 configuring output 3 as a frequency output for the time base 4 sending the complete period id 5 setting the software enable These steps are explained below Step 1 Setting the Operating Mode and Activating the 20 kHz Filter Set the operating mode 8 and the 20 kHz filter This occurs in the output word word 1 Output word Output Word Entry 400 101 808 hex 400 102 400 103 4
87. t current for 1 signal gt 6mA Input voltage for O signal 3 5 VDC Input current for O signal lt 2 mA at lt 5 VDC Layout of outputs Output type Semi conductor Switching voltage 20 24 30 VDC Number of outputs 4 Number of groups 2 Switching current max 0 5 A Output Type of signal True High Leakage current lt 0 5 mA at 24 VDC Voltage drop when on lt 0 5 VDC at 0 5 A Overload protection Outputs are protected against overloading and short circuits Error display 1 red LED per output row 3 for short circuits overloading 33001466 06 2011 53 Description of Module Error message Error message I O error for the bus adapter if the module is defect self test by the I O unit Output delay for resistive load max 0 1 ms 0 gt 1 max 0 1 ms 1 gt 0 Maximum operation cycles 1 000 h inductive load 100 s resistive load 8 s Lamp load at 2 4 W Definable functions See Protective Measures Certifications and Mechanical Structure see page 54 Clock output for absolute encoder Output type 5 VDC differential RS 422 Output voltage for 1 signal gt 2 VDC Output current for 1 signal gt 20mA NOTE If the outputs Q1 and or Q3 are used as frequency outputs the load must be at least 1kOhm Protective Measures Certifications and Mechanical Structure Potential isola
88. time base in ms for pulse at digital outputs Q1 3 only for half cycles 33001466 06 2011 75 Output Words Default Values D5 D6 CLOA D7 L_ED Reference 43210 Function Number hex C 01100 Reserved hex DtoF 01101 Reserved corresponds to reference number 0 01111 A HW or SW reset must be carried out to disable the functions Value 0 is a valid parameter and does not disable this function If no command data has been defined no reference number selected the following default values are assigned to the command data Function Default values Preset value or SSI offset value 0 Threshold values 1 and 2 not active upper and lower software limit switch not active Pulse width of the digital outputs in ms Value 0 no output pulse Modulo value Value 0 function not active Period meter and frequency meter without time base Mode for pulse counter complete period Pulse counter with time base in ms without time base Line monitoring encoder active Q digital outputs inactive Bit D5 is currently not used This bit is used to determine whether the outputs are disabled after communication is interrupted CLOA 0 or whether the module continues to process the outputs CLOA 1 This function is only defined in the register for counter 1 and is effective for both channels This bit can be used to disable
89. ting mode There are thirteen operating modes available 5 V 24 V Counter Inputs Encoders with 5 V differential signal RS 422 as well as encoders with 24 V signal single ended can be connected to the module Preset Value Preset With the preset value preset the counter can be loaded with a freely definable value from the PLC The acceptance of the preset value is dependent on the preset mode as well as the digital inputs In this case digital input 1 is assigned to counter 1 and digital input 4 is assigned to counter 2 If no preset value is transmitted from the PLC then 0 is applied as the preset value in the counter Software Limit Switch The operation range of the counter can be specified with the upper and lower software limit switch If the limits of the software limit switch are exceeded the digital outputs will be switched off and an error message will be generated The software limit switches are only active after the parameters for the upper and lower software limit switch have been transferred Freeze Current Counter Value Capture Function With this function the current counter value is relayed into an additional register The counter operates independently of this function This function is particularly useful for measuring pulses or paths The counter value is frozen after enabling through software Bit E_CP and through an edge at hardware input 13 for counter 1 and 16 for counter 2 After the frozen counter val
90. tion between each other and against PE digital I O signals counter inputs clock outputs Supply voltage 500 VAC for 1 min Safety devices Internal none External Supply voltage L 315 mA fast blow with bus adapter External Sensor and actuator supply1L Depending on the design of the current consumption of the connected sensors and actuators max 5 A fast blow External Encoder supply 2L Depending on the design of the current consumption of the connected encoder max 1 A fast blow EMC for industrial use Resistance to disturbance IEC 1131 surge voltage in the network supply 500 V 12 Ohm Emissions EN 50081 2 Certifications UL CUL CSA CE 54 33001466 06 2011 Description of Module Mechanical structure Width 125 mm Depth without adapter 40 mm Height 141 5 mm without or with single bus bar 159 5 mm with double bus bar 171 5 mm with triple bus bar Weight 240 g 33001466 06 2011 55 Description of Module Selecting a Momentum Adapter Bus CPU Adapters Choose an appropriate bus or CPU adapter for your application and assemble it according to the instructions in the Modicon Momentum l O Base User Guide 4 CAUTION ELECTRIC VOLTAGES PRESENT Unplug the terminal blocks before separating the adapter from the I O unit The I O unit will be then be dead This can be ensu
91. tion described the application of the 170 AEC 920 00 counter module as an up counter with a 24 V pulse encoder and preset values What s in this Section This section contains the following topics Topic Page Task Specification 112 Solution 114 33001466 06 2011 111 Application Examples Task Specification Up Counter with 24 Volt Pulse Encoder and Preset Value Task specification Counter enabling via hardware input 2 Reset via hardware input 1 0 gt 1 edge Start value of the counter is 100 Threshold value 1 is 200 Threshold value 2 is 300 value 2 is reached e Output 1 remains unused Counter 1 as up counter with preset value Output 2 turns on when threshold value 1 is reached and turns off when threshold 112 33001466 06 2011 Application Examples Wiring example for up counter with pulse encoder 24 V counter 1 counter 2 digital inputs A A N SS8EE C A N Los oy gt gt 33 00 W NC C Ai Bit Zit Ci A2 B2 22 C2 Te la 4 ls i M Ly 1 D e 0 D D D D D D D D D m D a i 315 mA fast blow T Ad Bi Zi Ci A2 B2 Z2 C2 1l il Qi Q2 Q3 Q4 1M il 2 T zj D D D oO D D D D D R ia D L L 5A fast blow j AED M 2L AS B2 Z2 2M 2L 1M 1M 1M 1M 1M iM 2M 2L 3
92. ttings 97 103 presets 17 61 103 S specifications 41 status words 89 T terminal blocks 41 W wiring precautions 41 33001466 06 2011 143 Index 144 33001466 06 2011
93. ue is accepted it is transferred to the PLC in actual values until the Bit E_CP is reset by the software After being reset the actual value of the counter is transmitted 20 33001466 06 2011 Operating Modes Pulse diagram of freezing counter value Event Processing pulse PL LI LI LI LI SW enable counter HW enable counter 12 14 SW enable E CP counter value freeze by AEC detected actual value to PLC transferred actual value The user has the option of assigning event controlled functions to the outputs The d igital outputs are set when the defined event has occurred The following events can be defined counter value threshold value 18 counter value gt threshold value 18 counter value lt threshold value 18 counter value gt threshold value 1 and lt threshold value 2 Further information can be found in Reference Numbers for Set Data Output Words 3 and 4 Bits 0 4 see page 75 The terms used in this book are explained below 33001466 06 2011 21 Operating Modes Definition of term maximum up down counting range current value output on request gt l current value gt of upper software limit switch current value gt threshold value 2
94. ull period 0 no time base 1 1 2 10 3 100 4 1 000 5 10 000 micro sec half per 9 1 A 10 B 100 C 1 000 D 10 000 micro sec A imp Frequency meter with 5 time bases for full or half period whole period O no time base 1 0 1 2 1 3 10 4 100 5 1 000 ms half period 9 0 1 A 1 B 10 C 100 D 1 000 ms B corresponds with operation mode 0 C abs Path evaluation with single turn encoders SSI 12 bit resolution abs Path evaluation with multi turn encoders SSI 24 bit resolution abs Path evaluation with multi turn encoders SSI 25 bit resolution F Software Reset In this instance both counters are always set back regardless of the operation mode for counter 1 or 2 being invoked NOTE Explanation of encoder type inc incremental encoder abs absolute encoder 18 33001466 06 2011 Operating Modes imp impulse encoder NOTE 0 3 and B are not really operating modes The counter is in Zero Status that is in a determinated and stable status and it is inactive 33001466 06 2011 19 Operating Modes Common Counter Properties Counter Types The two counters of the 170 AEC 920 00 I O unit can only be operated as a group either with incremental pulse or absolute encoders Counter Resolution The resolution of the counter is 24 bit maximum signed corresponding to decimal values of 16 777 216 16 777 215 The count range used is defined through the opera
Download Pdf Manuals
Related Search
Related Contents
HB 548.13 manual de instrucciones Chamberlain 248735S 3/4 HP Garage Door Opener User Manual User Manual - Escoglobal.com Blanco 157-065 User's Manual EA818GN ミニグラインダー 取扱説明書 - 作業中 FICHA TÉCNICA AB-2 Kramer Electronics PT-580T Samsung HMX-H100P Manual de utilizare ZSVS-2 Copyright © All rights reserved.
Failed to retrieve file