Loading…
Loading…
Method Name: methodOpenStopAdj
Method ID: 0x4024
Method Label: Open Stop Adjustment
Method Help: Open stop adjustment; Allows to adjust travel to less than mechanical limits. Must be between 60% and 100% of mechanical travel set with Find Stops.
- {
- char nbr;
- char status[3];
- char prevMode;
- int result;
- send(249, status); if( status[0] != 0 ) { display_response_status(249, status[0]); DELAY(3,"|en|Procedure aborted \nTry Again."); process_abort();; }; if( (_ivar_value(16385) != 0) ) { ACKNOWLEDGE("|en|WARNING. This procedure requires to enter setup mode and will result in LOSS of PROCESS CONTROL. Do you wish to proceed ?"); PUT_MESSAGE("|en|Changing mode to Setup"); _add_abort_method(16390); _iassign(16684,(0)); send(135, status); if( status[0] != 0 ) { display_response_status(135, status[0]); DELAY(3,"|en|Procedure aborted \nTry Again."); process_abort();; }; nbr=0; do { nbr += 1; if( nbr == 10 ) { DELAY(3,"|en|Procedure aborted \nTry Again."); process_abort();; }; send(249, status); } while( _ivar_value(16385) != 0 ); };
- send(169, status);
- if( status[0] != 0 ) { display_response_status(169, status[0]); DELAY(3,"|en|Procedure aborted \nTry Again."); process_abort();; };
- _get_dev_var_value(("|en|Open Stop Adjustment" ),0,16687);
- send(167, status);
Please login for more