Information¶
-
class
ingeniamotion.information.Information(motion_controller)¶ Information.
-
register_info(register, axis=1, servo='default')¶ Return register object.
- Parameters
- Return type
- Returns
Register object.
- Raises
IMRegisterNotExist – If register does not exist in dictionary.
-
register_type(register, axis=1, servo='default')¶ Return register dtype.
- Parameters
- Return type
REG_DTYPE- Returns
Register dtype.
- Raises
IMRegisterNotExist – If register does not exist in dictionary.
-
register_access(register, axis=1, servo='default')¶ Return register access.
- Parameters
- Return type
REG_ACCESS- Returns
Register access.
- Raises
IMRegisterNotExist – If register does not exist in dictionary.
-
register_range(register, axis=1, servo='default')¶ Return register range.
-
register_exists(register, axis=1, servo='default')¶ Check if register exists in dictionary.
-
get_product_name(alias='default')¶ Get the product name of the drive.
- Parameters
alias (
str) – alias of the servo.- Returns
“EVE-NET-E”, “CAP-NET-E”, etc.
- Return type
If it exists for example
-
get_node_id(alias='default')¶ Get the node ID for CANopen communications.
-
get_baudrate(alias='default')¶ Get the baudrate of target servo
- Parameters
alias (
str) – alias of the servo.- Return type
- Returns
Baudrate of the drive.
-
get_ip(alias='default')¶ Get the IP for Ethernet communications.
-
get_slave_id(alias='default')¶ Get the slave ID for EoE communications.
-
get_name(alias='default')¶ Get the drive’s name.
-
get_communication_type(alias='default')¶ Get the connected drive’s communication type.
- Parameters
alias (
str) – alias of the connected drive.- Return type
- Returns
CANopen, Ethernet, or EtherCAT.
-
get_full_name(alias='default')¶ Return the full name of the drive [Product name] [Name] ([Target]).
-
get_subnodes(alias='default')¶ Return a dictionary with the subnodes IDs as keys and their type as values.
-
get_categories(alias)¶ Return dictionary categories instance.
-
get_dictionary_file_name(alias)¶ Return dictionary file name.
-