download_tofs

Purpose

Download a file containing tool offset data, in comma separated variable format, to your CNC.

Syntax

int download_tofs (long int node_no, short path_no, char *filespec)

Arguments

Input

 

node_no

Node number 0-7

path_no

Value

Path for

 

0

Ignore

 

1-2

All series except Series 300i/310i/320i

 

1-10

Series 300i/310i/320i

filespec

Pointer to file specification containing tool offset data values

Output

 

download_tool_log.csv

File logging success and errors

Return Value

ERR_BADCSVFILE

130

Unable to open CSV file

ERR_BADCSVFORMAT

131

Bad CSV format

ERR_BADLOGFILE

132

Unable to open LOG file

ERR_BADMODEL

135

Model type different than CNC

ERR_BADMEMORY

136

Memory type different than CNC

ERR_UNKNOWNMEM

137

Unknown Memory type (A B C)

CNC data window error handling return statuses.

More information

File Data Routines for FOCAS/HSSB.