Skip to content

Commit

Permalink
added missing types in WordLen (#326)
Browse files Browse the repository at this point in the history
* Update types.py

added missing types in  WordLen

https://github.com/SCADACS/snap7/blob/master/src/core/s7_types.h

* Update types.py
  • Loading branch information
zsisamci authored Nov 19, 2021
1 parent 69371ae commit b4f01cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions snap7/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ class Areas(Enum):
class WordLen(Enum):
Bit = 0x01
Byte = 0x02
Char = 0x03
Word = 0x04
Int = 0x05
DWord = 0x06
DInt = 0x07
Real = 0x08
Counter = 0x1C
Timer = 0x1D
Expand All @@ -96,8 +99,11 @@ class WordLen(Enum):
# Leave it for now
S7WLBit = 0x01
S7WLByte = 0x02
S7WLChar = 0x03
S7WLWord = 0x04
S7WLInt = 0x05
S7WLDWord = 0x06
S7WLDInt = 0x07
S7WLReal = 0x08
S7WLCounter = 0x1C
S7WLTimer = 0x1D
Expand Down

0 comments on commit b4f01cf

Please sign in to comment.