12/14/2020 9:56 PM | |
Joined: 6/11/2013 Last visit: 11/27/2023 Posts: 11 Rating: (0) |
Hello all, I'm trying to migrate the s5 program to S7. But I'm getting errors like shown below when converting the s5 file to s7 files. how can I solve the errors? I have little knowledge of S5. thanks *** Error in Line 2009 (FB 171): Command not defined. ***LIR 0; // HOLE ADRESSE DB172*** Error in Line 2014 (FB 171): Command not defined. ***LIR 0;*** Error in Line 2020 (FB 171): Command not defined. ***LIR 0; // HOLE LAENGE DB172*** Error in Line 2034 (FB 171): Command not defined. ***LIR 0; // HOLE ADRESSE DB173*** Error in Line 2039 (FB 171): Command not defined. ***LIR 0;*** Error in Line 2045 (FB 171): Command not defined. ***LIR 0; // HOLE LAENGE DB173*** Error in Line 2054 (FB 171): Command not defined. ***LIR 0; // HOLE ADRESSE DB174*** Error in Line 2060 (FB 171): Command not defined. ***LIR 0; // HOLE LAENGE DB174*** Error in Line 2069 (FB 171): Command not defined. ***LIR 0; // HOLE ADRESSE DB175*** Error in Line 2075 (FB 171): Command not defined. ***LIR 0; // HOLE LAENGE DB175*** Error in Line 2251 (FB 172): Command not defined. ***LIR 0;*** Error in Line 2286 (FB 172): CALL SFC20 generated. Please complete parameter list. ***);*** Error in Line 2310 (FB 172): Command not defined. ***LIR 0;*** Error in Line 2346 (FB 172): CALL SFC20 generated. Please complete parameter list. ***);*** Error in Line 2357 (FB 172): CALL SFC20 generated. Please complete parameter list. ***);*** Error in Line 2396 (FB 172): Command not defined. ***c006:LIR 0;*** Error in Line 2403 (FB 172): Command not defined. ***LIR 0;*** Error in Line 2424 (FB 172): CALL SFC20 generated. Please complete parameter list. ***);*** Error in Line 2499 (FB 172): CALL SFC20 generated. Please complete parameter list. ***);*** Error in Line 2748 (FB 173): CALL SFC20 generated. Please complete parameter list. ***);*** Error in Line 2777 (FB 173): CALL SFC20 generated. Please complete parameter list. *** Attachmentgrate cooler.zip (511 Downloads) |
12/15/2020 2:09 AM | |
Joined: 9/27/2006 Last visit: 11/11/2024 Posts: 12293 Rating: (2691) |
Hello margo; Have you looked at the manual "From S5 to S7", I mean, really studied it? You would find very important recommendations on yhe procedure to prepare the S5 program for conversion, and on how to handle errors generated by the conversion software. https://support.industry.siemens.com/cs/us/en/view/45531547 For example: "In general, not all the parts of a program can be converted. Considering the following points will help you decide whether to convert your S5 program or to recreate it in S7. Programs only containing digital and binary logic operations do not need to be revised. Absolute addresses cannot be addressed in S7. The corresponding instructions (such as LIR, TIR, etc.) are not converted. If a program frequently works with absolute addresses, it is a good idea to rewrite these parts of the program or, if necessary, the entire program. Processing functions (such as DO FW, DO DW) are partially converted; however, in this case you can save memory by reprogramming the functions in S7. This functionality can be obtained with indirect addressing. The parameter values of block calls must be always be checked and adapted since the actual parameters used are transferred during conversion without being changed." Look also at the attached screenshot and the rest of chapter 4. Hope this helps, Daniel Chartier
|
Last edited by: dchartier at: 12/15/2020 02:11:49 |
|
Follow us on