3.2.5.2 - Analog Inputs/Output
Xtrapuls servo drives have 2 analog inputs:
Index Object Name Type Attr.
0x30F1 RECORD Analog Input 1 rw
0x30F2 RECORD Analog Input 2 rw
Analog Inputs
Index 0x30F1, 0x30F2
Name Analog Input
Object Code RECORD
Number of Elements 7
Value Description
Sub Index 1
Description Analog Input 16-bit Value
Conversion data from ADC. The sampling rate is 16 kHz
The result is left aligned.
Data Type Integer16
Access ro
PDO Mapping Yes
Value Range No
Default Value No
Sub Index 2
Description Analog Input 32-bit Value
Data Type Integer32
Access ro
PDO Mapping Yes
Value Range No
Default Value No
Analog_Input_32bit_Value = (Analog_Input_16bit_Value - Offset) * Gain / 256
The Gain value is signed.
Example: using analog input as speed reference.
The speed reference is 32-bits, so the 32-bit value will be used.
Let's say that the maximum speed is 30000 rpm and the unit is inc/s with 4096 inc per motor revolution.
Maximum speed: 30000 rpm -> 500 rev/s -> 2048000 inc/s
The maximum 16-bit analog input is 32767
Gain = 2048000 / 32767 * 256 = 16000
Sub Index 3
Description Offset
Data Type Integer16
Access rw
PDO Mapping Yes
Value Range -
Default Value 0