|
|
|
G Code Machine ToolsUsing CCL to Upload and Download from your CNC Console Generic Instructions SuiteFactory now supports the capability of uploading and downloading right for a Mazatrol Machine Tool Controllers as well as for all CNC G-Code Controllers. The following explains how. SuiteFactory supports two modes of CCL (CCI’s Command Language). The SuiteFactory Standard CCL and the Dynamic CCL. Standard CCLThe Standard CCL commands are all hard coded. The concept of CCL, is to create a "dummy" program at your CNC console with the CNC’s editor into which you enter the command to either get a file from the SuiteFactory database or save one to that database. Response files are sent to the CNC at appropriate times with codes describing an action or problem. See code list on last page of this document. Dynamic CCLThe Dynamic CCL commands are all soft coded in the sense that the functionality is predetermined but the name of the command is customizable. The concept of Dynamic CCL, is to create a "dummy" program at your CNC console with the CNC’s editor into which you enter the command to either get a file (several different modes) from the SuiteFactory database/queue or save one to the SuiteFactory database. Response files are sent to the CNC at appropriate times with codes describing an action or problem. See code list on last page of this document. Setting Leader & TrailerIn order to keep the operator fully informed about a request he or she has made, SuiteFactory will issue response files to the machine tool with various statuses of the transfers. In order to customize these for each controller the system administrator must set up the CCL leader and trailer format of this response file so that it is compatible with the specific CNC. For example, for a Fanuc to accept a file its format at a minimum must look as follows: % <CR><LF> O#### <CR><LF>%. Therefore SuiteFactory allows you to set a wrapper with a CCL leader for a Fanuc CNC is % <CR><LF> O2222 <CR><LF> and the trailer is %. The response information is put in between the leader and trailer and sent back to the machine tool. See the CCL Codes link in the left hand window. To do this, select the CCL tab in the machine properties dialog. First click on Enable CCL Command Language. Set the timeout to at least 60 seconds. Setup the CCL Leader and Trailer. For a Fanuc CNC the leader is typically: 1,% 1,CR 1,LF 1,O 4,2 1,CR 1, LF. The trailer typically is 1,%. If M02 or M30 is required to mark the end of a program then the trailer is 1,M 1,0 1,2 1,CR 1,LF 1,%.
|