Power Brick Controller User Manual
Connections and Software Setup
64
Mitutoyo Configuration Example
Serial Encoder Control
– Mitutoyo
No trigger delay, rising edge of phase, and 2.5 MHz transmission
Bit #:
Binary:
Hex ($):
Serial Encoder Command
– Mitutoyo
For continuous position reporting.
$01: Report Position
$85: Same as $01
$89: Reset Multi-Turn
$9D: Report Encoder ID
Bit #:
Binary:
Hex ($):
If the command code is set to $89, the multi-turn position value in the encoder is reset to 0 (after 8 cycles).
If the command code is set to $9D, the encoder ID value is reported in bits 8 – 15 of SerialEncDataB. If the
command code is set to $85, absolute position is reported, similarly to $01.
M Divisor
N Divisor
R
es
er
ve
d
C
lo
ck
Ed
ge
Trigger Delay
Protocol
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0
0 0 0 1
0 0 0 0 0 0 0 0
0 0 0 0
0 0 0 0 0 0 0 0
1 0 0 1
0
1
0
0
0
0
0
9
Command code
M
o
d
e
T
ri
g
E
n
a
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0
0 0 0 0
0 0 0 0 0 0 0 1
0 0 0 1
0 0 0 0 0 0 0 0
0 0 0 0
0
0
0
1
1
0
0
0
0: Rising
1: Falling
= Delay
µsec
x f
SerialMHz
Protocol: =9 Mitutoyo
PowerBrick[0].SerialEncCtrl = $1000009
PowerBrick[0].Chan[0].SerialEncCmd = $11000
PowerBrick[0].Chan[0].SerialEncEna = 1