Dictionary

class ingenialink.ethercat.dictionary.EthercatDictionary(dictionary_path: str)[source]

Contains all registers and information of a EtherCAT 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.register.Register]

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.