33 # but translation should happen here |
33 # but translation should happen here |
34 _ = lambda x:x |
34 _ = lambda x:x |
35 |
35 |
36 LANGUAGES = ["IL","ST","FBD","LD","SFC"] |
36 LANGUAGES = ["IL","ST","FBD","LD","SFC"] |
37 |
37 |
38 LOCATIONDATATYPES = {"X" : ["BOOL"], |
38 LOCATIONDATATYPES = {"X": ["BOOL"], |
39 "B" : ["SINT", "USINT", "BYTE", "STRING"], |
39 "B": ["SINT", "USINT", "BYTE", "STRING"], |
40 "W" : ["INT", "UINT", "WORD", "WSTRING"], |
40 "W": ["INT", "UINT", "WORD", "WSTRING"], |
41 "D" : ["DINT", "UDINT", "REAL", "DWORD"], |
41 "D": ["DINT", "UDINT", "REAL", "DWORD"], |
42 "L" : ["LINT", "ULINT", "LREAL", "LWORD"]} |
42 "L": ["LINT", "ULINT", "LREAL", "LWORD"]} |
43 |
43 |
44 #------------------------------------------------------------------------------- |
44 #------------------------------------------------------------------------------- |
45 # Function Block Types definitions |
45 # Function Block Types definitions |
46 #------------------------------------------------------------------------------- |
46 #------------------------------------------------------------------------------- |
47 |
47 |