int MXCommon__SetToMaster ( void *  _,
xsd__unsignedLong  ulState,
xsd__unsignedLong  ulOption01,
xsd__unsignedLong  ulOption02,
struct MXCommon__Response Response 
)
Parameters:
[in] ulState State of the supermaster mode

  • 0 automatic mode (default). The state of the system (master or slave) will be automatically detected by the system
  • 1 Set to master mode at all time. The system will always be detected as master
[in] ulOption01 Reserved. Set to 0
[in] ulOption02 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 ulFilterTime parameter is wrong
  • -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