Omron CK3M-CPU 1 Series Application Manual page 40

Programmable multi-axis controller
Hide thumbs Also See for CK3M-CPU 1 Series:
Table of Contents

Advertisement

3 Connection Procedures
Sys.WpKey=$AAAAAAAA
//Servo Task Configurations
Motor[1].ServoCtrl=1//*1
Motor[2].ServoCtrl=1//*1
Motor[1].pEnc=EncTable[1].a//*2
Motor[2].pEnc=EncTable[2].a//*2
Motor[1].pEnc2=EncTable[1].a//*2
Motor[2].pEnc2=EncTable[2].a//*2
Motor[1].EncType=6 //*3
Motor[2].EncType=6 //*3
Motor[1].PosUnit=3 //*4
Motor[2].PosUnit=3 //*4
EncTable[1].Type=1//*5
EncTable[2].Type=1//*5
EncTable[1].pEnc=Gate3[0].Chan[0].ServoCapt.a//*6
EncTable[2].pEnc=Gate3[0].Chan[1].ServoCapt.a//*6
EncTable[1].ScaleFactor=1.0//*7
EncTable[2].ScaleFactor=1.0//*7
Motor[1].AmpFaultLevel=1//*8
Motor[2].AmpFaultLevel=1//*8
Motor[1].FatalFeLimit=1.0//*9
Motor[2].FatalFeLimit=1.0//*9
//Phase Task Configurations
Motor[1].PhaseCtrl=4;//*10
Motor[2].PhaseCtrl=4;//*10
Motor[1].pPhaseEnc=Gate3[0].Chan[0].PhaseCapt.a//*11
Motor[2].pPhaseEnc=Gate3[0].Chan[1].PhaseCapt.a//*11
Motor[1].PhasePosSf=2048*(0.020/16384)/36//*12
Motor[2].PhasePosSf=2048*(0.020/16384)/36//*12
Motor[1].PhaseOffset=683//*13
Motor[2].PhaseOffset=683//*13
Motor[1].pAdc=Gate3[0].Chan[0].AdcAmp[0].a//*14
Motor[2].pAdc=Gate3[0].Chan[1].AdcAmp[0].a//*14
Motor[1].AdcMask=$FFFF0000//*15
Motor[2].AdcMask=$FFFF0000//*15
Motor[1].pDac=Gate3[0].Chan[0].Pwm[0].a//*16
Motor[2].pDac=Gate3[0].Chan[1].Pwm[0].a//*16
Motor[1].PhaseFindingDac=Motor[1].I2tSet/2//*17
Motor[2].PhaseFindingDac=Motor[2].I2tSet/2//*17
Motor[1].PhaseFindingTime=3000/(2*Sys.ServoPeriod*(Sys.RtIntPeriod+1))//*18
Motor[2].PhaseFindingTime=3000/(2*Sys.ServoPeriod*(Sys.RtIntPeriod+1))//*18
3-24
Application Guide Laser Application (O052)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ck3w-ax2323 seriesCk3w-gc2200

Table of Contents