Shop OBEX P1 Docs P2 Docs Learn Events
Need the stamp to count pwm pulses from an plc — Parallax Forums

Need the stamp to count pwm pulses from an plc

atlasatlas Posts: 1
edited 2007-06-03 14:46 in BASIC Stamp
I hawe done some search for someone that hawe had som simular problems/ide like me but it was not easy to find then i need to try this!

I use this realy nice croutzet millennium III·plc:s for meny things.


But meny, meny, times i run out·of outputs, (easy to build out·for more outputs, but that is not the question at the time).
And i the posibility to run som RC servos to are realy intresting.

But i realy want to use the PLC PWM output to be "feed" to the stamp as an kind of valueinput from 0-255, that wood bee sooooow reeely niccce.

The plc hawe som diffrent pwm· hz to chose betven and·so i·hope that are not a problem.

It wood be easy to use some counting out from phe plc and some counting in at the stamp, usaly speed is not to inportant but this way is reay slooow.

And the plc hawe an realy nice way to make some extra outputs tru PWM.


Sorry for the spelling problems Atlas

Comments

  • metron9metron9 Posts: 1,100
    edited 2007-06-03 14:46
    Somebody said...
    The plc hawe som diffrent pwm hz to chose betven and so i hope that are not a problem.

    If the BS2 can count pulses as fast as 4.16uS using the count command. That should work for you. See the COUNT comand in the help file.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Think Inside the box first and if that doesn't work..
    Re-arrange what's inside the box then...
    Think outside the BOX!
Sign In or Register to comment.