A-8
Software Reference of Encoder Input
Unit
This section describes register settings of the Encoder Input Unit.
The register settings here are different from the definitions descried in the Power PMAC Software
Reference Manual (Cat. No. O015).
A-8-1
Gate3[i].SerialEncCtrl (Serial Encoder Control)
Description Serial encoder control register
Default $0F400000
This register is write-protected, so you cannot change it unless you write a key value in
Gate3[i].WpKey.
Y
ou can reset the write protection automatically in the script environment by writing the key value in
Sys.WpKey.
The setting of this register depends on the serial encoder protocol.
For BiSS-C
Bit Name Function
31 to 24 SerialClockMDiv Division factor of the serial clock
23 to 20 SerialClockNDiv Division factor (exponent) of the serial clock
19 to 18 Reserve Always set 0.
17 SerialTrigClockSel Selection of a serial trigger clock
Set which clock to do encoder reading on, phase or servo.
0: Phase clock
1: Servo clock
16 SerialTrigEdgeSel Selection of a serial trigger clock edge
Set which edge to start encoder reading at, the rising edge or falling edge of the
clock.
0: Rising edge
1: Falling edge
15 to 08 SerialTrigDelay Setting of a delay from the serial trigger clock edge
Set the delay time between clock edge and encoder reading. The unit is an inter-
mediate clock (SER_Clock) cycle.
The setting range is from 0 to 255.
07 to 00 SerialProtocol Serial encoder protocol setting
For BiSS-C, set it to $0B.
BiSS-C clock frequency is determined by the formula below.
Clock frequency (MHz) =
(M+1) × 2
N
100
M = SerialClockMDiv
N = SerialClockNDiv
Appendices
A-21
CK3M-series Programmable Multi-Axis Controller User's Manual Hardware (O036)
A-8 Software Reference of Encoder Input Unit
A
A-8-1 Gate3[i].SerialEncCtrl (Serial Encoder Control)