5/19/2023 1:45 AM | |
Joined: 9/27/2006 Last visit: 10/10/2024 Posts: 12286 Rating: (2685) |
Hello ismail; The first lines represent the déclaration area of a function block (FB) for a S5 CPU. The attached screenshot shows the structure of a FB declaration, so you can understand what you are looking at in your program. FBs can be generated by the original programmer, in which case you must try to understand the context of the program to decipher its meaning, or they can be add-on standard functions for specific programs (ex: motion control) or for specific modules IP242 or such. The problem is that there are no valid symbolic names replacing the DECL: in the FB, which could help us determine the contents of the block parameters. Look for more examples of FB declarations in this S5 programming manual for clarifications; https://support.industry.siemens.com/cs/attachments/1085937/6ES5_998-0UF23.pdf In any case we need to have at least the order number of the CPU you are using, in order to help you further. Hope this helps Daniel Chartier I |
Follow us on