Home

Chapter 4 - AutomationDirect

image

Contents

1. Back Jea _ 14 Counter I O User Manual 2nd Ed Rev D Chapter 4 Configuring the CTRIO Inputs Rate Scaling Counter To select Rate Scaling click the radio button beside the word Rate Now L asm click Next to move to the Output Settings dialog Rate Scaling Wizard Output Settings On the Output Settings dialog you will aed 3 aar ne RPM J notice the field for engineering units Enter an Engineering Units RPM fup to 4 characters appropriate value for Rate Scaling for Output Format Floating Point example RPM fps flow etc Seven data types negauna eS C Integer s10 1 implied decimal place are available including BCD to make values aaan 2 ole more easily used by DirectLOGIC PLCs BCD rounded BCD 10 1 implied decimal place BCD 100 2 implied decimal places Cancel lt Back Click Next to open the Rate Settings dialog EEEUM KEEN EE It is here that you enter the counts per unit Unit Definition a of time and the time base A scale offset is Counts unit 1000 Rate Scaling Calculator also provided to adjust the result by a g a Sette cline Stel Gene Scale Offset jo time in ms to confirm scaling constant amount configuration Unit Time Baze This window contains a calculator to double E E oo check your Rate Settings Enter a value into P the Raw Value field to see the equivalent minutes Sample Time 1000 ms
2. EH H Counter I O User Manual 2nd Ed Rev D Chapter 4 Configuring the CTRIO Inputs For DirectLOGIC users be sure to write the changes to the module from Workbench when the configuration is complete For example you might click on Counter in the A box then OK to return to the main Workbench window Once you arrive back at the main window you must click Write Module to save your selection to the module The module will need to be in Program Mode to perform the Write Module operation If you do not perform the Write Module operation or a Write File operation your configuration will be lost upon quitting Workbench This applies to all changes to the module configuration Configuration dialog stores the CTRIO s configuration as a permanent part of the Do more controller s System Configuration For Do more users the Write Module button does not exist because the Module 4 Input Function Selections Supported Functions The input channels offer the same configuration options The module supports five primary input functions e Counter e Quadrature Counter e Pulse Catch e Edge Timer e Dual Edge Timer Each of the primary functions uses one or two input terminals for making connections to field devices plus a common Combinations of the listed functions are possible The configuration dialog disallows any unsupported configurations Three secondary input functions are also supported Reset e Capt
3. a C value in engineering units fous Scaled Value 300 As an example lets say you have a 1 000 Cale Options ss pulse revolution encoder and you want to DEE irl enc epee use it to measure RPM of the encoder mh J m shaft You would enter 1 000 for the Counts unit and minutes as the Time Base _ A check using the calculator over a sample EDES time of 1 000 ms 1 second reveals that 5 000 counts equals 300RPM 5000 counts 1000 counts per rev 5 revolutions 5 revolutions 1 sec x 60 sec 1 minute 300 RPM Data Smoothing allows rolling averages to be taken to calculate a value Min 1 sample max 25 samples in the rolling average Counter I O User Manual 2nd Ed Rev D i _ 15 Chapter 4 Configuring the CTRIO Inputs Using the Scaling Wizard with Timer Functions Scaling raw signals to engineering units is accomplished using the Scaling Wizard Start the Scaling Wizard by clicking the ruler button on the Configure I O dialog Funetion2 This button appears only after you select one of the Counter or Timer functions Edge Timer a Eden F Free Run Interval Scaling Timer To select Interval Scaling click the radio button beside pumu the word Interval Now click Next to move to the i interval Output Settings dialog Scaling Wizard Output Settings xj On the Output Settings dialog you will notice the field for engineering units Enter
4. Scaling Counter To select Position Scaling click the radio button beside the word Position ae orare Now click Next to move to the Output Settings dialog Bretnttnrrernns On the Output Settings dialog you will notice BEDEA E ee the field for engineering units Enter an 3 Engineering Units yds up to 4 characters appropriate value for Position Scaling for example yards feet meters cubic inches etc Output Format Floating Point S d lable ncl T BCD nteger rounded even data types are aval e inclu ng C Integer 10 1 implied decimal place to make values more easily used by C Integer 100 2 implied decimal places DirectLOGIC PLCs t BCD rounded C BCD 10 1 implied decimal place BCD 100 2 implied decimal places Click Next to open the Position Settings ialog It is here th nter th nofr dialog It is here that you enter the span of raw er ae New counts that equates to a span of engineering units This window contains a calculator to double check EAU ka BS area tc met sce es the meaning of your Position Settings Enter a value into the Raw Value field to see the equivalent Minimum Raw value fE counts value in engineering units Maximum A aw Value 1000 counts Minimum Scaled Wwalue 0 yds Maximum Scaled Value 300 yd Position Scaling Calculator Enter a raw count value to confirm scaling configuration R aw Value 25d counts Scaled Value 75 yds Cancel
5. a time period long enough to guarantee that it is seen by the CPU CPU scans necessarily vary with the length and complexity of the user s program A scan frequency of several milliseconds or more is common A pulse that lasts less than one millisecond is typically hard to catch during the CPU scan The CTRIO module s Pulse Catch function sees the fast incoming signal and holds its status in a status bit until the CPU can see it A compatible For wiring information see Chapter 2 m j Notice that the module s four input terminals are represented by the A B C E jz Function 2 Edje Tims Dual Edga Tre e Configure 10 E xj discrete output s can also be tied to D s follow the Pulse Catch input Inout Funcion eae aa Bl Pute Catch ween NOTE To insure proper operation the field FE Faoin rae as j device wiring and the configuration must be Minin Disciete on CHIP Fits Pulse megar Prades Ly Dimes on CLF ri and D boxes on the left side of this dialog If you are wiring your input to terminal 1C you will need to select the Channel 1 tab near the top of this window and click Pulse Catch in box C Three selections must be made in cancel conjunction with the Pulse Catch option 1 First a decision must be made whether to look for the rising edge of the pulse or the falling edge of the pulse This is a critical decision Careful attention should be paid
6. an Engineering Units MZ fup to 4 characters appropriate value for Interval Scaling for Teen gt Floatina Forni example RPM fps flow etc Seven data types are Integer rounded Integer 10 1 implied decimal place available including BCD to make values more eee C nteger 100 2 implied decimal places easily used by Direct LOGIC PLCs BCD oure BCD 10 1 implied decimal place BCD 100 2 implied decimal places Cancel lt Back ne Scaling Wizard Interval Settings Click Next to open the Interval Settings Unit Definition a parentage dialog It is here that you enter the z AAE E ene at eget y Counts unit i mir max counts per unit of time and the time base A scale offset is also provided to Scale Dffeet 0 oo adjust the result by a constant amount IE Aptal aeania eae ate Unit Time Base Enter a pulse interval in This window contains a calculator to pe microseconds to confirm scaling double check the meaning of your Rate Scene sel euislte Sect E nei ace f seconds ettings Enter a value into the Raw ar ae Paine e Value field to see the equivalent value in C hours Scaled Value engineering units Data Smoothing allows rolling averages ae E to be taken to calculate a value Min 1 sample max 25 samples in the rolling average Eh 16 Counter I O User Manual 2nd Ed Rev D
7. terminal 1B for a counter input Reset 2 will reset the counter connected to terminal 1B N gt z gt N w Two distinct types of hard resets are available One is an edge reset The other is a level reset The Edge Reset sets the current count to zero on the specified edge rising or falling of the reset pulse see upper example The Level Reset resets the count to zero as long as the reset pulse is held high or low depending on configuration When the reset pulse disappears the count resumes see lower example n 1 n 1 2 3 gt N J SSES E 0y N CSSS SAEN SONS 8 OY Edge Reset Q w Q lt If the Reset options are not available in the Configure I O dialog then you have selected input functions that do not use the reset modifier 3 w lt ee NOTE Reset 1 and Reset 2 represent hard wired inputs to e terminal C or D An appropriate field device must be 2 o connected to the designated terminal to perform the reset P a n 1 n D function gt O Se 2D 1D 2 8 _ p 7 a fo C D Si Level Reset OD D 9 eo 6 QD g Soft Resets Soft resets are available by turning on the appropriate control bit in your control program Counters only or by using the Reset Count function within a Discrete Output Preset Table configuration Counters Timers Counter control bit
8. z c f accomplished if the None Noas He ese peaa 1 iti Position Converts raw counts to engineering Counter Typically used for units of distance button 1S selected Position aarp oa units using linear interpolation User Quad counter position size etc provides min raw max raw min scaling 1S appr op rate for scaled and max scaled values measur Ing dis tance pP osition C Rate Converts count rate to engineering Counter Typically used for units of speed flow N 3 units by sampling count normalizing to Quad counter velocity etc Rate is preferred over or Size Rate scal n g 1S desired timebase and scaling to Interval for count frequencies over i engineering units SkHz although it may be used for lower ap p ro p riate fo r vel Oc ity RPM corer with increased sample flow or similar rate based Inter Converts count time to engineering Edge Timer Like Rate Interval is typically used for units by measuring pulse width Dual Edge Timer units of speed flow velocity etc measurements You may want converting to frequency normalizing Interval Timer Interval is preferred over Rate when the to desired timebase and scaling to count frequency is lower than 5kHz to r ead the Notes and other engineering units although it may be used as high 10kHz with acceptable accuracy information before leaving this window Cancel Counter I O User Manual 2nd Ed Rev D i _ 13 Chapter 4 Configuring the CTRIO Inputs Position
9. CONFIGURING THE INPUTS In This Chapter Configure I O Dialog Overview 0 cece cece cees 4 2 Input Function Selections 2 cece cee eee en eee eens 4 5 COUN sorre ey eee ee eee dole ee EEEE ENEE E EE E EEA a 4 6 Quadrature Counter 20 0 eee ee ee eee 4 7 PURSO CAC serrare oae deg cee ee ae eee ee ees Gee ee ee eee 4 8 Edge TIME co 2t 24c2sen ones ater eee be Peete oh ec te seen ee 4 9 Dual Edge Timer 2civet cece tecuwechetueg be eee es eeetaes 4 10 Reset 1 and Reset 2 Hard Resets for Counters Only 4 11 SOM RESES w seeae bo 6 ox Be 5 eee ee ee ee bee OSs oe eb Eee Se ows 4 11 Capture T aeree ones buen oe whee td eo ea Sere ed ones oe wy 4 12 Malade a E E E E E E E E EE 4 12 Introduction to the Scaling Wizard 00 20 ese 4 13 Chapter 4 Configuring the CTRIO Inputs Configure I O Dialog Overview The Configure I O dialog is the location where input and output functions are assigned to the module The choice of input and output functions determines which options are available The input and output function boxes prompt you with selections for supported functions The configuration software disallows any unsupported selections For DirectLOGIC users from the main CT RIO Workbench window click on the Go to PROGRAM Mode button if in Module Configuration RUN Mode Then click on the Config I O button to arrive at a dialog shown below Notice that the wi
10. Punchon 1 lie coram Eriin rung wizard later in this chapter The Scaling Wizard is Te a ita ing ih dow a Ta Deri am DF intelligent in that it offers scaling options that are appropriate for your input selections u 6 i Counter I O User Manual 2nd Ed Rev D Chapter 4 Configuring the CTRIO Inputs Quad Counter The CTRIO module supports quadrature counting no using quadrature encoders as inputs Connect your ace B encoder to input A and input B on either channel A D g second quadrature encoder can be connected to the D o other channel The C and D inputs are available to 227 control the quadrature input counting The C and D ND OD inputs can be used for Reset Inhibit or Capture SE i These functions are explained later in this chapter D D The CTRIO discrete output s can be assigned tothe 2 w Quad Counter function using the Preset Tables dialog g A Refer to Creating and Using the Output Tables o section in Chapter 5 for details y 222 NOTE To insure proper operation the field device tos wiring and the configuration must be compatible vege Freien For wiring information see Chapter 2 e fen nadaa car S m eon ore Notice that the module s four input terminals are represented by the A B C m tm and D boxes on the left side of this dialog sa If you are wirin
11. The CPU s internal serial port can be used for aut Devi Configuration programming for guest protocols or configured i as a general purpose port and placed under Sel p 1 0 Mappings program control a Memory Configuration Do more Programming T R Slim 7 K Sequence Server T P _ jd 100 3 Modbus RTU Server Slave a Previous Mext Output jons By rim Modbus RTU Client Master Options H T XY at win General Purpose Mode Info Configure Devices Check F 3 7 m a Device Settings Modbus TEF Server Configuration Do more GPUS equipped with Ethernet ports can provide a Modbus TOP Server Def Server can support a maximum oF Le concurrent l D D oF Faw sy an Bay peas i be oe a ke nG ETS poe pe a A With the System Configuration page open select the Module Configuration s page from the lefthand column On this page highlight the desired CTRIO module and click Edit Config System Configuration Configuration Entries Module Configurations CPU Configuration Modules that are programmable by Do more instructions require a Module Configuration The Module Configuration provides a logical connection I O Configuration between the program and the module eliminating the need for Base Slot addressing in the program Module Configuration s Certain modules have additional setup informatio that is provided through the Module Configuration Device Configuration I O Mappings Memory Configurat
12. ach channel j NOTE Inhibit 1 represents a hard wired input to terminal D An appropriate field device must be connected to the designated terminal to perform the inhibit function Dh 12 Counter I O User Manual 2nd Ed Rev D N gt N aD N 3 O S O N J R 2 S lt N SSES VESEY lt Ww O es gt lt ETSAN Q Z j p3 lt n Inhibit Chapter 4 Configuring the CTRIO Inputs Introduction to the Scaling Wizard Scaling raw signals to engineering units is accomplished using the Scaling Wizard Start the Scaling Wizard by clicking the ruler button on the Configure I O dialog This button w Sos appears only after you select one of the Counter coutm FURL or Timer functions Function 1 The Scaling Wizard options are different for the Counter functions as compared with the aie fo Timer functions Position and Rate scaling are available when you select a Counter function Interval scaling is available when you select a Timing function We will step through the dialogs used for each scaling type Substitute appropriate values to set up scaling for your application Scaling Wizard Examples for Counter Functions On the counter Scaling Wizard you can select None Position or Rate No scaling is Scaling Wizard Select Scaling Type x Scaling type Function Used with Notes
13. e Free Run option is assigned by clicking in the appropriate box If your application calls for velocity measurements to be taken at the commencement of some event do not use Free Run If your application calls for velocity measurement on a continuous moving average basis you should use Free Run 3 The Enable Timeout option is assigned by clicking in the appropriate box and specifying a Timeout period Once the timer is enabled the Timeout Bit is set if the time that it takes the CTRIO to see the configured input edge exceeds the specified Timeout Period Also if the time before the CTRIO sees the next configured edge exceeds the specified Timeout Period the Timeout bit is set More information about the Timeout function can be found in chapter 6 4 The last remaining decision to be made is about scaling Clicking the button with the tape measure symbol starts the Scaling Wizard We discuss the scaling wizard later in this chapter The Scaling Wizard is intelligent in that it offers scaling options that are appropriate for your input selections Counter I O User Manual 2nd Ed Rev D 2 9 Chapter 4 Configuring the CTRIO Inputs Dual Edge Timer The Dual Edge Timer is designed to measure from a pulse edge on one incoming signal to a pulse edge on another incoming signal The user selects whether to measure between rising edges falling edges etc The choices are summarized in the tables below The CTRIO discrete output
14. e Output Tables section in Chapter 5 for details 222 NOTE To insure proper operation the field device wiring and the configuration must be compatible For wiring information see Chapter 2 gt N gt w N w o N O N J SSSSSHSKESG DLoe Zz a LETSO Q N Q i lt N lt O 0y w lt w lt Notice that the module s four input terminals are represented by the A B C and D boxes on the left side of this dialog If you are wiring your input to terminal 1C you will need to select the Channel 1 tab near the top of this window and click Edge Timer in box C At this point you have four decisions to make regarding your input at 1C CO 1 First designate the pulse edges you want Sa to measure between There are four choices meram FER You can measure the time from the leading T Ej n F edge of the upward pulse to the leading mia T edge of the next upward pulse or from the m poem oe trailing edge of an upward pulse to the trailing edge of the next upward pulse or S from the leading edge of an upward pulse to the trailing edge of the same pulse or finally from the leading edge of a downward pulse to the trailing edge of the same downward pulse furcton 1 The last option could be restated as timing Ce oe from the trailing edge of an upward pulse to the rising edge of the next upward pulse 2 Th
15. eating and Using the Output Tables section in Chapter 5 for details NOTE To insure proper operation the field device wiring and the configuration must be compatible For wiring information see Chapter 2 The module s four input terminals are represented by the A B C and D boxes on the left side of this dialog If you are wiring your counter input to terminal 1A you will want to OOS ROO O select the Channel 1 tab near the top of this window and click Counter in box A At this point you have four decisions to make regarding your input at 1A 1 Select count up or count down A button in the Function 1 box toggles between Up and Down counting Click the button labeled Up or Down to see the change to the opposite count direction 2 Each input pulse is counted but you are free to designate whether you want the count to register on the rising edge of the pulse the falling edge or both The button with the graphical representation of a pulse toggles between these choices Chancel Charada 3 The Reset value is assigned by clicking and typing a value in the data input field This value is for hardwired resets When the hardwired reset is activated the count value returns to the reset value 4 The last remaining decision to be made is about scaling Clicking the button with the ruler symbol starts the Scaling Wizard We discuss the scaling
16. g your quadrature counter inputs to terminal 1A and 1B you will E need to select the Channel 1 tab near the top of this window and click Quad Counter in box A Notice that input B is now slaved to input A Funchon 2 Dud Edy Tims At this point you have three decisions to make regarding your quadrature input Cwe 1 A multiplier can be applied to the quadrature input to increase its resolution Select 1x 2x or 4x 1X pulses processed on leading edge of input A 2X pulses are processed on both edges of input A 4X pulses processed on both edges of input A and both edges of input B 2 The Reset Value is assigned by clicking in the data input field and typing in a value When the count is reset using any of the reset methods the count value returns to the Reset Value The reset options are described in more detail later in this chapter 3 The last remaining decision to be made is about scaling Clicking the button with the ruler symbol starts the Scaling Wizard The Scaling Wizard is intelligent in that it offers only those scaling options that are appropriate for your input selections We discuss the scaling wizard in greater detail later in this chapter Counter I O User Manual 2nd Ed Rev D Lt 7 Chapter 4 Configuring the CTRIO Inputs Pulse Catch The CTRIO Pulse Catch function allows a very short duration pulse to be qualified and lengthened to
17. generate a device Ch2 Fni Quad Counter Out 2 Unassigned object tts ae to CTRIO specific instructions The module name and resource tame Proota nen oes Nissans Tean trot name fields will become Do more site stay ates ses system devices Choose Ch2 Fn2 ssigned Out 3 i meaningful and unique names for sic dti mre each configured resource Select Input Filters to Input Filters Ch1A to00ns Ch1B 1000ns Ch1C 1000ns Ch1D 1000ns pp ahora iat Ch2 A 1000 ns Ch2B i000ns Ch2C 1000ns Ch2D 1000ns only Discrete Tables Fie Name Table Type Total Blocks 256 Blocks Free 249 Export to CtrioWB File Pulse Profiles Import from CtrioWB File You should now have the Configure Cs x I O window open similar to the one Channel Channel 2 Outputs Inputs Function 1 5 shown here with a tab for each input E Counter Raw El Channel Quad Counter Pulte eml ulse The input options are listed by function Four boxes labeled A B C and D correspond to the input terminals on the face of the module 1A 1D or 2A 2D A D for the H0 CTRIO 2 The Output functions are listed as 0 1 2 and 3 These numbers correspond to the markings beside the module s output terminals YO Y3 Y0 Y1 for the HO CTRIO 2 Function 2 Raw Pulse Step Dir Pulse Cw CCW Dual Edge Timer Cancel
18. ion ECOM_007 ECOM ECOM 100 DL205 Local I O Master gt DL205 Base gt Slot 7 SERIO_004 SERIO SERIO4 DL205 Local I O Master gt DL205 Base gt Slot 4 Edit Config ERM_002 ERM ERM 100 DL205 Local I O Master gt DL205 Base gt Slot 2 CTRIO CTRIO2 DL205 Local I O Master gt DL205 Base gt Slot 0 belete Config CTRIO_003 CTRIO CTRIO2 DL205 Local I O Master gt DL205 Base gt Slot 3 Pieris ERM_005 ERM ERM 100 DL205 Local I O Master gt DL205 Base gt Slot 5 Assign Contig Counter I O User Manual 2nd Ed Rev D u 3 Chapter 4 Configuring the CTRIO Inputs Now the Edit CTRIO CTRIO2 Configuration window should be open click the Configure I O button x m Module Configuration Name ETRIO_000 Info Module Type CTRIO CTRIO2 Assigned to DL205 Local I O Master DL205 Base Slot 0 CONFIGURATION NOTES Configure I O Name CTRIO_000_C1F1 i Select Configure I O to Chi Fni Quad Counter w Capture Position scaled to x0 1 as Integer x10 setup the module s input and output functions M Ta Select Discrete Tables to Name 000 _C1F2 manage preset and PLS tables for discrete outputs Ch1 Fn2 Unassigned Out 1 Unassigned se Select Pulse Profiles to manage profiles for pulse outputs Name CTRIO 000 CF1 Each configured resource will aera automatically
19. ndow has a tab for each Contig ID input Channel NOTE You don t have to be in PROGRAM mode to enter the Configure 1 0 dialog however you must be in PROGRAM mode to save the configuration to the CTRIO module H2 H4 T1H CTRIO H2 CTRIO2 Configure I O Dialog Configure I0 g x Channel 1 Channel 2 Outputs Inputs gt r Function 1 T Counter Raw fe Quad Counter Pulse Step Dir Pulse CW CCW E j Raw F r Function 2 z HO CTRIO 2 C E IE Pulse Catch Raw Configure I O Dialog Edge Timer Pulse Step Dir Dual Edge Timer Pulse CW CCW x Channel 1 Outputs P Pulse Catch Raw Inputs Function 1 Edge Timer ig Dual Edge Timer i Counter Raw o Quad Counter Am Crees ulse Cancel Counter BE m Function 2 El Pulse Catch Edge Timer Dual Edge Timer P Pulse Catch Edge Timer Dual Edge Timer Cancel u _2 i Counter I O User Manual 2nd Ed Rev D Chapter 4 Configuring the CTRIO Inputs For Do more users the Workbench options have been built into the Do more Designer software The configuration dialog is found by first opening the System Configuration window by selecting the XY Configure button in the main toolbar System Configuration Configuration Entries H2 DM1 CPU Configuration CPU Configuration Serial Port Mode H 1 0 Configuration Ejn Module Configuration s
20. resets are always level resets meaning they hold the count at zero until the reset bit is turned off Counter I O User Manual 2nd Ed Rev D i _ 1 l Chapter 4 Configuring the CTRIO Inputs Capture 1 Capture 1 is available only if you have selected a Counter or Quad Counter as the primary function For example if you have chosen either counter function on terminal 1A you will have an option of using terminal 1D for a capture signal Capture 1 snapshots the current count into the 2nd DWord register Parameter 2 The Capture feature is available with a single ended Counter on input A or a Quad Counter on inputs A and B xem NOTE Capture 1 represents a hard wired input to terminal D An appropriate field device must be connected to the designated terminal to perform the capture function Inhibit 1 N w lt N N N e N a j O lt Ww N gt OSSIE gJ Q w gt Z a OSE KF amp Q lt io lt DLE Capture Inhibit 1 is available only if you have selected a Counter or Quad Counter as the primary function For example if you have chosen either counter function on terminal 1A you will have an option of using terminal 1D for an inhibit signal The Inhibit 1 signal prevents the CT RIO from counting pulses The Inhibit feature is available with the A Counter or Quad Counter on e
21. s can be assigned to the Dual Edge Timer function using the Preset Tables dialog Refer to Creating and Using the Output Tables section in Chapter 5 for details Dual Edge Timer at Function 1 Dual Edge Timer at Function 2 Rising edge of C to rising edge of D Rising edge of D to rising edge of C Rising edge of C to falling edge of D Rising edge of D to falling edge of C Falling edge of C to rising edge of D Falling edge of D to rising edge of C Falling edge of C to falling edge of D Falling edge of D to falling edge of C NOTE To insure proper operation the field device wiring and the configuration must be compatible For l wiring information see Chapter 2 Notice that the module s four input terminals are represented by the A B C and D boxes on the left side of this dialog If you are wiring your inputs to terminals 1C and 1D you will need to select the Channel 1 tab near the top of this window and click Dual Edge Timer in box C or D At this point you have four decisions to make regarding your input at 1C or 1D 1 First designate the pulse edges you want to measure between 2 The Free Run option is assigned by clicking in the appropriate box If your application calls for velocity measurements to be taken at the commencement of some event do not use Free Run If your application calls for velocity measurement on a continuous basis you should use Free Run 3 The Enable Timeo
22. to the type of output the field device generates If the signal voltage is normally low but a short duration pulse sends the signal to the ON state you will want to trigger off the rising edge and vice versa 2 The second decision you will need to make is the minimum pulse width you want to capture Transients below this width will not be recorded Set this value by typing the desired value in the Minimum Width In field 3 The final decision to be made is the length of pulse the CTRIO module should send in response to the input pulse Make this setting by typing in the desired value in the Pulse Out Width field gt N gt ies N a Q n 20 8 status bit N a J N J SVC SSSSKESG t S QE E a VEGF QO N lt N lt Q CO A w lt w lt EB i Counter I O User Manual 2nd Ed Rev D Chapter 4 Configuring the CTRIO Inputs Edge Timer The Edge Timer measures the time from the rising edge of one pulse to the rising edge of the next pulse or the rising edge of one pulse to the falling edge of the same pulse or the falling edge of one pulse to the falling edge of the next pulse Encoders proximity sensors etc can be connected to input C and or input D on either channel or both channels The CTRIO discrete output s can be assigned to the Timer function using the Preset Tables dialog Refer to Creating and Using th
23. ure e Inhibit Each secondary input modifies the primary input functions in some way and uses one input terminal Limit Out 0 and Limit Out 2 input functions are only available for use when the outputs are set to pulse output mode Discrete Outputs Pre Assigned to Input Functions CTRIO discrete outputs can be assigned to the Counter Timer and Pulse Catch input functions within the Configure I O dialog The outputs respond to presets assigned by the user in the Preset Tables dialog The presets are assigned based on the scaled value of an input or the raw value if it has no scaled value The CTRIO s four outputs can all be assigned to one function or they can be grouped within functions and within channels in any manner selected by the user See Chapter 5 for more information on using Preset Tables Counter I O User Manual 2nd Ed Rev D 4 5 Chapter 4 Configuring the CTRIO Inputs Counter Function The CTRIO module supports up or down counting using single ended encoders or other single ended pulse sources as inputs Encoders proximity sensors etc can be connected to input A and or input B on either channel or both channels The C and D inputs are available to modify the A and B inputs The C and D inputs can be used for Reset Inhibit or Capture These functions are explained later in this chapter The CTRIO discrete output s can be assigned to the Counter function using the Preset Tables dialog Refer to Cr
24. ut option is assigned by ee ee clicking in the appropriate box and specifying a bateta E p Timeout period Once the timer is enabled the Ae Timeout Bit is set if the time that it takes the mna r CTRIO to see the configured input edge exceeds Lii oa F 7 the specified Timeout Period Also if the time before the CTRIO sees the next configured edge ppa e exceeds the specified Timeout Period the Timeout bit is set More information about the Timeout function can be found in chapter 6 ral Cherie on Chi Fl 4 The last remaining decision to be made is about scaling Clicking the button with the tape measure symbol starts the Scaling Wizard We discuss the aS scaling wizard later in this chapter The Scaling Wizard is intelligent in that it offers scaling options that are appropriate for your input selections Eh 10 i Counter I O User Manual 2nd Ed Rev D Chapter 4 Configuring the CTRIO Inputs Reset 1 and Reset 2 Hard Resets for Counters Only Reset 1 is available only if you have selected a Counter or Quad Counter as the primary function For example if you have chosen either counter function single ended or quadrature on terminal 1A you will have an option of using terminal 1C for a hard reset signal Other options are available on terminal 1D Those options are Capture and Inhibit see next page P Unassigned P Reset Reset 2 is available if you have ee selected to use

Download Pdf Manuals

image

Related Search

Related Contents

Draper Paragon Large Electrically Operated Projection Screen User's Manual  HMMER User's Guide - Eddy/Rivas Lab  取扱説明書 - 三菱電機  Mayne 5867-B Instructions / Assembly  DX-C200P Operation-Manual Software IT  Questions fréquemment posées - Support  Installations- und Bedienungsanleitung Deutsch  V7 Computer Power Extension Cable IEC-C13 to IEC-C14 black 2m  

Copyright © All rights reserved.
Failed to retrieve file