|
Some additional data are not available on all sensors. To get the available additional data of your sensor, please use the function MSXE173x__MFEndatGetSensorProperties.
If you select an additional data that is not available on your sensor, you will get the parameter ucErrorSrc13 set to 1 when calling the function MSXE173x__MFEndatGetErrorSources.
The additional data are extra values that the sensor can send (in the same cycle as its position value).
This function is reserved for EnDat 2.2 sensors. It will returns an error if the sensor does not support EnDat 2.2 commands.
- 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] | ulAddDataCount | The number of selected additional data (0 to 2) |
[in] | ulMrsCodeAD1 | The MRS-Code for the first additional data
- 0x40 Send additional info 1 without data contents
- 0x42 Position value 2 word 1 LSB
- 0x43 Position value 2 word 2
- 0x44 Position value 2 word 3 MSB
- 0x49 Test values word 1 LSB
- 0x4A Test values word 2
- 0x4B Test values word 3 MSB
- 0x4C Temperature sensor 1 (external)
- 0x4D Temperature sensor 2 (external)
- 0x4E Additional sensors
|
[in] | ulMrsCodeAD2 | The MRS-Code for the second additional data
- 0x50 Send additional datum 2 without data contents
- 0x51 Commutation
- 0x52 Acceleration
- 0x54 Limit position signals
- 0x56 Asynchronous position value word 1 LSB
- 0x57 Asynchronous position value word 2
- 0x58 Asynchronous position value word 3 MSB
- 0x59 Operating status error sources
- 0x5B Timestamp
|
[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 ulAddDataCount parameter is wrong
- -8 The ulMrsCodeAD1 parameter is wrong
- -9 The ulMrsCodeAD2 parameter is wrong
- -10 The sensor is not compatible with EnDat 2.2
- -11 Error while deactivating additional data 2
- -12 Error while deactivating additional data 1
- -13 Error while activating additional data 1
- -14 Error while deactivating additional data 2
- -15 Error while deactivating additional data 1
- -16 Selected additional data 1 is wrong or not available on this sensor. Please call MSXE173x__MFEndatGetErrorSources to get more information
- -17 Error while activating additional data 1. Please call MSXE173x__MFEndatGetErrorSources to get more information
- -18 Error while getting the current position value
- -19 Error while activating additional data 2
- -20 Error while deactivating additional data 2
- -21 Error while deactivating additional data 1
- -22 Selected additional data 2 is wrong or not available on this sensor. Please call MSXE173x__MFEndatGetErrorSources to get more information
- -23 Error while activating additional data 2. Please call MSXE173x__MFEndatGetErrorSources to get more information
- -24 Error while getting the current position value
- -41 Transmission error. Please call MSXE173x__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 |
|