Loading…
Loading…
Method Name: method_api_sgu_auto_ref
Method ID: 0x40B8
Method Label: API/SGU Auto Ref
Method Help:
- {
- int nResponse;
- int nResult;
- char status[3];
- char xmtr_status[25];
- long nVarID[1];
- int activetime;
- int maxtime;
- float zz;
- int nIndex;
- nIndex = 100;
- do {
- switch (nIndex)
- {
- case 100:
- ACKNOWLEDGE(literal_string(196));
- nIndex = 105;
- get_more_status(status,xmtr_status);
- if (xmtr_status[2] & 0x08)
- {
- ACKNOWLEDGE(literal_string(358));
- nIndex = 190;
- }
- break;
- case 105:
- nIndex = 110;
- get_more_status(status,xmtr_status);
- if (xmtr_status[2] & 0x20)
- {
- DELAY(2,literal_string(359));
- nIndex = 120;
- }
- break;
- case 110:
- _iassign(16430,1);
- send(151,status);
Please login for more