int MSXExxxx__TemperatureDiagnostic ( xsd__unsignedLong  ulChannel,
xsd__unsignedLong  ulOption1,
struct MSXExxxx__unsignedLongResponse Response 
)
Parameters:
[in] ulChannel : Channel selection (0 to 15)
[in] ulOption1 : Reserved. Set to 0
[out] Response :
sResponse.iReturnValue :

  • 0: Means the remote function performed OK
  • -1: Means an system error occured

sResponse.syserrno : system-error code (the value of the libc "errno" code)
ulValue : Diagnostic status

  • 0 : OK
  • 1 : RTD voltage line open
  • 2 : RTD voltage line short circuit
  • 3 : RTD current line open
  • 4 : RTD current line short circuit
  • 5 : TC disconnected
  • 6 : CJC disconnected (M12 connector not present)
  • 7 : RTD sensor front-end disconnected (wiring properly linked)
Returns:
  • 0: SOAP_OK
  • <> 0: See SOAP error