Loading…

Method Name: calibration_position_transmit_method

Method ID: 0x4267

Method Label: Position transmit

Method Help: Position transmitter calibration


  • {
  • char status[3];
  • long menu_select;
  • long select_menu;
  • int orignal_value_lower_side;
  • int orignal_value_upper_side;
  • int adjusted_value_lower_side;
  • int adjusted_value_upper_side;
  • _set_device_status(0xFF,0);
  • send_command_trans(132,0);
  • if (control_mode_code == 0)
  • {
  • ACKNOWLEDGE(literal_string(1307));
  • ;
  • process_abort();
  • }
  • ACKNOWLEDGE(literal_string(1422));
  • send_command_trans(228,0);
  • orignal_value_lower_side = _ivar_value(17009);
  • orignal_value_upper_side = _ivar_value(17010);
  • _MenuDisplay(17011,literal_string(1423),literal_string(1424));
  • switch (select_menu)
  • {
  • case 0:
  • ACKNOWLEDGE(literal_string(1425));
  • break;
  • case 1:
  • _add_abort_method(17012);
  • _iassign(17013,0x01);
  • _set_resp_code(8,0);
  • send_trans(226,0,status);
  • if (status[0])
  • {
  • display_response_status(226,status[0]);
  • DELAY(2,literal_string(1317));
  • process_abort();
  • }


Please login for more