Skip to content

Commit 52c3a03

Browse files
authored
Merge pull request #245 from ryan2445/ryanh/fix-negated-mnemonic
[S7 v5] fix negated mnemonic bug for output addresses
2 parents 0927c7f + 59f9e5a commit 52c3a03

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)