2/15/2024 10:23 AM | |
Joined: 3/21/2023 Last visit: 6/17/2025 Posts: 15 Rating:
|
Hello Guys, I Have finished the Siemens Sample Project about ''Connecting a S7-1200 PLC / S7-1500 PLC to a SQL Database'' and everything is working fine in terms of connection and sending/receiving data. What I am working on now ,is to scan a barcode and receive this information in database. I have an unique identifier column I created recently (assuming this is the scanned code), and I kept all the other columns from the Siemens sample ( Amount , Colour, Fruit...). What I want to do is Every time I scan the barcode , the unique identifier column will receive this information and update the other columns and send this to the PLC . So , without forcing to insert this value to the PLC I want to do it automatically and send these data and the same from PLC. I am assuming I need to write a SQL query to do this and write a new logic in the Analyse Tokens block? Do you guys have any idea about this? Thanks In Advance ------------------------------------------------------------------------------------------ |
Last edited by: AutoGen_2742142 at: 02/15/2024 11:00:04Last edited by: The Helping Hand at: 02/15/2024 11:04:54New subject after splitting |
|
Follow us on