Editing SimpleMotion V2 API documentation
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 104: | Line 104: | ||
;paramId1 | ;paramId1 | ||
:Integer value specifying the parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | :Integer value specifying the parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | ||
− | ;paramVal1 | + | ;*paramVal1 |
:Integer pointer where read parameter is stored | :Integer pointer where read parameter is stored | ||
;Return value | ;Return value | ||
Line 117: | Line 117: | ||
;paramId1 | ;paramId1 | ||
:Integer value specifying the first parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | :Integer value specifying the first parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | ||
− | ;paramVal1 | + | ;*paramVal1 |
:Integer pointer where the first read parameter is stored | :Integer pointer where the first read parameter is stored | ||
;paramId2 | ;paramId2 | ||
:Integer value specifying the second parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | :Integer value specifying the second parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | ||
− | ;paramVal2 | + | ;*paramVal2 |
:Integer pointer where the second read parameter is stored | :Integer pointer where the second read parameter is stored | ||
;Return value | ;Return value | ||
Line 134: | Line 134: | ||
;paramId1 | ;paramId1 | ||
:Integer value specifying the first parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | :Integer value specifying the first parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | ||
− | ;paramVal1 | + | ;*paramVal1 |
:Integer pointer where the first read parameter is stored | :Integer pointer where the first read parameter is stored | ||
;paramId2 | ;paramId2 | ||
:Integer value specifying the second parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | :Integer value specifying the second parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | ||
− | ;paramVal2 | + | ;*paramVal2 |
:Integer pointer where the second read parameter is stored | :Integer pointer where the second read parameter is stored | ||
;paramId3 | ;paramId3 | ||
:Integer value specifying the third parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | :Integer value specifying the third parameter address to be read. See list of SMP_xxx definitions from simplemotion_defs.h header file for possible parameters. | ||
− | ;paramVal3 | + | ;*paramVal3 |
:Integer pointer where the third read parameter is stored | :Integer pointer where the third read parameter is stored | ||
;Return value | ;Return value | ||
Line 189: | Line 189: | ||
;handle | ;handle | ||
:SimpleMotion bus handle as returned from smOpenBus | :SimpleMotion bus handle as returned from smOpenBus | ||
− | ;retValue | + | ;*retValue |
:Pointer to a integer value where value if returning subpacket will be stored. {{SMPRET}} | :Pointer to a integer value where value if returning subpacket will be stored. {{SMPRET}} | ||
;Return value | ;Return value | ||
Line 210: | Line 210: | ||
;handle | ;handle | ||
:SimpleMotion bus handle as returned from smOpenBus | :SimpleMotion bus handle as returned from smOpenBus | ||
− | ;bytesinbuffer | + | ;*bytesinbuffer |
:Pointer to a integer value where value of number of bytes will be stored | :Pointer to a integer value where value of number of bytes will be stored | ||
;Return value | ;Return value | ||
Line 219: | Line 219: | ||
;handle | ;handle | ||
:SimpleMotion bus handle as returned from smOpenBus | :SimpleMotion bus handle as returned from smOpenBus | ||
− | ;clock | + | ;*clock |
:Pointer to a 16 bit integer value where the clock time will be stored. Clock counter runs at 10 kHz meaning that 16 bit value will rollover every 6.5 seconds. | :Pointer to a 16 bit integer value where the clock time will be stored. Clock counter runs at 10 kHz meaning that 16 bit value will rollover every 6.5 seconds. | ||
;Return value | ;Return value | ||
Line 237: | Line 237: | ||
*[[List of SimpleMotion parameters]] | *[[List of SimpleMotion parameters]] | ||
*[[SimpleMotion motion control strategies]] - examples etc | *[[SimpleMotion motion control strategies]] - examples etc | ||
− | |||
− |