GP Get parameter

Command Command description Controller response Default
mode
(N/A - not available)
Service
Mode
(N/A - not available)
xGPy Get current parameter. y - parameter number Returns parameter value Yes Yes

SYNTAX    xGPy, where x - controller number.
PARAMETER y (range 1...15):
1. Get number of steps and motion direction (sign indicates direction). The parameter is set by SS command.                 
2. Get maximum velocity. The parameter is set by VF command.
3. Get acceleration (deceleration is the same). The parameter is set by AC command.
4. Get maximum velocity, which is set for service mode. The parameter is set by VS command.
5. Get acceleration for service mode. The parameter is set by AS command.
6. Get gearing mode. Returns 1 - if auto, or 0 - if manual gear control. The parameter is set by AG command.
7. Get gear micro stepping mode. 2=half step, 1=quarter step, 0=eighth step. The parameter is set by MM command.
8. Get controller (or axis) address. The parameter is set by NM command.
9. Get Right limit status. 1- enabled, 0 - disabled. The parameter is set by RL command.
10. Get Left limit status. 1- enabled, 0 - disabled. The parameter is set by LL command.
11. Get encoder presence bit. The parameter is set or reset by SE command.
12. Get mode, which can be switched by SV and DM commands. 1- Service mode, 0 - Default mode.
13. Get controller protection by password (enabled or disabled) state. In service mode returns 1, if controller commands are enabled. If commands are disabled, returns 0. In default mode controller does not respond, if commands are disabled. The parameter is set/clear by EC/DC commands.
14. Get trapezoidal profile of speed. Trapezoidal speed = 1, constant speed = 0. The parameter is set by TP command.
15.  Get Time multiplier value. The parameter is set by TM command.                                                                                                            
DESCRIPTION Get (read) parameter, which is default or set with one of commands.
RETURNS parameter value, which number y follows GP command.
REL. COMMANDS none.
EXAMPLES: 5GP 14  ||   8gp5     ||   1 gP 10