Loading…
Loading…
Method Name: scaled_dac_trim_ao2
Method ID: 0x4273
Method Label: Scaled AO2 trim
Method Help: Digital to Analog Scaled Trim- Allows the calibration of the Analog Output with an external reference at the operating endpoints of the Analog Output
- {
- char status[3];
- long var_id[2];
- int retry;
- float low;
- float high;
- float tmp_av;
- char disp_string[100];
- char disp_string1[100];
- char disp_string2[100];
- int slen;
- int slen1;
- int slen2;
- slen = 100;
- slen1 = 100;
- slen2 = 100;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(0);
- _iassign(17338,1);
- _iassign(17339,237);
- send(162,status);
- if (varMODBUS_Data_Type_Code == 1 && varCoil_Value == 0x01)
- {
- ACKNOWLEDGE(literal_string(1078));
- process_abort();
- }
Please login for more