Cfp-ctr-500

Hi, I have recently upgraded a system from fieldpoint modules to compact fieldpoint.
I have a cfp-ctr-500 module which I use to generate a pulse output, a terminal count attribute is used to program the length of the pulse (5-1000ms) and the output is on channel 0.
With the old system this worked very well but with the compact fieldpoint module I cannot get any output.
If I make an output mode attribute then select 1 it takes the output high, when 0 is selected it takes it low.
with the old modules I had an attribute called control @ch1 which I set to true to send the pulse, cfp seems to have different names.
Getting very frustrated that I cannot get it to work, any help would be great.
Thanks
Allan

Hi,
The original modules were FP-CTR-500 RS485 coms and the new modules are cFP-CTR-500 ethernet coms.
There are two modes of operation.
Mode 1 raise the output to a steady level for a time between 1 minute and 60 minutes, this is working ok by setting the output mode for the channel to 1.
Mode 2 single pulse of variing length, set by setting the terminal count to appropriate millisecond count.
Pin 9 and pin 15 are linked together,output 2 to gate 0.
Allan

Similar Messages

  • Frequency in cFP CTR 500

    Hi, I got a VI to read frequency from cFP 2020 with the CTR-500 module (Frequency Measurement.vi) in NI Example Finder. When I run this VI in LabVIEW for Windows, it's all right. But I want to run it embedded selecting the target and, when I do it, I cannot read the frequency. Does anybody knows what could be happening? Thanks

    Hi letreca,
    I took a look at your code and it doesn't look like
    anything is really wrong there.  There was one thing that I think might
    help you.  Because you do not have any sort of data dependencies, you
    could be causing a condition where you are resetting the counter before you
    read it.  The best way to change this would be to connect the error out of
    the Read.vi with the error in of the Write.vi.
    You mentioned in your first post that you were using
    Frequency Measurement.vi from the example finder (Browse > Hardware Input
    and Output > FieldPoint > Advanced); however, the code for frequencia.vi
    looks completely different.  If you run the example do you get the same
    behavior? 
    I think you may be having an issue mentioned in the first
    paragraph because you may be resetting the counters too early.  Try the
    example and if that works, use the same technique.  If that doesn't work,
    then try to modify your existing code as described.  If neither works tell
    me what has changed and what hasn't so I can try to take a closer look into
    everything.
    Regards,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • How can I find the position of a robotic arm with a cFP-CTR card?

    Hello,
    I use a CTR-500 to measure the pulses of 3 encoders.
    The encoders are related to the 3 axis (x,y,z), to which a robotic arm is moving.
    Each encoder has 2 channels (A,B) which go to each pair of Count Inputs of the CTR card.
    When the robotic arm is moving on one axis, the corresponding pair of Count Inputs is increasing, but there is a phase between the one Count Input and the second one. What is more, the Count Inputs do not decrease when the robotic arm is moving to the other direction, but they still increase.
    So, I cannot find easily the position of the robotic arm.
    What I have done, is to try finding the position, by using only one Counter Input for each axis. This means that I use the value of the encoder as a counter, and I calculate the position with some software tricks. But for some reason, it does not work properly.
    I have heard that the method I use is not proper. Instead, I have been told that I must use the phase of the 2 Count Inputs, in order to find the direction to which the robotic arm is moving. But, the Count Inputs of the CTR are augmenting in parallel, when the robotic arm is moving forward or backward.
    How can I find the position of the robotic arm, as it is moving like a CNC ?
    Thank you very much.
    Message Edited by nikosfs on 08-21-2009 12:27 PM

    You don't want to use a cFP-CTR-500 card.  What you have are quadrature signals.  You should be using the cFP-QUAD-510.  It has 4 channels that can handle both the A and B signals of a quadrature encoder.  It has the built in circuitry do determine the phasing of A vs. B to know when to count up vs. count down.

  • Flowmeter with FP-CTR-500/502

    Hi to all,
    any people have experiencing for flowmeter with a counter NI FP-CTR-500/502,
    its a right choice for mesureament from 4 to 400 GUS/h ?
    Many thanks in advance for any indication.
    Best regards.  

    Hi adrtab5,
    I'm not sure about what GUS/h means. Looks like a sort of "rotation rate" something like rpm but slower.
    Anyway you can find information about 500/502 specs on this KB Measuring Frequency With the FP-CTR-500/502
    And obviously in the manual FP-CTR-500 and cFP-CTR-500 Operating Instructions.
    You should see if the specification of the CTR-500 match your needs, namely the specification of your flowmeter.
    Here's an extract.
    Input Characteristics
    Number of channels.......................... 12 (8 count, 4 gate)
    Input type..........................................10–30 VDC sinking,
    compatible with most 12 and
    24 VDC devices
    Maximum input voltage....................30 VDC
    Input threshold level
    ON state......................................≥10 V
    OFF state ....................................≤6 V
    Input current limiting........................5 mA maximum
    Input bandwidth
    Count inputs ...............................50 kHz; 200 Hz with
    software-enabled lowpass
    filter
    Gate inputs..................................50 kHz
    Maximum off-state leakage
    current for external devices...............0.2 mA
    Best Regards
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • How can I measure RPM with CTR-500 module?

    I have used  the CTR-500 module for mesurement of  motor RPM. But it doesn't have direct option to measure  RPM ,
    so i have count pulses for  1sec (then reset the counter) and  by calculation show the result for 1min. But it varies every time ,cant give me fix RPM.
    I want reliable solution for this.

    min
    You have not said how much the RPM actually varies from reading to reading and what the range of measured RPM is for the process.  This variation can be caused by a couple of things.  One would be actual variations in RPM due to changes in motor loading.  What is this motor driving?  Most RPM readouts use some form of sample averaging to smooth out the readings.
    A second cause could be your vi.  Suggest you post a copy of your vi. 
    In case you have not seen it, here is a link to a KB about measuring frequency with cFP.  It also links to several other docs on the same subject .  http://digital.ni.com/public.nsf/allkb/D8DB42F9FDC3607E862568640047F144?OpenDocument 

  • FP-CTR-500 and Frequency Measurement: How to modify it to report the frequency (0-10 Hz) every one minute?

    How to modify "Frequency Measurement" to report the frequency every one minute?  
    The signal frequencies vary from 0 to 10 Hz (see the analog output plot and attached sample data file), so I want record the average frequency every one minute. 
    Software: Labview 8.5 
    Hardware: FP-CTR-500
    Program: "Frequency Measurement"  --build in and under "NI example finder", It was attached with this message. 
    Physical wiring: (1) The signal I want to measure to count input 1 (pins 2 and 18).  it is a pulse signal (range from 0 to 1 V, see the plot and attached data file). 
     (2) Wire Output 0 (pin 130 to gate 0 (pin 9).   Do com pins 26 and 30 need to wire together? 
    FP-CTR-5000 was set up in Max based on the program instructions. I have tried different gating pulse frequency, my readings are always "0". 
    Attachments:
    H2O_20130809.xlsx ‏18 KB
    Frequency Measurement.vi ‏35 KB

    CTR-500 high pulse is >=10V. Hence, it always read your pulse as low. With this low voltage pulse, you must use analog input module, and write a program to read pulse from analog level. You must also make sure that you pulse is not so narrow that cFP loop is not fast enough to capture voltage change.

  • Voltage loss on incoming signal to CTR-500

    I have an optical sensor with at 12Vdc power supply hooked up to a CTR-500 module with the cFP-2020. I am trying to set it up to pick up the RPM of a motor. The speed range of the sensor is 1-250000RPM which is more than enough since the max I will see is 4000RPM. With the Power supply either routed through the Module or not through the module, I can see a 10V pulse on a scope comming from the sensor(when sensor line is not connected to module) But once the signal is connected to the channel I want to read it with, the signal Pulse Voltage drops to about 8.5Vdc, which is under the requirement to generate a count.
    Can anyone tell me why I am getting a voltage drop? How can i fix it.

    rameymm,
    The 10 V you read from the sensor with a scope, what is the ground referenced to? When you are measuring the voltage at the inputs of the module, COM is tied to the ground of the 12 V power supply. It is possible that you have a common mode voltage.
    Is there anyway you can increase the high voltage the sensor outputs? 10 V is pretty close to the 10 V minimum required between Vin and COM to register an ON state.
    Ames
    Applications Engineering
    National Instruments

  • How can we substitute the invalid option "reset after read" in FP-CTR-500 + FP-1600 frequency measurement application?

    We nned to incorpore the values of 2 frequency signals (0-10 Khz)into a process controlled by a VisualBasic application running on 1 PC with W'95. Because the FP-CTR-500 working with FP-1600 hasn't the option "reset after read", the process of reading is a bit complicate, and sometimes, we receive wrong values of frequency from those devices. Could you help me? Is there any extremely reliable method of reading? Best regards,
    Puho

    For frequency measurement information on the FP-CTR-500/502 modules. Please see KnowledgeBase Article #1TB63SUS
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/d8db42f9fdc3607e862568640047f144?OpenDocument
    Ultimately, the FP-CTR-500/502 modules are not designed for frequency measurement, although it is possible to use them to measure frequency. The one thing is that it works best to do the measurements over relatively long integration periods (1/4 second or more).
    Regards,
    Aaron

  • How to use cfp ctr 502 for rpm measure+cfp configure in labview

    i'm new in handling cFP's,i need to measure rpm of an engine using cFP CTR 502.Plz i need detail regarding which method either pulse counting or frequency method is required for my application,Plz also tell me is there any possibility of configuring cfp using labview

    Hi,
    please see the following link to NI-Discusion forum. There is simaler question.
    http://forums.ni.com/ni/board/message?board.id=110&message.id=1764&requireLogin=False
    I also send you tow links to LabVIEW examples. I hope it helps.
    http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_answer=&p_guid=BCB1261CBE2635D2E034080020E74861&p_node=174404&p_rank=&p_source=Internal&p_submitted=N
    http://venus.ni.com/stage/we/niepd_web_display.display_epd4?p_guid=BCB1261CBE2635D2E034080020E74861&p_node=
    TN

  • Is It Possible To Use NI cFP-CTR-50​2 as Quad Encoder?

    Instead of going the route of using a Quad Encoder (which requires additional cost and work to install for a project), I was wondering whether is it possible to configure the cFP-CTR-502 to count directionally using a Digital Input for direction and a prox-switch?
    If I used the DI as a Gate to count the prox-switch on two separate counters, then read the count when the Gate was TRUE and FALSE respectively, then did a subtraction of these two counts - couldn't I get the overall count in a particular direction?
    Is there anything wrong with the above?
    If not, I am pretty sure I can do something like this in software but was wondering if the cFP Module could be configured somehow to do it?
    Cheers
    -JG
    Certified LabVIEW Architect * LabVIEW Champion

    Andy H NI wrote:
    Hi jgcode,
    I think what you're suggesting could work. If digital input TRUE indicates movement to the left, and digital FALSE is movement to the right, then subtracting the two counts would work (this is what a quad encoder does, after all). The catch is that you cannot count edges when the gate is false, so the digital state can't be directly linked to a single counter gate. You would need to use two digital outputs and two counters on the CTR-502 to get around this. Writing TRUE to the gate of counter 1 could be one direction, and TRUE to the gate of counter 2 could be the other. Then you'd just subtract the two counts in software to find your position.
    Hope this helps!
    Thanks for your reply Andy. I am glad you think the concept will work.
    On further brainstorming of the idea, we discovered the same as above (cannot gate counter on FALSE) so am thinking we can have a non-gated count and a gated count and just do some maths to get around it.
    Or we can do as you suggested.
    Cheers!
    -JG
    Certified LabVIEW Architect * LabVIEW Champion

  • CTR 500 problem.

    We used fielpoint CTR 500 in a project and we noticed the following strange abnormality in their operation : everything is normal for several days. Suddenly, CTR 500 stops counting. The leds are blinking but in fieldpoint explorer (version 3.02), though everything looks normal the channels shows zero and I do not receive any alarm message. Restarting the PC nothing changes. Restarting fieldpoints by stopping and starting again power supply channels start counting again. Is there any explanation for this specific problem?

    Hi,
    The first thing you should check whenever this behavior comes up is the signal you are inputing in the FP-CTR module. This module has a threshold in the range of 6 to 10 V, that means the threshold of a particular module might be 10 V, so in order to garantee proper behavior your input signal should be at least at the level of 10 V.
    Monitor the signal in the input, because the LEDs have a slightly lower threshold then the input itself, so your signal might be activating the LED and not activating the input. The fact that you have to power cycle the module might somehow make your signal level to come back to the expected level.
    So the key point in this case is to monitor the input signal is in the necessary range.
    Best Regards
    Andre Oliveira
    Applications Engineer
    National Instruments

  • FP-CTR-500 outputs are failed?..

    We are working with a tandem FP-1600/FP-CTR-500, and we have set the 4 outputs of the counter module in toggle mode, using 2 counter channel to generate square-waves. All 4 output LEDs are blinking OK, but there are no change in the voltages of physical outputs (position 13, 14, 15 y 16 of terminal block). 24 VDC/ground of power supply is connected to pin V and C, and each different output has a fixed voltage level of 0.65 to 0.85 Volts aprox., even after power-up or general reset. By this way, there are no loads connected to those outputs. Can anybody help me?.

    I really do not recommend the self-repair option.
    I must point out that opening the module and making any changes to the circuit board voids all warranties on the device. Additionally, whereas I have a fairly good idea of what components need to be replaced, there is no guarentee that what we believe are the damaged components are actually the components at fault. Furthermore, for the components that I would suggest as the likeliest possible cause, your electronic maintenance department may or may not have industrial rated components available to replace the components and would not be set up to fully test the module after it is repaired. The test fixtures at National Instruments for the FP-CTR-500 are set up to test the cou
    nt inputs, internal clocks, frequency rejection filters, outputs, gates, input bandwidth and output bandwith.
    However, if you feel that your department is up to it, and are willing to void the warranty, then I can tell you which of the components (by the way, these are surface mount IC's) are the likeliest to have been damaged.
    Regards,
    Aaron

  • Problem resetting count on read with fp ctr-500 counter

    Using the ctr-500 module with a FP-1000.  I want to reset the count of a channel on each read.  The CTR-500 manual says to selecting "Reset on Read" from the Value menu.  I've done that but the counter never resets when I read it.  I then tried clicking on "Creat item" under channel attributes in MAX.  It creates an item called "Read Reset Mode @Count Input 0" under Data Neighborhood.  Added that item to the program and wrote to it with both a 1 and 0,  but when I read channel 0 it still will not reset. Obviously, I'm missing something. I would appreciate any help or a simple example so I can get this resolved.  Thanks, Mike
    Message Edited by mike72903 on 01-31-2008 10:51 AM
    Attachments:
    reset count1.vi ‏15 KB

    Found an example.  Thanks anyway

  • Trying to measure frequency with the cFP-CTR-502. Can't get tutorial to work!

    Hello,
    I am trying to measure the frequency of a
    signal that I'm counting using the cFP-CTR-502. I can successfully
    count pulses but I what I really need to know is the RATE of counts
    (counts/s or the frequency). I have found some Labview programs that
    supposedly do this that I've downloaded from ni.com (link below). The
    concept makes sense of using a gate and output but the programming is
    crazy - at least the program in the link below is. 
    1. Is there an easier way to measure the frequency of counts?
    2. Why will the program from the link below ( frequency_measurement__ctr_.vi
    ) not work on my system? I get an error everytime I run it. Could I be
    missing some VI's necessary for it to run? Or is it from another
    LabView version that is not compatible?
          The
    entire error is:   -32810 occured at FieldPoint initialization failed.
    Possible causes, 1. Missing or corrupt configuration file; 2. Failed to
    create call backs. : FP Open.vi
          Link for program: http://sine.ni.com/devzone/cda/epd/p/id/4682
    Thanks in advance for all your help and time!
    Sam T

    Sam,
    Have you tried the example titled Frequency Measurement.vi that ships with LV?

  • Pulse Counting Problem CTR-500

    I am using a couple CTR-500 on a compact fieldpoint setup to measure pulses from 2 energy (BTU) meters, 3 diaphragm gas meters, 2 liquid flow meters and 2 Watt-hour electrical meters.  I seem to have a problem with my pulse counts accelerating upon start up of the program (up to 1000 pulses/15 minutes <- which is unrealistic for the hardware installed and then falling to 5-10 pulses/15minutes <-reasonable value).  The pulse count does not correlate with the manual meter readings I have taken either, with the exception of the Watthour meters.  I am unsure if it is my program, wiring, or peripheral equipment at this point. 
    Has anyone seen a problem like this before?  I have included a couple graphs showing the raw pulse count (saved every 15 minutes) and the change in pulse count every 15 minutes.
    Solved!
    Go to Solution.
    Attachments:
    Pulse Counting Run Away.pdf ‏128 KB

    Here is an example vi of how I am reading the pulses and some data processing I am doing with the signal.  I have built in a totalised pulse counter to compensate for the maximum of 65535 pulses that can be counted by the module - so I do not miss pulse counts on reset. 
    Attachments:
    Example code for counting.pdf ‏60 KB

Maybe you are looking for

  • Work item not getting displayed in the portal

    Hi  experts, We are creating a protoype for one of the standard HCM form for change in working time. When we initiate the process, the workflow is supposed to identify the agent(which is the manager in this case) and push the work item in the inbox o

  • File not found in shared folder when transferred through Open Dataset

    Dear Experts, I am transferring a file to a shared folder using open dataset . The sy-subrc value returns as 0 . But i am not able to find the file in the destined path. But when i try to retrieve the file from the same path through CG3Y to my local

  • Adding view link programatically

    Hi, I have created a view link programatically but dont know how to add it to AM.Can anyone tell me how to add this view link to AM Programatically. Thanks, Anupama

  • How can I get FF to print my crossword in greyscale?

    I belong to The Times crossword website. when a crossword is accessed there are two buttons on the page: print in black, print in grey. If you click on print in grey the crossword turns grey, and it appears grey on the page and in print preview. Howe

  • Need some help with running portals on BEA Portal Server...

    Hi I'm having a trouble with Bea Web Logic 9.2 portal server. Every time I start a new domain and deploy EAR with web portal everything works just fine. Than after some time (looks like it happens after new roles and users where added via Admin porta