The Method WriteISDU writes parameters on the device using the ISDU mechanism.
Signature
WriteISDU (
[in]UInt16 Index,
[in]Byte SubIndex,
[in]Byte[] Data,
[out]UInt16 ErrorType,
[out]Int32 Status
);
Argument |
Description |
Index |
Index, 8-bit index and 16-bit index are both mapped to UInt16 |
SubIndex |
SubIndex, set to 0 if not used |
Data |
Hex Values that need to be composed according to the IO-Link Specification |
ErrorType |
Hex Values converted to UInt16 returned as ErrorType in case the operation was not successful. Data needs to be interpreted according to the IO-Link Specification. 0 if the operation was successful. |
Status |
Returns the status of the operation. 0: OK, operation successful -1: Operation already running, either by same or different ISDU read or write -2: Device not active, either device not connected, not in operation mode or port is configured not to be in IO-Link mode -3: Operation executed but error code returned from device, details are provided in ErrorType |