Loading…
Loading…
方法名称: MthSimulatePulseOutputIoB
方法ID: 0x45D4
方法标签: Simulation
方法描述: Sets simulated output of pulse output B (Fct. C3.3.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);
- ai32VariableIds[0] = 17590;
- _fassign(17590,100.0);
- while (1)
- {
- _get_dev_var_value(literal_string(1991),0,17590);
- _fassign(17450,_fvar_value(17590));
- _iassign(17446,5909);
请登录以获得完整内容