Loading…
Loading…
Method Name: MthSimulatePulseOutputIoD
Method ID: 0x455E
Method Label: Simulation
Method Help: Sets simulated output of pulse output D (Fct. C2.5.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] = 17347;
- _fassign(17347,100.0);
- while (1)
- {
- _get_dev_var_value(literal_string(1858),0,17347);
- _fassign(17135,_fvar_value(17347));
- _iassign(17131,10005);
Please login for more