mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 14:28:25 +08:00
fix(ReadStatusAsync): Fix index of status in response message
This commit is contained in:
@@ -322,7 +322,7 @@ namespace S7.Net
|
||||
var dataToSend = BuildSzlReadRequestPackage(0x0424, 0);
|
||||
var s7data = await RequestTsduAsync(dataToSend, cancellationToken);
|
||||
|
||||
return (byte) (s7data[94] & 0x0f);
|
||||
return (byte) (s7data[37] & 0x0f);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user