Loading…

Method Name: angle_adjust_method

Method ID: 0x4034

Method Label: Angle adjust

Method Help:


  • {
  • char status[3];
  • long var_id[1];
  • float tmp_cutoff;
  • float tmp_shutopen;
  • int choice;
  • int tmp_mode;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • send(196,status);
  • if (status[0])
  • {
  • display_response_status(196,status[0]);
  • DELAY(3,literal_string(459));
  • process_abort();
  • }
  • tmp_mode = _ivar_value(16513);
  • if (tmp_mode != 0)
  • {
  • ACKNOWLEDGE(literal_string(464));
  • process_abort();
  • }
  • do {
  • choice = SELECT_FROM_LIST(literal_string(566),literal_string(567));
  • tmp_cutoff = 0;
  • switch (choice)
  • {
  • case 0:
  • ACKNOWLEDGE(literal_string(568));
  • send(204,status);
  • if (status[0])
  • {
  • display_response_status(204,status[0]);
  • DELAY(3,literal_string(459));
  • process_abort();
  • }
  • tmp_cutoff = _fvar_value(16517);
  • if (tmp_cutoff > 0)
  • {
  • ACKNOWLEDGE(literal_string(569));
  • _get_dev_var_value(literal_string(570),0,16517);
  • send(205,status);
  • if (status[0])
  • {
  • display_response_status(205,status[0]);


Please login for more