Nearbyatom
Member
This is all pertaining to the Micro850 and modbus. A couple things:
1.) How do you read double words? I can read/write words but there's no good way to read double words. I found a UDFB called "words into real" but I can't just read those 2 words, put them together, do a "any to dword" conversion and expect a dword. It seems the formatting is different.
2.) How do you write the dword and float? It seems I have to somehow break apart the dword/float into 2 words, send those out as words, then have the slave put the words back together. Is that right? But how?
I've been using this tech note to help me:
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1032507/page/1
Please advise. Thanks.
1.) How do you read double words? I can read/write words but there's no good way to read double words. I found a UDFB called "words into real" but I can't just read those 2 words, put them together, do a "any to dword" conversion and expect a dword. It seems the formatting is different.
2.) How do you write the dword and float? It seems I have to somehow break apart the dword/float into 2 words, send those out as words, then have the slave put the words back together. Is that right? But how?
I've been using this tech note to help me:
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1032507/page/1
Please advise. Thanks.