shh
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by shh
-
-
Hi,
What is the best solution for converting two 16 bits registers from modbus device to floating point in UniStream? 2x16 bit registers = 32 int to float. (IEEE754 single pr). Is there any FB for this kind of conversion?
The device information:Quote0x12345678 , shall be written in two consecutive registers, where the first register is 3499. Therefor the value has to be transmitted in the following way:
Reg 3499, high byte 0x34
Reg 3499, low byte 0x12
Reg 3500, high byte 0x78
Reg 3500, low byte 0x56
I don´t believe I have to do this manually with calculation according to standard IEEE 754. If anybody know any method, it will be appreciated.- 1
-
Hi
I Have a trouble connecting to secomea too. I think there is not so many people using unistream so there are many questions that never get answered. I will follow this thread if anybody know anything about this problem ---- (secomea to unistream).
-
Tanks for fast response
It works as you said but it´s not very good to have to to do that in a running system.
Is it possible to boot the PLC before starting the download ("exit to boot" or "exit to factory boot" on screen) and if yes, what is the difference between these to options.
Best regards
-
Converting two 16 bits registers to float
in UniLogic Software
Posted
Thanks Saragani, It works perfectly.