Semantic Error: Recursive method call found in method '...'
In a function block POU, an invalid recursive internal method call is programmed.
Error examples- A method calls itself, for example, with the ST statement THIS.Method1(); within Method1.
- Function block POU MyFB contains three methods. Method 1 calls method 2. Method 2 calls method 3 which in turn calls method 1.
Double-clicking the error message opens the affected code worksheet. Remove the invalid recursive internal method call.
Note
This error message is not reported for recursive external method calls. External method recursions are covered by the error "Semantic Error: Recursive dependency found in program organization unit '...'." (SEM1030). |
Further Info
Refer to the topic "Methods" for detailed information. |