×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Idec Microsmart

Idec Microsmart

Idec Microsmart

(OP)
Good Day,

I want to count the number of pulses generated on an input in a 60 second period and convert that number into a DC voltage that would change during the next 60 second cycle if the number of pulses changed.  I need it to be a DC voltage so it will interface with an exhisting piece of equipment.  0-5 VDC

Example  first 60 seconds = 25 pulses = output voltage 2.25
         second 60 seconds =29 pulses = output voltage 2.5
         third 60 seconds = 26 pulses = output voltage 2.3

and so on

RE: Idec Microsmart

I am not familiar with the PLC but the way i would attempt to do this would as follows. Firstly a timer self ressetting of 60 secs and a flag related to this timer. Then a counter which is storing the number pulses from your particualar input into a data memory area. You would then have a block of code carrying out a function which would then be repeated over and over for however many samples you need. This would consist of a compare function which is triggered by you 60sec timer the compare function would be comparing a preset pulse count to that being stored in the data memroy area mentioned above and when they are equal(the microsmart should have a lsit of internal flags for equal greater than etc) a output would be energised etc but this would only occur on the moment the 60sec flag tells it to. like i said this would then be repeated over and over for say 25,29,26 pulses etc. Some additionl code might be needed like resetting the counts in the data memory area after 60 seconds but like i say i am unfamiliar with your PLC. Hope this has helped a little.

Taggy

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources