CNCSimulator Pro

user guide
×
Menu
Index

11.5.1. A special note about the System variables tab

As different CNC controls have different system variables (machine and/or controller specific), we have decided to let the user himself add these to any variable number he or she wants. So the first time you look at this page, it will be empty. To assign a system variable to specific variable number, click on the green plus icon under the table.
 
 
Then in the dialog that pops up, enter the variable number you want to assign and select a system variable type you want to assign it to.
 
 
We have added system variable types for things like the current position, feed rate, tool number, etc. Real CNC controllers have tons of system variables and it is probable that more types will be added in the future as customer feedback comes in. Here is a list of the currently available ones:
 
Type name
Comment
CurrentX
Current X axis position value
CurrentY
Current Y axis position value
CurrentZ
Current Z axis position value
CurrentF
Current feed rate value
CurrentT
Current selected Tool number
CurrentS
Current Spindle RPM value
CurrentToolDiameter
Current Tool diameter
CurrentToolLength
Current Tool length
Coolant
Current coolant mode, 0 = No coolant, 1 = Coolant pump on
SpindleRot
Current spindle rotation, 0 = Stopped, 1 = Clockwise, 2 = Anticlockwise
Doors
Current machine doors status. 0 = Closed, 1 = Open
IncrementalMode
Current Incremental positioning mode. 0 = Absolute , 1 = Incremental
CompensationMode
Current Tool radius compensation mode. 0 = None , 1 = Left, 2 = Right
CurrentZeroX
Current zero point X position value
CurrentZeroY
Current zero point Y position value
CurrentZeroZ
Current zero point Z position value
WorkpieceDiam
Lathe workpiece diameter
WorkpieceLength
Lathe workpiece length
WorkpieceX
Mill or cutting machine workpiece size in X
WorkpieceY
Mill or cutting machine workpiece size in Y
WorkpieceZ
Mill or cutting machine workpiece size in Z
 
Missing something? Let us know!