Loading…
Loading…
Method Name: ejx_method_simulate
Method ID: 0x41CD
Method Label: Simulate
Method Help: Simulate.
- {
- char status[3];
- int cmd_no;
- int trans_no;
- int dev_var_code;
- cmd_no = 79;
- trans_no = 0;
- { _set_all_resp_code(0); _set_device_status(0xFF,0); _set_xmtr_device_status(0xFF,0); _set_xmtr_all_resp_code(0); };
- dev_var_code = SELECT_FROM_LIST("|en|Select Device variable.",
- "|en|Off;Flow;Pres;SP;ET;Total Flow;PV;SV;TV;QV;% Range;Loop Current");
- if(dev_var_code == 0)
- {
- ejx_lvar_sim_write_device_variable_code = 0;
- ejx_lvar_sim_device_variable_code = 0;
- ejx_lvar_sim_unit_code = deviceVariables[0].DIGITAL_UNITS;
- }
- else
Please login for more