Registers
- class ingenialink.ethercat.register.EthercatRegister(idx: int, subidx: int, dtype: REG_DTYPE, access: REG_ACCESS, identifier: str | None = None, units: str | None = None, cyclic: RegCyclicType = RegCyclicType.CONFIG, phy: REG_PHY = REG_PHY.NONE, subnode: int = 1, storage: Any | None = None, reg_range: Tuple[None, None] | Tuple[int, int] | Tuple[float, float] | Tuple[str, str] = (None, None), labels: Dict[str, str] | None = None, enums: Dict[str, int] | None = None, cat_id: str | None = None, scat_id: str | None = None, internal_use: int = 0, address_type: REG_ADDRESS_TYPE | None = None, description: str | None = None, default: bytes | None = None, bitfields: Dict[str, BitField] | None = None, is_node_id_dependent: bool = False)[source]
- property access: REG_ACCESS
Access type of the register.
- property address_type: REG_ADDRESS_TYPE | None
Address type of the register.
- property cat_id: str | None
Category ID
- property cyclic: RegCyclicType
Defines if the register is cyclic.
- property default: None | int | float | str | bytes
Register default value
- property description: str | None
Register description.
- property dtype: REG_DTYPE
Data type of the register.
- property enums: Dict[str, int]
Containing all the enums for the register.
- property enums_count: int
The number of the enums in the register.
- property identifier: str | None
Register identifier.
- property idx: int
Register index.
- property internal_use: int
Defines if the register is only for internal uses.
- property is_node_id_dependent: bool
True if register values depends on Node Id
- property labels: Dict[str, str]
Containing the labels of the register.
- property mapped_address: int
Register mapped address used for monitoring/disturbance.
- property phy: REG_PHY
Physical units of the register.
- property range: Tuple[None, None] | Tuple[int, int] | Tuple[float, float] | Tuple[str, str]
Containing the minimum and the maximum values of the register.
- Type:
tuple
- property scat_id: str | None
Sub-Category ID
- property storage: Any
Defines if the register needs to be stored.
- property storage_valid: bool
Defines if the register storage is valid.
- property subidx: int
Register subindex.
- property subnode: int
Target subnode of the register.
- property units: str | None
Units of the register.