Loading…
Loading…
Method Name: meth_setup_discrete_input
Method ID: 0x489F
Method Label: Discrete Inputs
Method Help:
- {
- char status[3];
- long select;
- char disp_string[100];
- int slen;
- select = 0;
- slen = 100;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_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();
- }
- ACKNOWLEDGE(literal_string(1121));
- _get_dictionary_string(858981312,disp_string,slen);
Please login for more