
Add the text shown on the right to the glob-
al definitions.pmh.
The settings must be written according to
the encoder specifications. For details on
the registers, refer to Power PMAC
Software Reference Manual (SBCE-405)
provided by DT.
For BiSS-C encoders with the following conditions
•The bit transmission rate is 2 MHz.
•A trigger is received at the rising edge of every phase clock cy-
cle (no delay).
•The CRC polynomial is x6 + x1 + 1.
•Parity bits and gray codes are not used.
•26-bit position data and 2-bit status data are obtained.
Gate3[0].SerialEncCtrl=$3100000B
Gate3[0].Chan[0].SerialEncCmd=$0021149A
For EnDAT2.2 encoders with the following conditions
•The bit transmission rate is 2 MHz.
•A trigger is received at the rising edge of every phase clock cy-
cle (no delay).
•The command code is Reporting Position (0x07).
•37-bit position data is obtained.
Gate3[0].SerialEncCtrl=$01000003
Gate3[0].Chan[0].SerialEncCmd=$00071025
For 1S encoders with the following conditions
•A trigger is received at the rising edge of every phase clock cy-
cle (no delay).
•The command code is Position Data (0x00).
Gate3[0].SerialEncCtrl=$0000000E
Gate3[0].Chan[0].SerialEncCmd=$00001000
3To read the absolute position when the
power supply is turned ON, add the settings
shown on the right to the bottom of the
global definitions.pmh file.
•BiSS-C encoders (26-bit position data)
Motor[1].pAbsPos = Gate3[0].Chan[0].SerialEncDa
taA.a
Motor[1].AbsPosFormat = $01001A00
Motor[1].AbsPosSf = 1
Motor[1].PowerOnMode = 4
•EnDAT2.2 encoders (37-bit position data)
Motor[1].pAbsPos = Gate3[0].Chan[0].SerialEncDa
taA.a
Motor[1].AbsPosFormat = $01002500
Motor[1].AbsPosSf = 1
Motor[1].PowerOnMode = 4
•1S Motor encoder (39-bit position data)
Motor[1].pAbsPos = Gate3[0].Chan[0].SerialEncDa
taA.a
Motor[1].AbsPosFormat = $01002700
Motor[1].AbsPosSf = 1
Motor[1].PowerOnMode = 4
3 Serial Encoder Connection Procedures
3-8 Startup Guide for Serial Encoder BiSS-C/EnDAT 2.1/2.2/1S Motor (O051)