4/10/2014 11:58 AM | |
Posts: 3 Rating:
|
Hi No Name, Thanks for your reply. I prefer to store as a string format instead of another data type. Those strings are also transferred to process history data, as a string. On CFC level it's possible to send a string to DB, as explained here. Also see attached file with jpg's. This way it's possible to read from and write to DB. The used SCL code in this example looks like; TITLE = 'IN_OUT_STR' {S7_m_c :='true'} VAR_INPUT VAR_OUTPUT BEGIN However, I have thousands of STRING[16] values to temporary store in DB's so I want the populate those DB's directly with use of SCL so I can target the addresses in the code. But how do I store a string value in DB using SCL?Maybe the any-pointer is a possibility, I'm not familiar with that. Do you have a working example? Thanks a lot. AttachmentStringToDB.zip (593 Downloads) |
4/10/2014 12:24 PM | |
Posts: 220 Rating:
|
I'm sorry. I just find a relly goodgermen examplefor any-pointer without a english translation. But maybethis FAQhelp you to do the first steps with any-pointers.
|
Follow us on