Jump to content

Recommended Posts

Dear Sir,

I am using V1210 PLC

How to convert MF (Memory Float) Value into MI (Memory Integer)?

My MF values will be like -0.0023, i have to use this value for plotting graph Trends. But the trends having only option to link  vector operant MI only. 

Here, i dont know how to convert my MF value -0.0023 into MI. 

Or do you know any other option is there to use my MF value to plot Trends?

Kindly help me please. 

Share this post


Link to post
Share on other sites

I tried ladder snippet in photo on a V430 (online mode). Using an MI as "C" result only shows a "D#2", I had to use an ML to get 2300 (derived from -0.0023). If you need MI just drop a STORE block with A=ML202, B=MI202. This will give you a baseline MI that will go up or down proportionally to the MF. If you want to preserve the negative sign then omit the ABS function block.

The middle FB is found in MATH, FLOAT, CONVERT, INV (A+B/n). Hope this helps!

MFtoMI-ladder.JPG

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...