How can I monitor pulse output frequency in Omron CP1L in Data Trace?

strantor

Member
Join Date
Sep 2010
Location
katy tx
Posts
401
I'm playing around with the pulse output functions of Omron CP1L and I would like to monitor the output frequency in data trace. I do not see a frequency output storage word. I can use A276/A277 to monitor the actual PV, but I want frequency. It seems strange that they show the trapezoidal speed output graphs repeatedly in the manual, but don't give you a frequency output word to verify what the manual shows. Any advice?

Thank you.
 
The only way that I know of is to connect the pules output to high speed counter 0 and use the PRV or PRV2 instruction to read it. Not pretty, but it works.
 
Yes the PRV is what I'm working with at the moment. According to the manual, it should be able to read the output freq from the output without looping it back around to the input. The way I read the manual, this should work:
PRV(881) #0000 #0013 D200

This should move the output frequency word to D200. But it doesn't seem to work. Is this what you've encountered?
 
Disturbing discovery?

So the high speed counter function is only available for the input (and only input 0)? WTH? I can't use this function for an output? Why then does the rest of the manual tell me that I can? :confused:o_O:mad:

high speed freq.jpg
 
Ok, I figured it out. The key word is high frequency. You can use PRV(881) to monitor output frequency, you just can't specify high frequency.

this works: PRV(881) #0000 #0003 D120.

Screenshot is a 50hz/4mS accel & decel to 50KHz

high speed freq2.jpg
 
As an interesting side note, I just realized that I'm playing with a relay output PLC. CP1L-L14DR-A. Pulse output works just fine on the software side (CX programmer doesn't care), but on the hardware side I'm pulsing a relay coil @ 50Khz. LOL @ me, LOL @ Omron. I was wondering why I kept hearing a relay click (once) when I started my ramp-up.
 
Hi,

I checked the forum, and actually the rest of the internet also, but I can’t find an answer to the following.

I’m programming an Omron CJ2M with an MD212 high speed I/O card. I usually do all my programming in Structured text, simply because I like it a lot over ladder or sft.

Now, if I want to read the hight speed counter (incremental encoder), I have to make a ladder section and use the PRV instruction to store the present value in a chosen location.
The manual says the current PV is stored in A271, but I can’t get a readout there. Apparently the only way to read it is through this instruction.

Does anyone know if there is an equivalent to the PRV instruction for Structured text? or another way perhaps?
 
Last edited:

Similar Topics

I have an oiler that needs to be monitored. The oiler lubes a head bearing at a rate of 9 pulses a minute. If the pulses fall to 7 pulses/min or...
Replies
8
Views
2,488
We have a quad monitor setup with FT SE and we are utilizing a header screen at the top of every display. when we open a new page we abort the...
Replies
0
Views
77
Our plant manger/my boss wants each line to display the takt time above the line. I am trying to research the cheapest way to do this. Our plant...
Replies
3
Views
166
Hi Folks, Looking for support and ideas. We are trying to go online to monitor/fault find on an S7-300 programmed with TIA Portal V15. I can...
Replies
9
Views
306
We finally replaced our Cognex Checker with an IV-3 and I'm wondering if can replace the s/w in the monitor with anything else. I haven't been...
Replies
0
Views
79
Back
Top Bottom