Jump to content

Recommended Posts

Posted

hello,

i need some help in measuring the amplitude of one 50ms pulse.

i am using V570 PLC and V200 and i wired the incoming pulse in to Analog in 1 of the V200 and link it to MI1.

i can see the voltage reading , but how can i capture it and save it ?

thanks for your help...

Posted

I can give you two ideas:

1. If you just want ot catch te max reading, you ccan perform simple logic, as follow:

Each scan of the controller you will compare the reading (in your case MI1) to a "buffer" - let's say MI2 (any other MI can be used too). If MI1 > MI2 (curent value greater than buffer), Store MI1 to MI2.

This way in the buffer (MI2 in our example) you will have the max value.

2. Make DT and store MI1 on it each scan. In some cases yu can fil lMI1 in vector (Vector Fill) instead in DT.

Posted

hello,

i did what you suggested in no 1.

and MI 2 is getting the value of MI1 but when the pulse goes to 0 MI 1 and MI 2 goes to 0 too.... i dont know why MI 2 dont remain whit the high value...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.