Note that the conversion timing of AIN0, AIN1, AIN4, AIN5 and that of AIN2, AIN3, AIN6, AIN7 are not
the same.
To capture analog input data correctly, the following register settings are required.
These register settings are the default.
Gate3[i].AdcAmpClockDiv = 5 or 4 (5 by default)
Gate3[i].AdcAmpCtrl = $FFFFFC01
Gate3[i].AdcAmpDelay = 0
Gate3[i].AdcAmpHeaderBits = 1
Gate3[i].AdcAmpStrobe = $FFFFFC
Gate3[i].AdcAmpUtoS = 0
Gate3[i].GpioCtrl = $00000000
Gate3[i].GpioDir[0] = $0000FFFF
Gate3[i].GpioPol[0] = $00000000
3-5-7
Input Filter
The Analog Input Unit incorporates a hardware filter.
You can select the filter cut-off frequency from among 24.5 kHz, 12.2 kHz, 4.3 kHz, and 3.2 kHz and
switch the frequency among them by setting the
Gate3[i].GpioData[0]
register as shown below.
Input Input filter cut-off frequency (kHz)
Setting
AIN0
3.2 (Default)
Gate3[i].GpioData[0].0=0, Gate3[i].GpioData[0].1=0
4.3
Gate3[i].GpioData[0].0=1, Gate3[i].GpioData[0].1=0
12.2
Gate3[i].GpioData[0].0=0, Gate3[i].GpioData[0].1=1
24.5
Gate3[i].GpioData[0].0=1, Gate3[i].GpioData[0].1=1
AIN1
3.2 (Default)
Gate3[i].GpioData[0].2=0, Gate3[i].GpioData[0].3=0
4.3
Gate3[i].GpioData[0].2=1, Gate3[i].GpioData[0].3=0
12.2
Gate3[i].GpioData[0].2=0, Gate3[i].GpioData[0].3=1
24.5
Gate3[i].GpioData[0].2=1, Gate3[i].GpioData[0].3=1
AIN2
3.2 (Default)
Gate3[i].GpioData[0].4=0, Gate3[i].GpioData[0].5=0
4.3
Gate3[i].GpioData[0].4=1, Gate3[i].GpioData[0].5=0
12.2
Gate3[i].GpioData[0].4=0, Gate3[i].GpioData[0].5=1
24.5
Gate3[i].GpioData[0].4=1, Gate3[i].GpioData[0].5=1
AIN3
3.2 (Default)
Gate3[i].GpioData[0].6=0, Gate3[i].GpioData[0].7=0
4.3
Gate3[i].GpioData[0].6=1, Gate3[i].GpioData[0].7=0
12.2
Gate3[i].GpioData[0].6=0, Gate3[i].GpioData[0].7=1
24.5
Gate3[i].GpioData[0].6=1, Gate3[i].GpioData[0].7=1
AIN4
3.2 (Default)
Gate3[i].GpioData[0].8=0, Gate3[i].GpioData[0].9=0
4.3
Gate3[i].GpioData[0].8=1, Gate3[i].GpioData[0].9=0
12.2
Gate3[i].GpioData[0].8=0, Gate3[i].GpioData[0].9=1
24.5
Gate3[i].GpioData[0].8=1, Gate3[i].GpioData[0].9=1
AIN5
3.2 (Default)
Gate3[i].GpioData[0].10=0, Gate3[i].GpioData[0].11=0
4.3
Gate3[i].GpioData[0].10=1, Gate3[i].GpioData[0].11=0
12.2
Gate3[i].GpioData[0].10=0, Gate3[i].GpioData[0].11=1
24.5
Gate3[i].GpioData[0].10=1, Gate3[i].GpioData[0].11=1
3 Configuration Units
3-59
CK3M-series Programmable Multi-Axis Controller User's Manual Hardware (O036)
3-5
Analog Input Unit
3
3-5-7
Input Filter
Summary of Contents for CK3M Series
Page 6: ...Manual Structure 4 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036...
Page 284: ...Appendices A 42 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036...
Page 285: ...I Index I 1 CK3M series Programmable Multi Axis Controller User s Manual Hardware O036 I...
Page 287: ......