Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Can't write to KepServer V5 word tag with uint16 type - by: Taid

$
0
0
Hello,

I'm creating a small asp.net page to help control data flow between MySQL and S7-300 PLC on one of our machines and I run into a weird road block in writing to a tag which on server is declared as WORD and it's type should be a simple integer on the PLC. As a side note, I'm still using the trial version (version 5.52.91.1) and this is the last point before we make a purchase of your OPC client.

I did try using EasyOPCUADemo and connectivity explorer but the result seems the same. I get no error when the value type declared is UINT16 but no value is written on the PLC. If I go with any other type I do get the BadTypeMismatch error.

Response of connectivity explorer when no value type is specified:
https://imgur.com/ZV4DawM


Response of connectivity explorer when uint16 value type is specified:
https://imgur.com/Q9xQz3C



Testing with WriteValue and WriteMultiple yields the same results (no error no value on PLC).

Best regards, Piotr

Viewing all articles
Browse latest Browse all 1794

Latest Images

Trending Articles



Latest Images