From 59f9e5a85e56c9a50a3d7fb49d350b8367865488 Mon Sep 17 00:00:00 2001 From: ryanhoffman Date: Fri, 21 Nov 2025 21:32:03 +0000 Subject: [PATCH] fix negated mnemonic bug --- LibNoDaveConnectionLibrary/PLCs/S7_xxx/MC7/MC7toAWL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibNoDaveConnectionLibrary/PLCs/S7_xxx/MC7/MC7toAWL.cs b/LibNoDaveConnectionLibrary/PLCs/S7_xxx/MC7/MC7toAWL.cs index d5c4753a..1a1a2416 100644 --- a/LibNoDaveConnectionLibrary/PLCs/S7_xxx/MC7/MC7toAWL.cs +++ b/LibNoDaveConnectionLibrary/PLCs/S7_xxx/MC7/MC7toAWL.cs @@ -2357,7 +2357,7 @@ internal static List GetAWL(int Start, int Count, int MN, byte else retVal.Add(new S7FunctionBlockRow() { - Command = Mnemonic.opU[MN], + Command = Mnemonic.opUN[MN], Parameter = Mnemonic.adA[MN] + Convert.ToString(BD[pos + 1] & 0x7F) + "." + Convert.ToString(BD[pos] - 0xE0) });