Download ESP7000 Motion Controller/Driver
Transcript
GR set master-slave reduction ratio USAGE IMM ♦ SYNTAX xxGRnn or xxGR? PARAMETERS Description Range Units Defaults DESCRIPTION PGM MIP ♦ ♦ xx [ int ] nn [ float ] - axis number reduction ratio xx nn xx nn - 1 to MAX AXES ±1,000,000 none none xx missing: out of range: nn missing: out of range: error 37, AXIS NUMBER MISSING error 9, AXIS NUMBER OUT OF RANGE error 38, COMMAND PARAMETER MISSING error xx2, PARAMETER OUT OF RANGE This command sets the master-slave reduction ratio for a slave axis. The trajectory of the slave is the desired trajectory or actual position of the master scaled by reduction ratio. Refer to the TJ command to specify the desired trajectory mode for a slave axis. Note: Use this command very carefully. The slave axis will have its speed and acceleration in the same ratio as the position. Also, ensure that the ratio used for the slave axis does not cause overflow of this axis’ parameters (speed, acceleration), especially with ratios greater than 1. RETURNS If “?” sign is issued along with command, the controller returns master-slave reduction ratio. REL. COMMANDS SS EXAMPLE 2SS1 2SS? 1 2TJ5 2GR0.5 2GR? 0.5 Section 3 – Remote Mode - define master-slave relationship | set axis 2 to be the slave of axis 1 | query the master axis number for axis 2 | controller returns a value of 1 | set axis 2 trajectory mode to 5 | set the reduction ratio of axis 2 to 0.5 | query the reduction ratio of axis 2 | controller returns a value of 0.5 3-67