Loading…
Loading…
Method Name: write_alarm_severity_meth_new
Method ID: 0x4DA8
Method Label: Alarmstufe ?ndern
Method Help: Erm?glicht dem Anwender die Alarmstufe des Alarms zu ?ndern. Der Alarm wird dargestellt durch seine Alarmnummer. Zum Beispiel A26 f?r 26 und A102 f?r 102.
- {
- char status[3];
- long var_id[1];
- char disp_string[100];
- int slen;
- int choice;
- int alarmNum;
- 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();
- }
- _get_dev_var_value(literal_string(1160),0,19881);
- alarmNum = _ivar_value(19881);
Please login for more