Loading…
Loading…
Method Name: position_sensor_direction_method
Method ID: 0x40BE
Method Label: Snsr dir
Method Help:
- {
- char status[3];
- char display_string[60];
- int string_length;
- int original_drive_operating_mode;
- int selected_position_sensor_direction;
- int determined_position_sensor_direction;
- int drive_direction_local;
- float after_cw_ret_position_value;
- float after_ccw_ext_position_value;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _add_abort_method(16566);
- send_command(134);
- original_drive_operating_mode = _ivar_value(16421);
- ACKNOWLEDGE(literal_string(413));
- selected_position_sensor_direction = _ivar_value(16573);
- send_command(139);
- drive_direction_local = _ivar_value(16575);
- if (selected_position_sensor_direction == 255)
- {
- _iassign(16573,0);
- }
Please login for more