10/4/2020 12:23 PM | |
Joined: 11/7/2011 Last visit: 5/6/2024 Posts: 7 Rating:
|
Hello, I know that this is an old post, but Siemens did not fix the bug in ther V11 release of the LSql library. The TRCV instruction works as intended in TIA 16. However to make the "Archive" buffer working, you need to do 2 changes to the LSql_Microsoft function block. In the REGION: STATE_MACHINE -> sqlbatch execution -> call trcv Change to code to match the attached picture. Now you will get the responses in the "Archive" DB. This is the easy part, now you need to parse the data which is returned in the "Archive" DB. You can find the information needed at Microsoft Docs. I will give you a free hint, on where to start. Microsoft Docs [MS-TDS] - Packet header |
Last edited by: Jobbe9000 at: 10/04/2020 12:28:30 |
|
Follow us on