Loading…
Loading…
Method Name: MthSimulateControlInputIoA
Method ID: 0x447D
Method Label: Simulation
Method Help: Sets simulated output of control input A (Fct. C2.2.4)
- {
- char achCmdStatus[3];
- long ai32VariableIds[4];
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- ai32VariableIds[0] = 17348;
- _iassign(17348,0);
- _add_abort_method(17532);
- while (1)
- {
- _get_dev_var_value(literal_string(1860),0,17348);
- if (_ivar_value(17348) == 1)
- {
- _fassign(17491,1.0);
- }
- else
- {
Please login for more