Editing Reading and writing an arbitrary parameter with Granity
Your changes will be displayed to readers once an authorized user accepts them. (help) |
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | It's possible to read and modify drive parameters that are not displayed in the | + | It's possible to read and modify drive parameters that are not displayed in the {{param|GUI}} of [[Granity]]. This is done by a custom parameter dialog that pops up by Ctrl+P keyboard shortcut. |
==Reading an arbitrary parameter== | ==Reading an arbitrary parameter== | ||
[[File:readingarbparameter.png|thumb|An example of reading parameter with address 202 ({{param|KVP}})]] | [[File:readingarbparameter.png|thumb|An example of reading parameter with address 202 ({{param|KVP}})]] | ||
Line 18: | Line 18: | ||
Notes: | Notes: | ||
*Up to three parameter & value pairs can be entered to this table | *Up to three parameter & value pairs can be entered to this table | ||
− | *These values will override the | + | *These values will override the {{param|GUI}} parameter if the same parameter is available on the GUI. I.e. if parameter 202 ({{param|KVP}}) is overridden, then the GUI parameter has no function. |
*This table will be saved to the drive memory if ''Save settings on drive non-volatile memory'' is clicked so override will stay active after drive restart | *This table will be saved to the drive memory if ''Save settings on drive non-volatile memory'' is clicked so override will stay active after drive restart | ||
*To remove override values, enter zeros to the override table row | *To remove override values, enter zeros to the override table row | ||
Line 26: | Line 26: | ||
The list of possible parameter can be found at [https://github.com/GraniteDevices/SimpleMotionV2/blob/master/simplemotion_defs.h SimpleMotion V2 library header file]. Parameter numbers have name prefix SMP_ such as SMP_VEL_P which is 202. Note: all parameters may not be available on all devices. | The list of possible parameter can be found at [https://github.com/GraniteDevices/SimpleMotionV2/blob/master/simplemotion_defs.h SimpleMotion V2 library header file]. Parameter numbers have name prefix SMP_ such as SMP_VEL_P which is 202. Note: all parameters may not be available on all devices. | ||
{{warning|Use caution when changing parameters especially if you don't understand their function throughly}} | {{warning|Use caution when changing parameters especially if you don't understand their function throughly}} | ||
− | |||
− |