Xiang Posted October 13, 2020 Report Posted October 13, 2020 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?
MVP 2023 Flex727 Posted October 13, 2020 MVP 2023 Report Posted October 13, 2020 Moved to the correct forum.
MVP 2023 kratmel Posted October 13, 2020 MVP 2023 Report Posted October 13, 2020 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.
Xiang Posted October 14, 2020 Author Report Posted October 14, 2020 10 hours ago, Flex727 said: Moved to the correct forum. Thank you guru
Xiang Posted October 14, 2020 Author Report Posted October 14, 2020 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.
MVP 2023 kratmel Posted October 14, 2020 MVP 2023 Report Posted October 14, 2020 SAMPLE project MI_TO_MF.vlp
Xiang Posted October 14, 2020 Author Report Posted October 14, 2020 8 hours ago, kratmel said: SAMPLE project MI_TO_MF.vlp 222.9 kB · 1 download Thank you kratmel, My problem was solved by using your example.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now