Jump to content

two memory integers to 1 float memory by struct function and Float convert function


Recommended Posts

Hello guys,

I have pull somes data from power meter to plc by using modbus 485 via visilogic. Power meter data is two 16bits integers (MI), MI0  is + value and MI1 is - value.

If I want to combine MI0 and MI1 convert to MF, which function I need to use? I found some people's topic say that need to use Struct function and Float convert function. But I don't know how to use its.

Can someones show me example  to do that?

Link to comment
Share on other sites

5 hours ago, kratmel said:

you must see this

You must place this  two MI value to vector ->>>> This is followed one by one MI.

Then use idea posted in this topic.

I see this topic before. but I have no idea how to use Struct Block, even trough see the help file in program still not understand yet. Can you explain how to use this block. 

Link to comment
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...