Isakovic Posted October 19, 2016 Report Share Posted October 19, 2016 Hello, When reading timer value as numeric data type (TCL or TPL) the result is always 0, while reading it as a string returns correct value. I don't know what's the problem. It probably isn't syntax because OPC reports syntax errors, I tried all numeric data types and the result is always 0. Reading value as a string isn't that much of a problem because substrings for minutes and seconds can be extracted. But when writing the value into PLC some code gymnastics is required which takes time. So my question is can timer values be treated as numeric variables? I use "WinLog" SCADA from Sielco, example of tags that I use: Transport.TPL0 (this returns 0) Transport.TP0 (this returns correct value) Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.