Home

140 EHC 105 00 High Speed Counter Module for Modicon TSX

image

Contents

1. Common M10 M10 Common Ue A om m OUT5 OUT7 NC _NC_ q jO _NC_ g Ne Gp Mi 49 M2 Ga M13 Mi Ms IN2 22 IN4 ING IN8 0 82 69 G6 88 40 M4 Return LOLOS i Ml OUT4 OUT6 OUTS US24 i 24 VDC Figure 29 Wiring for example 3 differential counter 66 Configuration Examples 5C1 5C2 5C3 5C4 To M13 505 24 VDC le 24C1 be 24C2 24 VDC Pulse Generator 24C3 2404 24 VDC amp Pulse Generator 24C5 C4 l IN1 pane INS 24 VDC INS To M14 IN7 20 3 3 3 gt q 20 Width 185 mm Height 230 mm Schematic for Example 3 Differential Counter VAR 1 EBUA 0 Operating Mode 3 Operating Mode Counter 3 VR3 1 Counting Direction Actual Value 7 IN2 O c LS3 AND Load and E O OUT1 Start Output Set Point 1 IN3 O VA13 11 B Set Point 1 IN4 O OR VA1E3 O OUT2 AND A INS O AND Restart O OUT3 S
2. No 1 No 2 No 3 No 4 No 5 No 6 No 7 No 8 rCounter Counter 1 r Outputs r Preceded Signal 1 Invert Clock X Input No 1 for Clock Enable Output No 1 y Invert Clock Watchdog Time x 0 18 0 r Preceded Signal 2 r Preceded Setpoint Output No 2 fi Invert Value 1 11 Value 2 5 rFinal Signal Inputs A Invert rLoad Start or Restart Output No 3 Logic Between Start Inputs OR Dynamic Final Signal aa Input No 6 InputNo InputNo Output No 4 Invert rOutputs Switch Off Input No 8 Input No InputNo Pulse Width x 0 02 s 20 OK Cancel Help Figure 17 Concept dialog screen counter 1 example Table 8 Quantum I O map terminology explanations Term Meaning Inversion of Inputs Select inversion of all discrete inputs IN1 IN8 Selection of the individual counters Invert Clock Select inversion of the counter inputs Input No 1 for Clock Select Input 1 to enable counter Enable Clock Watchdog Time x Counter Watchdog time setting in 0 1s steps 0 1s 0 disables counting pulse monitoring Preceded Setpoint If relative Output Set Point mode is selected output Set Point Values Relative are relative to the Final Set Point Value Requirement for that E S gt VA1 gt VA2 gt 0 Absolute If absolute Output Set Point mode is selecte
3. Configuration Examples 60 3 2 4 2 Dynamic Final Signal Pulse Width x0 02 s 20 Note Check the other counters with their default output assignement because multiple usage is prohibited Enter the first and second Preceded Setpoint Preceded Set Points value 1 11 value 2 5 Configuration of Final Signal Value and counter characteristics see above From the Data Reference Screen for this counter select the 4x register defined on page 49 l O Map screen and specify Set Point Value Specify Final Signal Value E S2 400105 30 LD see also page 31 Output structure Specify counter characteristics Enter repetitive counter 0101 counting up 0000 400101 register 0050 hex mode see also page 31 relative Set Point 0001 with user program 400100 register 0010 hex relative Configuration Examples Enter the Final Signal Value E S as 32 bit value with user program 20 3 2 5 Software Settings using Modsoft 20 Width 185 mm Height 230 mm O Map screen refer to example 1 page 51 Counter 2 I O Configuration For Inputs Fl Bin GoTo F2 F3 F4 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 3 of 10 Head Slot 0 Drop 1 Slot 8 CoP EE INPUTS next screen for counter 2 output settings Input Signal counts on Ne
4. r Preceded Signal 2 r Preceded Setpoint Output No 2 y Invert Value 1 11 Value 2 5 rFinal Signal Inputs Invert rLoad Start or Restart Output No 3 Logic Between Start Inputs OR y Dynamic Final Signal Input No InputNo InputNo Output No 4 Invert r Outputs Switch Off Input No InputNo InputNo Pulse Width x 0 02 s 20 OK Cancel Help O Configuration Counter 3 see above You must stop the controller before configuring the module Use the following selections to configure the counter Counting pulse 3 with falling edge no inversion no cross active high Counter Watchdog Time x0 1s 0 Input 3 for Counter Enable ist not selected no cross Load start or restart and output switch off assignments Logic Between Start Inputs OR There is no Input selected for load start or restart counter There is no Input selected for output switch off Output assignments features dialog screen Enter OUT1 for Preceded Signal 1 no inversion no cross Configuration Examples Enter OUT2 for Preceded Signal 2 no invers
5. 140 EHC 105 00 20 3 1 20 Width 185 mm Height 230 mm 3 Configuration Cabling Shielded twisted pair cable is to be utilized for pulse generator connection to the counter inputs JE LIYCY 2 X 2 X 0 5 Order no 424 234 035 JE LIYCY 5 X 2 X 0 5 Order no 424 238 059 The shield should have a short connection lt 20 cm with ground at one cable end Be sure not to install the cabling together with power lines or other similar sources of electrical disturbance Clearance gt 0 5 m Input connecting cables bulk JE LIYCY 2 X 2 X 0 5 twisted pair Order no 424 234 035 JE LIYCY 5 X 2 X 0 5 twisted pair Order no 424 238 059 Note Pay attention to cable length dependencies upon transmitter frequencies and output type 140 EHC 105 00 97 98 Table 14 Max cut off frequencies in respect to transmitter output type and cable length Transmitter Output Push pull driver NPN driver open collector NPN driver open collector SN 75 176 line driver 140 EHC 105 00 Circuit Diagram 80 mA 1KQ 10090 Transmitter Output Level VDC Cable Length m Max Transmitter Frequency kHz 20 3 2 Connection and Signal Allocation I O Block 3 2 1 20 Width 185 mm Height 230 mm Wiring diagram for 5Cx counter inputs 140 EHC 105 00 M11
6. r Drop Module Modules 5 Bits In 224Bits Out 240 Bits In 192 Bits Out 208 Status Table ASCII Port none Delete Params Clear Prev Next Cut Copy Paste Slot Module Detected In Ref In End Out Ref Out End Des 1 CPS 214 00 DC PS 24V 2 CPU x13 0x CPU 1xMB 3 DDI 353 00 100001 100032 DC IN 24V 4 DDO 353 00 000001 000032 DC OUT 2 5 6 7 sts EHC 105 00 OK Cancel Help Poll Counter 1 I O configuration 140 EHC 105 00 r Inversion of Inputs No 1 No 2 No 3 No 4 No 5 No 6 No 7 No 8 rCounter Counter 1 y rOutputs rPreceded Signal 1 Invert Counter X Input No 1 for Counter Enable Output No M y Invert Counter Watchdog Time x 0 15 0 r Preceded Signal 2 r Preceded Setpoint Output No 2 Invert Value 1 11 Value 2 5 rFinal Signal Inputs Invert rLoad Start or Restart Output No 3 Logic Between Start Inputs OR y Dynamic Final Signal Input No 6 Input No InputNo O
7. 83 Appendix A Module Description 00 cece eee eee eee 87 140 EHC 105 00 High Speed Counter Module Description 89 A 105 MIR ae EEE 107 000000 20 Contents V Breite 185 mm H he 230 mm Vi Contents 000000 20 Symbols Terminology Abbreviations Throughout this manual the following visual aids highlight important and or special information gt Note Important useful or interesting information is shown as a note A Caution Cautions alert the reader of a possible hazard to the equipment or the pro duct and then point out the propper procedure to avoid the hazard Cautions also gi ve the reader important instructions or strong suggestions to avert adverse conse quences Warning Warnings alert the reader of a possible hazard to personnel and then point out proper procedure to avoid the hazard ES Expert This symbol is used when more detailed information is given and is intended exc lusively for experts special training required Skipping this information does not interfere with understanding the publication and does not restrict standard application of the product A Tip This symbol is used for Tips Tricks el gt Path This symbol is a popup in the helptexts this means you can click on it 2 In software documentation this symbol tells you how to select the described menu commands and dialog boxes The steps are always given starting from the main menu In EF
8. M12 M13 M14 The Mxx terminals also apply for 24 M15 VDC transmitters O SOSE EEE EIOISIEI I Figure 38 5 VDC counter inputs 501 5 VDC Counter 502 Input Signals C1 C5 503 da 564 er 505 5 VDC To M11 M15 The terminals 29 and 30 are internally connected 140 EHC 105 00 99 100 3 2 2 Wiring diagram for 24Cx counter inputs The Mxx terminals also apply for 5 VDC transmitters 140 EHC 105 00 M11 M12 M13 M14 M15 O E V OOO Figure 39 24V counter inputs 140 EHC 105 00 24C1 24 VDC Counter 24C2 Input Signals C1 C5 24C3 24C4 2405 24 VDC To M11 M15 The terminals 29 and 30 are internally connected 20 3 2 3 Wiring diagram for discrete inputs and outputs US24 M4 Return 140 EHC 105 00 N C 2 4 5C1 N C 4 3 5C2 N C 6 5 5C3 N C No Connection NC_ 8 7 504 N C 9 5C5 M11 412 aD 24C1 M12 43 24C2 M13 a 3 2403 HA 17 eat The terminals 29 and 30 M15 24C5 are internally conne
9. 1 signal VA2E4 D11 1 signal 300100 register E SE4 D11 1 signal All outputs switches off Out 5 6 7 8 Counter s actual value 0 Enter 1 signal on discrete input IN4 pin 24 counter enable This enables the counter 4 Counter 4 counts the pulses at counter input 4 at actual value 5 OUT5 switches on for 2 sec at actual value 11 OUT6 switches on for 2 sec at actual value 30 OUT7 switches on for2 sec and the timed output OUT8 also switches on for 2 sec Note The register signals from counter 4 have following states at actual value 5 VA1E4 switches off at actual value 11 VA2E4 switches off at actual value 30 E SE4 switches off If the counter has not reached the Final Set Point Value Final Signal Value the outputs OUT5 OUT8 can be switched off with an external 1 signal connected to input IN8 or through the 400102 register BEA4 bit with D2 1 resp 00A4 hex since the operating mode must be retained That means all outputs and the input status word bits 300100 register D11 300101 register D3 and D11 switche to 0 signal See also page 20 Figure 10Operating mode A A restart is possible through discrete input IN7 and a rising edge at the 400102 register ST4 bit D1 resp OOA1 hex provided that the Final Set Point Value actual value 30 in our example has not been reached You can Restart only after output switch of
10. 3 3 7 Example 3 Timing Diagram Counter Clock Input 3 AN AAA Pulse Input Signal Counter Clock Input 4 Pulse Input Signal LS3 Actual Difference Value A E S3 Value VA13 Value Counter VARS Value Actual Value 0 7 Output Set Points may Y be Crossed Several Times 1 VAIES _ 1 4 4 I ne Counter Outputs E SE3 __ DE SE3 DE SES3 pulse width can be specified in the Concept Modsoft dialog creen Figure 32 Differential counter with parallel set point cutoffs VR 1 20 Width 185 mm Height 230 mm Note If pulses continue to appear at counter inputs 3 4 after reaching the Final Set Point Value 0 the pulses will also be counted and displayed as the current actual value in the 300106 register as a 32 bit value When the counter is reset Load Start the counting value is set to 30 and the outputs became active again Note If the counter s operating mode counting direction switch off behavior or type of Set Point are changed while the counter s output signals are active the output will be deactivated and the new changes will take effect Configuration Examples 73 3 4 Example 4 Event Counter Up Absolute with Timed Set Point output activation mode A 3 4 1 Specifications This application describes using the counter 4 as an event counter with Timed Set Point output activation counting up to 30 counts See the following specification for conter 4 Setpoint Linke
11. Index Switch off behavior EBUA description 6 T Terms Modsoft Concept 3 Timed Final Set Point DE SEx description 10 V Value ranges Dif Counter 22 Event counter 17 Rep counter 26 WwW Watchdog Timer description 8 000000 22
12. LS Differential current value 4 E S value VA1 value Counter Va2 value Actual Value 0 VA1E Counter VA2E Outputs if configured E SE _ DE SE DE SE pulse width can be specified in the Concept Modsoft dialog screen Figure 13 Differntial counter with parallel output activation counts down VR 1 Figure 12 and Figure 13 Differential counter with parallel set point cutoffs VR 0 are typical timing diagram that do not take into account the following signals BEAx Further information you will find on page 12 STx Further information you will find on page 12 24 Introduction to the EHC 105 20 1 3 2 2 Operating mode 4 Differential counter with relative Output Set Point Value and serial output activation Counter Input 1 3 LINN ILL Age Counter Input 2 4 Pulse Input Signal LS Differential current valueA E S value Counter Value from E S VA2 Actual Value Value from E S VA1 07 Y VAIE 1 Counter VA2E Gale if configured E SE _ DE SE DE SE pulse width can be specified in the Concept Modsoft dialog screen Figure 14 Differ
13. Invert Counter Input No 2 for Counter Enable Output No 1 O Invert Counter Watchdog Time x 0 1s 0 r Preceded Signal 2 r Preceded Setpoint Output No 2 fi Invert Value 1 11 Value 2 5 rFinal Signal Inputs Invert rLoad Start or Restart Output No 3 Logic Between Start Inputs OR 7 Dynamic Final Signal Input No 2 Input No 4 InputNo Output No 4 y Invert rOutputs Switch Off Input No 8 Y Input No InputNo Pulse Width x 0 02 s 20 OK Cancel Help I O Configuration see above You must stop the controller before configuring the module Use the following selections to configure the counter Counting pulse 2 with falling edge no inversion no cross active high Counter Watchdog Time x0 1s 0 Input 2 For Counter Enable is not selected no cross Load start or restart and output switch off assignments Logic Between Start Inputs OR Enter IN2 as load start or restart input no inversion no cross Enter IN8 as output switch off no inversion no cross Output assignments features dialog screen Enter OUT1 for Preceded Signal 1 no inversion no cross Enter OUT2 for Preceded Signal 2 no inversion no cross Enter OUTS for Final Signal no inversion no cross Enter OUT4 for Dynamic Final Signal no inversion no cross
14. i T IN2 O c LS2 AND Load and O OUT1 Start Output Set Point 1 IN3 O O VA12 11 B Set Point 1 IN4 O O OR VA1E2 10 OUT2 A AND INS O O AND Restart HO OUT3 as Output Set Point 2 VA22 5 Set Point 2 F BEA2 VA2E2 O OUT4 IN6 O O E OR Forced O Output A HO OUTS IN Switch Off Final Set Point Value D E S2 30 IN8 O Final Set Point HO OUT6 Le SW E SE2 O Counter Enable 2 OR IN o Counter Watchdog Time HO OUT7 Wy AND Counter Input Timed 2402 O Final Set Point Counting Pulse 2 E DE SE2 HO OUT8 5c2 0 4 Pulse Width Figure 26 Circuit diagram Caution Do not use outputs OUT1 OUT4 with other counters as such multiple useage is prohibited 58 Configuration Examples 20 3 2 4 Software Settings using Concept 3 2 4 1 20 Width 185 mm Height 230 mm O Map screen refer to example 1 page 49 Counter 2 I O Configuration 140 EHC 105 00 r Inversion of Inputs No 1 No 2 No 3 No 4 No 5 No 6 No 7 No 8 rCounter Counter 2 y p Outputs r Preceded Signal 1
15. 2 CPU x13 0x CPU 1xMB 3 DDI 353 00 100001 100032 DC IN 24V 4 DDO 353 00 000001 000032 DC OUT 2 5 z 6 as 7 eae EHC 105 00 9 2 10 way 11 12 OK Cancel Help Figure 16 Configuration using Concept Table 7 Drop editor terminology explanations see above Term Meaning Clear Drop Configuration deletion for all slot resident modules Delete Module Deletion of the selected module Params Starts the configuration dialog see next screen Slot Selects the slot for module entry Module Starts the module configuration dialog Detected Modules recognized on line In Ref State RAM initial address for input In End State RAM calculated end address for input Out Ref State RAM initial address for output Out End State RAM calculated end address for output Description Short module description OK Accepts all inputs Width 185 mm Height 230 mm Configuration 2 2 2 2 Configuration of counter characteristics under Concept The following EHC 105 settings are selected with the Concept dialog screen 140 EHC 105 00 r Inversion of Inputs
16. 30 resp 2 exp 31 1 Counting pulse error counter timeout value expired sc Discrete output short circuit or overload E SEx 1 Input Status Word 2 VA1Ex 1 VA2Ex 1 External power failure discrete outputs Final set point signal on counter x is 1 Signal First Set Point signal on counter x is a 1 Signal Second Set Point signal on counter x is a 1 Signal Note Output inversions E SEx VA1Ex VA2Ex are not used on the corresponding bits in status words 1 and 2 Introduction to the EHC 105 29 30 1 4 2 Output Structure Table 4 State RAM output structure CPU gt EHC 105 word addressing 4x Regi Relative Content ster Address 4x 000 Output Control Word 1 4x 1 001 E Output Control Word 2 4x 2 002 PY Output Control Word 3 4x 3 Stop value for VR1 0 Final Set Point Value E S1 4x 4 High Word Initial value for VR1 1 Final Set Point Value E S1 4x 5 Stop value for VR2 0 Final Set Point Value E S2 4x 6 High Word Initial value for VR2 1 Final Set Point Value E S2 Counter 3 4x 7 007 Low Word Stop value for VR3 0 Final Set Point Value E S3 4x 8 High Word Initial value for VR3 1 Final Set Point Value E S3 Counter 4 4x 9 009 Low Word Stop value for VR4 0 Final Set Point Value E S4 4x 10 High Word Initial value for VR4 1 Final Set Point Value E S4 Counter 5 4x 11 Stop value for VR5 0 Final Set Point Value
17. Enter the Final Set Point Value E S as 32 bit value with user program E S2 400105 30 LD see also page 31 Specify counter characteristics as Enter repetetive counter 0101 counting up 0000 400101 register 0050 hex mode see also page 31 relative Set Point 0001 with user program 400100 register 0010 hex relative Configuration Examples 20 3 2 6 Step 1 Effect Effect 20 Width 185 mm Height 230 mm Start Counter 2 Start the controller then from module data reference screen Load start counter Activate High discrete input 2 pin 22 Enter LS2 bit in 400101 register DO 1 resp 0051 hex with user program see also page 31 Output structure The outputs switch to 1 signal and the counter s actual value is set to 0 300101 register VA1E2 D1 OUT1 1 signal VA2E2 D9 OUT2 0 signal 300100 register E SE2 D9 OUT3 0 signal 300104 register counter s actual value 0 Note The counter input is inherently enabled as there has been no discrete input assigned Counter 2 counts the pulses at counter input 2 at actual value 19 30 11 OUT1 switches off and the OUT2 switches on at actual value 25 30 5 OUT2 switches off and the OUT3 switches on at actual value 30 OUT3 switches off and OUT1 switches on and the Timed Final Set Point Dynamic Final Signal ou
18. OUT6 OUTS Anan ni n 85 i Ben 67 unt Jae US24 M4 Return ane 24 VDC Figure 33 Wiring for example 1 event counter Configuration Examples 75 3 4 3 Schematic for Example 4 Event Counter 4 VAR 1 EBUA 0 Operating Mode A Operating Mode Counter 4 7 VR4 0 Counting Direction Actual Value a IN2 O LS4 AND Load and O OUT1 a Start Output Set Point 1 97 N3 O O7 VA14 5 B Set Point 1 IN4 O OR VA1E4 O 0 ouT2 A AND INS O AND Restart O4 0 0UT3 STA Output Set Point 2 VA24 11 Set Point 2 BEA4 VA2E4 O O OUT4 F IN6 O O E OR Forced Lo Output OUT5 N7 O O Switch Off Final Set Point Value D E S4 1N8 O Final Set Point _ Le sw E SE4 HO OUT6 Counter Enable 4 OR IN4 Counter Watchdog Time 4 O OUT7 0 HW AND Counter Input Timed 2404 O Final Set Point a Counting Pulse 4 t DE SE4 ours 5C4 Pulse Width O 100 Figure 34 Circuit diagram A Caution Do not use outputs OUT1 OUT4 with other counters as such multiple useage is prohibited 76 Configuration Examples 20 3 4 4 Software Settings using Concept 3 4 4 1 20 Width 185 mm Height 230 mm O Map screen refer to exa
19. Output structure absolute Set Point 0000 with user program 400100 register 0000 hex Configuration Examples 20 3 4 5 Software Settings using Modsoft 20 Width 185 mm Height 230 mm O Map screen refer to example 1 Example 4 I O Configuration For Inputs GoTo Quit F4 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 7 of 10 Head Slot 0 Drop 1 Slot 8 COUNTER 4 INPUTS next screen for counter 1 output settings Input Signal counts on Neg Transition Use Input 4 for Counter enable Yes Counter 1 Watchdog Time 0 DEC 0 1sec Output Setpoint 1 Value 1 5 DEC Output Setpoint 2 Value 2 11 DEC Counter Starts or Restarts Input A 7 Input B NONE Input C NONE Logic function for inputs to START RESTART Counter OR Freeze Counter s register for PLC update and Switch Outputs off with or Input E NONE or Input F NONE Invert Control Inputs applies to all five count ers No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO Page up down for prev next screen For Outputs Fl Dec Bin GoTo Quit F2 F3 F4 1 O Map Module Editor F7 Lev8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 8 of 10 COUNTER 4 cont Head Slot 0 Drop 1 Slot 8 OUTPUTS Prev Screen for this counter s 4 input settings WARNING DO NOT SELECT THE SAME OUT
20. ST1 With a 1 signal at BEA1 the actual value will latch the counting continues in an internal memory of the module Is there on BEA1 a 0 signal the counting of the actual value continues with the current contents of the memory Is there on ST1 a rising edge the outputs switche on depended from the actuale value to the EHC 105 20 Counter Input 1 HW Counter Enable IN1 Load Start or Restart IN6 LS1 BEA1 ST1 Output Switch Off IN8 With hardware input configuration Load Start Restart Output Switch Off and Counter Enable MI Sara Signal not inverted 7 not inverted a 7 al Le not inverted Actual Value IW E S Value VA2 Value VA1 Value 0 VA1E1 VA2E1 E SE1 DE SE1 Counter Actual Value Counter _ Outputs if configured DE SE1 pulse width can be specified in the Concept Modsoft configuration dialogs Figure 5 Counter 1 diagram as event counter parallel absolute with output function non inverted and counting up 20 Width 185 mm Height 230 mm Note The discrete input evaluation for Load Start or Restart is AND ed with the LSx resp STx signal The LSx and STx signals operate edge controlled Note The Output Switch Off discrete inputs have the same function as the BEAx bit The AND condition is tru
21. Table 6 Start up assignments for discrete I O Counter 1 2 2 25 30 3 Counter 2 Load and Start mee AJO Restart is Pulse 2 5C2 24C2 3 13 E SE2 OUT2 Counter 3 LS3 Load and Start IN3 23 ST3 Restart IN3 23 BEA3 Counting Pulse 3 5C3 24C3 5 15 VA2E3 OUT7 E SE3 OUT3 Counter 4 ENEE 24 ST4 Restart as 2 ms Pulse 5C4 24C4 7 17 E SE4 OUT4 34 Introduction to the EHC 105 20 20 Width 185 mm Height 230 mm Table 6 Start up assignments for discrete I O Counter Input Output Discrete Signal Pin Assignments Counter 5 Load and Start 25 Counting Pulse 5 5C5 24C5 9 19 LS5 IN5 ST5 Restart IN5 25 N8 BEAS 28 VA2E5 OUT8 38 E SE5 OUT5 35 Introduction to the EHC 105 35 36 Introduction to the EHC 105 20 Chapter 2 Configuration Hardware and Software Prerequisites Configuration Steps 20 Configuration 37 Width 185 mm Height 230 mm 38 2 1 Hardware and Software Prerequisites PC for Concept Modsoft Software package Concept gt version 2 0 or Modsoft gt version 2 4 CPU EXEC gt version 2 0 Quantum System with any CPU refer to Quantum Reference Guide 840 USE 100 00 cS Note Althought this module is also supported with Modsoft 2 32 version 2 4 or greater is required The screens described in this document come from version 2 4 This module i
22. VA2E Set Point 2 E SE Final Set Point and DE SE Timed Final Set Point Note The default outputs are not inverted The default assignment refer to page 34 chapter1 6 Start up characteristics Warning Do not select the same output OUT1 OUT8 with more than one Set Point Even if Modsoft allowed you to do that such multiple use is prohibited Such double assignments lead to unpredictable process states and are particularly difficult to diagnose 10 Introduction to the EHC 105 20 1 2 3 1 2 3 1 1 2 3 2 1 2 4 Priority 1 Priority 2 Priority 3 gt 20 Width 185 mm Height 230 mm Output Set Point Mode Absolute Relative The Output Set Point is configured once for all module counters The module operates in absolute or relative Output Set Point Mode Absolute Output Set Point Mode In this mode the value entered in the Concept Modsoft screen is the actual Output Set Point Relative Output Set Point Mode In this mode the Output Set Point is the difference between the entered value in the Concept Modsoft screen and the Final Set Point Value Start and Stop Function Priority Rankings The prioritazing of signals to start or stop a counter is as follow Forced Output Switch Off active for BEAx 1 state RAM OR one of the configured discrete inputs as 1 Load start counter active for LSx 1 state RAM AND a TRUE evaluation of the configured discrete inputs Restart cou
23. 1st WORD 32 Counter 1 Final Set Point Value E S1 2nd WORD 32 Counter 2 Final Set Point Value E S2 3rd WORD 32 Counter 3 Final Set Point Value E S3 4th WORD 32 Counter 4 Final Set Point Value E S4 5th WORD 32 Counter 5 Final Set Point Value E S5 Note Further information see chapter 1 4 2 starting page 30 Output Structure Concept EHC 105 Derived Data Types 85 86 Concept EHC 105 Derived Data Types 20 Appendix A Module Description 20 Module Description 87 Breite 185 mm Hohe 230 mm 88 Module Description 20 140 EHC 105 00 High Speed Counter Module Description The following hardware specific details are presented here for the EHC 105 counter module Module View Features Operations Configuration Technical Specifications 140 EHC 105 00 89 Width 185 mm Height 230 mm 90 140 EHC 105 00 140 EHC 105 00 Figure 37 EHC 105 module front view Positions of the User Accessable Parts Color Code LED Status Display 1 O Block Mounting Screws 1 0 Block Terminal Block Label Inlay Inner Side 1 0 Block Cover Standard Size Module Housing OoNOUPOD 20 4 1 1 20 Width 185 mm Height 230 mm Features The EHC 105 module is a high speed counter with the following features Counted value processing for 5 pulse generators counter inputs isolated from one another 5 VDC fmax 100 kHz fo
24. 2 and differential counter modes 3 and 4 operating modes the restart command is only possible after an output switch off BEAx The restart command is not possible in the repetitive counter mode 5 velocity counter modes 6 and 7 and event counter with fast output switch off modes 8 and 9 operating modes The functions can be chosen in the Concept I O mapping list with the Params button or through the Modsoft configuration screens Every input is assigned a green LED in the LED status display Discrete Outputs The module has 8 discrete outputs All outputs are short circuit and overload proof Imax 500 mA and have potential isolation in respect to the inputs and back plane I O bus The outputs can be assigned the following functions First Set Point timed for mode A Second Set Point timed for mode A Final Set Point timed for mode A Timed Final Set Point with choice of pulse width Output signal states can be inverted The functions can be chosen in the Concept I O map with the Params button or through the Modsoft configuration screens Display green LEDs refer to LED Status Display Short circuit of one or more outputs leads to a fault message the red LED F lights As soon as the short circuit has been neutralized the outputs can be returned to normal operation per collective reset signal Q Note At power up back plane 5
25. 2 page 22 differential counters Quantum System Bus Monitoring A system active signal is activated on the Quantum system bus If the CPU fails all outputs are set accordingly and the green ACTIVE status LED turns off The status of the outputs in the event of a communication failure between the controller and the EHC 105 can be selected through the EBUA output register bit 4x 1 signal The current output state is retained 0 signal All employed outputs are set to 0 level US24 Power Monitoring If the external 24VDC power supply fails during operation the green P LED turns off and is shown in the module status byte and the red F LED turns on If the power goes on again the P LED turns on and the F LED turns off An Output Switch Off is not triggered for a running counter The discrete output OUT1 OUT8 status displays 1 gt to SP turn off independent from the defined output logic Introduction to the EHC 105 33 1 6 EHC 105 Start Up Characteristics At EHC 105 start up all actual values are cleared to 0 outputs are deactivated i e VA1E VA2E E SE 0 and the counters are defaulted to up event counters with absolute Output Set Point Values VAR 0 and outputs in timed control mode operating mode A Outputs are set to 0 EBUA 0 on controller communications failure with the EHC105 By default all counters are enabled
26. Counter Inputs 92 EHC 105 Discrete Inputs 92 EHC 105 Discrete Outputs 93 EHC 105 Features 91 EHC 105 Functional Details 96 EHC 105 Gate Inputs 92 EHC 105 Input Functions 92 EHC 105 Inputs Counter Inputs 92 Discrete Inputs 92 Functions 92 Gate Inputs 92 Transmitter Inputs 92 EHC 105 Module Description 89 EHC 105 Output Functions 93 EHC 105 Outputs Functions 93 EHC 105 Technical Specifications 102 EHC 105 Transmitter Inputs 92 EHC 105 Voltage Supply 91 EHC 105 Working Voltage 91 000000 22 Breite 185 mm Hohe 230 mm Example Differential Concept 68 Modsoft 70 Start 72 Event Concept 49 Modsoft 51 Start 53 Repetetive Concept 59 Modsoft 61 Start 63 Timed Event Concept 77 Modsoft 79 Start 81 F Final Set Point E SEx description 9 Final Set Point Value E Sx description 9 Forced Output Switch off BEAx description 7 Input description 6 L LED description 95 Load start counter LSx description 7 O Operating mode description 7 15 Operating modes 16 Output Set Point 1 VA1x description 8 Output Set Point 2 VA2x description 9 P Pulse width description 10 Index 107 R Relative absolute mode VAR description 6 Restart counter STx description 7 S Screens Concept 39 40 Modsoft 42 43 Set Point 1 VA1Ex description 9 Set Point 2 VA2Ex description 9 State RAM Input 28 Output 30 Status words 29 108
27. Event counter with relative Output Set Point Value and parallel Set Point activation Operating modes 2 and 9 Event counter with relative Output Set Point Value and serial Set Point activation Operation mode A Event counter with absolute Output Set Point Value and timed output activation Operation mode B Event counter with absolute Output Set Point Value and latched output activation The Differential Counter 0 0 cece cece cette teens Operating mode 3 Differential counter with relative Output Set Point Value and parallel output activation Operating mode 4 Differential counter with relative Output Set Point Value and serial output activation The Repetitive Counter Operating mode 5 0 cece eee eee The Rate Counter Operating mode 6 Or 7 0 0c cece eee eens State RAM Structure m 0 4 en a aaa Input Structure 2seessee seen nennen nennen nennen nenn QUIPUESTUCITS u aus aa ta carats a er aide eee hie Monitoring Capabilities oooooccocccocococrcnc ro Input Signal Monitering ner RR er ae Beeren hen Quantum System Bus Monitoring 22222222 nenne nenne nennen US24 Power Monitoring 00 0 eee eens EHC 105 Start Up Characteristics 0 ccc ccc tenes Contents IV Chapter 2 2 1 2 2 2 2 1 2 2 2 2 2 2 1 2 2 2 2 2 2 3 2 2 3 1 2 2 3 2 Chapter 3 3 2 1 3 2 2 3 2
28. NONE or Input F NONE Invert Control Inputs applies to all five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen For Outputs Dec Bin GoTo Quit Fl F2 F3 F4 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 2 of 10 COUNTER 1 cont Head Slot 0 Drop 1 Slot 8 OUTPUTS Prev Screen for this counter s 1 input settings WARNING DO NOT SELECT THE SAME OUTPUT WITH MORE THAN ONE SET POINT Set Point 1 Linked to Output NONE Invert NO Set Point 2 Linked to Output 6 Invert NO Final Set Point Linked to Output 1 Invert NO Timed Final Set Point Linked to Output NONE Invert NO Pulse Width for Timed Final Set Point x0 02 sec Invert Control Inputs applies to all five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen Figure 19 Modsoft ver 2 4 configuration dialog counter 1 example Configuration 43 Table 10 Modsoft ver 2 4 configuration dialog terminology explanations see above Term Meaning Terms Common to Input amp Output Screens F4 Selection of the individual counters 10 screen pages Page selection F7 Input Signal counts on Input Screen Terms Opening of YES NO fields Pos or Neg transition of counter enable input F1 F2 F3 Variable entry and display i
29. Set Point activations only applies to counters 1 and 3 the Set Point and actual values of counters 2 resp 4 are inactive Differential counter with serial Set Point activations only applies to counters 1 and 3 the Set Point and actual values of counters 2 resp 4 are inactive Repetitive counter Rate counter gate time t 100 ms oJ NIJA A default Rate counter gate time t 1 s Event counter with parallel Set Point activations and fast Final Set Point Event counter with serial Set Point activations and fast Final Set Point Event counter with timed on outputs the pulse width set ting holds for all employed outputs Event counter with latched Set Point outputs as operating modes A Counter x counts up Counter x counts down Counter x Output Switch Off Counter x restart controlled by rising edge Counter x load start controlled by rising edge Outputs retain their current state on communication errors Outputs go to 0 signal on communication errors Introduction to the EHC 105 31 32 Table 5 Output control word signal explanations Value hex Meaning Output Set Points values are relative for all counters Output Set Points values are absolute for all counters Acknowledgement for all counter channels after an output short circuit fault signal SC The red LED F extinguis hes Acknowledgement after power failure and counter errors ERR1 ERR5 and In
30. VDC all discrete outputs are inactive On master station failure all outputs are deactivated The outputs go to 0 with positive logic and 1 with negative logic 140 EHC 105 00 93 94 1 1 5 Counter 5 equivalent independently usable counters with the following functions are utilized 32 bit event counter with 6 modes 32 bit differential counter 2 configurable counter pairs with 2 modes 16 bit repetitive counter 32 bit velocity counter with 2 modes 1 1 6 Jumpers The module is delivered without jumpers The module s contact strips are only used for test purposes 140 EHC 105 00 20 20 Width 185 mm Height 230 mm LED Status Display LED Status Display Front View LED Numbering R ACTIVE F 1 gt C1 1 gt P gt 2 C2 2 gt 3 gt C3 3 gt gt 4 gt C4 4 5 gt C5 5 6 6 gt gt 7 7 8 8 gt Status displays R eady LED green lights when the module is ready firmware initialization has been completed P ower LED green lights when the US24 working voltage is present ACTIVE LED green lights as soon as the PLC communication becomes active LEDs 1 to 8 green display the signal states of the discrete inputs IN1 IN 8 LEDs 1 to 8 green display the signal states of the discrete outputs OUT1 OUT8 LEDs C1 to C5 green light with the cloc
31. Value 2 5 DEC Counter Starts or Restarts Input A 6 Input B NONE Input C NONE Logic function for inputs to START RESTART Counter OR Freeze Counter s register for PLC update and Switch Outputs off with or Input E NONE or Input F NONE Invert Control Inputs applies to all five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen For Outputs Dec Bin GoTo Quit F1 F2 F3 F4 1 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 2 of 10 COUNTER 1 cont Head Slot 0 Drop 1 Slot 8 OUTPUTS Prev Screen for this counter s 1 input settings WARNING DO NOT SELECT THE SAME OUTPUT WITH MORE THAN ONE Set Point Set Point 1 Linked to Output 1 Invert NO Set Point 2 Linked to Output 2 Invert NO Final Set Point Linked to Output 3 Invert NO Timed Final Set Point Linked to Output 4 Invert NO Pulse Width for Timed Final Set Point 20 x0 02 sec Invert Control Inputs applies to all five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen Figure 23 Modsoft dialog screen 52 Configuration Examples 20 3 1 5 2 Step 1 Effect Step 2 Effect 20 Width 185 mm Height 230 mm Configuration of Final Set Point Value and counter characteristics see above From the Data Reference
32. counter enable is selected Load start or restart and output switch off assignments Logic Between Start Inputs OR Enter IN7 as load start or restart input no inversion no cross Enter IN8 as output switch off no inversion no cross Output assignments features dialog screen Enter OUT5 for Preceded Signal 1 no inversion no cross Enter OUT6 for Preceded Signal 2 no inversion no cross Enter OUT7 for Final Signal no inversion no cross Enter OUT8 for Dynamic Final Signal no inversion no cross Configuration Examples 78 Dynamic Final Signal Pulse Width x0 02 s 100 Note Check the other counters with their default output assignement because multiple usage is prohibited Enter the first and second Preceded Setpoint Preceded Set Points value 1 5 value 2 11 3 4 4 2 Configuration of Final Signal Value and counter characteristics see above From the Data Reference Screen for this counter select the 4x register defined on page 49 l O Map screen and specify Set Point Value Specify Final Signal Value Enter the Final Signal Value E S as 32 bit value with user program E S4 400109 30 LD see also page 31 Output structure Specify counter characteristics Enter parallel timed event counter 1010 counting up 0000 400102 register OOAO hex see also page 31
33. gt Release 2 0 or Modsoft gt Re lease 2 4 Note The latest information can be found in the Concept README WRI file Vill Foreword 20 20 Width 185 mm Height 230 mm Chapter 1 Introduction to the EHC 105 The following topics will be reviewed Introduction Operational Characteristics EHC 105 Counter Types State RAM Structure Monitoring Capabilities Start Up Characteristics Introduction to the EHC 105 1 2 1 1 1 1 1 Introduction General The EHC 105 module is a high speed counter module for the Modicon TSX Quantum controller Counting frequencies of up to 100 kHz can be monitored depending upon cable length transmitter type and voltage refer to Modul description page 98 Table 14 The EHC 105 includes 5 independent counters each counter can be operated with either 5 or 24 VDC pulse input signals The counters can be operated in the following operating modes Event counter 32 bit with four distinct operating modes Differential counter 32 bit with two distinct operating modes Repetitive counter 16 bit Rate counter 32 bit with two distinct operating modes There are eight isolated discrete inputs and eight isolated discrete outputs 24 VDC level available These discrete I Os can be assigned to the various signals of the individual counters This module is software configurable with Con
34. means electronic or mechanical including copying processing or by online file transfer without permission in writing by Schneider Automation GmbH You are not authorized to translate this document into any other language 1997 Schneider Automation GmbH All rights reserved Chapter 1 h mk 0 NN O Na H gt gt WOOANHWNHHNDN ki w w u IN 1 3 1 3 _ lt a ho N mb b E E E Wo UN ON ARARO Don h o 000000 20 Breite 185 mm Hohe 230 mm Contents Introduction to the EHC 105 20ccce cence eee eees INtoduciON antracita ee eke Reeds ak General ana Aa la a aah Gatien nite Using Concept and Modsoft 0 ccc cece ect seen nennen Operational Characteristics o ooooooocoooonncrorn nennen nenn EHC 105 Counter Channel Principles 0000 seen eee Description of the Individual Signals 0 0c cece eee eee Output Set Point Mode Absolute Relative oooooooooo Absolute Output Set Point Mode 0ooococococcccococ eee ees Relative Output Set Point Mode 0 ccc cece o Start and Stop Function Priority Rankings ooocccccoccccccccco co Counting Direction Determination 000 cece cence ac Overview and Relationships of Counter Functionality Features EHC 105 Counter Types 0 0 c eee ee The Event Counter 0 0c ccc cece eect n eee eens Operating modes 1 and 8
35. must stop the controller before configuring the module Use the following selections to configure the counter Input Signal counts on neg transition Counter 2 Watchdog Time x0 1sec O Counter enable assignment to IN2 dialog screen 3 Use Input 2 for counter enable No Load start or restart and output switch off assignments dialog screen 3 Logic function for inputs to Start Restart Counter OR Enter IN2 as Counter Starts or Restarts no inversion Enter IN8 as Freeze Counter s register for PLC update and Switch Outputs off with no inversion IN8 Enter the first and second output Set Points dialog screen 3 Output Set Points value 1 11 value2 5 Output assignments dialog screen 4 Enter OUT1 for Set Point 1 no inversion Enter OUT2 for Set Point 2 no inversion Enter OUTS for Final Set Point no inversion Enter OUT4 for Timed Final Set Point no inversion Enter Pulse Width for Timed Final Set Point x0 02 sec 20 Note Check the other counters with their default output assignement because multiple usage is prohibited 3 2 5 2 Configuration of Final Set Point Value and counter characteristics see above From the Data Reference Screen for this counter select the 4x register defined in Figure 22 on page 51 and specify Set Point Value Specify Set Point Value
36. 15 Repetitive counter is a typical timing diagram that does not take into account the following signal BEAxFurther information you will find on page 12 STx has no effect in this operating mode refer to page 12 for further information 26 Introduction to the EHC 105 20 1 3 4 20 Width 185 mm Height 230 mm The Rate Counter Operating mode 6 or 7 The rate counter counts the number of pulses per unit time A unit time is specified with the choice of the operating modes 6 or 7 The read value is then saved as the actual value The determined actual value thus represents the pulse count per unit time and can be used to determine velocities flow rates or even revolutions Inputs and outputs are not processed in this counter type THe Watchdog timer function is not supported There are two operating modes for the rate counter These differ only in the prescribed internal gate time Operating mode 6 The gate time t amounts to 100 ms Operating mode 7 The gate time t amounts to 1 s Introduction to the EHC 105 27 28 1 4 State RAM Structure 1 4 1 Input Structure Table 2 State RAM input structure EHC 105 gt CPU word addressing 3x Registers Relative Ad dress Content s o A TEVE Input Status Word 2 Low Word High Word Counter 1 Actual Value Low Word High Word Low Word 3x 6 006 3x 8 008 Low Word 3x 10 010 3x 11 Hig
37. 2 2 Hardware Setup Install the EHC 105 module into the local backplane s slot 8 and secure it Install the module terminal strip and connect an external 24 VDC supply voltage pin 40 pin 39 Connect the Pulse input signal to pin 13 24VDC Module wiring can be found on the next page 56 Configuration Examples 20 140 EHC 105 00 N C 2 O 5C1 N C 4 3 5C2 N C 6 5 5C3 N C 7 5C4 N C 9 5C5 M11 24C1 az ES ee ies cranes M13 15 24C3 j M14 17 24C4 M15 24C5 5 M12 oe 3 an IL 4 IN4 23 IN3 24 VDC IN6 25 IN5 IN8 7 IN7 Common M10 M10 Common en OUT4 63 OUTS ae ze OUT6 35 OUT5 OUT8 G OUT7 US24 M4 Return ane 24 VDC Figure 25 Wiring for example 2 repetitive counter 20 Configuration Examples 57 Width 185 mm Height 230 mm 3 2 3 Schematic for Example 2 Repetitive Counter Counter 5 VAR 1 EBUA 0 Operating Mode 5 Operating Mode Actual Value VR2 0 Counting Direction Atid Vale
38. 3 3 2 4 3 2 4 1 3 2 4 2 3 2 5 3 2 5 1 3 2 5 2 3 2 6 3 2 7 Contents Configuration ua u a 00 an a eee 37 Hardware and Software PrerequisiteS oooooooooccocccocncacc mo 38 Configuration StepS 2 ccc tenets 38 Configuration Steps for Installation 0 cece cece eee eee 38 Configuration using Concept gt 2 0 00 39 Drop configuration slot and I O map 2 2222220 cee cece een ees 39 Configuration of counter characteristics under Concept 40 Configuration under Modsoft gt 2 4 006 eee 42 LO Map Screen baremo rta trate 42 Configuration of counter characteristics under Modsoft 43 Configuration Examples 2 00seeeeeee eee eens 45 Example 1 Event Counter Up with parallel Set Point output activation counter 1 mode 1 46 SPOECHICATIONS s sea sages cece ee nee 46 Hardware Setup ser en dee da dete eet ease ake 46 Schematic for Example 1 Event Counter 00 cece cence 48 Software Settings using Concept 000 c cece cece eee eee ane 49 O Configuration see above 6c ccc eects 50 Configuration of Final Signal Value and counter characteristics 50 Software Settings using Modsoft 006 c cece e cence eee eee 51 O Configuration see below oooccocccocccnnccr rennen 51 Configuration of Final Set Point Value and counter characteristics see abo
39. 30 2 exp 30 1 Note The value range allows the differential counter to also be used for continuous monitoring Introduction to the EHC 105 20 1 3 2 1 and parallel output activation Counter Input 1 3 Counter Input 2 4 LS Differential current value A E S value Value from E S VA2 Value from E S VA1 07 Y VA1E VA2E E SE DE SE Figure 12 Differential counter with parallel output activation counts up VR 0 20 Width 185 mm Height 230 mm DE SE pulse width can be specified in the Concept Modsoft dialog screen Operating mode 3 Differential counter with relative Output Set Point Value Pulse Input Signal Pulse Input Signal Counter Actual Value Counter Outputs if configured Introduction to the EHC 105 23 Continuation Operating Mode 3 Differential counter with relative Output Set Point Value and parallel output activation Counter Input 1 3 II DI Pulse Input Signal Counter Input 2 4 Pulse Input Signal
40. 707 982 22 140 EHC 105 00 High Speed Counter Module for Modicon TSX Quantum User Manual Version 1 01 840 USE 443 00 06 1997 E Merin Gern Schneider Electric Building a New Electric World Breite 185 mm BAhrs 25 mim H he 230 mm Data Illustrations Alterations Data and illustrations are not binding We reserve the right to alter products in line with our policy of continuous product development If you have any suggestions for improvements or amendments or have found errors in this publication please notify us using the form on one of the last pages of this publication Training Schneider Automation GmbH offers suitable further training on the system Hotline See addresses for the Technical Support Centers at the end of this publication Trademarks All terms used in this publication to denote Schneider Automation GmbH products are trademarks of Schneider Automation GmbH Allother terms used in this publication to denote products may be registered trademarks and or trademarks of the corresponding Corporations Microsoft and MS DOS are registered trademarks of Microsoft Corporation Windows is a brandname of Microsoft Corporation in the USA and other countries IBM is a registered trademark of International Business Machines Corporation Intel is a registered trademark of the Intel Corporation Copyright All rights are reserved No part of this document may be reproduced or transmitted in any form or by any
41. B documentation block libraries this symbol tells you in which library and in which group you can find the described EFB Figures are given in the spelling corresponding to international practice and approved by SI Systeme International d Unit s l e a space between the thousands and a usage of a decimal point e g 12 345 67 20 Foreword vil Breite 185 mm Hohe 230 mm Declared Objectives This User Manual including the EHC 105 module description is to serve as an aid to fast counter con figuration Chapter1 The operational characteristics of the EHC 105 are covered here Chapter 2 This chapter describes module configuration and parameterization Chapter 3 Four configuration examples are covered in this chapter Chapter 4 In this chapter the EHC 105 derived data types are presented Appendix A This chapter contains the module description Related Documents Title Order Reference Modicon TSX Quantum Automation Series Hardware Reference Guide 840 USE 100 00 Version 5 0 Modbus Plus Network User s Manual 890 USE 100 02 Modicon Modlink User s Guide GM MLNK 001 Modicon IBM Host Based Devices User s Guide GM HBDS 001 BM85 Modbus Plus Bridge Multiplexer User s Guide GM BM85 001 Validity References The primary basis of this documentation is the EHC 105 module HW index level 12 02 and firmware version 2 0 7 The corresponding configuration software is Concept
42. E S5 4x 12 High Word Initial value for VR5 1 Final Set Point Value E S5 Quantum local drop The relative address relates to the Concept configuration Out Ref address refer to Configuration Steps chapter 2 2 2 1 page 39 Modsoft Configuration The relative address relates to the Modsoft configuration Output Ref address refer to Configuration Steps chapter 2 2 3 1 page 42 Introduction to the EHC 105 20 Bit 4x Bit 4x 1 Bit 4x 2 20 Width 185 mm Height 230 mm Output Control Word 1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 T Counter 1 Operating Mode VR1 BEA1 ST1 LS1 EBUA VAR FQ Q MSB LSB Output Control Word 2 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 T Counter 3 Operating Model VR3 BEA3 ST3 LS3 Counter 2 Operating Model VR2 BEA2 ST2 LS2 MSB LSB Output Control Word 3 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 T Counter 5 Operating Model VR5 BEA5 ST5 LS5 Counter 4 Operating Model VR4 BEA4 ST4 LS4 MSB LSB MSB most significant bit LSB least significant bit Table 5 Output control word signal explanations Soa value on Counter x Opera 1 ting Mode Meaning Event counter with parallel Set Point activations Event counter with serial Set Point activations Differential counter with parallel
43. PUT WITH MORE THAN ONE SET POINT Set Point 1 Linked to Output 5 Invert NO Set Point 2 Linked to Output 6 Invert NO Final Set Point Linked to Output 7 Invert NO Timed Final Set Point Linked to Output 8 Invert NO Pulse Width for Timed Final Set Point 100 DEC 0 02 Invert Control Inputs applies to all five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen Figure 35 Modsoft dialog screen Configuration Examples 79 3 4 5 1 1 O Configuration see above You must stop the controller before configuring the module Use the following selections to configure the counter Input Signal counts on neg transition Counter 4 Watchdog Time x0 1sec O Counter enable assignment to IN4 dialog screen 7 Use Input4 for counter enable Yes Load start or restart and output switch off assignments dialog screen 7 Logic function for inputs to Start Restart Counter OR Enter IN7 as Starts or Restarts Counter no inversion Enter IN8 as Freeze Counter s register for PLC update and Switch Outputs off no inversion of IN8 Enter the first and second output Set Points dialog screen 7 Output Set Points value 1 5 value 2 11 Output assignments dialog screen 8 Enter OUT5 for Set Point 1 no inversion Enter OUTE6 for Set Point 2 no inversion E
44. S Value f 7 VA1 Value VA2 Value j 0 VA1E VA2E E SE DE SE DE SE pulse width can be specified in the Concept Modsoft dialog screen Figure 8 Counting down VR 1 18 Introduction to the EHC 105 Pulse Input Signal Counter Actual Value Counter Outputs if configured Pulse Input Signal Counter Actual Value Counter Outputs if configured 20 1 3 1 2 Counter Input LS HW Counter Enable IN1 Operating modes 2 and 9 Event counter with relative Output Set Point Value and serial Set Point activation Actual Value IW E S Value Value from E S VA2 Value from E E VA1 0 VA1E VA2E E SE DE SE DE SE pulse width can be specified in the Concept Modsoft dialog screen Figure 9 Counting up VR 0 Pulse Input Signal Counter Actual Value Counter Outputs if configured Figure 7 to Figure 9 Event counter with relative and parallel and serial Set Point activation are typical time diagrams That do no take into account the following signals STx Further information you will find on page 12 BEAx Further information you will find on page 12 Note STx has no function in the operating modes 8 and 9 20 Width 185 mm Height 230 mm Introduction to the EHC 105 19 1 3 1 3 Operation
45. Screen for this counter select the 4x registers defined in Figure 22 on page 51 and specify Set Point Value Specify Set Point Value Enter the Final Set Point Value E S as 32 bit value with user program E S1 400103 30 LD see also page 31 Specify counter characteristics as Enter parallel event counter 0001 counting up 0000 relative Set Point 0001 with user program 400100 register 1010 hex see also page 31 Start Counter 1 Start the controller then from module data reference screen Load start counter Activate High discrete input 6 pin 26 Enter LS1 bit in 400100 register D8 1 resp 1110 hex with user program see also page 31 Output structure The outputs switch to 1 signal and the counter s actual value is set to 0 300101 register VA1E1 DO OUT1 1 signal VA2E1 D8 OUT2 1 signal 300100 register E SE1 D8 OUT3 1 signal 300102 register counter s actual value 0 Enter 1 signal on discrete input INT pin 21 counter enable This enables the counter 1 Counter 1 counts the pulses at counter input 1 at actual value 19 30 11 OUT1 switches off at actual value 25 30 5 OUT2 switches off at actual value 30 OUT3 switches off and the Timed Final Set Point Dynamic Final Signal output OUT4 switches on for 400 ms If the counter has not reached the Fin
46. T3 Output Set Point 2 VA23 5 Set Point 2 E BEA3 VA2E3 0 OUT4 IN6 O O E OR Forced Loo Output UT5 IN7 O O Switch Off Final Set Point Value D E S3 30 IN8 O Final Set Point mr E SES O OUT6 wt a Counter Enable 3 OR IN1 O O Counter Watchdog HO OUT7 HW Time 0 Counter Input 3 Timed AND Final Set Point DE SE3 HO OUT8 2403 O Pulse Width Counting Pulse 3 20 503 O Counter Enab le 4 OR sw Q Counter Watchdog 2404 O AND pl a A te t Counting Pulse 4 San 504 O l Figure 30 Circuit diagram Caution Do not use outputs OUT1 OUT4 with other counters as such multiple useage is prohibited Note The differential counter consists of counter 3 and 4 For this application counter 3 is the master and its configuration also applies to counter 4 The input and output asignements Watchdog Time and the Set Point values for counter 4 Configuration Examples 67 68 were ignored 3 3 4 Software Settings using Concept O Map screen refer to example 1 page 49 Counter 3 I O Configuration 140 EHC 105 00 r Inversion of Inputs No 1 No 2 No 3 No 4 No 5 No 6 No 7 No 8 Counter Counter 3 y rOutputs rPreceded Signal 1 Invert Counter Input No 3 for Counter Enable Output No 1 Invert Counter Watchdog Time x 0 1s 0
47. The default is Not inverted For default assignement refer to page 34 chapter1 6 Start up characteristics 24Cx 5Cx x 1 5 Discrete inputs for 24 5 VDC counting pulses If the Input Signal counts on is not selected Invert clock in Concept 2 0 the counter will count on the Neg Transition If the selection is made the counter will count on the Pos Transition cS Note The default is Neg Transition VAR is abit within an output register 4x which determines if the Output Set Points will be relative or absolute to Final Set Point Value for all 5 counters 1 signal Output Set Point is relative to the Final Set Point Value 0 signal Output Set Point is absolute ES Note Before configuration the value is 0 EBUA Is an output register 4x bit which determines module switch off behavior for all 5 counters when communication between the controller and EHC 105 is interrupted 1 signal The current output state is retained 0 signal All used outputs are set to 0 level 6 Introduction to the EHC 105 20 Operating modes 1 B One of 11 possible operating modes that can be selected for each counter Es VRx x 1 5 IEJ LSx x 1 5 BEAx x 1 5 Ez STx x 1 5 20 Width 185 mm Height 230 mm through a 4x register Refer to page 31 ore 16 Note Before configuration mode
48. Value range 0 2 exp31 1 8 Introduction to the EHC 105 20 VA1Ex x 1 5 gt VA2x x 1 5 gt VA2Ex x 1 5 E Sx x 1 5 E SEx x 1 5 20 Width 185 mm Height 230 mm Note The default is value 0 If relative Output Set Point mode is selected output Set Point Values are relative to the Final Set Point Value Requirement for that E S gt VA1 gt VA2 gt 0 If absolute Output Set Point mode is selected this value is absolute Requirements for that E S gt VA2 gt VA1 gt 0 Is a bit within an input register 3x This may be assigned through the Concept Modsoft dialog screen to any of the discrete outputs OUT1 OUT8 Note Before configuration the value is 0 For default assignement refer to page 34 chapter1 6 Start up characteristics Is the second Output Set Point and can be configured through the the Concept Modsoft dialog screens Value range 0 2 exp31 1 Note The default is value 0 If relative Output Set Point mode is selected output Set Point Values are relative to the Final Set Point Value Requirement for that E S gt VA1 gt VA2 gt 0 If absolute Output Set Point mode is selected this value is absolute Requirements for that E S gt VA2 gt VA1 gt 0 Is a bit within an input register 3x This may be assigned through the Concept Modsoft dialog screen to any of the discrete ou
49. ack CRA 211 EHC 105 MB MB Concept or Modsoft Figure 1 Typical hardware configuration EHC CPU rn Data Stateram Exchange o Program Axxx 3xxx Parameters Firmware OUT IN 13x 12x Parameters The counter module EHC105 needs 13 Out register 4x and 12 In register 3x for configuration Figure 2 State RAM diagram as used by the counter 4 Introduction to the EHC 105 20 1 2 1 20 Width 185 mm Height 230 mm EHC 105 Counter Channel Principles VAR EBUA Operating Modes 1 B hex F VR1 c LS1 AND O OR O IN2 O AND IN3 O AND IN4 O IN5 o sn IN6 O IN7 O F BEA1 ns oH O E OR IN1 O O D O Sw Counter Enable 1 OR HW und AND 2401 O Counting Pulse 1 5C1 O Counter 5 Operating Mode Counter 1 ing Directi Counting Direction Actual Value Load Start E Output Set Point 1 VA11 Set Point 1 VA1E1 Restart Output Set Point 2 VA21 Set Point 2 VA2E1 Forced Output Switch Off Final Set Point Value E S1 Final Set Point E SE1 Counter Watchdog Time Counter Inp
50. al Set Point Value Final Signal Value the outputs OUT1 OUT4 can be switched off with an external 1 signal connected to input IN8 or through the 400100 register BEA1 bit with D10 1 resp 1410 hex since the operating mode must be retained All outputs and the input Configuration Examples 53 status word bits 300100 register D8 300101 register DO and D8 switches to 0 signal See also page 13 Figure 5Relationship diagram A restart is possible through discrete input IN6 and a rising edge at the 400100 register ST1 bit D9 resp 1210 hex provided that the Final Set Point Value actual value 30 in our example has not been reached You can Restart only after output switch off BEA Referto page 12 Relationship diagram 3 1 7 Example 1 Timing Diagram Pul Counter Input cock input 3 246 ITI I II A puses eee Load and Start Restart IN6 LS1 HW Counter Clock Enable IN1 Actual Value IW1 E S1 Value E ounter VA21 Value Actual Value VA11 Value j 0 VA1E1 OUT1 1 VA2E1 OUT2 i Sl E SE1 OUT3 230 DE SE1 OUT4 DE SE1 pulse width can be specified in the Concept Modsoft dialog screen Figure 24 Event counter with parallel output activation up Note If pulses continue to appear at counter input 1 after reaching the Final Set Point Value 30 the pulses will also be
51. cept or Modsoft Configuration Information is transfered from the controller to the EHC 105 module only at controller start up or module hot swap Data transfer of the set point and actual values is exchanged every scan cycle The user program is processed in the controller The EHC105 module functions asynchronously with the controller allowing fast response and control Note Certain parameter defaults are assigned at module start up which among other things assign specific functions to the discrete inputs refer to page 34 Discrete I O start up assignments The EHC 105 is using with Modsoft or Concept Introduction to the EHC 105 20 20 Width 185 mm Height 230 mm Using Concept and Modsoft The following menu selection of terms for Concept and Modsoft are presented below and are described in this chapter Menu Selection Terms Concept 2 0 Output Switch Off Preceded Signal Preceded Set Point Final Signal Final Signal Value Dynamic Final Signal Clock Watchdog Time Clock Enable Invert Clock Modsoft 2 4 Output Switch Off Set Point Output Set Point Final Set Point Final Set Point Value Timed Final Set Point Counter Watchdog Time Counter Enable Input Signal counts on Pos Transition Neg Transition For configuration Concept offers five dialog screens and Modsoft 10 dialog screens Introduction to the EHC 105 3 1 2 Operational Characteristics Local Subrack RIO Subrack DIO Subr
52. counted and displayed as the current actual value in the 300102 register as a 32 bit value 54 Configuration Examples 20 When the counter is reset Load Start the counting value is set to O and the outputs became active again cS Note If the counter s operating mode counting direction switch off behavior or type of Set Point are changed while the counter s output signals are active the output will be deactivated and the new changes will take effect 20 Configuration Examples 55 Width 185 mm Height 230 mm 3 2 Example 2 Repetitive Counter Up with serial setpoint output activation counter 2 mode 5 3 2 1 Specifications This application describes using the counter 2 as an repetitive counter with serial setpoint output activation counter 2 mode 5 counting up to 30 counts See the following specification for counter 2 Setpoint Linked Outputs Active Level Values FSP 03 30 counts 1SP 01 1 gt 0 11 counts 2SP 02 1 0 5 counts TFSP 04 0 gt 1 400 ms cS Note The values for the Set Points are in relative mode Input Pulse is 24V not inverted A Field Signal is connected to input 8 and forces output switch off Input 2 is not selected to enable the counter The OR logic for the inputs sets the counter Watchdog timer is shut off IN2 is used to Load Start Restart counter If communication is lost the counter outputs will be set to 0 3
53. cted i IN2 ea e e i IN4 23 IN3 A y 24 VDC SAL IN8 27 IN7 Common M10 M10 Common ee OUT2 O n OUT4 OUT3 e AA 84 63 o OUT6 YY GB ms wa a G OUT al 24 VDC Figure 40 Discrete signals 20 140 EHC 10500 101 Width 185 mm Height 230 mm Specifications Number of channels 4 Technical Specifications 5 counter inputs 8 discrete inputs and 8 digital outputs LEDs Active F R Green Module is ready 1 8 Green Ift column Discrete Inputs IN1 IN8 C1 C5 Green middle column Counter Inputs C1 C5 1 8 Green right column Discrete Outputs OUT1 OUT8 P Green Required Addressing Counter Inputs Count Frequency 100KHz 12 Words In 13 Words Out 5 VDC further information see cable length Table 14 page 98 Count Frequency 20KHz Count to Output Assertion Delay Max Input current 24 VDC further information see cable length Table 14 page 98 3ms 7 mA for 24 VDC 8 mA for 3 1VDC Duty Cycle Data Formats Delay Time typical 1 1 16 Bit Counter 65 535 Decimal 32 Bit Counter 2 147 483 647 Decimal t 0 002 ms Max Continous Input Voltage Discrete Inputs VREF Supply 24VDC Delay Time typical IN ING IN7 IN8 30 VDC for 24 VDC Counter Inputs Off State VDC 3 0 5 0 ON State VDC 15 0 30 0 ton 2 2 ms toff Ims ton 0 006 ms toff 0 3 ms Input c
54. ctual ARRAYI1 5 OF WORD32 Switch off signals status byte Bit O 1 Counter 1 2nd Set Point VA2E1 Bit 1 1 Counter 2 2nd Set Point VA2E2 Bit 2 1 Counter 3 2nd Set Point VA2E3 Bit 3 1 Counter 4 2nd Set Point VA2E4 Bit 4 1 Counter 5 2nd Set Point VA2E5 Actual Values 1st WORD 32 Counter 1 Actual Value 1 2nd WORD 32 Counter 2 Actual Value 2 3rd WORD 32 Counter 3 Actual Value 3 4th WORD 32 Counter 4 Actual Value 4 5th WORD 32 Counter 5 Actual Value 5 Concept EHC 105 Derived Data Types IE Note Further information see chapter 1 4 1 starting page 28Input Structure 20 20 Width 185 mm Height 230 mm Table 13 EHC105_OUT EHC 105 Output Data Element control Final Data Type BYTE ARRAYI1 5 OF BYTE ARRAYI1 5 OF WORD32 Function Bit 0 1 Output short circuit acknowledgement Q Bit 1 1 Acknowledgement for under voltage and counter errors FQ Bit 2 Don t care Bit 3 Don t care Bit 4 1 Set point cutoff in relative mode otherwise absolute VAR Bit 5 1 All output states retained on failure EBUA Bit 6 Don t care Bit 7 Don t care BYTE 1 to 5 Control bytes Counters 1 through 5 Bit 0 1 Load start LSx Bit 1 1 Restart STx Bit 2 1 Output switch off BEAx Bit 3 0 Up counter Bit 3 1 Down counter VRx Bits 4 7 Counter operation mode see Table 1 page 16 Final Set Point Values
55. d this value is absolute Requirements for that E S gt VA2 gt VA1 gt 0 Logic Between Start In Logic function among inputs to Load Start or Restart the counter Input No Assignment of up to 3 process inputs for load start and restart function control Outputs Switch Off Assignment of up to 3 process inputs to Output Switch Off Preceded Signal 1 Assignment and optional inversion of a discrete output to the first set point 40 Configuration N Table 8 Quantum I O map terminology explanations Preceded Signal 2 Assignment and optional inversion of a discrete output to the second set point Final Signal Assignment and optional inversion of a discrete output to the final set point Dynamic Final Signal Assignment and optional inversion of a discrete output to the timed final set point Pulse Width x 0 02s Setting of the Dynamic Final Signal pulse width 0 255 0 disables the output 20 Configuration 41 Width 185 mm Height 230 mm 2 2 3 Configuration under Modsoft gt 2 4 2 2 3 1 1 0 Map screen Utility ClrDrop HoldTime _ASCPort Drop QUANTUM Quit Fl F2 F3 F4 F5 F6 F7 Lev 8 F8 OFF F9 QUANTUM I O MAP Type Local I O Head Slot 0 Drop 1 Available 444 Drop Hold Up Time 3 x100ms Module Status Reg 0 Number of Inputs 192 Number of Outputs 208 Slot Module Input Ref Output Ref Description 101 102 103 104 105 106 107 108 300100 300111 400100 400112 Hi
56. d Outputs Active Level Values FSP 07 30 counts 1SP 05 0 gt 1 2 sec 5 counts 2SP 06 0 gt 1 2 sec 11 counts TFSP 08 0 gt 1 2 sec cS Note The values for the Set Points are in relative mode Input Pulse is 24V not inverted A Field Signal is connected to input 8 and forces output switch off Input 4 is selected to enable the counter The OR logic for the inputs sets the counter Watchdog timer is shut off IN7 is used to Load Start Restart counter If communication is lost the counter outputs will be set to 0 3 4 2 Hardware Setup Install the EHC 105 module into the local backplane s slot 8 and secure it Install the module terminal strip and connect an external 24 VDC supply voltage pin 40 pin 39 Connect the Pulse input signal to pin 17 24VDC Module wiring can be found on the next page 74 Configuration Examples 20 20 Width 185 mm Height 230 mm 140 EHC 105 00 N C O D 5C1 N C O 5C2 N C 6 6 5C3 N C T 5C4 N C 9 5C5 To Mid Mit 43 y 240 ee VDE M12 13 2402 AR ds _M13 2403 u Seh ee M15 2405 j IN2 D E IN a I IN4 3 IN3 24 VDC IN6 25 IN5 IN8 27 IN7 Common M10 M10 Common OUT2 62 Gi OUTI OUT4 63 OUT3
57. dicate The red LED F extinguis hes If several errors are present they must be acknowled ged individually one after the other Caution If the counter s operating mode counting direction switch off behavior or type of Set Point are changed while the counter s output signals are active the output will be deactivated and the new changes will take effect Introduction to the EHC 105 20 1 5 1 5 1 1 5 2 1 5 3 20 Width 185 mm Height 230 mm Monitoring Capabilities Input Signal Monitoring The EHC 105 can monitor the presence or absence of incoming signals To activate signal monitoring it is necessary to state a value between 1 and 255 in the Concept Modsoft dialog screen for Clock Counter Watchdog Time This fixes the counter s watchdog timers within the limits from 100 ms to 25 5 s No monitoring is performed for 0 values If a pulse is not detected at the respective input of a running counter within the declared timeout interval then the transmitter error flag INDICATE is changed to 1 and the corresponding error bit ERR is on triggering a Forced Output Switch Off and F LED is ON Counting pulse monitoring for the respective counter occurs when the counting pulse is enabled and the counter is running The prerequisite is the specification of a watchdog timer Refer to page 6ff Note Count pulse monitoring is not supported in operating modes 6 and 7 Refer to chapter 1 3
58. e eee ees 67 3 3 4 2 Configuration of Final Signal Value and counter characteristics for Counter 3 see above 00ee 68 3 3 5 Software Settings using Modsoft 0 c cece ee ees 69 3 3 5 1 1 0 Configuration see above 2 0 ees 70 3 3 5 2 Configuration of Final Set Point Value and counter characteristics see above 0 eee eee 70 3 3 6 Start Differential Counter 0 0c rr 71 3 3 7 Example 3 Timing Diagram 0 eee 72 3 4 Example 4 Event Counter Up Absolute with Timed Set Point output activation mode A cee ec 73 3 4 1 Specifications i siga ser cent hd seh e tite Paes nei ad 73 3 4 2 Hardware Setup 0c nennen nennen nenne 73 3 4 3 Schematic for Example 4 Event Counter 4 0 0 cee ee eee 75 3 44 Software Settings using Concept 0 cece eee eee 76 3 4 4 1 1 0 Configuration see above 20 ccs 76 3 4 4 2 Configuration of Final Signal Value and counter characteristics see above 6 eee eee 77 3 4 5 Software Settings using Modsoft 0 0 c cece eee eee es 78 3 4 5 1 1 0 Configuration see above 0 ees 79 3 4 5 2 Configuration of Final Set Point Value and counter characteristics see above 0 eee eee 79 3 4 6 Start Counter 4 iseia a cece nenne namen nenn 80 3 4 7 Example 4 Timing Diagram 0 cece eee 81 Chapter 4 Concept EHC 105 Derived Data Types
59. e should there have been no configuration carried out for Load Start or Restart the LSx and STx bits then function alone If the discrete input is not inverted the High signal is active see figure above If discrete input is inverted the Low signal is active LSx and STx bit are always active with the rising ege it can not be inverted Introduction to the EHC 105 13 14 1 2 5 BEAx is always active with the High signal it can not be inverted An active BEA signal set all inverted outputs to a High signal If the Outputs are inverted the state from the signals VA1Ex VA2Ex and E SEx will not inverted Counting Direction Determination The individual counters can function as bidirectional counters counting up or down The counting direction is specified by output status word 4x bit VR VRx 0 Up counter starting with 0 stop at final value E S VRx 1 Down counter starting at initial value E S stop at 0 Note Do not change the value of the VRx bit during operation of the counter If the value changes the associated outputs of the counter will be switched off Introduction to the EHC 105 20 1 2 6 Overview and Relationships of Counter Functionality Features Settings overview Per Module BA operating mode hex Relative mode Outputs Remain no 1 VAR lt Eaun x 0 VAR 0 Outputs Switch Off Absolute mode EBUA and VAR selection have no effect to
60. e switch that enables the counter and is activated from the Concept Modsoft configuration screen In Modsoft select the option as follow Use Input x for counter enable Yes the HW counter enable is effective Use Input x for counter enable No the counting pulse is always enabled Note The default is Use Input x for counter enable No HW counter enable x x 1 5 Is a signal that enables the counter if Use Input x for counter enable is Yes Input channels for this function are predefined IN1 is allocated to counter 1 IN2 is allocated to counter 2 etc 1 signal counter is enabled Input not inverted 0 signal counter is disabled Input not inverted Note The default Input is not selectable for counter enable ES N Caution The pulse counting begins after the first complete pulse following the counter enable signal Accordingly after counting pulse disable the next counting pulse will still be registered As a result during each count cycle enable disable one pulse will be missing Counter Watchdog Timer This timer monitors incoming pulses and can be enabled throught the Concept Modsoft dialog screen Value 0 no monitoring Values 1 255 x 0 1 sec cS Note The default is value 0 VA1x x 1 5 Is the first Output Set Point and can be configured through the Concept Modsoft dialog screen
61. ential counter with serial output activation counts up VR 0 Figure 14 Differential counter with serial set point cutoffs is a typical timing diagram that do not take into the following signals 20 Width 185 mm Height 230 mm BEAxFurther information you will find on page 12 STxFurther information you will find on page 12 Introduction to the EHC 105 25 1 3 3 The Repetitive Counter Operating mode 5 The repetitive counter is an up down counter with up to two Output Set Points a fast Final Set Point which acts as a third Set Point and a Timed Final Set Point Operating Mode 5 with serial output activation As a repetitive counter every time the Final Set Point value is reached the following restrictions apply E Sx values are limited to the value ranges 0 2 exp 16 1 The Final Set Point value cannot be changed when the counter is active BEA must be set in advance The Final Set Point Value must be equal or greather than 2 Counter Input NM Sana is Actual Value IW E S Value VA2 Value _ Counter Actual Value VA1 Value 0 VA1E l Counter Outputs H if configured VA2E E SE DE SE DE SE pulse width can be specified in the Concept Modsoft dialog screen Figure 15 Repetitive counter with serial output activation Figure
62. er s actual value 30 ES Note The register bits VA1E4 VA2E4 E SE4 from counter 4 are always 0 Effect The pulses for counter 3 count up and the pulses for counter 4 count down Counter Clock input 3 4 at actual difference value11 OUT1 switches off at actual difference value 5 OUT2 switches off at actual difference value 0 OUT3 switches off and the Timed Final Set Point Dynamic Final Signal output OUT4 switches on for 400 ms If the counter has not reached the Final Set Point Value Final Signal Value the outputs OUT1 OUT4 can be switched off with a 1 signal in the 400101 register BEA3 bit with D10 1 resp 3C00 hex since the operating mode must be retained That means all outputs and the input status word bits 300100 register D10 300101 register D2 and D10 switche to 0 signal See also page 13 Figure 5Relationship diagram A restart is possible through a rising edge at the 400101 register ST3 bit D9 resp 3A00 hex provided that the Final Set Point Value actual value O in our 72 Configuration Examples 20 example has not been reached You can Restart only after output switch off BEA Refer to page 12Relationship diagram
63. f BEA Refer to page 12Relationship diagram Configuration Examples 81 3 4 7 Counter Clock Input 4 24C4 Load and Start Restart IN7 LS4 HW Counter Enable IN4 Actual Value IW4 E S4 Value VA24 Value VA14 Value 0 OUT5 OUT6 OUT7 DE SE4 OUT8 VA1E4 VA2E4 E SE4 Example 4 Timing Diagram MAS sra l Counter Actual Value Counter Outputs Register bits A common pulse width for all outputs can be specified in the Concept Modsoft dialog screen Figure 36 Counting up VR 0 Note If pulses continue to appear at counter input 4 after reaching the Final Set Point Value 30 the pulses will also be counted and displayed as the current actual value in the 300108 register as a 32 bit value When the counter is reset Load Start the counting value is set to 0 the outputs became inactive and the register bits will be active again Note Ifthe counter s operating mode counting direction switch off behavior or type of Set Point are changed while the counter s output signals are active the output will be deactivated and the new changes will take effect 82 Configuration Examples 20 Chapter 4 Concept EHC 105 Derived Data Types Derived data types simplify access to the EHC 105 s input and output signals The EHC 105 is mapped to word registers The derived data type structu
64. g Transition Use Input 2 for Counter enable NO Counter 2 Watchdog Time 0 DEC 0 1sec Output Setpoint 1 Value 1 11 DEC Output Setpoint 2 Value 2 5 DEC Counter Starts or Restarts Input A 2 Input B NONE Input C NONE Logic function for inputs to START RESTART Counter OR Freeze Counter s register for PLC update and Switch Outputs off with or Input E NONE or Input F NONE Invert Control Inputs applies to all five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen For Outputs Fl Dec Bin GoTo Quit F2 F3 F4 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 4 of 10 COUNTER 2 cont Head Slot 0 Drop 1 Slot 8 OUTPUTS Prev Screen for this counter s 2 input settings WARNING DO NOT SELECT THE SAME OUTPUT WITH MORE THAN ONE SET POINT Set Point 1 Linked to Output 1 Invert NO Set Point 2 Linked to Output 2 Invert NO Final Set Point Linked to Output 3 Invert NO Timed Final Set Point Linked to Output Invert NO Pulse Width for Timed Final Set Point 20 DEC 0 02 Invert Control Inputs applies to all five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen Figure 27 Modsoft I O configuration Configuration Examples 61 3 2 5 1 1 O Configuration see above You
65. g the operation mode must be done in the next scan cycle E Note Discrete Output Signal Response Times Without fast Final Set Point typically 3 ms With fast Final Set Point typically 0 5 ms Table 1 Counter Operating modes Value hex Meaning m i o pr 3 o Oo 3 o 2 z jo 2 D D a mn o ro U o eee 2 w O Er lt fa Oo am 73 Event counter with serial Set Point activations Differential counter with parallel Set Point activations only applies to counters 1 and 3 the Set Point and actual values of counters 2 resp 4 are inactive Differential counter with serial Set Point activations only applies to counters 1 and 3 the Set Point and actual values of counters 2 resp 4 are inactive Repetitive counter Rate counter gate time t 100 ms Rate counter gatetimet 1s Event counter with parallel Set Point activations and fast Final Set Point Event counter with serial Set Point activations and fast Final Set Point Event counter with timed on outputs the pulse width setting holds for all em default ployed outputs 16 Introduction to the EHC 105 20 Table 1 Counter Operating modes Vas Wen Mens Sd B Event counter with latched Set Point outputs 0 C D E F as operating mode A 1 3 1 The Event Counter The event counter is a gate controlled bidirectional counter with two or less Set Points a Final Set Point and a Timed Final Set Point It utilizes
66. gh Speed CTR 5CH 109 110 111 112 113 114 115 116 Figure 18 Configuration under Modsoft Table 9 Quantum I O map terminology explanations see above Meaning F3 ClrDrop Configuration deletion for all slot resident modules Slot Displays the slot for module entry Module Starts the module configuration dialog Input Ref State RAM initial address for input Output Ref State RAM initial address for output Description Short module description 42 Configuration 20 2 2 3 2 20 Width 185 mm Height 230 mm Configuration of counter characteristics under Modsoft The following EHC 105 settings are selected with the Modsoft configuration dialog the configuration dialog consists of 10 screen pages an input and an output page per counter For Inputs GoTo Quit F4 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 1 of 10 Head Slot 0 Drop 1 Slot 8 COUNTER 1 INPUTS next screen for counter 1 output settings Input Signal counts on Neg Transition Use Input 1 for Counter enable No Counter 1 Watchdog Time 0 DEC 0 1sec Output Setpoint 1 Value 1 0 DEC Output Setpoint 2 Value 2 0 DEC Counter Starts or Restarts Input A 1 Input B NONE Input C NONE Logic function for inputs to START RESTART Counter OR Freeze Counter s register for PLC update and Switch Outputs off with or Input E
67. h Word Quantum local drop The relative address relates to the Concept configuration In Ref address High Word Low Word Counter 2 Actual Value Counter 3 Actual Value Counter 4 Actual Value Counter 5 Actual Value refer to Configuration Steps in chapter 2 2 2 1 page 39 Modsoft Configuration The relative address relates to the Modsoft configuration Input Ref address refer to Configuration Steps chapter 2 2 3 1 page 42 Note Counter actual values are shown as decimal values in Concept as Dec signed 32 bit in Modsoft as Long Dec unsigned 32 bit for CPU Exec 2 0 and greather This means that negative values can not be displayed correctly Introduction to the EHC 105 Bit 3x Bit 3x 1 20 Width 185 mm Height 230 mm Input Status Word 1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 E SE5 E SE4 E SE3 E SE2 E SE1 US24 SC E ERRS ERR4 ERR3 ERR2 ERR1 MSB LSB Input Status Word 2 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 VA2ES VA2E4 VA2E3 VA2E2 VA2E1 VA1E5 VA1E4 VA1E3 VA1E2 VA1E1 MSB LSB MSB most significant bit LSB least significant bit Table 3 Input status word signal explanations Va Meaning lue Input Status Word 1 ERRx Error in counter x specified by Indicate i e bit 5 in status word 1 INDICATE Counter overflow actual value gt 2 exp 16 2 exp
68. hanges will take effect 64 Configuration Examples 20 3 3 3 3 1 3 3 2 20 Width 185 mm Height 230 mm Example 3 Differential Counter Down with parallel Set Point output activation mode 3 Specifications This application describes using counter 3 and 4 as a differential counter with parallel Set Point output activation counting down from 30 to 0 See the following specification for counter 3 Setpoint Linked Outputs Active Level Values FSP 03 30 counts E S3 1SP 01 1 0 11 counts 2SP 02 1 0 5 counts TFSP 04 0 gt 1 400 ms Note The values for the Set Points are in relative mode Note For this application the FSP is the starting value for the down counter Input Pulse is 24V not inverted There is no configuration from the Forced Output Switch Off logic to a discrete Input No counter enable comes from discrete input IN3 The OR logic for the inputs sets the counter Watchdog timer is shut off If communication is lost the counter outputs will be set to 0 Hardware Setup Install the EHC 105 module into the local backplane s slot 8 and secure it Install the module terminal strip and connect an external 24 VDC supply voltage pin 40 pin 39 Connect the Pulse input signal from two pulse generators to pin 15 and 17 24VDC Configuration Examples 65 Module wiring can be found on page 66 140 EHC 105 00
69. ifferent from the activation of 21 22 1 3 2 The Differential Counter The differential counter is a gate controlled counter with up to two Output Set Points a Final Set Point and a Timed Final Set Point A differential counter consists of two counter channels and meassures the difference of each of their pulses It is equipped with two different operating modes Operating mode 3 with parallel Set Point activation Operating mode 4 with serial Set Point activation Counter 1 clockwise and 2 counterclockwise form a differential counter 1 while counter 3 clockwise and 4 counterclockwise form a differential counter 2 This configuration cannot be changed The counting value is determined from the difference of the two counters Differential counter configuration control and evaluation is done through the parameters and values of the first counter with the exception of the counter input The configuration for the respective second counter must be performed separately The parameter choices from the Modsoft Concept dialog screen are Invert Counter Input Input Signal counts on Use Input for Counter enable Input for Counter enable Note A fast Final Set Point cannot be set for differential counters If a counter is disabled counter time monitoring is suspended The value ranges are as follows Set Point values 0 2 exp 30 1 Actual values 2 exp
70. ion no cross Enter OUTS for Final Signal no inversion no cross Enter OUT4 for Dynamic Final Signal no inversion no cross Dynamic Final Signal Pulse Width x0 02 s 20 Note Check the other counters with their default output assignement because multiple usage is prohibited Enter the first and second Preceded Setpoint Preceded Set Points value 1 11 value 2 5 3 3 4 2 Configuration of Final Signal Value and counter characteristics for Counter 3 see above From the Data Reference Screen for this counter select the 4x register defined on page 49 l O Map screen and specify Set Point Value Specify Final Signal Value Enter the Final Signal Value E S as 32 bit value with user program E S3 400107 30 LD see also page 31 Output structure Specify counter characteristics Enter parallel differential counter 0011 counting down 1000 400101 register 3800 hex relative Set Point 0001 with user program 400100 register 0010 hex see also page 31 Output structure Caution For counter 4 only the selections Invert Counter and Input No 4 for Counter Enable are useable All other assignements were ignored 20 Configuration Examples 69 Width 185 mm Height 230 mm 3 3 5 Software Settings using Modsoft O Map screen refer to example 1 page 51 Counter 3 I O Configuration For Inpu
71. is same as mode A The remaining operating modes 0 C D E F are equal to the mode A Is a bit within an output register 4x which determines the counting direction of the associated counter See also Counting Direction page 14 1 signal Down 0 signal Up Note Before configuration the value is 0 Load start counter is a bit within an output register 4x minimum pulse width 3 ms For more information refer to Figure 4 and Figure 5 on page 12 and 13 Relationship diagrams Note Before configuration the value is 0 Output Switch Off is a bit within an output register 4x The pulse must be at least 3ms width When BEAx is 1 it latches the current count in a buffer While the counter continues to count VA1Ex VA2Ex and E SEx are reset This is also true for any assigned outputs Outx For more information refer to Figure 4 and Figure 5 on page 12 and 13 Relationship diagrams Note Before configuration the value is 0 Counter restart is a bit within an output register 4x minimum pulse width 3 ms STx signal releases buffer and counter value of equal current value For more information refer to Figure 4 and Figure 5 on page 12 and 13 Relationship diagrams Note Before configuration the value is 0 Introduction to the EHC 105 7 Counter enable These are two enable inputs which have the following functions SW counter enable x x 1 5 softwar
72. k frequency applied to clock inputs 5C1 resp 24C1 to 5C5 resp 24C5 Fault display F ault LED red lights on the following faults 24 VDC supply voltage US24 is not present short circuit on one of the OUTn outputs pulse monitoring has tripped Indicate bit 1 and ERRx 1 counter overflow Indicate bit 0 and ERRx 1 140 EHC 105 00 95 96 2 Operation The module can operate in the following modes Event counter with parallel Set Point output activation Event counter with parallel Set Point output activation and fast Final Set Point Event counter with serial Set Point activation Event counter with serial Set Point activation and fast Final Set Point Event counter with timed Set Point output activation Event counter with latched Set Point output avtivation Differential counter with parallel Set Point output activation Differential counter with serial Set Point output activation Repetitive counter Rate counter with 100ms gate time Rate counter with 1s gate time Note For the operating mode assignments to their mode identifiers refer to Table 1 resp page 16 Module outputs assigned to the final set point of those operating modes making use of the fast final set point are processed particularly fast without fast Final Set Point typically 3 ms with fast Final Set Point typically 0 5 ms
73. l set point Assignment and optional inversion of a discrete output to the timed final set point Setting of the timed final set point pulse width 0 255 0 disables the output Invert Control Inputs Select inversion of all discrete inputs IN1 IN8 Configuration 20 Chapter 3 Configuration Examples Example 1 Event Counter Up with parallel Set Point output activation counter 1 operatig mode 1 Example 2 Repetetive Counter Up with serial Set Point output activation counter 2 operating mode 5 Example 3 Differential Counter Down with parallel Set Point output activation counter 3 and 4 operating mode 3 Example 4 Event Counter Up absolute with Timed Set Point output activation counter 4 operating mode A cS Note For all examples the configuration order is as follow Hardware Setup Schematic for counter Software Settings using Concept Software Settings using Modsoft Configuration and Start Counter Timing Diagram 20 Configuration Examples 45 Width 185 mm Height 230 mm 3 1 Example 1 Event Counter Up with parallel Set Point output activation counter 1 mode 1 3 1 1 Specifications This application describes using the counter as an event counter 1 in operating mode 1 counting up to 30 counts See the following specification for counter 1 Setpoint Linked Outputs Active Level Values FSP 03 30 count
74. l five counters No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO No 8 NO Page up down for prev next screen Figure 31 Modsoft dialog screen 70 Configuration Examples 20 3 3 5 1 1 0 Configuration see above You must stop the controller before configuring the module Use the following selections to configure the counter Input Signal counts on neg transition Counter 3 Watchdog Time x0 1sec 0 Use Input3 for counter enable No dialog screen 1 Load start or restart and output switch off assignments dialog screen 1 Logic function for inputs to Start Restart Counter OR There is no Input selected for Starts or Restarts Counter There is no Input selected for Freeze Counter s register for PLC update and Switch Outputs off Enter the first and second output Set Points dialog screen 1 Output Set Points value 1 11 value2 5 Output assignments dialog screen 2 Enter OUT1 for Set Point 1 no inversion Enter OUT2 for Set Point 2 no inversion Enter OUT3 for Final Set Point no inversion Enter OUT4 for Timed Final Set Point no inversion Enter Pulse Width for Timed Final Set Point x0 02 sec 20 Note Check the other counters with their default output assignement because multiple usage is prohibited 3 3 5 2 Configuration of Final Set Point Value and c
75. mode A Event counter with absolute Output Set Point Value and timed output activation Counter Input LS HW Counter Enable IN1 Actual Value IW E S Value VA2 VA1 0 VA1E OUTx VA2E OUTy E SE OUTz DE SE VA1E VA2E E SE Fl A common pulse width for all outputs can be specified in the Concept Modsoft dialog screens Figure 10 Counting up VR 0 Note the register bits 20 Introduction to the EHC 105 Pulse Input Signal Counter Actual Value Counter Outputs Register bits The activation of the discrete outputs are different from the activation of 20 1 3 1 4 Operation mode B Event counter with absolute Output Set Point Value Counter Input LS BEA HW Counter Enable IN1 Actual Value IW E S Value and latched output activation VA2 VA1 0 VA1E OUTx VA2E OUTy E SE OUTz DE SE VA1E VA2E E SE DE SE pulse width can be specified in the Concept Modsoft dialog screen Figure 11 Counting up VR 0 Note the register bits 20 Width 185 mm Height 230 mm Introduction to the EHC 105 Pulse Input Signal Counter Actual Value Counter Outputs Register bits The activation of the discrete outputs are d
76. mple 1 page 49 Example 4 I O Configuration 140 EHC 105 00 r Inversion of Inputs No 1 No 2 No 3 No 4 No 5 No 6 No 7 No 8 rCounter Counter 4 y rOutputs rPreceded Signal 1 Invert Counter X Input No 4 for Counter Enable Output No 5 Invert Counter Watchdog Time x 0 1s 0 r Preceded Signal 2 r Preceded Setpoint Output No 6 Fi Invert Value 1 5 Value 2 11 rFinal Signal Inputs a Invert rLoad Start or Restart Output No 7 2 Logic Between Start Inputs OR A4 Dynamic Final Signal Input No 7 InputNo InputNo Output No 8 y Invert rOutputs Switch Off Input No 8 Y Input No InputNo Pulse Width x 0 02 s 100 OK Cancel Help I O Configuration see above You must stop the controller before configuring the module These are the selections to configure the counter Counting pulse 1 with falling edge no inversion active high Counter Watchdog Time x0 1s 0 Counter enable assignment to IN4 Input 4 for
77. n hex decimal binary Hex Dec Bin Use Input 1 for Counter Select Input 1 to enable counter enable Counter x Watchdog Ti me Output Setpoint 1 2 Va lues Relative Absolute Counting pulse watchdog time setting in 0 1s steps 0 disables counting pulse monitoring If relative Output Set Point mode is selected output Set Point Values are relative to the Final Set Point Value Requirement for that E S gt VA1 gt VA2 gt 0 If absolute Output Set Point mode is selected this value is absolute Requirements for that E S gt VA2 gt VA1 gt 0 Counter Starts or Re starts Assignment of up to 3 discrete inputs for load start LS and restart ST function control Logic function for inputs to START RESTART co unter Logic function among inputs to Load Start or Restart the counter Switch Outputs Off Assignment of up to 3 process inputs to output switch off BEA Invert Control Inputs Select inversion of all discrete inputs IN1 IN8 Output Screen Terms Set Point 1 Linked to Output Assignment and optional inversion of a process output to the first set point Set Point 2 Linked to Output Assignment and optional inversion of a discrete output to the second set point Final Set Point Linked to Output Timed Final Set Point Pulse Width for Timed Final Set Point Assignment and optional inversion of a discrete output to the fina
78. nt counter 20 Configuration Examples 47 Width 185 mm Height 230 mm 3 1 3 Schematic for Example 1 Event Counter VAR 1 EBUA 0 Operating Mode 1 Operating Mode Counter 1 VR1 90 Counting Direction Acta Value 7 IN2 O c LS1 AND Load and Output Set Point 1 O OUT1 O Start utput Set Point 1 INS or VA11 11 B Set Point 1 N4 O O en VA1E1 O OUT2 A AND IN5 O Restart O OUT3 sm Output Set Point 2 VA21 5 Set Point 2 BEA1 VA2E1 O OUT4 F ING O O E OR Forced Be Output OUT5 INg o o Switch Off Final Set Point Value D E S 30 IN8 Q Final Set Point SW E SE1 MO OUT6 Counter Enable 1 Y OR IN1 Counter LO OUT7 HW Watchdog Time 0 AND Counter Input Timed 2401 O Final Set Point Counting Pulse 1 t DE SE1 HO OUT8 501 O Puls Width 20 Figure 21 Circuit diagramm A Caution Do not use outputs OUT1 OUT4 with other counters as such multiple useage is prohibited 48 Configuration Examples 20 3 1 4 Software Settings using Concept 1 0 Map screen Local Quantum Drop
79. nter active for STx 1 state RAM AND a TRUE evaluation of the configured discrete inputs Note The user program commands are necessary for starting and restarting of the counting procedures Setting of the corresponding discrete inputs is also required When no discrete input is assigned to the commands through Load Start and Restart the counting procedure is initiated through the output status word 4x bits LSx resp STx Introduction to the EHC 105 11 1 2 4 1 Relationship Diagrams of LS1 ST1 and BEA1 for Counter 1 Without hardware input configuration Load Start Restart Output Switch Off and Counter Enable Pulse Input counter amput NM A a LS BEA1 sT I I Actual Value IW E S Value VA2 Value Counter VA1 Value Actual Value 0 1 E VA1E1 A el 1 1 Counter i VA2E1 P Outputs if configured E SE1 DE SE1 DE SE1 pulse width can be specified in the Concept Modsoft configuration screen Figure 4 Counter 1 diagram as event counter parallel absolute output function non inverted and counting up 12 Introduction LS1 With the rising edge from LS1 the actual counting value is set to 0 The outputs VA1E1 VA2E1 and E SE1 are set to 1 signal for the operation mode 1 5 and 8 9 or to 0 signal for operation mode A and B BEA1
80. nter OUT7 for Final Set Point no inversion Enter OUT8 for Timed Final Set Point no inversion Enter Pulse Width for Timed Final Set Point x0 02 sec 100 Note Check the other counters with their default output assignement because multiple usage is prohibited 3 4 5 2 Configuration of Final Set Point Value and counter characteristics see above From the Data Reference Screen for this counter select the 4x register defined in Figure 22 on page 51 and specify Set Point Value Specify Set Point Value Enter the Final Set Point Value E S as 32 bit value with user program E S4 400109 30 LD see also page 31 Specify counter characteristics as Enter timed event counter 1010 counting up 0000 400102 register O0OAO hex see also page 31 absolute Set Point 0000 with user program 400100 register 0000 hex 80 Configuration Examples 20 3 4 6 Step 1 Effect Step 2 Effect 20 Width 185 mm Height 230 mm Start Counter 4 Start the controller then from module data reference screen Load start counter Activate High discrete input 7 pin 27 Enter LS4 bit in 400102 register DO 1 resp 00A1 hex with user program see also page 31 Output structure The register for outputs switch to 1 signal and the counter s actual value is set to 0 300101 register VA1E4 D3
81. nter enable assignment to IN1 dialog screen 1 Use Input1 for counter enable Yes Load start or restart and output switch off assignments dialog screen 1 Logic function for inputs to Start Restart Counter OR Enter IN6 as Starts or Restarts Counter no inversion Enter IN8 as Freeze Counter s register for PLC update and Switch Outputs off with no inversion of IN8 Enter the first and second output Set Points dialog screen 1 Output Set Points value 1 11 value2 5 Output assignments dialog screen 2 Enter OUT1 for Set Point 1 no inversion Enter OUT2 for Set Point 2 no inversion Enter OUTS for Final Set Point no inversion Enter OUT4 for Timed Final Set Point no inversion Enter Pulse Width for Timed Final Set Point x0 02 sec 20 Configuration Examples 51 Note Check the other counters with their default output assignement because multiple usage is prohibited Counter 1 I O Configuration For Inputs GoTo Quit F4 1 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 1 of 10 Head Slot 0 Drop 1 Slot 8 COUNTER INPUTS next screen for counter 1 output settings Input Signal counts on Neg Transition Use Input 1 for Counter enable Yes Counter 1 Watchdog Time 0 DEC 0 1sec Output Setpoint 1 Value 1 11 DEC Output Setpoint 2
82. ounter characteristics see above From the Data Reference Screen for this counter select the 4x register defined in Figure 22 on page 51 and specify Set Point Value Specify Set Point Value Enter the Final Set Point Value E S as 32 bit value with user program E S3 400107 30 LD see also page 31 Specify counter characteristics as Enter parallel differential counter 0011 counting down 1000 400101 register 3800 hex relative Set Point 0001 with user program 400100 register 0010 hex see also page 31 20 Configuration Examples 71 Width 185 mm Height 230 mm A Caution For counter 4 only the selections Input Signal counts on and Use Input 4 for Counter Enable are useable All other assignements were ignored The references of 3x and 4x register for counter 4 can not be used 3 3 6 Start Differential Counter Start the controller then from module data reference screen Step 1 Load start counter Enter LS3 bit in 400101 register D8 1 resp 3900 hex with user program see also page 31 Output structure Effect This enables the differential counter Effect The outputs switch to 1 signal and the counter s actual value is set to 0 300101 register VA1E3 D2 OUT1 1 signal VA2E3 D10 OUT2 1 signal 300100 register E SE3 D10 OUTS 1 signal 300106 register count
83. r cable lengths of up to 100 m 24 VDC fmax 20 kHz for cable lengths of up to 100 m 8 isolated inputs and outputs with LED status display Short circuit proof output Backplane provides the internal 5 VDC supply Configuration assignment is made by the CPU Hardware Voltage Supply The EHC 105 module is supplied by the Quantum Bus with VCC 5 VDC The isolated I O and the counter inputs are an exception They receive the working voltage US24 24 VDC provided by an external power supply The green P LED lights when US24 is present In addition if the 24 VDC is not present status bit 7 is set and the F LED turns on If the 24 VDC is present again status bit 7 is reset and the F LED turns off Note The alternatively available 5 VDC counter inputs may also be used Hot Swap As for all Quantum module you can remove and insert the module during bus operation However module reconfiguration is required 140 EHC 105 00 91 Counter Inputs Discrete Inputs Discrete Inputs The module is equipped with 5 counter and 8 discrete inputs each of which can be assigned different functions The counter inputs are isolated from one another and from the discrete I O Each counter input is present in two variations whereby 5C1 5C5 are for 5 VDC signals and 24C1 24C5 for 24 VDC signals Warning Only transmitters with 5 VDC output signals may be connected to 5C1 5C5 From each counter input onl
84. ration of Final Signal Value and counter characteristics From the Data Reference Screen select the 4x register defined on page 49 1 0 Map screen and specify Set Point Value Specify Final Signal Value Enter the Final Signal Value E S as 32 bit value with user program E S1 400103 30 LD see also page 31 Output structure Specify counter characteristics Enter parallel event counter 0001 counting up 0000 relative Set Point 0001 with user program 400100 register 1010 hex see also page 31 Output structure 50 Configuration Examples 20 3 1 5 Software Settings using Modsoft 3 1 5 1 20 Width 185 mm Height 230 mm O Map screen Utility ClrDrop_HoldTime AsSCPort Drop QUANTUM Quit Fl F2 F3 F4 FS F6 F7 Lev 8 F8 OFF F9 QUANTUM I O MAP Type Local I O Head Slot 0 Drop 1 Available 444 Drop Hold Up Time 3 x100ms Module Status Reg 0 Number of Inputs 192 Number of Outputs 208 Slot Module Input Ref Ourput Ref Description 101 102 103 104 105 106 107 108 300100 300111 400100 400112 EHC10500 High Speed 109 110 111 112 113 Figure 22 Configuration under Modsoft O Configuration see below You must stop the controller before configuring the module Use the following selection to configure the counter Input Signal counts on neg transition Counter 1 Watchdog Time x0 1sec 0 Cou
85. res provided are composed of bytes and double words WORD 32 Should you wish to have access to individual bits the corresponding bytes must first be converted to bit strings The following derived data types are available for the EHC 105 Table 11 EHC 105 derived data types Derived Data Types Valid for Memory Utilization EHC105_IN EHC 105 input data 12 input words EHC105_OUT EHC 105 output data 13 output words 20 Concept EHC 105 Derived Data Types 83 Width 185 mm Height 230 mm 84 Table 12 EHC105_IN EHC 105 input data Element Set Point 1 Data Type Function Error flag status byte Bit O 1 Counter 1 error ERR1 Bit 1 1 Counter 2 error ERR2 Bit 2 1 Counter 3 error ERR3 Bit 3 1 Counter 4 error ERR4 Bit 4 ERR5 Bit 5 Bit 6 Bit 7 Switch off signals status byte Bit 0 1 Counter 1 Final Set Point E SE1 Bit 1 1 Counter 2 Final Set Point E SE2 Bit 2 1 Counter 3 Final Set Point E SE3 Counter 5 error pr aik Output short circuit External power failure Bit 3 1 Counter 4 Final Set Point E SE4 Bit 4 1 Counter 5 Final Set Point E SE5 Switch off signals status byte Bit 0 1 Counter 1 1st Set Point VA1E1 Bit 1 1 Counter 2 1st Set Point VA1E2 Bit 2 1 Counter 3 1st Set Point VA1E3 Bit 3 1 Counter 4 1st Set Point VA1E4 Bit 4 1 Counter 5 1st Set Point VA1E5 Clock error Bit 5 0 Counter overflow Set Point 2 a
86. s 1SP 01 11 counts 2SP 02 1 gt 0 5 counts TFSP 04 0 gt 1 400 ms cS Note The values for the Set Points are in relative mode Input Pulse is 24V not inverted A Field Signal is connected to input 8 and forces output switch off Input 1 is selected to enable the counter The OR logic for the inputs sets the counter Watchdog timer is shut off IN6 is used to Load Start Restart counter If communication is lost the counter outputs will be set to 0 3 1 2 Hardware Setup Install the EHC 105 module into the local backplane s slot 8 and secure it install the module terminal strip and connect an external 24 VDC supply voltage pin 40 pin 39 Comnect the Pulse input signal to pin 11 24VDC Module wiring can be found on the next page 46 Configuration Examples 20 140 EHC 105 00 N C 2 1 501 N C 4 3 5C2 N C 6 5 5C3 N C 7 5C4 N C 9 5C5 M11 24C1 Q D aes cranes M12 43 24C2 M13 15 2403 7 7 M14 24C4 24 VDC M15 24C5 To M11 IN2 2 i IN1 se IN4 23 IN3 24 VDC do IN6 25 IN5 IN8 7 IN7 Common M10 M10 Common ri ours ae OUT6 35 OUT5 OUT8 G OUT7 US24 M4 Return ae 24vDC Figure 20 Wiring for example 1 eve
87. s also supported with Concept 1 13 but we recommand to use version 2 0 or greater The screens described in this document come from version 2 0 2 2 Configuration Steps The steps necessary for configuration are presented here Where additional information is necessary references to the corresponding documentation is made 2 2 1 Configuration Steps for Installation Configuration Configure your controller in accordance with your requirements also with respect to the EHC 105 as described in the Quantum Hardware Reference Guide 840 USE 100 00 Details for connecting signal transmitters to the EHC 105 can be found within the module description in the appendix A Module Description Plan and carry out the module cabling in accordance with the module details i e cable routing shielding etc Log your terminal assignment plan on the label inlay inside the module I O block cover 20 2 2 2 Configuration using Concept gt 2 0 2 2 2 1 Drop configuration slot and I O map r Drop Module Modules 5 Bits In 224Bits Out 240 Bits In 192 Bits Out 208 Status Table ASCII Port none Delete Params Clear Prev Next Cute Copy Paste Slot Module Detected In Ref In End Out Ref Out End Des 1 CPS 214 00 DC PS 24V
88. six different operating modes See also Table 5 on page 31 Operating mode A with adjustable time on outputs The pulse width configuration applies the same value to all counter outputs Outputs are at 0 signal on start Operating mode 1 with parallel Output Set Point activation Operating mode 2 with serial Output Set Point activation Operating mode 8 with parallel Output Set Point activation and fast Final Set Point Operating mode 9 with serial Output Set Point activation and fast Final Set Point Operating mode B with latched Set Point activation Outputs are at 0 signal on start The value range for all operating modes amounts to 0 2 exp 31 1 except the operating mode 5 is 0 2 exp 16 1 20 Introduction to the EHC 105 17 Width 185 mm Height 230 mm 1 3 1 1 Operating modes 1 and 8 Event counter with relative Output Set Point Value and parallel Set Point activation Counter amput NIN NNT LS HW Counter Enable IN1 Actual Value IW E S Value Value from E S VA2 Value from E S VA1 0 VA1E VA2E E SE DE SE DE SE pulse width can be specified in the Concept Modsoft dialog screen Figure 7 Counting up VR 0 Counter Input ii LS HW Counter Enable IN1 Actual Value IW E
89. this type of counter in operating modes 6 and 7 BA 6 VR Rate Counter 100ms A oO BA 7 VR Rate Counter 1sec AA 0 Figure 6 Possible counter settings 20 Width 185 mm Height 230 mm own Per Counter BA A lt Event Timed 0 1 BA 1 lt Event Parallel 0 1 BA 8 lt W Event parallel fast 0 1 BA 2 lt Event Serial 0 1 BA 9 lt W Event Serial Fast 0 1 BA B lt W Event Latched 0 1 BA 3 lt Differential Parallel 0 1 BA 4 lt Differential Serial 0 1 BA 5 lt Repetitive 0 ii Fast counters have no restart function Introduction to the EHC 105 15 1 3 EHC 105 Counter Types The EHC 105 module can operate as Event counter with and without fast Final Set Point Event counter with Timed or latched outputs Differential counter without fast Final Set Point Repetitive counter with fast Final Set Point Rate counter The selection of the various counter types takes place through the operating mode selections in state RAM Every counter type can count up and down Output Set Point Mode can be set to be relative to the Final Set Point Value or absolute lEz Note For an active counter any change of the operating mode or counting direction switch off behavior or type of Set Point triggers an Output Switch Off A change of the operating mode accompanied by load start is not possible The setting of the load start bit after changin
90. tput OUT4 switches on for 400 ms and the counters actual value is set to 0 and the counting procedure repeats Configuration Examples 63 3 2 7 Example 2 Timing Diagram Counter Input Coc Input 2 MM San Load and Start Restart IN2 is2 Actual Value IW A E S2 Value VA22 Value _ Counter Actual Value VA12 Value 0 1 1 1 VA1E2 j i Counter VA2E2 Outputs E SE2 DE SE2 DE SE2 pulse width can be specified in the Concept Modsoft dialog screen Figure 28 Repetitive counter cS Note The output set points are relative to terminal value E S 30 cS Note A restart through discrete input IN2 and the ST2 bit in the 4x 1 register 0052 hex D1 with rising edge is not possible in this operating mode cS Note OUT1 OUT4 can be switched off with an external 1 signal connected to input IN8 or through the 400101 register BEA2 bit with D2 1 resp 0054 hex since the operating mode must be retained This means all outputs and the input status word bits 300100 register D9 300101 register D1 and D9 switche to 0 signal See also page 13 Figure 5 Relationship diagram cS Note Ifthe counter s operating mode counting direction switch off behavior or type of Set Point are changed while the counter s output signals are active the output will be deactivated and the new c
91. tputs OUT1 OUT8 Note The default assignement refer to page 34 chapter1 6 Start up characteristics Is an output register 4x in which the counter s final up counter or inital down counter is entered Value range 0 2 exp31 1 Note Before configuration the value is 0 Final Set Point is a bit within an input register 3x Introduction to the EHC 105 9 DE SEx x 1 5 Pulse width OUT1 8 gt This may be assigned through the Concept Modsoft dialog screen to any of the discrete outputs OUT1 OUT8 Note Before configuration the value is 0 For default assignement refer to page 34 chapter1 6 Start up characteristics The Timed Final Set Point settable through the Concept Modsoft dialog screen This may be assigned through the Concept Modsoft dialog screen to any of the discrete outputs OUT1 OUT8 Note Before configuration the value is 0 The default assignement is No assignement This defines the length of the Timed Final Set Point pulse In addition in operating mode A this defines the time for all associated outputs Value 0 output DE SEx is disabled Values 1 255 x 0 02 sec Note The default value is 0 Warning Ifin operating mode A this value equal 0 there will be no outputs Discrete output signals which can be assigned and individually inverted to the counter outputs VA1E Set Point 1
92. ts Dec Bin GoTo Quit 3 F4 OMap Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 5 of 10 Head Slot 0 Drop 1 Slot 8 COUNTER 3 INPUTS next screen for counter 3output settings Input Signal counts on Neg Transition Use Input 3 for Counter enable NO Counter 3 Watchdog Time 0 DEC 0 1sec Output Setpoint 1 Value 1 11 DEC Output Setpoint 2 Value 2 5 DEC Counter Starts or Restarts Input A NONE Input B NONE Input C NONE Logic function for inputs to START RESTART Counter OR Freeze Counter s register for PLC update and Switch Outputs off with Input D NONE or Input E NONE or Input F NONE Invert Control Inputs applies to all five count ers No 1 NO No 2 NO No 3 NO No 4 NO No 5 NO No 6 NO No 7 NO Page up down for prev next screen For Outputs Dec Bin GoTo Quit F1 F2 F3 F4 O Map Module Editor F7 Lev 8 F8 OFF F9 140 EHC 105 00 HIGH SPEED COUNTER 5 Chan Screen 6 of 10 COUNTER 3 cont Head Slot 0 Drop 1 Slot 8 OUTPUTS Prev Screen for this counter s 3 input settings WARNING DO NOT SELECT THE SAME OUTPUT WITH MORE THAN ONE SET POINT Set Point 1 Linked to Output 1 Invert NO Set Point 2 Linked to Output 2 Invert NO Final Set Point Linked to Output Invert NO Timed Final Set Point Linked to Output Invert NO Pulse Width for Timed Final Set Point 0 02 Invert Control Inputs applies to al
93. urrent typical 140 EHC 105 00 5 mA 20 Discrete Outputs Switch ON Switch OFF 20 30 VDC 0 VDC ground reference Max Load Current each output Output Off State Leackage Output On State Voltage Drop 0 5A 0 1 mA max 30 VDC 1 5 VDC 0 5A Miscellaneous Isolation Channel to Bus Fault Detection 500 VAC rms for 1 minute Loss of output field power output short circuit Power Dissipation Bus Currend Required External 24 VDC Power Supply lt 6W 250 mA 19 2 30 VDC 24 VDC nominal 60 mA reqired plus the load current for each output External Fusing User discretion Compatibility Programming Software see page 38 Quantum Controllers see page 38 cS Note The 5Cx and 24Cx counter inputs may be used alternatively 20 Width 185 mm Height 230 mm 140 EHC 10500 103 104 140 EHC 105 00 20 Index 707 982 21 Index 105 Breite 185 mm Hohe 230 mm 106 Index 707 982 21 Index B BEAx LSx STx 11 12 13 19 24 25 26 C Control words 31 Counter enable description 8 Counter Input 24Cx 5Cx description 6 Counting direction VRx description 7 D Data structure output 85 Discrete outputs description 10 E EHC 105 Cabling 97 EHC 105 Configuration Cabling 97 EHC 105 Connection Schemes 24 VDC Signal Transmitter 99 5 VDC Signal Transmitter 99 Discrete I O 99 EHC 105 Counter 94 EHC 105
94. ut Timed Final Set Point DE SE1 Pulse Width bb bb didd d OUT1 OUT2 OUT3 OUT4 OUTS OUT6 OUT7 OUT8 Configurable as either AND or OR If the gate is not configured the output from this gate is TRUE The counting pulse input voltage divider has been schematically simplified O Discrete input signals o Discrete output signals State RAM O Inversion Parameters from the Concept Modsoft configuration dialog m Discrete IN OUT assignments to the internal counter signals and possible I O inversions through a configuration dialog Figure 3 Counter block diagram counter 1 is depicted Introduction to the EHC 105 5 1 2 2 Description of the Individual Signals IN1 8 Discrete input signals which can be connected and individually inverted to the counter s control inputs O Each INx signal may be selected several times Every input may be assigned the load start restart or forced Output switch off functions Inputs can also be used as counter enable However in this case the allocations are defined and may not be changed i e IN1 is allocated counter 1 IN2 to counter 2 etc O The response times including firmware scans are 10 ms for inputs IN1 IN6 5 ms for the IN7 and IN8 inputs Each discrete input can be inverted through the configuration dialogs cS Note
95. utput No 4 Invert rOutputs Switch Off Input No 8 InputNo InputNo Pulse Width x 0 02 s 20 oK Cancel Help 20 Configuration Examples Width 185 mm Height 230 mm 3 1 4 1 3 1 4 2 O Configuration see above You must stop the controller before configuring the module Use the following selections to configure the counter Counting pulse 1 with falling edge no inversion no cross active high Counter Watchdog Time x0 1s 0 Counter enable assignment to IN1 Input No 1 for counter enable is selected cross Load start or restart and output switch off assignments Logic Between Start Inputs OR Enter IN6 as load start or restart input no inversion no cross Enter IN8 as output switch off no inversion no cross Output assignments features dialog screen Enter OUT1 for Preceded Signal 1 no inversion no cross Enter OUT2 for Preceded Signal 2 no inversion no cross Enter OUT3 for Final Signal no inversion no cross Enter OUT4 for Dynamic Final Signal no inversion no cross Dynamic Final Signal Pulse Width x0 02 s 20 Note Check the other counters with their default output assignement because multiple usage is prohibited Enter the first and second Preceded Setpoint Preceded Set Points value 1 11 value 2 5 Configu
96. ve 6 eee eee 53 Slant COUNTER A an Caressa oe eager en nee Peace st 53 Example 1 Timing Diagram 0 c cece tee tees 54 Example 2 Repetitive Counter Up with serial setpoint output activation counter 2 mode 5 55 SPECIIGALIONS diia ata each a ne ae ee ae Bee 55 Hardware Setup uv neato gka ee Se ree ne eter a hale 55 Schematic for Example 2 Repetitive Counter 0 2 000e 57 Software Settings using Concept 000 c cece cece e eee eee aes 58 O Configuration see above ccc cect eens 58 Configuration of Final Signal Value and counter characteristics see above 0 eee 59 Software Settings using Modsoft 0006 cece cece eee eae 60 O Configuration see above oooocococcccccoo teens 61 Configuration of Final Set Point Value and counter characteristics see above 6 eee eee 61 Start COUNTER A uy fit we hacen sian iene dc a aad ay 62 Example 2 Timing Diagram 0 cece eects 63 000000 20 3 3 Example 3 Differential Counter Down with parallel Set Point output activation Mode 3 ooocoooocooomo 64 3 351 SPSCHICAONS root airada robbie 64 3 3 2 Hardware Setup 0 cc eens 64 3 3 3 Schematic for Example 3 Differential Counter 0000085 66 3 3 4 Software Settings using Concept 0 cece eens 67 3 3 4 1 O Configuration Counter 3 See above 2 2222 cec
97. y one connection either 5 VDC or 24 VDC may be utilized There is exactly one reference potential per counter input M11 M15 i e 5 VDC transmitter on counter 4 using terminals 5C4 and M14 24 VDC transmitter on counter 4 using terminals 24C4 and M14 Every counter is assigned a hardware related input IN1 IN5 as counter enable gate function Whether the input is to be used as counter enable can be selected separately for each counter channel through the configuration dialogs of Concept or Modsoft The input may be used for other functions should it not be allocated as counter enable The counter input is then always enabled All input signals are displayed by green LEDs Refer to LED Status Display Discrete inputs are isolated from the back plane counter inputs and the outputs The discrete inputs can be assigned the following functions Counter enable gate function Counter load start outputs set Counter restart outputs set Output switch off trigger resets outputs VA1Ex VA2Ex and E SEx Input signal states can be inverted The load start resp restart functions are AND ed with the LSx resp STx state RAM bits cS Note If no hardware input is utilized for load store resp restart then the AND condition is met if the bit in state RAM is set 92 140 EHC 105 00 20 20 Width 185 mm Height 230 mm In the event counter modes 1 and

Download Pdf Manuals

image

Related Search

Related Contents

Samsung E608 用户手册    Notice technique ccb311  HP アイデンティティ&アクセス・マネジメント - 日本HP - Hewlett  Samsung WB500 User Manual  PL-P-4-CUL Installation  お問い合わせフォーム L-TOOL Inquiry (ver 4.2) 取扱説明書  Finisar FTLX8571D3BCV network transceiver module  

Copyright © All rights reserved.
Failed to retrieve file