[out] | Response |
sResponse.iReturnValue
- 0 The remote function performed OK
- -1 System error occurred
- -2 The ulConnectorIndex parameter is wrong
- -3 The ulChannelIndex parameter is wrong
- -4 The component is not programmed as EnDat
- -100 Internal system error occurred. See value of syserrno
sResponse.syserrno system-error code (the value of the libc "errno" code)
ulRunning The running state.
- 0 Not running (do not use other return parameters, there will be set to 0)
- 1 Latch logic is running
ulLatchSource Mask of bits, that defines the trigger source. See documentation of MSXE17xx__MFEndatInitAndEnableLatchPositionValues
ulTriggerEdgeCount Number of edges required to detect an hardware trigger (only if hardware trigger is selected)
ulDataFormat Mask of bits, that defines the format of data that will be sent by the data server. See documentation of MSXE17xx__MFEndatInitAndEnableLatchPositionValues
ulModel (Used for computation) Model/Type of the sensor (see page 79/84 of EnDat application notes 722024)
- 0, 1, 2, 3 Incremental linear encoder
- 4, 6 Absolute linear encoder
- 8, 9, 10, 11 Incremental rotary encoder or angle encoder
- 12 Singleturn encoder
- 13, 14 Multiturn encoder
ulPositionSize (Used for computation) Size of the position value send by the sensor (in bits)
ulSignalPeriod (Used for computation) Signal period length or signal periods per revolution for incremental output signals
ulStepPerRevolution (Used for computation) Measuring step length or measuring steps per revolution with serial data transfer
ulNumberOfRevolution (Used for computation) Distinguishable revolutions - only for multiturn encoders
ulScalingFactor (Used for computation) Scaling factor for resolution |