Loading…

方法名称: MthSimulateFrequencyOutputIoA

方法ID: 0x4573

方法标签: Simulation

方法描述: Sets simulated output of frequency output A (Fct. C3.2.13)


  • {
  • char achCmdStatus[3];
  • long ai32VariableIds[4];
  • char stDisplay[60];
  • int iCntChars;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _iassign(17204,38);
  • _fassign(17717,1000.0);
  • ai32VariableIds[0] = 17204;
  • ai32VariableIds[1] = 17717;
  • _add_abort_method(17778);
  • while (1)
  • {
  • _get_dev_var_value(literal_string(1973),ai32VariableIds,17717);
  • _lassign(17431,5653);
  • send(186,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(186,achCmdStatus[0]);
  • }


请登录以获得完整内容