11/2/2015 2:42 PM | |
Joined: 2/11/2015 Last visit: 8/2/2024 Posts: 42 Rating:
|
Dear All, I have a TIA Portal V13 and WinCC V13 Runtime Advanced. I need to create a data log to an SQL database using VB script. Try to do with this sample: The connection between the runtime and the MS SQL Express 2005 database are OK. Colum1 Colum2 Colum3 I think you are understand wath is my problem. |
11/2/2015 8:04 PM | |
Posts: 439 Rating:
|
Hello Szabycsek, I did a similar project using this FAQ last week. You will have to take a look into the VB script they did and modify it your way. OR You can use an instruction to change the string you get from the barcode and change it into a numerical value. There is instruction for that in Siemens PLC or you can use a VB script Best regards, Hugo |
Last edited by: HugoD at: 11/2/2015 8:05:54 PM |
|
11/4/2015 3:15 PM | |
Posts: 439 Rating:
|
|
11/5/2015 9:05 PM | |
Joined: 2/11/2015 Last visit: 8/2/2024 Posts: 42 Rating:
|
Sorry, but I must use a string.
Attachmentsql_vbscript.txt (838 Downloads) |
11/6/2015 7:25 AM | |
Joined: 2/11/2015 Last visit: 8/2/2024 Posts: 42 Rating:
|
Very big thanks. It's working fine. |
3/18/2017 3:40 PM | |
Posts: 3 Rating:
|
thanks you. can you give me your project ? Please ! |
5/19/2017 8:54 AM | |
Joined: 2/11/2015 Last visit: 8/2/2024 Posts: 42 Rating:
|
Sorry but the full project is secret :) What code you need? |
Follow us on