Loading…

Method Name: method_wizard_batch_setting

Method ID: 0x4A69

Method Label: Batch 1 setting

Method Help:


  • {
  • char status[3];
  • char disp_string1[60];
  • char disp_string2[60];
  • int slen1;
  • int slen2;
  • int result_st;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • slen1 = 60;
  • slen2 = 60;
  • _add_abort_method(19050);
  • ACKNOWLEDGE(literal_string(4057));
  • send(147,status);
  • if (status[0] != 0)
  • {
  • display_response_status(147,status[0]);
  • process_abort();
  • }
  • batch_1_index_code = 1198;
  • send(220,status);
  • if (status[0] != 0)
  • {
  • display_response_status(220,status[0]);
  • process_abort();
  • }
  • batch_2_index_code = 1205;
  • send(221,status);
  • if (status[0] != 0)
  • {
  • display_response_status(221,status[0]);
  • process_abort();
  • }
  • batch_3_index_code = 1208;
  • send(222,status);
  • if (status[0] != 0)
  • {
  • display_response_status(222,status[0]);
  • process_abort();
  • }
  • switch (_ivar_value(18120))
  • {
  • case 0:
  • device_variable_1_index_code = 30526;
  • break;
  • case 1:
  • device_variable_1_index_code = 30686;
  • break;


Please login for more