Skip to content

Commit 59f9e5a

Browse files
committed
fix negated mnemonic bug
1 parent 0927c7f commit 59f9e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibNoDaveConnectionLibrary/PLCs/S7_xxx/MC7/MC7toAWL.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ internal static List<FunctionBlockRow> GetAWL(int Start, int Count, int MN, byte
23572357
else
23582358
retVal.Add(new S7FunctionBlockRow()
23592359
{
2360-
Command = Mnemonic.opU[MN],
2360+
Command = Mnemonic.opUN[MN],
23612361
Parameter = Mnemonic.adA[MN] + Convert.ToString(BD[pos + 1] & 0x7F) + "." +
23622362
Convert.ToString(BD[pos] - 0xE0)
23632363
});

0 commit comments

Comments
 (0)