User Manual

TMCM-3351 TMCL
Firmware Manual Firmware Version V1.11 | Document Revision V1.06 2019-APR-26
93 / 144
3.6.50 SAPX (Set Axis Parameter, Axis specied by X Register)
The SAPX command nearly works the same way as the SAP command, except that the axis number is
specied by the X register. This command is mainly intended for use in standalone mode.
Info
For a table with parameters and values which can be used together with this
command please refer to section 4.
Internal function:
The specied value is written to the axis parameter specied by the parameter number.
Related commands: GAPX, AAPX.
Mnemonic: SAPX <parameter number>, <value>
Binary representation
Binary Representation
Instruction Type Motor/Bank Value
16 see chapter 4 (dont care) <value>
Reply in Direct Mode
Status Value
100 - OK dont care
Example Set the maximum positioning speed for the motor specied by the X register to 51200 pps.
Mnemonic: SAPX 4, 51200.
Binary Form of SAPX 4, 51200
Field Value
Target address 01
h
Instruction number 10
h
Type 04
h
Motor/Bank 00
h
Value (Byte 3) 00
h
Value (Byte 2) 00
h
Value (Byte 1) C8
h
Value (Byte 0) 00
h
Checksum DD
h
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com