2/18/2010 8:32 PM | |
Joined: 3/14/2008 Last visit: 9/11/2024 Posts: 2095 Rating:
|
Just like you can insert a block call: FB or FC, you can also insert a DB call. Below is an example: Example DATA_BLOCK DB20 STRUCT // Declaration section VALUE:ARRAY [1..100] OF INT; END_STRUCT BEGIN // Start of assignment section : END_DATA_BLOCK // End of data block http://www.kar.elf.stuba.sk/predmety/pkom/Literatura/S7scl__b.pdf |
If I could help you, you can use the RATE button. Thank you. |
|
2/22/2010 2:44 PM | |
Posts: 18 Rating:
|
Great, that seems to work, thank you very much |
12/3/2019 10:09 AM | |
Posts: 35 Rating:
|
Hey, comeback after a few years. Thank You. Regards, RFP |
12/3/2019 10:52 AM | |
Joined: 9/16/2013 Last visit: 1/5/2024 Posts: 511 Rating:
|
Hello rfp1997, The procedure would be:
There you go, example of DB created inside SCL: .txt has been attached as well
Best Regards Soble AttachmentDBfromSCL.txt (419 Downloads) |
Website: |
|
Follow us on