OT: Looking for sub msec resolution timer

ndzied1

Lifetime Supporting Member
Join Date
Aug 2002
Location
Chicago, Illinois
Posts
2,856
Hi All,

I am in need of a way to measure a pulse that will have an approximate duration of 7msec. I would like to have a resolution of 0.5 msec but could probably live with 1msec.

PLC will likely be Eaton/Moeller XC-201 which has some interrupt inputs but I am not familiar enough with them to know if they will work for me or not. I know I can call a routine on the interrupt but I don't know if I can get to a high resolution tick in the OS with a know duration to make an intelligent calculation.

Anyone come up against this?

Thanks,
Norm
 
with a PLC this wont work as the cycle time is too long and not steady due to communication etc.
try an arduino it is running 1 MHz cycles.
the output can be or digital or a PWM analog signal.
Or you can use an old type IC 555 to change the signal from digital to analog.
or indeed a unit like you suggested and put the signal analog to your PLC.
 
I measure periods that a digital signal is high with an STB EHC (high speed counter module). User manual is here.

Period measuring is not the default, but it is an option. From page 62:

By setting the mode to edge-to-opposite, the time period during the event can be
measured. The following figure shows the application of this mode with the
implementation of a 100 μs period measurement value:​

This is 'lego' IO - the parts snap together. It's not my favorite design of snap-together DIN rail IO but it tends to be relatively inexpensive and there are head modules with ModbusTCP, CANOpen, and EtherNet/IP (I think others, but this is all I use). One of them supports RSTP, which is great for Ethernet rings.

I doubt this is unique to Schneider. I wonder do most other high speed counter modules support this type of period measuring mode?
 

Similar Topics

Hi , Where i can find Mitsubishi PLC Card end of line & replacement model details. i am looking for Q02CPU replacement model. Please advice. thanks
Replies
2
Views
126
I have Allen Bradley plcs, I have had Circuit breakers and other automation equipment in the past. There's no solid buyers local. How much do you...
Replies
2
Views
202
can anyone has a good program to learn plc programming online. i have the basic looking into improve my skills thanks
Replies
1
Views
144
I want to monitor a couple signals in a place where there is no PLC but there is ethernet. I know I can use an AENTR or Flex I/O and a module but...
Replies
21
Views
779
I downloaded v24 for studio 5000 but can’t find where the download manager put it! Any help? I’ve done it before but can’t remember. Thanks
Replies
9
Views
391
Back
Top Bottom