UI Robot Technology Co. Ltd.
M4120170509EN
Page 95
UIM241 Miniature Integrated Stepper Motor Controller(
Closed-loop
)
42. STO
η
Parameter Banding
Format:
STO
;
Description:
Banding motion parameters to motions (Triggered by sensor edge or
controllered by instruction)
= 0,1,
…
,5
= 0, >> Montion controlled by instrcution
= 1, >> Only for close-loop
= 2, >> Motion triggered by rising edge of S1
= 3, >> Motion triggered by falling edge of S1
= 4, >> Motion triggered by rising edge of S2
= 5, >> Motion triggered by falling edge of S2
ACK:
AA 00 D1 FF
Comment:
D1
>> Message ID of instruction STO;
Note:
Require controller Firmware version being 1232 or higher.
This instruction will affect real time performance. It takes around 15 ms
for the instruction to be executed. It is recommended that sending this
instruction when the motor is idle, and wait 20ms before sending other
instructions. Before set parameters, disable the controller first.
Default setting for STO0: 300/300/0/0/0/0, it can be configurated by
instruction.
Parameters for each edge can be different. Not all parameters are
needed; the non-value parameter will be assigned as the value of
parameters for STO0
Example:
Disable the controller: OFF;
Set 1st group of parameters: SPD
; STP
; MAC
; MDE
; MMS
;
MMD
;
Banding it to rising edge of S1: STO2;
……
Set 4th group of parameters: SPD
; STP
; MAC
; MDE
; MMS
;
MMD
;
Banding it to falling edge of S2: STO5;