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
(servo='default')¶ Get the product name of the drive.
- Parameters
servo (
str
) – alias of the servo.- Returns
“EVE-NET-E”, “CAP-NET-E”, etc.
- Return type
If it exists for example
-
get_node_id
(servo='default')¶ Get the node ID for CANopen communications.
-
get_baudrate
(servo='default')¶ Get the baudrate of target servo
- Parameters
servo (
str
) – alias of the servo.- Return type
- Returns
Baudrate of the drive.
-
get_ip
(servo='default')¶ Get the IP for Ethernet communications.
-
get_slave_id
(servo='default')¶ Get the EtherCAT slave ID of a given servo.
-
get_name
(servo='default')¶ Get the drive’s name.
-
get_communication_type
(servo='default')¶ Get the connected drive’s communication type.
- Parameters
servo (
str
) – alias of the connected drive.- Return type
- Returns
CANopen, Ethernet, or EtherCAT.
-
get_full_name
(servo='default')¶ Return the full name of the drive [Product name] [Name] ([Target]).
-
get_subnodes
(servo='default')¶ Return a dictionary with the subnodes IDs as keys and their type as values.
-
get_categories
(servo='default')¶ Return dictionary categories instance.
-
get_dictionary_file_name
(servo='default')¶ Return dictionary file name.
-