We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8abf232 commit f984d2dCopy full SHA for f984d2d
src/S7CommPlusDriver/ClientApi/PlcTag.cs
@@ -486,7 +486,7 @@ public override void ProcessRead(object valueObj, ulong error)
486
{
487
var v = ((ValueWord)valueObj).GetValue();
488
TimeValue = BCD_ushort_to_ushort((ushort)(v & (ushort)0x0FFF));
489
- TimeBase = (ushort)((v & (ushort)0x0300) >> 12);
+ TimeBase = (ushort)((v & (ushort)0x3000) >> 12);
490
Quality = PlcTagQC.TAG_QUALITY_GOOD;
491
}
492
else
0 commit comments