Beckhoff / ADS

Beckhoff protocol to communicate with TwinCAT devices.
MIT License
515 stars 197 forks source link

How to return value from MsSql Server? #133

Closed younussenn closed 3 years ago

younussenn commented 3 years ago

Hi, I'm running StoredProcecedur on MSSql server via Plc. Inside the procedure there is one insert query and after the insert query there is a select query. I return the maximum value of Id in the table I inserted in the Select query, but I cannot access the returned value on the plc. Error. fbSqlStoredProcedure.bError is true.

What should I do? I could not find any examples of this. Can you help me?