4/20/2012 8:29 AM | |
Posts: 83 Rating: (1) |
Hello guys! When I call main FCs in the OB1, most of them don't need a retval, but some of them ask me to fill the retval.. why? what does it mean? thank you
|
4/20/2012 8:37 AM | |
Joined: 1/28/2009 Last visit: 1/8/2025 Posts: 6858 Rating: (1366) |
Hello avafab, "ENO" and "return value" are your feedback of how the function processed in the runtime.Please,be familiar with the functionality and use them for trouble-free program execution. Best regards, Hamid Hosseini Attachmentdiagnostics.zip (639 Downloads) |
4/20/2012 8:53 AM | |
Posts: 83 Rating: (1) |
but why some FC has a ret val (FC that I develop!!) and some else don't have? |
4/20/2012 9:05 AM | |
Joined: 1/28/2009 Last visit: 1/8/2025 Posts: 6858 Rating: (1366) |
Hello , This "RET_VAL" is only an output of a function which are often complex and professional programmers provide that for ease of users in case of troubleshooting.You can test your FC by defining such an output and transfer values to it in case of some events and then monitor the result. Best regards, Hamid Hosseini Attachmentreturn.zip (626 Downloads) |
Follow us on