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

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.