Skip to content

Commit

Permalink
changed transmission method for byte array
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarresi committed May 19, 2020
1 parent 6e3a43e commit 6483f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TFU002/TFU002.Logic/GatewayNotificationsExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static IDisposable GetTypedS7Notification(this IPlc plc, Type type, strin
{
if (type == typeof(byte[]))
{
return plc.CreateNotification<byte[]>(address, TransmissionMode.OnChange, TimeSpan.FromMilliseconds(100))
return plc.CreateNotification<byte[]>(address, TransmissionMode.Cyclic, TimeSpan.FromMilliseconds(1000))
.SelectMany(value => beckhoff.Write(symbol, value))
.Subscribe();
}
Expand Down

0 comments on commit 6483f3d

Please sign in to comment.