Serial Encoder Command - Delta PBC Series User Manual

Power brick controller
Table of Contents

Advertisement

Power Brick Controller User Manual

Serial Encoder Command

The Serial Encoder Command is a 32-bit, channel specific, structure element. It specifies the bit length
(resolution), status bits, data type, conversion method, trigger enable, trigger mode, parity, and command
code of the serial encoder channel.
Ch. #
Serial Encoder Command
1
PowerBrick[0].Chan[0].SerialEncCmd
2
PowerBrick[0].Chan[1].SerialEncCmd
3
PowerBrick[0].Chan[2].SerialEncCmd
4
PowerBrick[0].Chan[3].SerialEncCmd
31
30
29
28
27
26
Bit #:
Binary:
0
0
0
0
0
0
Hex ($):
0
Bits [31 – 16]
specify the command code. This field is protocol specific.
Bits [15 – 14]
specify the parity. This field is protocol specific.
Bit 13
specifies the trigger mode.
Bit 12
is the trigger enable toggle.
Bit 11
specifies the conversion type. This field is protocol specific.
Bit 10
is the data ready bit, read only.
Bits [9 – 6]
specify the encoder status field. This field is protocol specific.
Bits [5 – 0]
specify the serial encoder bit length (single-turn + multi-turn).
Following, are examples for setting up the control and command words for each of the supported protocols.
Also, the resulting data registers and their format.
Connections and Software Setup
Protocol Specific
Command Code
25
24
23
22
21
20
19
18
0
0
0
0
0
0
0
0
0
Ch. #
Serial Encoder Command
5
PowerBrick[1].Chan[0].SerialEncCmd
6
PowerBrick[1].Chan[1].SerialEncCmd
7
PowerBrick[1].Chan[2].SerialEncCmd
8
PowerBrick[1].Chan[3].SerialEncCmd
0: Continuous
0: Disable
1: One Shot
1: Enable
00: None
01: Odd
0: No Conversion
10: Even
1: Gray to Binary
Parity
17
16
15
14
13
12
11
0
0
0
0
0
0
0
0
0
0
Read Only
Single Turn +
Multi Turn
Status
Bit Length
Bits
(Resolution)
10
9
8
7
6
5
4
3
0
0
0
0
0
0
0
0
0
0
2
1
0
0
0
0
0
50

Advertisement

Table of Contents
loading

Table of Contents