You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think flags like CONSTANT are processed yet at all, there should be some functionality for that, ideally shared with variable lists in e.g. function blocks.
It is processed like its shown inside the .tc file
VariableList:
CommentAny*
name=VariableListType
(constant?='CONSTANT')?
(persistent?='PERSISTENT')?
variables*=Variable
CommentAny*
// Catch trailing comments here, not at the end of `Variable`
'END_VAR'
;
But it is skipped in the interpreter.py:
self._model=meta_model.variable_lists[0]
In the other index of the list there is the Constant and Persistent Lists
If there are multiple GVL lists inside one GVL-file, then only the first one is parsed.
SCL Example:
Documentation Output:
I saw that inside the interpreter.py there is only the first variable_list used.
Is there an easy way to fix this?
The text was updated successfully, but these errors were encountered: