5/22/2010 2:00 PM | |
Joined: 3/14/2008 Last visit: 6/5/2023 Posts: 1934 Rating:
|
Hello, I also have problems with some analog i/o... There is a function block which scales and convert the raw data to a usable value. My analog inputs (PQW) are all words, but the datatype of the FB where they are connected is INT. I cannot see any errors because the datatypes are not the same. I only get an error: conflict with symbol table, when I want to change a FB used for scaling. Then it says there is a conflict with the symbol table and I have to convert from datatype WORD to INT to be able to use. Thank you Splitted from Error while using instance DB on a FB. |
Last edited by: O_Moderator at: 5/25/2010 9:29 AMnew subject after splitting If I could help you, you can use the RATE button. Thank you. |
|
5/22/2010 2:27 PM | |
Joined: 10/7/2005 Last visit: 6/5/2023 Posts: 2966 Rating:
|
Hello again Oreca Your AI's are nothing else butvalues in a 16 bit "container". A hex (WORD data type) representation ofa 100% AI value is "6C00", an Integer representation of the same is "27648". Bottom line, declare your AI's as Integers in the symbol table and this type conflict will go away too. I hope this helps |
Cheers |
|
Follow us on