G-code
Special commands

LogFile

3min

Specifies the file to be used by the LogMsg command.

LogFile "<file path>" <mode>

Parameters

  • the file path parameter is a text parameter that specifies the file path to be used to write to
  • mode parameter needs to be a value of either 0 or 1
    • 0 specifies that the file is to be overwritten
    • 1 specifies that the file is to be appended to

Example

LogFile "C:\log.txt" 0
LogFile "log.txt" 1