Get/SetParam() Vars

From Mach3Wiki
Jump to: navigation, search

Here is a word list for the GetParam( String ) and SetParam( String ) in VB

"ZMachine" = Z Mach Positions (G53 Coordinates)

"XMachine" = X Mach Positions (G53 Coordinates)

"YMachine" = Y Mach Positions (G53 Coordinates)

"Encoder1" = X Encoder Position

"Encoder2" = Y Encoder Position

"Encoder3" = Z Encoder Position

"Encoder4" = A Encoder Position

"MPG1" = MPG1’s count

"MPG2" = MPG2’s count

"MPG3" = MPG3’s count

"XScale" = X Axis Scale

"YScale" = Y Axis Scale

"ZScale" = Z Axis Scale

"AScale" = A Axis Scale

"BScale" = B Axis Scale

"CScale" = C Axis Scale

"FeedRate" = Feedrate that is active

"Units" = 0 or 1 for mm or inch

"StepsPerAxisX" = X Steps per unit from the motor tuning page

"StepsPerAxisY" = Y Steps per unit from the motor tuning page

"StepsPerAxisZ" = Z Steps per unit from the motor tuning page

"StepsPerAxisA" = A Steps per unit from the motor tuning page

"StepsPerAxisB" = B Steps per unit from the motor tuning page

"StepsPerAxisC" = C Steps per unit from the motor tuning page

"VelocitiesX" = X MaxVel from motor tuning page (SetParam as units/second. Mach will multiply X60 for display in motor tuning as units/minute.)

"VelocitiesY"= Y MaxVel from motor tuning page (SetParam as units/second. Mach will multiply X60 for display in motor tuning as units/minute.)

"VelocitiesZ" = Z MaxVel from motor tuning page (SetParam as units/second. Mach will multiply X60 for display in motor tuning as units/minute.)

"VelocitiesA" = A MaxVel from motor tuning page

"VelocitiesB" = B MaxVel from motor tuning page

"VelocitiesC" = C MaxVel from motor tuning page

"AccelerationX" = X Max Accel from motor tuning page

"AccelerationY" = Y Max Accel from motor tuning page

"AccelerationZ" = Z Max Accel from motor tuning page

"AccelerationA" = A Max Accel from motor tuning page

"AccelerationB" = B Max Accel from motor tuning page

"AccelerationC" = C Max Accel from motor tuning page

"SpindleSpeed" = Active Spindle speed

"ZInhibitOn" = 1/0 for Z inhibit on/ off

"ZInhibitDepth" = Max depth of Zinhibit

"SafeZ" = Safe Z height

"XDRO" = X Position

"YDRO" = Y Position;

"ZDRO" = Z Position;

"ADRO" = A Position;

"BDRO" = B Position;

"CDRO" = C Position;

"XRefPer" = X % speed for homing

"YRefPer" = Y % speed for homing

"ZRefPer" = Z % speed for homing

"ARefPer" = A % speed for homing

"BRefPer" = B % speed for homing

"CRefPer" = C % speed for homing

"RPMOverRide" = SetParam("RPMOverRide", 1) will allow you to write to OEMDRO39(True Spindle Speed) from the modbus. If set to "0" will read True spindle as usual.