ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MpMohana priya PARAMASIVAM10/08/2024

Iam doing the project to find machining time for the cnc by creating a MATLAB Program ,I have G and M codein text file and the program 

  1. Read each line from the file.
  2. Extract the distance from G-code commands and the feedrate for each line.
  3. Calculate the time for each movement using the formula: time = distance / feedrate.
  4. Sum the times for all lines to get the total machining time.

Conditions:

G01 commands