Dictionary¶
-
class
ingenialink.ethernet.dictionary.EthernetDictionary(dictionary_path: str)[source]¶ Contains all registers and information of a Ethernet dictionary.
- Parameters
dictionary_path – Path to the Ingenia dictionary.
-
read_dictionary() → None¶ Reads the dictionary file and initializes all its components.
-
registers(subnode: int) → Dict[str, ingenialink.ethernet.register.EthernetRegister][source]¶ Gets the register dictionary to the targeted subnode.
- Parameters
subnode – Identifier for the subnode.
- Returns
Dictionary of all the registers for a subnode.
-
path¶ Path of the dictionary.
-
version¶ Version of the dictionary.