PMAC Product Guide Other Programming Features Internal Timebase, the Feedrate Override Each coordinate system has its own time base that helps control the speed of interpolated moves in that coordinate system. If Ix93 is set at default, this parameter can be changed by different means: • 100 0 where , % n n Online or CMD command that runs all motion commands in slow motion. • 225 100 where , % ≤ n n Online or CMD command that runs all motion commands proportionally faster. • 0 % Online or CMD command that freezes all motions and timing in that coordinate system. • 100 % Online or CMD command that restores the real-time reference (1 msec = 1 msec).
• M197 = I10 Suggested M-Variable for time base change. Equal to I10 is 100%, equal to 0 is 0%. The variable Ix94 controls the rate at which the time base changes: I10 Ix94 ⋅ = , where t is the slew rate 2 time in msec. 2 t 23 Synchronous M-Variable Assignment The scan of a motion program and execution of the commands in it are governed by the lookahead feature. PMAC will calculate move commands ahead of time for a proper blending and will execute every instruction in between immediately. The fact that the program lines are executed ahead of time would make an M-Variable assignment asynchronous to the motion profiles unless a double equal sign is used.
M1==1, for example, will indicate to PMAC that the assignment must take place at the blending point between the previous move encountered and the next. In LINEAR and CIRCLE mode moves, this blending occurs V*TA/2 distance ahead of the specified intermediate point, where V is the commanded velocity of the axis, and TA is the acceleration (blending) time. Axis Transformation Matrices PMAC provides the capability to perform matrix transformation operations on the X, Y, and Z axes of a coordinate system.
These operations have the same mathematical functionality as the matrix forms of the axis definition statements, but these can be changed on the fly in the middle of programs; the axis definition statements should be fixed for a particular application. The matrix transformations permit translation, rotation, scaling, mirroring, and skewing of the X, Y, and Z axes. They can be useful for English/metric conversion, floating origins, making duplicate mirror images, and repeating operations with angle offsets, etc. The matrices are implemented by the use of Q-Variables and the DEFINE TBUF , TSEL , TINIT , ADIS , IDIS , AROT and IROT commands.
Learning a Motion Program It is possible to have PMAC learn lines of a motion program using the on-line LEARN command. In this operation, the axes are moved to the desired position and the command is given to PMAC. PMAC then adds a command line to the open motion program buffer that represents this position. This process can be repeated to learn a series of points. The motors can be open loop or closed loop as they are moved around. 84 Motion Programs