Skip to content

Commit b4f01cf

Browse files
authored
added missing types in WordLen (#326)
* Update types.py added missing types in WordLen https://github.com/SCADACS/snap7/blob/master/src/core/s7_types.h * Update types.py
1 parent 69371ae commit b4f01cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

snap7/types.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,11 @@ class Areas(Enum):
8686
class WordLen(Enum):
8787
Bit = 0x01
8888
Byte = 0x02
89+
Char = 0x03
8990
Word = 0x04
91+
Int = 0x05
9092
DWord = 0x06
93+
DInt = 0x07
9194
Real = 0x08
9295
Counter = 0x1C
9396
Timer = 0x1D
@@ -96,8 +99,11 @@ class WordLen(Enum):
9699
# Leave it for now
97100
S7WLBit = 0x01
98101
S7WLByte = 0x02
102+
S7WLChar = 0x03
99103
S7WLWord = 0x04
104+
S7WLInt = 0x05
100105
S7WLDWord = 0x06
106+
S7WLDInt = 0x07
101107
S7WLReal = 0x08
102108
S7WLCounter = 0x1C
103109
S7WLTimer = 0x1D

0 commit comments

Comments
 (0)