Hi,
Actually I playing around with PCo and OPC-UA, I want to store the Values of an OPC-Tag in a Database-Table.
The table has the structure
- ID
- TAG_ID
- TAG_VAL
- TIMESTAMP
ID is configured as IDENTITY so the SQL-Server is responsible for inserting the correct value, but I can't find any configuration to deselect the collumn in PCO. The result is that PCo doesn't store anything in the database, because it tries to write data in a collumn where it should'nt insert anything!
So the SQL-Code is: insert into BOSCH_DEMO_01.dbo.TAG_VALUES(ID,TAG_ID,TAG_VAL,TIMESTAMP) ...
but it should be insert into BOSCH_DEMO_01.dbo.TAG_VALUES(TAG_ID,TAG_VAL,TIMESTAMP)
Any ideas or hints?