(3)| 3/13/2022 6:13 PM | |
|
Posts: 27 Rating:
|
good greeting I hope you are in good health I have a problem creating an FB when I choose state from the table, define the variable, choose the data type, struct, and give the storage command, the log appears (A STRUCT without components is illegal) What letter is similar to U in English? Thank you very much for helping me ------------------------------------------------------------------------------------------ |
Last edited by: @NIAL at: 03/13/2022 18:26:25Last edited by: Jen_Moderator at: 03/14/2022 07:20:11New subject after splitting |
|
| 3/13/2022 6:35 PM | |
|
Joined: 9/27/2006 Last visit: 1/16/2026 Posts: 12481 Rating:
|
hello anial; This thread was originally for S7-300 CPUs, is it still the case for your problem? The error message states that you have not created internal variables inside yout STRUCT variable declaration. The examples attached below show how a STRUCT variable is expecting sub-variables to define the working structure of the variable. The first example uses STL, but the principle applies in whatever programming language you are using. The screenshots were taken for the Programming with Step 7 v5.5 manual. https://support.industry.siemens.com/cs/ww/en/view/45531107 Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 03/13/2022 18:36:50 |
|
This contribution was helpful to
|
|
| 3/14/2022 7:26 PM | |
|
Posts: 27 Rating:
|
Hello Thank you very much for helping me and thank you for your interest What is SPA and SPB and SPBN like in english? for STL
|
| 3/14/2022 7:56 PM | |
|
Joined: 3/30/2020 Last visit: 1/19/2026 Posts: 5660 Rating:
|
Google says: Other resources are also available. The search facility on this site can help. |
|
Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
This contribution was helpful to
|
|
| 3/14/2022 8:17 PM | |
|
Posts: 27 Rating:
|
thank you sir Thank you very much for the information and thank you very much for helping me You all the appreciation and respect Greetings to you
|
Follow us on