Error > System Limit Reached : No More Unused Object Numbers
which is user defined and we are able to call only four times in single program. If we try to add same block 5th time then received error as shown in attachment.
But if we add any other blocks in same program then there is no errors. Please suggest for that.
Every Freelance controller has a Object limit, set in Hardware station parameters.
Normally every Function Block/Function uses only one of them, but as the User Function Blocks use standard editors for configuration, they normally use some more complicated logic with multiple instances of standard functions and function blocks - as such it can take many objects (and as You can use a UFB in UFB in UFB... well, sky is the limit).
Go to Freelance Engineering/CBF, select Your controller (the one that You want to put the UFB into) and select System menu > 'Show all objects...' This will show You how many unused objects you still have for Your program:
If You need more, go to 'Hardware', right-click the controller and select 'Parameters'. You will find the 'Max. no. of Objects' parameter under 'Boot Parameter' tab.
you can change this, but remember it will impact Your overall memory management and will require a 'Full Station Download'.
Hope this helps,