12/15/2016 4:17 PM | |
Joined: 8/26/2016 Last visit: 4/4/2024 Posts: 31 Rating: (1) |
I just find Openness and SiVArc module, can it be a solution for mass programming ? |
12/15/2016 4:49 PM | |
Posts: 5225 Rating: (1189)
|
An array DB could work like this... Creating the DB - Using it in code - (FC1 in this example) |
This contribution was helpful to2 thankful Users |
12/15/2016 9:49 PM | |
Posts: 5225 Rating: (1189)
|
Hi Sangito, As soon as you use a pointer concept, you loose the advantage of having an optimized data structure. To tale full advantage of referencing optimized data, the data needs to be ordered into an array. Your programming style should reflect that to have optimized code. Each PLC has its style. I work with other brands too. Hopefully I know each brand's strengths and weaknesses. Yet I still prefer Siemens more it suits my style of thinking more. The next best thing is to create SCL code by using a spreadsheet. I have prepared an example (ZIP <-- XLS). It is attached here for review to show what I mean by 'generating code'. I have chosen to create 257 selections. The yellow marked cells are constants. Orange are reference words. Have a close look at the formulas used. You could copy and paste the whole column C into the SCL editor. As for the TIA V14 highlights - - look for "STEP_7_V14_new_functions.pdf". (smile) If I had the software for use, I would help more. As Siemens do not sponsor my software I am not able to personally walk you through the various changes that can help you. Your thoughts? w AttachmentDesign Idea_Create SCL code in a spreadsheet.zip (118 Downloads) |
This contribution was helpful to1 thankful Users |
Follow us on