int MSXE17xx__MFEndatSensorReceiveParameter ( xsd__unsignedLong  ulConnectorIndex,
xsd__unsignedLong  ulChannelIndex,
xsd__unsignedLong  ulMrsCode,
xsd__unsignedLong  ulAddress,
xsd__unsignedLong  ulParam,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
xsd__unsignedLong  ulOption03,
xsd__unsignedLong  ulOption04,
struct MSXE17xx__Response Response 
)

Before calling this function, you must call the MSXE17xx__MFEndatInitSensor function to initialise the sensor, and then MSXE17xx__MFEndatSelectMemoryArea, or MSXE17xx__MFEndatSensorSendPosAndRecvSelMemArea to select the memory area that contains the parameter you want to write.

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] ulMrsCode The MRS-code corresponding to the last memory area that you have selected (see MSXE17xx__MFEndatSelectMemoryArea or MSXE17xx__MFEndatSensorSendPosAndRecvSelMemArea)
[in] ulAddress The address of the parameter that you want to write (0x0-0xFF)
[in] ulParam The new value of the parameter
[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 
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 The ulMrsCode parameter is wrong
  • -8 The ulAddress parameter is wrong
  • -9 The last selected memory area do not corresponds to the parameter ulMrsCode. Please call MSXE17xx__MFEndatSelectMemoryArea or MSXE17xx__MFEndatSensorSendPosAndRecvSelMemArea with the wished ulMrsCode before
  • -10 Error while writing parameter
  • -41 Transmission error. Please call MSXE17xx__MFEndatGetErrorSources to get more information
  • -100 Internal system error occurred. See value of syserrno

syserrno system-error code (the value of the libc "errno" code)

Return values:
0 SOAP_OK
Others See SOAP error