Download Softmotion User Manual
Transcript
Start, Inserting and Managing of CNC Programs G42 Start the tool radius correction to the right of the work piece G50 End of round-off-path/slur-path function G51 Start the slur-path function G52 Start the round-off-path function G60 End of the avoid-loop function G61 Start of the avoid-loop function G90 Start interpreting the following coordinate values (for X/Y/Z/P-W) as absolute values (default) G91 Start interpreting the following coordinate values (for X/Y/Z/P-W) as relative values G98 Start interpreting the following coordinate values of I/J as absolute values G99 Start interpreting the following coordinate values of I/J as values relative to the starting point (standard) Please regard that the library "SM_CNC.lib " must be included to enable an error-free compilation of the project. 3.3 Start, Inserting and Managing of CNC Programs The CNC-Editor is to be started in the ‚Resources’ tab in the Object Organizer. A tripartite window will open, the title is 'CNC program list'. In the left column there is a list of the existing programs. The upper right window part serves as a text editor, where the CNC program can be written according to DIN66025. In the lower right part the program will be displayed graphically and finally you can modify the program it in the text or in the graphic part. In each case it will be updated automatically in the other part. In the menu bar the item 'Insert' will be replaced by 'CNC program' as long as the CNC-Editor is active. Insert a new CNC program: Set the cursor to the CNC program list and choose command 'New CNC program' in the menu 'CNC program' or in the context menu. A dialog will open where the name for the new program will be defined. By default the CNC programs get the name "_CNC<n>", where n is a running number, starting with "1". You can edit the default name in the dialog, but you cannot use an already existing name. After having closed the dialog with OK the new program name will appear (shaded) in the list. In the text editor the first program line is displayed: "% comment", the graphic editor still is empty. The currently selected program can be edited in the Text editor as well as in the Graphic Editor. 3-4 SoftMotion in CoDeSys 2.3