9/13/2023 5:58 AM | |
Joined: 1/11/2023 Last visit: 10/24/2023 Posts: 1 Rating: (0) |
Hi everyone, I am using S7 414-2 CPU for my project designing. The manual says the maximum size of FC, FB and DB is 64Kbytes each. I have created a FC for simply mapping of inputs to relevant DB bits. It has around 656 inputs mapped with simple input = output logic. This FC has size of 7466 bytes. I wonder if this single FC used just for mapping is consuming so much memory and I have not even written other FCs for main logic. How can i reduce its size and what happened if my FCs size surpasses 64Kbyte size limitation? By the way for testing purpose, i copied the same FC couple of times to increase the all FC sizes to 73Kbytes. I simulated it and compiler doesn't warn me of any memory or size error. Any help will be much appreciated. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 09/13/2023 09:29:11New subject after splitting |
|
Follow us on