Loading…

Method Name: read_status_method

Method ID: 0x405E

Method Label: read status

Method Help:


  • {
  • char status[3];
  • int fault0;
  • int fault1;
  • int fault2;
  • int fault3;
  • int faultH0;
  • int faultH1;
  • int faultH2;
  • _set_device_status(0xFF,0);
  • send(48,status);
  • if (status[2] & 0x80)
  • {
  • ACKNOWLEDGE(literal_string(457));
  • }
  • if (status[2] & 0x10)
  • {
  • fault0 = _ivar_value(16501);
  • fault1 = _ivar_value(16502);
  • fault2 = _ivar_value(16503);


Please login for more