9/4/2020 12:00 PM | |
Posts: 11 Rating:
|
Its a step 7 software with a scl editor. Version 5.6 +SP1. Running on a 319F-3 PLCSIM. |
Last edited by: The_Beginner at: 09/04/2020 12:00:38 |
|
9/4/2020 12:37 PM | |
Joined: 9/27/2006 Last visit: 6/5/2023 Posts: 12034 Rating:
|
Hello Beginner; S7 error messages are generally quite literal, when you are told that you are not using the correct data type look in the Step 7 online help or the manuals at what type is expected. In the case of SQRT, inputs and output values to the function are expected as REAL (IEEE 751 floating-point format). Open the SCL programming for S7-300 and S7-400 manual: https://support.industry.siemens.com/cs/ww/en/view/1137188 Hope this helps, |
Follow us on