RMA
Member
For a project I'm currently working on, I get a text file from a customer PC into the S7 by FTP transfer. The file contains a string with date and time and the curent and maximum temperature for 5 magnetic coils. I need to check that the current temperature is less than the maximum allowed before the next experiment can proceed.
Because the String does not have the correct format for the STRING to Date and Time or STRING to REAL conversion, I extract the necessary characters and add in the missing bits (e.g. sign and a final zero) and store them in a DB (with symbolic names). However, despite the fact that the strings are in the format described in the help files neither conversion works.
Anybody got any ideas. I've tried the Siemens Hotline, but so far they haven't come back with anything.
Because the String does not have the correct format for the STRING to Date and Time or STRING to REAL conversion, I extract the necessary characters and add in the missing bits (e.g. sign and a final zero) and store them in a DB (with symbolic names). However, despite the fact that the strings are in the format described in the help files neither conversion works.
Anybody got any ideas. I've tried the Siemens Hotline, but so far they haven't come back with anything.