Skip to main content

Graphical Editor

The graphical editor is located in the lower part of the CNC tabular editor and the editor for DIN 66025. The editor is used to display the programmed CNC program.

The editor provides tools for modifying and extending the path.

. Structure of the editor
  • (1): Tabular editor or editor according to DIN 66025

  • (2): Property view: Shows the properties of the selected path element

  • (3): Graphical editor

  • (4): Control panel: Elements for controlling the camera position and viewing direction

  • (5): Tools for modifying the path

_sm_img_cnc_editor_graphical.png
. Notes about working with the graphical editor
  • The selected path element is displayed in red.

  • The positioning commands (G0) and switch point functions are displayed in green.

  • If the end point of an element is movable, then it is displayed as a small black outlined circle.

  • The start and end tangents are displayed in gray.

  • The current position of the selected path element is displayed in the status bar.

Tip

Note the CNC menu commands for scaling and moving the entire path.

Note the sample programs included in the installation of CODESYS SoftMotion.

Tools

You can use tools to modify and extend motion paths in the graphical editor. The changes are visible simultaneously in the text editor and tabular editor.

_sm_icon_cnc_editor_select.png

Select: This tool selects a point or a path element. The element is then displayed in red with a blue starting point. The mouse pointer in the graphical editor changes into a pointer.

_sm_icon_cnc_editor_line.png

Line: Adds or inserts a new line. The mouse pointer in the graphical editor changes into a cross.

_sm_icon_cnc_editor_circle_cw.png

Insert circle (clockwise): Adds or inserts a new arc (clockwise). The mouse pointer in the graphical editor changes into a cross.

_sm_icon_cnc_editor_circle_ccw.png

Insert circle (counterclockwise): Adds or inserts a new arc (counterclockwise). The mouse pointer in the graphical editor changes into a cross.

_sm_icon_cnc_editor_spline.png

Spline: Adds or inserts a new spline point. The mouse pointer in the graphical editor changes into a cross.

Camera position and viewing direction

. You can use the mouse to modify the position and camera perspective on the program path in any way.
  • Left mouse button pressed + mouse movement: Moves the camera position along the axes in the display plane.

  • Right mouse button pressed + mouse movement: Rotates the view on the CNC program.

  • Ctrl+Mouse wheel: Changes the zoom factor.

Operating panel for display control

In the upper left corner of the graphical editor, an operating panel provides various commands for changing the view of the path. The path is not modified in the process. Instead, only the camera position and camera perspective are changed.

You can collapse the control panel by clicking the black arrow in order to maximize the size of the editor workspace. Clicking again expands the control panel.

The control panel provides the following commands for setting the orientation, position, and zoom.

_sm_icon_cnc_editor_zoom_in.png

Zoom in

_sm_icon_cnc_editor_zoom_out.png

Zoom out

_sm_icon_cnc_editor_change_camera_pitch.png

Change the camera pitch (clockwise)

_sm_icon_cnc_editor_change_camera_pitch_bottom.png

Change the camera pitch (counterclockwise)

_sm_icon_cnc_editor_change_camera_yaw.png

Change the camera yaw (clockwise)

_sm_icon_cnc_editor_change_camera_yaw_right.png

Change the camera yaw (counterclockwise)

_sm_icon_cnc_editor_change_camera_roll_cw.png

Rotate the camera (clockwise)

_sm_icon_cnc_editor_change_camera_roll_ccw.png

Rotate the camera (counterclockwise)

_sm_icon_cnc_editor_move_camera_up.png

Move camera upwards

_sm_icon_cnc_editor_move_camera_left.png

Move camera to the left

_sm_icon_cnc_editor_move_camera_right.png

Move camera to the right

_sm_icon_cnc_editor_move_camera_down.png

Move camera downwards

_sm_icon_cnc_editor_view_xy.png

Set the direction of view to the negative z-axis and rescale

_sm_icon_cnc_editor_view_yz.png

Set the direction of view to the x-axis and rescale

_sm_icon_cnc_editor_view_xz.png

Set the direction of view to the y-axis and rescale