11/7/2017 7:52 AM | |
Posts: 18 Rating: (0) |
Hi How can I convert String Value to Real ? I used String to Real function to convert, I have already had Real value but PLC only display positive value. PLC did not display negative value as same as the Weighing Indicator . Weighing = 0.0 --> PLC display 0.0 weighing = 0.1 or higher --> PLC display the same weighing = - 0.1 or lower --> PLC still display 0.0 . How can PLC display as same as the Weighing Indicator thanks. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 11/8/2017 8:32:16 AMNew subject after splitting |
|
11/8/2017 9:39 AM | |
Joined: 7/9/2015 Last visit: 11/19/2024 Posts: 4028 Rating: (603) |
Hi, in Step 7 V5.5 you can use IEC standard functions for converting. FC39 converts String to REAL but the String needs a special format... Please check this: https://support.industry.siemens.com/cs/de/en/view/10913338 Regards, Towome |
|
|
11/8/2017 10:41 AM | |
Posts: 18 Rating: (0) |
hi thanks for your suggestion, but unlucky I'm using S7-200 so Step 7 V5.5 is not available to me. Have you got any idea using S7-200 ? best regards |
11/8/2017 12:44 PM | |
Posts: 103 Rating: (37) |
|
Follow us on