![background image](http://html1.mh-extra.com/html/omron/ck3w-ax1313-series/ck3w-ax1313-series_startup-manual_742508023.webp)
2
Write the text on the right to the global
definitions.pmh.
•
Refer to
3-13 for details on setting items with
Notes *1 through *30 shown in the
text on the right.
Sys.WpKey = $AAAAAAAA
//global setting
Gate3[0].PhaseServoDir = 0;
Gate3[0].PhaseFreq = 10000; //10kHz
Gate3[0].ServoClockDiv = 9; //1kHz
Sys.PhaseOverServoPeriod = 0.1;
Sys.ServoPeriod = 1;
//Encoder Setting
EncTable[1].Type = 1; //*1
EncTable[1].pEnc = Gate3[0].Chan[0].ServoCapt
.a; //*2
EncTable[1].ScaleFactor = 1/exp2(8); //*3
Gate3[0].EncClockDiv = 5; //3.125MHz
Gate3[0].Chan[0].EncCtrl = 7; //*4
//DirectPWM AD Convertor setting
Gate3[0].AdcAmpStrobe = $fffffc; //*5
Gate3[0].AdcAmpHeaderBits = 2; //*6
Gate3[0].AdcAmpClockDiv = 5; //3.125MHz
//DirectPWM PWM output setting
Gate3[0].Chan[0].PwmFreqMult = 2; //*7
Gate3[0].Chan[0].PwmDeadTime = 15; //*8
Gate3[0].Chan[0].PackInData = 2; //*9
Gate3[0].Chan[0].PackOutData = 1; //*10
3 DirectPWM Interface Connection Procedure
3-9
CK3M-series Startup Guide DirectPWM Interface (O047)
3-4 V
arious Controller Settings
3
3-4-1
Notes List