int MSXE173x__MFEndatGetPosition ( xsd__unsignedLong  ulConnectorIndex,
xsd__unsignedLong  ulChannelIndex,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
xsd__unsignedLong  ulOption03,
xsd__unsignedLong  ulOption04,
struct MSXE173x__MFEndatGetPositionResponse Response 
)

Before calling this function, you must call the MSXE173x__MFEndatInitSensor function.

Parameters:
[in] ulConnectorIndex Index of the EnDat connector (0 to 3). See on the MSX-E system.
[in] ulChannelIndex Index of the channel. Set to 0
[in] ulOption01 Reserved. Set to 0
[in] ulOption02 Reserved. Set to 0
[in] ulOption03 Reserved. Set to 0
[in] ulOption04 Reserved. Set to 0
[out] Response 
sResponse.iReturnValue

  • 0 The remote function performed OK
  • -1 System error occurred
  • -2 The PLD is not working
  • -3 The ulConnectorIndex parameter is wrong
  • -4 The ulChannelIndex parameter is wrong
  • -5 The component is not programmed as EnDat
  • -6 The driver is in a wrong state (must be INITIALISED)
  • -7 Error while reading the position
  • -41 Transmission error. Please call MSXE173x__MFEndatGetErrorSources to get more information
  • -100 Internal system error occurred. See value of syserrno

sResponse.syserrno system-error code (the value of the libc "errno" code)
ulPositionLow Position - low bits
ulPositionHigh Position - high bits

Return values:
0 SOAP_OK
Others See SOAP error