Show/Hide Toolbars

Irinos Measurement System

Navigation: MscDll Reference Guide > Opcodes and parameters > Opcodes: Configuration and miscellaneous

opcRHS: Read hardware status of the measurement channels

Scroll Prev Top Next More

This opcode allows reading the error status of each measurement channel. Further more for incremental channels, the reference index status bit 'Refmark' can be read out. It is set, if the reference index is enabled and crossed for the first time.

 

Overview


Opcode:              0x38

Name:                opcRHS

Function:            Read hardware status

Parameter type:        Binary

 

DLL-Function


The hardware status can be readout continuously via MSC_SetupStaticChannel and MSC_ReadStatic. This is the preferred way.

Alternatively it can be readout via MSC_WriteCommand.

 

Request data to the Irinos-System


Byte 0: Binary value 2

 

Response data from the Irinos-System


Byte 0:        Hardware status measurement channel 1

Byte 1:        Hardware status measurement channel 2

Byte n:        Hardware status measurement channel n+1

 

Status-Byte for measurement channels for incremental encoders


Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

PwrOvld

 

Refmark

Vector

GComp

OComp

AmpErr

Fast

PwrOvld

Error: A power supply overload of the incremental encoder(s) has been detected.

Refmark

The reference index has been crossed.

Vector

Error: The signal vector, which has been calculated from the cosine- and sine-signal, is too small. (Can only occur with 1Vpp incremental encoders.)

GComp

Error: The gain-control has reached its limit. (Can only occur with 1Vpp incremental encoders.)

OComp

Error: The offset-control has reached its limit. (Can only occur with 1Vpp incremental encoders.)

AmpErr

Error: One or both AD-converters for the measurement of the sine-/cosine-signal is/are overdriven. (Can only occur with 1Vpp incremental encoders.)

Fast

Error: The input frequency is too high.

 

Status-Byte for inductive probes Tesa or IET


Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

 

 

 

 

 

 

 

ShortCirc

ShortCirc

Error: Short circuit of the sine-oscillator

 

Status-Byte analogue inputs AIN


Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

24VOvld

VRefOvld

 

 

 

 

 

 

24VOvld

Error: Overload of the 24V output supply.

VRefOvld

Error: Overload of the reference voltage output.

 

Comments


The hardware status of the measurement channels should be checked regularly in order to verify the validity of the measurement values. Further details can be found in the users manual.