31.1.3.5 pdec_async_write_position
Write motor axis position.
int32_t pdec_async_write_position(
struct pdec_async_descriptor *const descr,
uint32_t value,
uint8_t axis
)
Parameters
- descr
-
Type: struct pdec_async_descriptor Struct *const
The pointer to the Position Decoder descriptor
- value
-
Type: uint32_t
The position count to write
- axis
-
Type: uint8_t
The axis number to read
Returns
Type: int32_t
Write operation status