Utilizing Step7 Scaling Functions FC-105/106 in Siemens Automation

Question:

This is my first experience with Simatic Manager Step7, as I initially began my Siemens journey with TIA, which offers a user-friendly interface and automates many processes. Currently, I am utilizing the scaling functions provided in the Step7 library, specifically "FC-105" for scaling and "FC-106" for unscaling. Given the numerous analog inputs requiring scaling and a few analog outputs needing unscaling, I find myself consistently calling upon these functions. I encountered an issue when attempting to use the FC-105 function for a second time, receiving a prompt indicating that the object already exists and prompting whether I wish to overwrite it. In this situation, should I choose to rename the object or overwrite it? How will my selection impact the program's functionality?

Top Replies

After adding the item from the library, it will become available in your project. Make sure to access it from the project blocks folder going forward.

Instead of manually invoking the function a second time, I mistakenly dragged and dropped it from the library once more. It was an oversight on my part.

aamirawan91 admitted feeling foolish but is actually just in the process of learning. It's common for individuals to have to revisit concepts and information periodically in order to retain and reinforce their knowledge.

In your case, I'd advise against overwriting since each instance of "FC-105" or "FC-106" is likely associated with a unique analog input or output. Overwriting might compromise or overwrite the configuration of the previously associated analog I/O. Choosing to rename the object each time would help you maintain distinguishable instances for each I/O. As a best practice, a descriptive and unique naming structure improves debugging and program maintainability. For future references, this feature might seem cumbersome compared to TIA, but it gives you more control over specific I/O settings. It can be a steep learning curve, but you'll appreciate the granularity of control once you get the hang of it.

Avoid overwriting functions unless you are absolutely sure you no longer require the first instance of the function in your future functions or programs. Overwriting may erase crucial code that can affect the performance of your system. As for renaming, it can be a good option if you remember to address each instance specifically in your code. This will help maintain the uniqueness of your functions. Still, keep in mind that too many similar-named functions might lead to confusion in the long run. So my ultimate advice would be to only create new functions when it's absolutely necessary to avoid cluttering. But when dealing with possible duplicates, lean towards renaming.

It sounds like you're really diving into the nitty-gritty of Step7! When you get that prompt about overwriting an existing object, it’s usually best to rename it if you think you might need to refer back to the previous version later or want to maintain a clearer program history. Overwriting could cause you to lose any unique settings or configurations associated with that object—if they’re important, it's definitely safer to create a new one. Ultimately, it comes down to how you plan to manage your project going forward, but keeping things organized can save you a lot of headaches later on!

Hey, great to see you diving into Simatic Manager Step7! When you get that prompt about overwriting the object, it really depends on how you plan to use it. If you rename it, you can keep both versions, which can be helpful for testing or tracking changes without losing the original function. However, if you're sure that the new scaling settings are what you want going forward, overwriting might be simpler. Just remember that overwriting will change all instances where that function is called, so double-check how many places you're using it, just to avoid unexpected results in your program. Good luck with your project!

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. I am encountering an issue in Step7 when using the FC-105 scaling function for the second time. What should I do when prompted to overwrite the existing object or rename it?

Answer: Answer: When prompted to overwrite the existing object or rename it, it is generally recommended to rename the object to avoid any potential conflicts or unintended consequences in the program's functionality. By renaming the object, you can ensure that each scaling function is uniquely identified and called upon as needed.

FAQ: 2. How does the FC-106 unscaling function in Siemens Step7 differ from the FC-105 scaling function, and in what scenarios should I utilize each of them?

Answer: Answer: The FC-105 scaling function in Step7 is used for scaling analog inputs, while the FC-106 function is specifically designed for unscaling analog outputs. You should utilize FC-105 when you need to convert raw analog input values into meaningful engineering units, and FC-106 when you need to reverse this process and convert scaled engineering units back into raw values for analog outputs.

FAQ: 3. Can you provide some best practices for efficiently utilizing the scaling functions FC-105 and FC-106 in Siemens Step7 to handle multiple analog inputs and outputs?

Answer: Answer: To efficiently handle multiple analog inputs and outputs requiring scaling and unscaling, consider creating separate instances of FC-105 and FC-106 functions for each input/output variable. By doing so, you can avoid conflicts

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’