
UI Robot Technology Co. Ltd.
M4220170607EN
Page 67
Miniature Integrated Stepper Motor Controller(
Closed-loop
)
7.
DOU
η Set TTL Output
Format:
DOUη;
Description:
Set TTL output level
η = 0, 1
。
ACK:
AA [Controller ID] C1 [P4] FF
Comment:
C1
>> The message ID of DOUη;
P4
>> The logic level of the TTL output
P4 = 1 means the output is 5V
P4 = 0 means the output is 0V
Note:
Using DOUη; will affect S34CON.
Once DOUη; instruction is receiced, UIM242 controller will clear P4LVL
and P4EVENT<2:0>.
Therefore, if user wants to re-bind the events to the
output control, user needs to reconfigure S34CON. This is to prevent
potential confliction between user instruction and events controlled
output.