11/19/2023 11:03 PM | |
Joined: 5/30/2023 Last visit: 8/11/2024 Posts: 34 Rating:
|
Hi, I was reading the Programming Styleguide for Simatic S7-1200 / S7-1500 and noticed the following: "DA003 Rule: Set/evaluate block properties. The following settings must be activated in the block properties: • Auto-numbering: Blocks (OB, FC, FB, DB, TO) shall only be delivered with auto-numbering turned on. Be aware that the execution of an Organization blocks depends on its number/priority." I cannot understand why this is better for standardization than grouping the blocks by different ranges, e.g., communication blocks starting at DB200, motor and valves FB 500, and so on. If anyone could explain this to me, please. Regards! Attachment81318674_Programming_Styleguide_DOC_v20_en.pdf (221 Downloads) |
Last edited by: vhorn at: 11/19/2023 23:15:46Last edited by: Jen_Moderator at: 11/20/2023 12:50:47PDF added from link. Regards |
|
11/20/2023 2:13 PM | |
Joined: 7/7/2010 Last visit: 8/14/2024 Posts: 15089 Rating:
|
Grouping of blocks is best done by adding GROUPS to the project, then drag-n-dropping associated blocks into their proper groups, like Valves, Motors, Product Input (which could valves and motors grouped inside it).
|
science guy |
|
This contribution was helpful to
1 thankful Users |
8/6/2024 7:27 AM | |
Joined: 7/30/2024 Last visit: 8/14/2024 Posts: 71 Rating:
|
New question published by Ecoleaf is split to a separate thread with the subject Change block numbers; keep imported library elements in same range. Best regards |
Last edited by: Moderator_Lan at: 08/06/2024 07:31:40Last edited by: Moderator_Lan at: 08/06/2024 07:33:24 |
|
Follow us on