2/15/2024 10:10 AM | |
Joined: 3/9/2009 Last visit: 3/3/2024 Posts: 13 Rating: (2) |
Realise this is a bit of a dated topic however I am reading signed integers from Logo 8.3 over Modbus intoWin CC K7.4.1.19 I can set the format of a tag to Float, but the adapat format option does not permit any usable options to convert 16 bit signed to float. The tag length is then 4 bytes and I assume it tries to read 4 bytes from the logo, so t\he resulting tag value is zero. Secondly if I try to set the tag format to signed 16 bit, it does not present any adaptation to convert the signed number to float. If the t\ag is formated as a float, I can enter decimal points in the scaling so i can take 100 to 2010 and scale them to give 0.1 to 20.1 however this does not produce the desired effect, the tag value remains at 0 Bottom line is setting the tag type to float determines the format from the logo to be a 4 byte floating umber, which it isnt. I am so tired of looking for tags defined in scripts to solve this problem which in 30 years I have not been able to solve, please help me solve this before I die of old age. ------------------------------------------------------------------------------------------ |
Last edited by: The Helping Hand at: 02/16/2024 08:10:32New subject after splitting |
|
Follow us on