Service Manual 1001 5015 / Rev. 4
4:37
4.12.2 Commands
Presents which command that was sent out before the error occurred.
Position in instrument Hardware Error Code in bold:
E.g. "20 -
304
/1ef3/201/20/0/0/0/450".
DSP Module Commands
Id (hex)
Name
Note
0001
GetDSPStatus
Read HW status and error words. Updates the
TWM, STM, EID and ASTM installed bit.
0002
GetScanVector
Collect vector.
0003
GetSampleVector
Collect specified number of ADC values with
sample interval as specified in the command.
Sample interval 1 means the highest rate (10
s interval).
0004
SetGratingMotor
Set grating motor on/off
0005
SetGratingMotorConf
Set speed of grating motor
0006
GetGratingMotorConf
Get speed of grating motor
0007
GetMonochromatorEnco
der
Read encoder signals
0008
GetFlybackScan (IP mode
only)
If not in 'Flyback' mode: Collects a scan with
the present gain, enters 'Flyback' mode and
waits at the end of the grating cycle.
If in 'Flyback' mode: Calculates new gain on
the way back and sets and collects a scan at
this gain.
000A
LeaveFlybackMode (IP
mode only)
Forces the DSP to leave the 'Flyback' mode.
0010
GetGratingInfo
Returns length of grating cycle, both the
numbers of pulses and time. Also returns a
time vector containing the time intervals
between increments.
0011
GetGratingPwm
Returns length of grating cycle, both the
numbers of pulses and time. Also returns a
time vector containing the time intervals and
PWM levels between increments. The time/
PWM values are returned as follows:
speed,pwm,speed,pwm
0012
GetHopperTemp
Get the hopper temp sensor value.
0013
GetADCNoMissingCodes
Get ADC no missing codes test result.
001A
GetEncoderInfo
Runs motor at fixed PWM and gets
information about pulses for encoderA,
encoderB and index.
001B
SetGratingScanRange
Sets scan range for the grating in idle mode
to Normal
Exercise: -1000 to 2000.
001C
SetGratingAnalyseMode
Sets scan range to normal mode and sets
grating motor on
0020
SetIPMode
Set the mode.
0030
IoPortSetByte
Set bits in external port
0031
IoPortGetByte
Get bits from external port
Summary of Contents for Infratec 1241
Page 8: ...Infratec 1241 Grain Analyzer Service Manual 1001 5015 Rev 4 ...
Page 34: ...Infratec 1241 Grain Analyzer 2 24 Service Manual 1001 5015 Rev 4 ...
Page 68: ...Infratec 1241 Grain Analyzer 3 34 Service Manual 1001 5015 Rev 4 Fig 3 66 ...
Page 203: ...Infratec 1241 Grain Analyzer Service Manual 1001 5015 Rev 4 5 75 Fig 5 77 Fig 5 78 Fig 5 79 ...
Page 206: ...Infratec 1241 Grain Analyzer 5 78 Service Manual 1001 5015 Rev 4 ...
Page 208: ...Infratec 1241 Grain Analyzer 6 2 Service Manual 1001 5015 Rev 4 ...
Page 209: ...Infratec 1241 Grain Analyzer Service Manual 1001 5015 Rev 4 7 1 7 Schematics N A ...
Page 210: ...Infratec 1241 Grain Analyzer 7 2 Service Manual 1001 5015 Rev 4 ...
Page 212: ...Infratec 1241 Grain Analyzer 8 2 Service Manual 1001 5015 Rev 4 ...