Alkart CNC Wizard 2014 Manual Revision 8

Download as pdf or txt
Download as pdf or txt
You are on page 1of 80
At a glance
Powered by AI
The manual outlines the installation and use of Alkart CNC Wizard 2014 software for programming CNC machines.

The manual provides instructions for installing the Alkart CNC Wizard 2014 software and configuring system settings and machine parameters.

The manual describes how to add, remove, and edit machine settings for different CNC machine tools in the software.

Revision 8 – 5th August 2015

Alkart CNC Wizard 2014 Manual

Table Of Contents 
TABLE OF CONTENTS ......................................................................................................................... 2 

SYSTEM REQUIREMENTS ................................................................................................................... 5 

PC REQUIREMENTS ...................................................................................................................... 5 
PROGRAM TRANSFER REQUIREMENTS .......................................................................................... 5 

GETTING STARTED .............................................................................................................................. 6 

ABOUT ALKART CNC WIZARD ...................................................................................................... 6 


INSTALLATION .............................................................................................................................. 6 
CD-ROM INSTALL............................................................................................................. 6 
REGISTERING THE SOFTWARE ....................................................................................................... 7 

CONFIGURING THE SYSTEM .............................................................................................................. 9 

GENERAL SETTINGS ..................................................................................................................... 9 


FILE OPTIONS ................................................................................................................... 9 
LANGUAGE OPTIONS ....................................................................................................... 10 
WIZARD OPTIONS ........................................................................................................... 10 
MACHINE SETUP ......................................................................................................................... 12 
MACHINE SETUP AVAILABLE SETTINGS ............................................................................ 13 
MANAGEMENT OF MACHINE SETTINGS ........................................................................................ 16 
ADDING A MACHINE ......................................................................................................... 16 
REMOVING A MACHINE .................................................................................................... 17 
EDITING A MACHINE’S SETTINGS ..................................................................................... 17 

OPENING A PROGRAM ...................................................................................................................... 18 

OPENING A RAW RS232 DATA FILE ............................................................................................. 19 


OPENING A PROGRAM FROM A MACHINE PROGRAM FOLDER ....................................................... 20 
IMPORTING A PROGRAM FROM MULTIPLE FILES (MIYANO EDITION ONLY) .................................... 20 

STARTING A NEW PROGRAM ........................................................................................................... 22 

USING THE WIZARD .................................................................................................................... 22 


STEP 1: MACHINE SELECTION AND QUESTIONS .............................................................. 22 
STEP 2: ENTERING PROGRAM DATA .............................................................................. 24 
STEP 3: PROGRAM TEMPLATE \ CODE LIBRARY .............................................................. 25 
STARTING A NEW BLANK PROGRAM ........................................................................................... 28 

SAVING A PROGRAM ......................................................................................................................... 30 

SAVING A PROGRAM TO A MACHINE PROGRAM FOLDER .............................................................. 30 


EXPORTING A PROGRAM TO MULTIPLE FILES (*MIYANO EDITION ONLY)....................................... 30 

M & G CODE HELP ............................................................................................................................. 32 

Page 2
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

MACHINE TYPE AND MACHINE IDS ................................................................................................. 34 

RS232 PROGRAM TRANSMISSION .................................................................................................. 36 

SENDING A PROGRAM ................................................................................................................. 36 


RECEIVING A PROGRAM .............................................................................................................. 36 

TRANSMITTING MACHINE PARAMETER FILES .............................................................................. 37 

RECEIVING MACHINE PARAMETERS ............................................................................................. 37 


SENDING MACHINE PARAMETERS ................................................................................................ 37 

VALIDATION CHECK FUNCTIONS .................................................................................................... 38 

QUEUING CODES CHECK ............................................................................................................ 38 


QUEUING CODES CHECK – VIEW SYNCED IN EDITOR FUNCTION................................................... 39 
COORDINATE SYSTEM SETTING CHECK ....................................................................................... 39 
LETTER ‘O’ INSTEAD OF ZERO CHECK ......................................................................................... 40 
MISSING COMMENT BRACKETS CHECK ....................................................................................... 40 
MISSING DECIMAL POINT CHECK ................................................................................................ 41 

SPEEDS AND FEEDS CALCULATOR ............................................................................................... 42 

MISCELLANEOUS CALCULATORS .................................................................................................. 43 

MISCELLANEOUS UTILITIES ............................................................................................................. 44 

REMOVE MACRO VARIABLES ...................................................................................................... 44 


TEXT ENGRAVING ....................................................................................................................... 44 
REMOVE WIZARD GUIDANCE COMMENTS ..................................................................................... 45 
PROGRAM CONVERSION ASSISTANT ........................................................................................... 45 

EDITING A PROGRAM ........................................................................................................................ 46 

CLIPBOARD / TEXT SEARCH FUNCTIONS ..................................................................................... 47 


USING THE CLIPBOARD .................................................................................................... 47 
TEXT SEARCH ................................................................................................................. 47 

MACHINING DATA EDITOR ............................................................................................................... 48 

USER CODE LIBRARY FUNCTION .................................................................................................... 50 

USER CODE LIBRARY ................................................................................................................. 50 


ADDING CODE TO THE USER LIBRARY ............................................................................... 50 
INSERTING CODE FROM THE USER LIBRARY ...................................................................... 50 
REMOVING CODE FROM THE USER LIBRARY ...................................................................... 51 

SCRATCH PAD .................................................................................................................................... 52 

OTHER FEATURES ............................................................................................................................. 53 


Page 3
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

UNIT CONVERSION...................................................................................................................... 53 


CHANGING EDITOR APPEARANCE ............................................................................................... 53 
COPYING A PROGRAM TO WINDOWS CLIPBOARD ........................................................................ 53 
PRINTING A PROGRAM ................................................................................................................ 53 
PRINT PREVIEW .......................................................................................................................... 53 
PRINT IN SYNCHRONISED VIEW .................................................................................................... 53 
PRINT PAGE SETTINGS ............................................................................................................... 54 
MACHINE TYPE SELECTION ......................................................................................................... 54 

LAN PROGRAM TRANSFER .............................................................................................................. 55 

MACHINE TYPES ......................................................................................................................... 55 


SENDING A PROGRAM TO A MACHINE OVER THE NETWORK ........................................................... 55 
RETRIEVING A PROGRAM FROM THE MACHINE OVER THE NETWORK .............................................. 56 
NETWORK TRANSFER SCREEN (M600) ............................................................................ 56 
NETWORK TRANSFER SCREEN (M70/M700) .................................................................... 57 
OPENING PROGRAMS ................................................................................................................. 57 
VIEWING PROGRAM INFORMATION ............................................................................................... 58 
TRANSFERRING PROGRAMS ........................................................................................................ 58 
DELETING PROGRAMS ................................................................................................................ 58 
RENAMING PROGRAMS ............................................................................................................... 58 
CHANGING BACK TO THE DEFAULT PROGRAM DIRECTORY ............................................................ 58 
CLEARING THE LAN FILE AREA (M600) ...................................................................................... 58 

APPENDIX 1 - CINCOM MACHINE RS232 CONFIGURATION.......................................................... 60 

SETTINGS FOR MITSUBISHI MELDAS 500 ..................................................................................... 60 


SETTINGS FOR MITSUBISHI MELDAS 600 ..................................................................................... 61 
SETTINGS FOR MITSUBISHI MELDAS M70 AND M700 ................................................................... 63 
SETTINGS FOR FANUC SYSTEM 18I ............................................................................................. 64 
SETTINGS FOR FANUC SYSTEM 31I ............................................................................................. 65 
SETTINGS FOR FANUC SYSTEM 32I ............................................................................................. 66 

APPENDIX 2 – PROGRAM DATA SCREEN DESCRIPTION ............................................................. 68 

OVERVIEW .................................................................................................................................. 68 


TAB 1 - GENERAL ....................................................................................................................... 69 
TAB 2 - COMPONENT .................................................................................................................. 72 
TAB 3 – PART-OFF ..................................................................................................................... 74 
TAB 4 - AIR / OIL ........................................................................................................................ 77 

Page 4
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

System Requirements 

PC Requirements 
Before using the software please make sure that your computer meets the following minimum
requirements:

 Minimum Pentium IV CPU or equivalent


 1GB RAM minimum
 500MB Free Hard Disk Space
 Windows XP (32bit only) / Windows Vista / 7 / 8 / 8.1 / 10 (32bit and 64bit)
 CD-ROM Drive (if installing from CD)
 1024x768 display or better

Program Transfer Requirements 

For Program Transfer by RS232: 

 RS232 data cable


 Either RS232 Serial port or USB to RS232 adaptor (Prolific chipset is recommended).
 Optionally a manual or automatic RS232 switch box (if automatic then must support port
selection by text command)

For Program Transfer by CompactFlash Card: 

 Compact Flash Card slot (PCMCIA or USB card reader)


 2GB or smaller CompactFlash Card formatted with FAT32 file system
 PCMCIA to CompactFlash adaptor (if required by machine)

For Program Transfer by LAN (where supported): 

 LAN Port on PC
 LAN Card \ port in all machines
 Machine network settings configured correctly

Page 5
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Getting Started 
About Alkart CNC Wizard 
Congratulations on your purchase of the Alkart CNC Wizard 2014. The software will help to speed up
the development of CNC programs for your Citizen machine and also manage the transfer of
programs between your machines and your PC. It includes many utility functions to support you
during creation of your part-program.

Installation  

CD‐ROM Install 
Firstly insert the Alkart CNC Wizard 2014 CD-ROM into your computer’s CD drive. Once you have
done this click on CD drive icon in ‘My Computer’ and then run the file ‘setup.exe’ to begin the
installation procedure. Select the language you wish to continue the installation in:

If you receive a message that a version is already installed then click ‘OK’ to have setup remove it
automatically:

NOTE: If at this point you receive an error that the ‘Microsoft .Net Framework 4 Full’ is missing
then you can either click OK to have setup install to install this as part of the installation
process or alternatively click cancel and install this manually.

Follow the on-screen instructions to install the software to your computer. It is recommended that you
keep the default installation path of ‘C:\Program Files\Alkart CNC Wizard’ but you can change this if
you so desire.

Page 6
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Once completed you should have an ‘Alkart CNC Wizard 2014’ icon on your desktop and also under a
new ‘Programs\Alkart CNC Wizard’ folder on your start menu. Double-click on this icon to run the
software. When run for the first time you will be asked to select the language in which you wish to run
the software:

Click the relevant flag, if a language file is not available for the desired language then an error
message will be displayed.

Registering the software 
When run the first time you will be prompted to unlock the software. Please telephone or email your
supplier and ask them to unlock the software for you. You will need to provide:

 The ‘Installation ID’, Version number and ‘Product Name’ of the software. These details are
shown on the unlock screen.
 Your name, company name and country to help identify your software license.

The unlock screen has tabs for ‘email registration and ‘telephone registration’.

 The email request tab includes buttons to automatically generate an email unlock code request
directly in your email software or by copying to clipboard ready for pasting into your email or
webmail.
 The telephone request tab includes the installation ID in phonetic alphabet to assist you in
reading it out over the phone.

Page 7
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Shortly after sending the request to your supplier you will be supplied with a unique unlock code for
your PC. Enter this exactly and then click ‘Unlock’. Note that all alphabetic characters (if there are
any) must be entered in UPPER CASE.

If the unlock code was entered correctly then a message will be displayed informing you that the
software is now registered. Please note that a unique unlock code will be required every time you
install the software.

Page 8
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Configuring the system 
After installing, the first task that must be completed is the configuration of the system. The
instructions below explain this process in more detail.

General Settings 
If you click on ‘Options’ and then ‘General Settings’ you can configure a number of options under the 3
tabs available: ‘File Options’, ‘Language Options’ and ‘Wizard Options’.

File Options 
Program storage directory 

This directory is the default path that the software uses to save and open programs you have stored
on your computer. For example you might choose to store your programs in the directory
‘C:\MyProgs’. Use the ‘Browse’ button to pick out the program storage directory you wish to use or
alternatively you can type the directory directly into the text box. The software will check that this
directory is valid before it is saved.

File Extensions 

If you click on ‘Options’ and then ‘General Settings’ you can configure additional file extensions for use
in the program. These file extensions are used in the file filter when opening a file. The .PRG, .CNC
and .TXT file extensions cannot be removed but you can add your own file extensions and also
change the default that is used in the software. This default will be the default file extension used
when saving a program. To set a default, highlight the relevant extension in the ‘file extensions’ list
and then click the ‘set as default’ button. To add a file extension press the ‘Add’ button and then enter
the file extension, this extension must be no greater than 10 characters and consist of only
alphanumeric characters.

To remove a file extension, highlight it in the list and click ‘remove’. If you remove the current default
extension then the default will revert to .PRG.

Page 9
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Language Options 
If you click on ‘Options’ and then ‘General Settings’ and then click the ‘Language Options’ tab you can
configure the language settings for the editor software:

The default language setting is the language currently used for program menus etc. In order to
change this you must close all open files in the editor since the program must be restarted
immediately after changing the language.

The ‘Allow Non ASCII characters in the editor’ option enables or disables the non-ASCII character
filter. This will prevent any characters outside the basic ASCII character set from being displayed or
loaded into the editor. This is the best option to prevent any unsupported characters from being saved
into your programs. For some languages though it may be preferable to allow non-ASCII characters if
you wish to write program comments etc. in the native character set. These extended characters will
not be transferred when transmitting over RS232 to the machine. If using LAN file transfer then the
extended characters may be preserved depending on your machine model and language settings on
the machine.

Wizard Options 
If you click on ‘Options’ and then ‘General Settings’ and then click the ‘Wizard Options’ tab you can
configure the a number of preferences for when you use the Wizard programming aid:

Page 10
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

M Series Subroutine Call Method 

This option applies when using the Wizard programming aid to generate programs for M Series
machines. Two options are available for calling subroutines on the sub spindle:

 Multiple Subroutines: Each cutting operation has it’s own separate subroutine.
 Single Subroutine: All cutting operations are grouped into a single subroutine.

The default setting is multiple but you can change the setting here.

Wizard Measurement Units 

This option determines whether the wizard generates programs in Metric or Inch units. The default
setting is Metric.

Highlight Machine Options Required 

This option enables a function that indicates any options (e.g. Macro variables, Polygon turning etc.)
that need to be present on the machine in order to use each piece of code from the standard code
library (please see later for a more detailed explanation).

No options are required


An option is required
An option is required that includes ‘Macro variables’

Hovering over the code entry in the list shows the code and the options required. Also these options
are shown on the bottom of the insert code screen:

Enable M + G code Help Screen 

This enables the M + G code help button accessible from the main form. This is only available in
English language.

Enable Programming Help Menu 

This enables the additional programming help on the utilities menu. This is only available in English
language.

Enable Quick Code Menu 

This enables the additional quick code right-click menu in the editor to quickly insert common codes
such as CoolBlaster etc. This is only available in English language.

Page 11
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Machine Setup 
Each machine that you wish to use with the system must be setup in the ‘Options’ / ‘Machine Setup’
screen. Each machine must have details such as communication parameters and dollar marker
options configured to enable it to be used with the software. After installation the software must be
configured with at least one machine in order to be able to create new programs and transfer files
between the machine and the computer. If you select the ‘Machine Setup’ from the ‘options’ menu for
the first time then you will be prompted to configure a new machine:

Click on ‘OK’. The software will then ask you if you wish to use a standard machine template. The
software comes with templates for many machines built-in, click ‘Yes’ if you wish to use one of them.
Click ‘No’ if you would like to configure the machine yourself:

If you answered ‘Yes’ then the following screen will be displayed:

Type in a name you wish to refer to this machine by in the ‘Machine Name’ box and then select the
type of machine from the ‘Settings Template to Use’ box. A machine will then be added to the
machine list with the correct settings already chosen. You may need to make minor alterations to this
machine setup (for example by default the serial port ‘Com 1’ will be selected which may not be
correct for your computer).

If you instead answered ‘No’ to the ‘Do you wish to use a standard machine template’ dialog then a
similar box to that above will be displayed but the ‘Settings Template to Use’ selection will not be
shown. Upon entering a name and clicking ‘OK’ a machine will be added with default settings – these
will need to be changed to suit your machine.

Page 12
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

The screenshot below shows the machine settings screen with a number of machines configured:

When you add or remove machines they will be automatically sorted into alphabetical order by the
system. Clicking on the machine icons down the left portion of the screen will display the settings for
that machine in the right portion of the screen.

Machine Setup Available Settings 
Here is a description of the different parts of the machine settings screen. The tabs along the top of
the screen allow you to access the different areas:

Item Description

General Settings Tab


Machine Name This is the name that you wish to give the machine within
the software. This name is used for example when you
click the ‘RS232 Send’ button and program asks you
which machine you are sending to. It must be between 2
and 15 characters in length. The machines are sorted
alphabetically according to the text you enter into this
field.
Uses Machining Data Tick this box if this machine uses machining data. This
will tell the software to expect / send out machining data
during file operations and data communications.
Dollar Marker Options Tick the relevant boxes here to indicate which dollar
sections this machine uses. For example an M32 uses
$1, $2, $3 and an L520-VIII uses only $1 and $2. Some
machines do not break up the code into dollar sections
so in these cases tick the ‘does not use dollar markers
box’

Page 13
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Specify a machine program storage Click this box and then choose a folder in order to set the
folder. default program storage folder for the current machine.
See later in the manual for an explanation on how to
easily open and save programs to this folder.
‘My Machines’ Machine Type If you wish this machine to appear in the ‘My machines’
shortcut tab when creating a new program using the
Wizard then use this function to set the machine type
associated with this machine. If the machine type is set
to ‘Unknown’ (the default) then it will not be displayed in
this tab.

RS232 Settings Tab


Com Port Select the RS232 Com Port number this machine is
connected to.
Baud Rate Select the baud rate you wish to use for communications
in bits per second (bps) (Options are 300, 1200, 2400,
4800, 9600, 19200 and 38400)
Parity Select either ‘Odd’, ‘Even’ or ‘None’ depending on the
connection’s parity.
Data Bits Select the number of data bits
(either 7 or 8)
Stop Bits Select the number of stop bits
(either 1 or 2)
Handshaking Select the type of handshaking you wish to use.
(Xon/Xoff is commonly used)

Advanced RS232 Options


End of block Sequence Enter a comma-delimited list of the ASCII codes of the
characters which define an ‘end of block’ on this
machine. For example ‘10,13’ entered in this box
signifies a Line Feed / Carriage Return combination.
Click the ‘ASCII Code Table’ button to refer to characters
if you are unsure of the ASCII code for a particular
character.
Start Transmission Sequence Enter a comma-delimited list of the ASCII codes of the
characters which define a ‘start transmission’ on this
machine. For example ‘37’ entered in this box signifies a
‘%’ symbol.
End Transmission Sequence Enter a comma-delimited list of the ASCII codes of the
characters which define an ‘end transmission’ on this
machine. For example ‘37’ entered in this box signifies a
‘%’ symbol.
Program Number Character Select the program number character used on this
machine. All Citizen machines use a letter ‘O’ but some
machines often use a colon (:).
Transmit packet size (chars) / Transmit Some machines require these settings to be used to
packet delay (ms) prevent buffer overflows. If you are having trouble
communicating with a machine then you can break the
data up into packets and put a delay between each
packet (dwell) to increase the reliability of the connection.
In general you can leave these settings at their default
values.
Use Serial Port Switching Code Ticking this box and then entering a code into the text
box allows you to use the software with an automatic
RS232 switch box. The code will be sent before sending
anything else when communicating with this machine to
allow the box to switch the data path to this machine.
Page 14
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

When uploading program wait for signal Ticking this box forces the software to wait until RS232
from CNC before starting transmission input has been selected on the CNC before the data is
transmitted eliminating the need to return to the PC after
readying the CNC.
When downloading program overwrite Ticking this box will overwrite the current window with the
the program in the current window (if one received program. A warning will appear if this option is
is open) set to prevent accidental overwrite. If this option is
unticked then a new program window will always be
generated for the received program.
AutoConfigure RS232 Settings Clicking this button will begin a utility that can
automatically configure RS232 settings for your machine.
After the utility starts follow the instructions on-screen.
The basic process involves selecting a Com port and
then transmitting programs from the machine until the
software detects the settings.

Network Settings
Use LAN file area If you are using the system with a network then tick this
box. A set of options relevant to networking will then be
displayed.
Machine Type Select the machine type. This can be either M600 or
M700 (for Mitsubishi 600 or 700 series control). This
option will determine the additional options that are
displayed.
Host Name In the case of M600 a host name must be specified. E.g.
‘M32V’. In order to use this option the machine must be
correctly configured with the relevant file shares
(normally configured by your supplier). The ‘browse’
button can be used to browse the network for hosts.
NC Number In the case of M700 an ‘NC Number’ must be specified.
This is an ID used within the software for identifying the
M700-based machine. It must be associated with the IP
address of the machine on the network. To view or
configure NC numbers and associated IP addresses click
the ‘Browse / Select NC Numbers’ button.

Page 15
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Management of Machine Settings 
Machines can be added or removed by using the ‘Add a New Machine’ and ‘Remove Highlighted
Machine’ buttons.

Adding a Machine 
Adding a Machine using a standard machine settings template 

When you select to add a machine your will be asked the question ‘Do you wish to use a standard
machine settings template?’. If you click ‘Yes’ then software will display the following screen:

Type in the name you wish to assign this machine and then pick out your machine from the list (if your
machine is not listed then click ‘Cancel’ and set up the machine manually using the option below).
When you click ‘Continue’ the software will add the machine to the machine list with recommended
settings for this machine already set. You will still need to check that your com port is set correctly.

Adding a machine using default settings 

When you select to add a machine your will be asked the question ‘Do you wish to use a standard
machine settings template?’. If you click ‘No’ then software will display the following screen:

Type in the name you wish to assign this machine. When you click ‘Continue’ the software will add
the machine to the machine list with default options set. You will need to alter these options to suit
your machine.

The software can handle a maximum of 100 configured machines.

Page 16
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Removing a Machine 
Highlight a machine icon in the list and then click the ‘Delete Highlighted’ button. The software will
then display a warning. Click ‘Yes’ on this warning box if you are sure you wish to delete the machine.
If you are removing the last machine from the list a warning will be displayed and the machine setup
screen will close. You will need to select the ‘Machine Setup’ screen again if you wish to reconfigure
more machines. Without any machines configured many functions will not be available to you.

Editing a Machine’s Settings 
If you wish to alter a machine’s settings then highlight the machine and then make the required
changes. Click the ‘Save Settings’ button when you are finished. If you forget to press the ‘Save
Settings’ button then the software will alert you to this fact if you try to close the machine settings
screen or before highlighting another machine in the list.

Once you have configured all your machines you are ready to begin using the software.

Page 17
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Opening a Program 
NB: It is also possible to open multiple programs at the same time. This is useful for comparing code
or ‘cutting and pasting’ code between multiple programs.

Clicking on ‘File’ and then ‘Open’ (or the ‘Open Program’ button on the toolbar) will bring up the ‘File
Open’ window:

Initially the file filter is set to ‘All CNC Programs’ (i.e. .CNC, .PRG, .TXT and any custom file
extensions you have added under ‘General Settings’). If you wish to view all program extensions
change the ‘Files of Type’ drop down to ‘All Files’. Highlight the file you wish to load and then click
‘Open’. This will load the program into the editor.

If the program you are trying to open is not recognised by the software as a valid CNC program then
an error message will be displayed such as the one below:

Followed by:

Please try to open the program using the ‘Open Raw RS232 data’ function (see later in manual).

Page 18
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Another option is to use the built-in ‘scratch pad’ to open the program. The scratch pad is basically a
raw text editor similar to windows notepad. This option will be made available to you if you answer
‘No’ to the previous dialog box.

If you answer ‘Yes’ then the window shown below will be displayed:

This option useful when you want see what is inside a file that is not recognised as a valid program or
if you know that this file contains snippets of code (but not a complete program) that you wish to cut
and paste into program you have open in the main editor. Please see the section on ‘scratch pad’
later on in this manual for some more detail on this feature.

Opening a Raw RS232 data file 
If you are having problems opening a file or a program opens with extra spaces between lines then it
may be that this file was a raw dump of data received over RS232 i.e. including control characters and
end of block characters etc. If you know which machine you received this file from then firstly
configure a machine with the correct RS232 settings in ‘machine setup’. Once this is complete click
on ‘File’ and then ‘Open RAW RS232 data’. Select the file you wish to open and click ‘Open’. You will
then be asked which machine this program was received from:

Page 19
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Click the machine that the program you are trying to load was created on and click ‘OK’. This option
will pass the program through the serial port download filter and process the file as if it were arriving
down the serial port. This will often allow you to load programs that don’t open on the first attempt.

Opening a Program from a Machine Program Folder 
If you have specified a machine program folder in machine settings then there is a quick shortcut to
access this folder:

Simply click the small arrow to the right of the ‘Open Program’ toolbar button and an additional menu
will be displayed with the option ‘Open Program from Machine Folder’. Click this and then select the
relevant machine to be taken directly to that folder. A similar option exists on the ‘Save Program’
toolbar button (see later).

Importing a Program from Multiple Files (Miyano Edition Only) 
Some machines such as the Miyano ABX-64THY use multiple heads in the program structure but
when transferring the program to the machine the code for each head must be transferred separately.
In order to assist the software has a built in function to Import and Export a program to/from multiple
files. The Import function is described here. To access this function go to ‘File’ then ‘Import from
Multiple Files’ whereupon the following screen will be displayed:

Page 20
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Press the ‘Choose File 1 Program (Head 1)’ button to bring up an open file dialog. Browse for the file
containing the Head 1 program:

Select this program then press ‘Open’. The Software will look at the naming of the file and attempt to
find associated files for Head 1 and Head 2 in the same folder. Typically the naming of the files will be
in the format O<program number>, O<program number>.P-2 etc

Make sure the files selected are correct. If not use the ‘Clear File’ and/or choose file buttons to specify
the correct ones. When you are happy with the files selected press the ‘Finish and Open’ button to
open files into the editor screen. Once inside the editor you can edit this program as normal and even
save into a single file if you so wish using the standard file save function. Please note though that you
must use the ‘export program to multiple files’ function (see later) when you want to load the program
back onto a flash card to put into the machine.

Page 21
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Starting a New Program 
Using the Wizard 

STEP 1:  Machine Selection and Questions 
Click on ‘File’ and then ‘New’ (or use the ‘New Program’ button on the toolbar). You will be asked if
you wish to use the wizard or start from a blank program:

Answering ‘Yes’ will take you to the machine selection screen:

Changing the tabs will allow you to filter down to the machine you require. The first tab lists all the
machines (‘All Types’). Tabs are also available for particular series of machines and also any
machines you have assigned a ‘My Machines’ machine type through machine settings (see earlier).

Double-click on your machine type you require (or select it and click ‘OK’). You will then be asked a
series of questions regarding the part you are making and the setup of your machine. Answer each of
the questions by clicking the relevant answer button:

Page 22
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Note that at any point in the wizard you can use the ‘Back’ button to return to the previous question
screen or cancel the wizard by pressing the window close (X) button on the question window. The
wizard will continue asking questions until it can determine the program template required for your part.
Next, for some machines you will be asked for the type of Part-Off Tool that you will be using, select
‘Left-hand’ or ‘Right-hand’ as required:

Page 23
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

STEP 2:  Entering Program Data 
Following this you will be shown the ‘Program Data’ screen:

Complete the values \ selections across the five tabs (General, Component, Part-Off, Air\Oil and Misc).
Where applicable each required value\selection is shown on the diagram to assist you. Please see
Appendix 2 for a detailed explanation of the options you will see on this screen.

If you just want to quickly insert some default values then press the ‘Insert Default Program Data’
button.

When choosing speeds and feeds for parting-off you can use the Speeds\Feeds button to access
the ‘speeds and feeds calculator’ function (described under the utilities section of this manual). The
value you set on the calculator screen will automatically be inserted into the relevant field.

User Program Data 

You can also save the currently entered program data across the five tabs as ‘user program data’.
These are saved profiles that you can recall when you next visit this screen. For example you might
choose to have a set of program data for each of your machine types so you can quickly recall them.
You do not need to specify all the required values when saving as user program data so you can leave
a few blank if you wish – for example you might choose to leave ‘Bar diameter’ blank so that you can
fill it in after recalling the data. It is advisable to set these values up for your machine before starting
to generate programs especially for items that are not likely to change such as spindle to spindle
measurement and barchange number/macro etc.

Page 24
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

To save the current program data, press the ‘Save Current Data as User Program Data’ button. You
will be asked to specify the name\description you wish to give it.

To later recall this saved data press the ‘Insert User Program Data’ button. A selection list of all your
user program data will be shown:

Highlight the set of user program data you wish to use and then press ‘OK’. You will be returned to
the program data screen and the screen will be configured in the same way in which you saved it.
From the selection screen you can also delete a set of User Program Data by highlighting it and then
pressing ‘Delete Highlighted’.

Once you have finished setting the program data click the ‘continue’ button. The software will warn
you if you have left any of the fields blank. If everything is OK then at this point the Wizard will
generate your program template for you.

STEP 3:  Program Template \ Code Library 
This template has program elements such as queuing commands, startup, part-off etc. already
entered. After a short pause the template will be displayed in the code editor window, it now just
requires you to add processes in order to complete the program.

The next stage is to insert code from the ‘code library’ in order to complete your program. Once the
template has been generated the code library side bar will be displayed automatically:

Page 25
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

If it is not already selected, select your machine from the drop-down


box at the top of the code library window. Make sure you select the
correct library for your machine model.

Once you have made this selection you can then navigate the code
library ‘tree’ by expanding the section folders (click the + sign next to
the folders ). Code library items are signified by a code symbol
( ). Here is an example of a set of code items below a folder:

Within the program template you will find markers that indicate the areas in which you should insert
code. For example:

(ENDWORK T21-23)
(**INSERT HERE**)

(**FINISH HERE**)

Place the cursor between the ‘Insert Here’ and ‘Finish Here’ markers then double click on the code
library item that you wish to insert. The folder sections in the code library closely match the sections
defined within the program template. After selecting a code item an edit screen will be displayed – the
one shown below is for Rigid Tap:

Page 26
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

You will see that certain values in the edit box are indicated by asterisks (*). Replace all these with
the values you require (using the descriptive text and diagram to help you) and then click ‘Insert into
Program’. If you need to revert back to the original unedited code click ‘Rollback Changes’. After
insert you will find the code is placed at the cursor position you set earlier.

Repeat this process until your program is complete. Using this method a program can be generated
very quickly.

From the toolbar at the top of this screen it is also possible to access the Speeds and Feeds calculator,
M \ G Code help and miscellaneous calculator functions (e.g. drilling calculator, groove calculator etc.).

Page 27
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Starting a New Blank Program 
Click on ‘File’ and then ‘New’ (or use the ‘New Program’ button on the toolbar). You will be asked if
you wish to use the wizard or start from a blank program:

Answer ‘No’ and a screen will appear listing the machines that you have configured in the system.
Select the machine you are creating a program for by highlighting it and clicking ‘OK’.

This will bring up a blank program with the correct dollar windows displayed ready for you to begin
entering code:

Page 28
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

The main editor is in the lower portion of the window. The upper portion contains boxes for entering a
program number and program comment. Hide buttons (Hide $1, Hide $2 etc.) are also displayed to
allow you hide different program sections to maximise the space available for the remaining sections.
A ‘View / Edit Machining Data’ button is also located on this window. This allows you to edit the
machining data present with this program (please see the ‘machining data’ section of this manual for
more information).

Page 29
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Saving a Program 
If you have not yet given the currently active program a name then clicking either the ‘Save’ or ‘Save
As’ menu selection will bring up the ‘Save As’ dialog box. If you have already saved this file or have
loaded a previously saved file then you will only be prompted for a file name if you choose the ‘Save
As’ option. Otherwise the file will just be overwritten (after giving you a warning).

When saving a file you can select the file extension that you wish to give the file from the ‘Save As
Type’ box. You can choose from .PRG, .CNC or .TXT. If you have added custom file extensions (see
‘General Settings’ section) then these will be available in the box. The software will default to the file
extension you have specified under ‘general settings’ (default is .PRG).

Saving a Program to a Machine Program Folder 
If you have specified a machine program folder in machine settings then there is a quick shortcut to
access this folder when saving a file:

Simply click the small arrow to the right of the ‘Save Program’ toolbar button and an additional menu
will be displayed with the option ‘Save Program to Machine Folder’. Click this and then select the
relevant machine to be taken directly to that folder. A similar option exists on the ‘Open Program’
toolbar button (see earlier).

Exporting a Program to Multiple Files (*Miyano Edition Only) 
Some machines such as the Miyano ABX-64THY use multiple heads in the program structure but
when transferring the program to the machine the code for each head must be transferred separately.
In order to assist the software has a built in function to Import and Export a program to/from multiple
files. The Export function is described here. To access this function go to ‘File’ then ‘Export to
Multiple Files’ whereupon the following screen will be displayed:

Page 30
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Three methods are available for exporting the program:

Method 1 Same program number for each e.g. O444, O444.P-2, O444.P-3
head with ‘P’ head suffix. Program number the same in each exported file i.e.
444 in this example.
Method 2 Set a different program number e.g. O551, O552, O553 with program numbers 551,
for each head (i.e. no ‘P’ suffx). 552, 553 inside exported file.
Method 3 Manually set file names and Any combination of program file names and numbers
program numbers for each can be set.
head.

Once the method \ filenames \ program numbers are set press the ‘Choose Folder’ button to browse
for the folder you wish to save to. Finally press ‘Finish and Export’ to export the program to the folder
you specified. You can then copy these files to a flash card and load onto the machine.

Page 31
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

M & G Code Help 
A full database of M and G codes for most popular Citizen machine models is available. This can be
accessed from the ‘Active machine type’ section of the main editor screen:

Pressing the ‘M+G Code Help’ button will display the help screen:

By default the machine type that is currently active in the editor will be selected. You can also change
the machine type (pressing the ‘Active’ button will reset back). The code group selection changes
between M and G codes, and the code you wish to view can be selected from the ‘Code’ dropdown.

If you wish to search for something specific then enter the text you wish to find in the ‘Search for…’
box and then press the ‘Search’ button. If you wish to restrict the search to within the title text only
then tick the ‘Search title text only’ box. Any results will be shown in the box below. Clicking each
code entry in the results list will jump to the entry for that code.

It is also possible to lookup a particular code in the program currently loaded into the editor window.
In order to do this place the cursor over the M or G code and then press the F1 key. If found then the
M & G code help screen will appear at the relevant entry. A message will be displayed if the code is
not found.

Page 32
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

NB: If the current machine type is not supported in the M & G code library then the following message
will be displayed:

You can still manually view the help screen if you wish by pressing the ‘M + G code help’ button.

Page 33
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Machine Type and Machine IDs 
In order to streamline the workflow in the software you can select the active machine type you are
programming for. Once set the software will skip any intermediate machine type selection screens, for
example when choosing machining data. This option is available on the main form ‘Active Machine
Type’ section. For any programs created using the Wizard, the active machine type will have already
been set e.g.:

If the machine type is not set or has been set manually to ‘None / Unknown’ then the following will be
displayed:

In this state you will be prompted to select the machine type when choosing machining data etc.

When selecting ‘Change’ the following machine type selection screen will be displayed (tabs are
available to drill down to a particular series of machines):

Page 34
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Only machines which have the same number of programming systems ($1, $2 etc.) as the active
program will be displayed. If changing to another machine type when a machine type is already been
set a warning will be displayed:

When changing to a new machine type always check the machining data is correct (where applicable).

When saving a program for which an ‘Active Machine Type’ is set the software will save the Machine
ID into a special program comment. This allows the machine type to be automatically set when next
loading that program. NB: The special machine ID program comment is hidden from the Wizard
editor window but will be displayed if viewing the program in another text editor or on the machine
itself.

Page 35
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

RS232 Program Transmission 
Sending a Program 
Firstly create or load the program that you wish to send to the machine. Click the ‘RS232 Send’
button on the toolbar. A list of the available machines will appear. The list is linked to the machines
you have configured in ‘machine setup’. Highlight the machine you wish to send a program to and
then click ‘OK’. The software will then ask you to get the machine ready for program reception. Once
the machine is ready click the ‘OK’ button and the program will be sent. If you have set the ‘Wait for
signal from CNC’ option under machine settings then the software will begin waiting until the machine
is ready to receive the file (i.e. after you have put the machine in receive mode).

Once transmission begins a progress bar indicates how much of the program is still left to send:

If you wish to cancel the transmission at any time click on the ‘Cancel’ button. Once the transmission
is completed a status message will be displayed.

NB: The software will prevent you sending a program to a machine which uses different
programming systems ($1, $2 etc.) to the program you are trying to send. The software also will warn
you if you have included any dollar symbols or invalid characters in the program. It is important to
realise that the $1, $2 etc. are added in automatically by the software during the transmission
therefore are not required in the main program text.

Receiving a Program 
Firstly click the ‘RS232 Receive’ button. A list of the available machines will appear. The list is linked
to the machines you have configured in ‘machine setup’. Highlight the machine you wish to receive a
program from and then click ‘OK’. The software will then display a waiting screen:

Once the machine is ready, initiate the program transmission from the machine end. The software will
automatically begin to receive the program either into a new window or overwriting the current window
depending on how you have configured this machine under RS232 options. The incoming data is
displayed in a window to assist you in the diagnosis any transmission problems. Once the ‘end
transmission’ character is received from the machine the software automatically loads the program
into the editor. The program can then be saved to disk, printed or edited as required.
Page 36
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Transmitting Machine Parameter Files 
The software allows you to easily download and upload machine parameters to/from a file stored on
your computer. This option is available from the ‘communications’ menu.

Receiving machine parameters 
Firstly select the ‘Receive Parameter file to disk’ option. A list of the available machines will appear.
The list is linked to the machines you have configured in ‘machine setup’. Highlight the machine you
wish to receive the parameters from and then click ‘OK’. The software will then display a waiting
screen. Begin the parameter transmission from the machine. The received data will be displayed in a
window. Upon completion the program will prompt you for a file name. Type in the name you wish to
give this parameter file and then click ‘Save’. The parameters will then be saved to this file. If it
appears that the transmission has reached the end but the transmission is still being displayed then
press ‘Accept Transmission’ button to force the software to prompt you to save the data to file.

Sending machine parameters 
Firstly select the ‘Send Parameter file from disk’ option. The software will then prompt you for the file
you wish to send. Navigate to the file, highlight it and then click ‘Open’. A list of the available
machines will appear. The list is linked to the machines you have configured in ‘machine setup’.
Highlight the machine you wish to send the parameters to and then click ‘OK’. The software will then
prompt you to prepare the machine for parameter reception. When the machine is ready click on ‘OK’.
A message will be displayed when the transmission is complete.

Page 37
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Validation Check Functions 
A number of functions are provided to help you debug any errors in your program before they get to
the machine (where debugging becomes more difficult). These options can be found under the
‘Validation Checks’ menu or the ‘Validation checks’ toolbar icon dropdown menu.

Queuing Codes Check 
This function allows you to check that the queuing codes (G600’s, G700’s, !1L1 etc.) in your program
are correctly aligned. This can save a lot of time debugging problems at the machine.

After clicking ‘Check Queuing Codes’ select the machine type that the current program is written for
from the list and then click ‘OK’ (this step will be skipped if an ‘Active machine’ is set). The software
will then scan through your program for queuing codes and attempt to align them. The following
screen will then be displayed:

If no problems were detected then the message ‘OK – No Errors’ will be displayed at the bottom of the
screen. Otherwise the first point at which the queuing codes are misaligned will be highlighted with a
‘**ERROR**’ message. Clicking on each line in the queuing code display will highlight the codes
within the program to help you correct any problems. The queue code display will stay on screen until
you close it, switch to another program you have open or close the program associated with it.
Switching back to the window after editing the program causes the queue code display to be updated
automatically. The queuing code window can be resized and moved around so that you can edit your
program easily.
Page 38
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Queuing Codes Check – View Synced in Editor Function 
If you would like to view your program synchronised within the main editor window then tick the ‘View
Synced in Editor’ box on the queue code check window. This tick box only becomes available when
there are no errors in the codes. After ticking this box the software will align the codes within the
editor window and underline them. You can then scroll up and down the program using the scroll bars.
You cannot edit the program in this view, please untick the ‘View Synced in editor’ tick box when you
have finished. There are also print / print preview functions available to print the program in this the
synchronised view. These can be found under the ‘File’ menu.

Coordinate System Setting Check 
This function allows you to check that the coordinate system settings changes within the program for
U, V and W correctly balance each other. After clicking ‘Check Coordinate System Setting’ the
software will scan through your program for coordinate system settings changes and display these on-
screen. If the U, V and W values within each programming system ($1, $2, $3) correctly balance (i.e.
sum to zero) then the message ‘OK – No Errors’ will be displayed:

If the settings did not correctly balance then each anomaly will be listed in the ‘Errors’ section:

Clicking on a settings change in the list will cause it to be highlighted within the program to help you
correct any problems. The coordinate system settings display will stay on screen until you close it,
switch to another program you have open or close the program associated with it. Switching back to
the window after editing the program causes the coordinate system setting display to be updated
automatically. The window can be resized and moved around so that you can edit your program
easily.

Page 39
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Letter ‘O’ instead of Zero Check 
This function allows you to check that you have not used a letter ‘O’ within your program instead of a
zero (0). This is a common mistake that is hard to detect and can cause many problems. After
clicking ‘Letter O Check’ the software will scan through your program for any letter O’s outside of
program comments. If any are present then the first one found will be highlighted in the program
window and the following message displayed on-screen:

If you click ‘Yes’ the ‘O’ will be replaced with a zero (0) and the software will continue checking
through the remainder of the program. Clicking ‘No’ will skip this letter ‘O’ and continue checking the
remainder of the program. Clicking ‘Cancel’ will abort this check. If no problems are found then this
will be indicated with an on-screen message:

Missing Comment Brackets Check 
This function allows you to check that you have not omitted a close brackets symbol i.e. ‘)’ from the
end of a comment line. Omitting a close bracket can cause large parts of your program code to be
ignored by the machine and can be very difficult to spot.

After clicking ‘Check for Missing Comment Brackets’ the software will scan through your program. If a
comment is found to cross an end of block then the line will be highlighted and the following message
displayed:

If you click ‘Yes’ then this line will be ignored and the rest of the program scanned. Clicking ‘No’
cancels the check and allows you to correct the line. Run the process again to check for any further
problems. If no problems are found then this will be indicated with an on-screen message:

Page 40
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Missing Decimal Point Check 
This function allows you to check that you have not omitted a decimal point from values within your
program. A missing decimal point can often result in a value in your code being interpreted completely
differently to what was intended. For example ‘X10.’ is interpreted as 10mm, whereas ‘X10’ (i.e.
without the decimal point) is interpreted as 10 microns! After clicking ‘Check for Decimal Points’ the
following screen will be displayed:

Deselect any codes that you don’t need to check (Use the ‘Select All’ and ‘Select None’ shortcuts to
save time) and then click the ‘Start Check’ button to initiate the scan through your program. If a value
without a decimal point is found then it will be highlighted and the following message displayed:

If you click ‘Yes’ then a decimal point will be added to the end of this value and the scan will continue.
Clicking ‘No’ will ignore this value and continue the scan. Clicking ‘Cancel’ cancels the scan. If no
problems are found then this will be indicated with an on-screen message:

Page 41
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Speeds and Feeds Calculator 
The software includes a function to suggest the speed and feed required based on the type of
operation being performed and the material being cut. This can be found under the ‘Calculators’ menu,
on the ‘Calculators’ toolbar icon dropdown menu and additionally on the Wizard program data and
code edit screens. A function is available to copy the calculated value to clipboard ready to paste into
your program. Suggested values are based on tooling manufacturer typical data - two adjustment
dials are available (one for speed and one for feed) to scale back the suggested values to your
preference. For example set the dials to 90% to scale the suggested values to 90% of their default.

Page 42
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Miscellaneous Calculators 
The software includes a selection of calculator functions to assist you. These options can be found
under the ‘Calculators’ menu or the ‘Calculators’ toolbar icon dropdown menu:

The calculator functions available range from a simple trigonometry calculator (Pythagoras) through to
more advanced functions for generating the CNC code required for chamfers, grooves, front radius etc.

Page 43
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Miscellaneous Utilities 
Remove Macro Variables 
In some cases it may be desirable to remove any macro variable references from your program.
Some programs generated by the Wizard contain macro variables to simplify the program but if your
machine does not have a macro variable option enabled then you may choose to remove the variables
and replace them with the calculated value.

This function can be found under ‘Utilities’ then ‘Remove Macro Variables (#)’. The function attempts
to remove all macro variables from the code. When selecting the function the following message will
be displayed:

It will display a warning and fail if:

 Program contains DO / WHILE statements or IF / EQ statements.


 Program contains a macro variable used as a counter e.g. #500 = [#500 + 1]
 Program contains macro variables without a numerical value assigned to them e.g. #500 = *

Once the above conditions are resolved the function will evaluate any statements involving macro
variables and replace the variable with the calculated value.

Text Engraving 
The software includes a built in utility for engraving text in a number of different machine types. You
will find this function under the ‘Utilities’ menu or under the ‘Utilities’ dropdown button on the main
toolbar. After accessing the function the following screen will be shown:

Page 44
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Enter the text you wish to engrave using the buttons on the left-hand side of the screen. Select the
orientation e.g. ‘Y-Z along’ then enter values in the appropriate variables e.g. letter height, cutting feed
etc. On some machines / orientations you can also select between the Main and sub spindles.

Once you are ready press the ‘Finish’ button and the engraving code will be copied into your
clipboard:

Paste the code into the relevant section of your program. The code includes the header, footer and
character codes in the orientation you selected.

Remove Wizard guidance comments 
This function, accessed from ‘Utilities’ \ ‘Remove Wizard Guidance Comments’ attempts removal of
the instructions in the code generated by the Wizard e.g. ‘Insert Here’, ‘End Here’ etc. This can result
in a cleaner look to the program once you have finished it.

Program Conversion Assistant 
This function, accessed from ‘Utilities’ \ ‘Program Conversion Assistant’ can be used to perform
various conversion functions on your program. The conversions available include code conversions
between machine types (e.g. L32 to A32), conversions from metric to inch and removal of code.

Page 45
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Editing a Program 
The main editor screen functions like a standard text editor:

The two text boxes in the top corner allow you to alter the program number and program comment.
Do not type the program number\comment into the main window! The O**** and () for the comment
are added automatically by the software.

The tick boxes next to the program comment allow you to hide different dollar sections should you
wish to maximise the amount of screen space available for editing a particular part of the program.

You can also undo a change you have just made using the ‘Undo’ option available from the ‘Edit’
menu.

It should be noted that Caps-lock is permanently turned on by the program so that all code entry is
carried out in UPPER CASE.

Page 46
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Clipboard / Text Search Functions 

Using the clipboard 
Standard clipboard functions are available from the edit menu (i.e. cut, paste and copy). Text can be
highlighted in the main editor window by ‘left-dragging’ with the mouse. The clipboard functions can
also be accessed by right clicking on text you have highlighted. The clipboard allows you to copy text
between multiple open programs.

Text Search 
A simple text search functions is available to search for a particular string of text within you code.
Click on ‘Edit’ and then ‘Find’. Enter the text you wish to find in the text box and then click ‘Find’. The
program will then highlight the first match it finds within your program. If you wish to continue the click
on ‘Find Next’. Repeat this until you are finished searching. If no more matches are found within the
current search then the software will display a warning message. A replace function is also available if
you enter text in the ‘Replace With’ text box and then use the ‘Replace’ and ‘Replace all’ buttons as
appropriate.

Page 47
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Machining Data Editor 
The software allows you to edit machining data on your PC where this is applicable to your machine.
In order to edit machining data click on the ‘View/Edit Machining Data’ button on the editor form. If an
‘Active machine type’ is not currently set then this will display a list of machine types:

The software attempts to auto-detect the machine this program was designed for using the machining
data codes that are present. The most likely match or matches will be highlighted with ***. Highlight
the correct machine type and then click ‘Use this Machine Profile’. If the software warns you that the
machining data values do not match then you have selected the wrong template.

If your machine is not listed then you can still manually edit data by hitting the ‘Manually Edit Data’
button.

Another option available here is the ‘Clear Data’ button – this will remove all the machining data
information from the program (you will still be able to return to the machining data editor should you
wish to add some machining data again later).

Page 48
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Once the machine type has been selected the following screen will be displayed:

This screen will vary depending on which machine you selected. The right-hand side of the screen
displays the raw machining data. Edit the text boxes / drop-down boxes as required and then click
‘Save Data and Close’. This will save the machining data. If you choose to you can manually edit the
raw machining data by clicking ‘Manually Edit Data’ and then altering it as required. Again click ‘Save
Data and Close’ when you are finished. At any point when in this screen clicking ‘Cancel Changes’
will return you to editor without altering the machining data.

Whilst editing the data, if you enter an invalid character or out-of-range value then the software will
alert you to the error by highlighting the box in yellow. Make the required correction and then continue
editing the rest of the data. The software will not let you save machining data values that have these
errors.

If you wish to switch between Millimetres and Inches you can use the selection box in the bottom left
hand corner of the screen. By default this is set to ‘mm’.

Page 49
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

User Code Library Function 
The user code library function allows you to store commonly used code snippets ready for use at a
later date. This eliminates the need to constantly re-enter standard pieces of code which you regularly
use.

User Code Library 

Adding code to the user library 
Firstly highlight the piece of code you wish to add to the library in the editor screen. When you are
happy click on ‘Code Library’ then ‘Add Currently Highlighted Code to Library’. The following window
will then be displayed:

The code you have selected is displayed. Enter the name you wish to associate with this code e.g.
‘M32 Bar Change’ or ‘Part-Off’ and then click ‘Add’. The code will then be stored ready for use.

Inserting code from the user library 
Place the editor cursor in the position that you wish to insert the code to. Click on ‘Code Library’ and
then ‘Insert code from library’. The following window will be displayed:

Page 50
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

As you highlight each item in the list a preview of the code will be shown in the right-hand side of the
window. Highlight the item you wish to use and then click ‘Insert’ to insert it into your program.

Removing code from the user library 
Click on ‘Code Library’ and then ‘Remove code from library’. The following window will be displayed:

As you highlight each item in the list a preview of the code will be shown in the right-hand part of the
window. Highlight the item you wish to remove and then click ‘Remove’ to remove it from the library.

Page 51
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Scratch Pad 
The scratch pad is a very basic raw text editor similar to windows notepad. This is useful when you
want see what is inside a file that is not recognised as a valid program or if you know that this file
contains snippets of code (but not a complete program) that you wish to cut and paste into a new or
existing program you have open in the main editor.

A file can be loaded into the scratch pad by selecting the ‘Scratch Pad’ \ ‘Open File into Scratch Pad’
option. The current text in the scratch pad can be saved into a text file by using the ‘Scratch Pad’
\ ‘Save File from Scratch Pad’ option. Full cut and paste facilities are available from the scratch pad
but you cannot upload or download programs from this window – i.e. it does not function as a standard
program window.

Page 52
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Other Features 
Unit Conversion 

If you highlight a value in the editor and then right-click on it you will be presented with the following
menu. Click on ‘Convert’ to display the conversion sub-menu. You can then pick out the conversion
that you wish to perform on the value you have highlighted. An error will be displayed if the
highlighted text is not a valid number.

Changing Editor Appearance 
Choosing ‘Options’ and then ‘Editor background colour’ will allow you to choose the colour you wish to
use for the editor text box background. Choosing ‘Options’ and then ‘Editor Font’ allows you to
change the font used in the editor text boxes.

Copying a Program to Windows Clipboard 
If you would like to copy the entire program into the clipboard then you can find an option to do this
under ‘File’ then ‘Copy Program to Clipboard’. This can be useful if you wish to transfer the text of the
program into another piece of software using the software’s ‘paste’ function.

Printing a Program 
Choosing ‘File’ and then ‘Print’ will allow you print your program. Choose the printer you wish to print
to when prompted. The program will print in up to three columns. Header information at the top of the
print out displays the printed program’s description, file location etc.

Print Preview 
Choosing ‘File’ and then ‘Print Preview’ will allow you to view a print preview of your program. This is
useful to see how your program will look before you send it to the printer.

Print in Synchronised view 
If you have a multi-system program using queue commands then you can choose to print (or print
preview) this program with the codes aligned by selecting the ‘Print (synchronised)’ or ‘Print Preview
Page 53
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

(synchronised)’ options under the ‘File’ menu. After selecting these options you will be prompted to
select the relevant machine. If any errors are found in the queue codes then you will we warned and
you will need to correct these before you can continue.

Print Page Settings 
Choosing ‘File’ and then ‘Page Setup’ will allow you to change the page settings such as paper size,
page layout (portrait / landscape) and the printer margins. The printer margin options are saved by
the software for use next time you print.

Machine Type Selection 
There are many features and selections available within the software that may not be applicable to
your machine. If you wish to streamline the interface and only show those items related to your
machine then you can do this using the ‘Machine Types’ screen available from the ‘Options’ menu:

By default all machines are selected but if you deselect any machines types that you do not own then
the selections for these machines in (for example) machining data lists, code library etc. will be hidden
from view making the software easier to navigate. Any machine types you have used for the ‘My
Machines’ function cannot be disabled.

Page 54
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

LAN Program Transfer 
The CNC Wizard allows you to transfer programs to\from your windows-based Citizen lathe using it’s
‘LAN Program Manager’ and also direct ‘LAN Send’ option (for M600). In order to use these functions
the machine must be correctly configured by your supplier.

Machine Types 
The 2 types of machine control system currently supported are the M600 and M70 / M700 Mitsubishi
Meldas control systems. There are slight differences between the method of network program transfer
between the 2 systems.

In the case of M600-based machines programs are first transferred to a ‘LAN file area’ on the machine
which is a holding area for program on the machine hard disk. You must physically go to the machine
after you have transferred the file and load the file into the work area using the machine’s ‘file access’
function. When retrieving programs the software copies all programs from the ‘work area’ into the
‘LAN file area’ so that you can copy them to your PC as required.

In the case of M70/M700-based machines programs are transferred directly to / from the machine’s
work area. The concept of a ‘LAN file area’ is not used.

Sending a program to a machine over the network 
This ‘LAN Send’ toolbar option only works with M600 based machines. For M70/M700 based
machines you must always use the ‘LAN Manager’ screen.

Firstly create \ open the program that you wish to send to the machine. Next click the ‘LAN Send’
button on the toolbar. You will then be presented with a list of machines that have been configured on
the network. If you have not yet configured any machines to work over the network then a warning
message will be displayed.

Highlight the machine you wish to send this program to and then click ‘OK’. The program then checks
that the machine is available – a warning will be displayed if there is a problem communicating with it.
An additional check is then made to see if this program is compatible with the selected machine. The
program will then be copied into the machine’s network area. The filename of the copied file will be
<program number>.prg – if this filename is found to already exist on the machine then a warning will
be displayed:

You can choose whether you wish to overwrite this program. When the file transfer is finished the
following message will be displayed:

Page 55
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

You must now go to the machine and input the program from the ‘c:\1-files’ directory using the
‘Input/Output’ \ ‘File Access’ option on the machine. This will then place the program in the machine
work area.

Retrieving a program from the machine over the network 
Firstly click on the ‘LAN Manager’ toolbar icon. You will then be presented with a list of machines that
have been configured on the network. If you have not yet configured any machines to work over the
network then a warning message will be displayed.

Double-click on the machine you wish to view. The program then checks that the machine is available
– a warning will be displayed if there is a problem communicating with it.

Network Transfer Screen (M600) 
The following screen will be displayed:

The left side of the screen shows the programs you have stored in your default program storage
directory (configured under ‘General Settings’) or your machine program storage folder (configured
under ‘Machine Settings’) if this has been set. The right side of the screen shows the programs in the
machine’s LAN file area.

Page 56
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

If you wish to retrieve programs from the machine’s work area then use the ‘Retrieve Programs from
Machine Work Area’ button. This will copy all the programs in the work area into the ‘LAN file area’
from which you can then copy them onto the PC as required.

Network Transfer Screen (M70/M700) 
The following screen will be displayed:

The left side of the screen shows the programs you have stored in your default program storage
directory (configured under ‘General Settings’) or your machine program storage folder (configured
under ‘Machine Settings’) if this has been set. The right side of the screen shows the programs in the
machine’s work area. You can transfer programs to and from the machine as required. Since you can
directly access the machine’s work area the software makes a number of checks before the transfer is
initiated. These checks ensure that, for example, you do not overwrite a program that is currently
running on the machine.

Opening Programs 
Double-clicking on any program in the window will open it directly into the editor. You can only open
programs stored on the local area (i.e. the left side of the screen). If you would like to open a program
in a machine’s LAN file area (or work area in the case of M70/M700-based machines) then you must
copy first into the local area in the ‘LAN File Management’ screen.

Page 57
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Viewing program information 
When you highlight a program selected information about it will be displayed in the ‘selected
program’s details’ section.

Transferring Programs 
Highlight a program on either the machine or PC side and then click on the relevant ‘Transfer
Highlighted’ button (either ‘To Machine’ or ‘To PC’). The program you selected will then be transferred.
If transferring from PC to machine then the software checks that the filename is valid. The filename
must be numerical with a ‘.prg’ file extension. If it is not correct then you will need to rename the
program before transferring it. NOTE: The result of any operation you perform e.g. transfer, delete
etc. will cause a status message to be displayed in the status bar at the bottom of the window e.g:

Deleting Programs 
Highlight the program you wish to delete and then click on the ‘Delete Highlighted’ button. Answer
‘Yes’ when asked ‘Are you sure you wish to delete this file?’.

Renaming Programs 
Highlight the program you wish to rename and then click on the ‘Rename Highlighted’ button. Enter
the new filename and click ‘OK’ to rename the program. This feature is useful for renaming programs
whose filename is not valid for transferring to the machine i.e. all programs sent to the machine must
have a numeric filename and end in .PRG e.g. 1234.prg. A check is made by the program that you
choose a correct file extension for the renamed program.

Changing back to the default program directory 
If you have navigated away from your default directory on the ‘Local Hard Drive Storage Area’ side of
the screen then press the ‘Back to Default Program Dir’ button to return to the default directory.

Clearing the LAN File Area (M600) 
If you wish to clear all programs from the ‘LAN file area’ click the ‘Clear LAN Area’ button. A warning
will be displayed, clicking ‘Yes’ will completely empty the area.

Page 58
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

APPENDIX I

MACHINE RS232 COMMUNICATIONS


SETTINGS FOR CINCOM MACHINES

Page 59
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Appendix 1 ‐ Cincom Machine RS232 Configuration 
Settings for Mitsubishi Meldas 300 

This control is found on the following machines:

 L16-VII Series 3
 L20-VII Series 3

1) On the machine press the ‘DATA I/O’ hard key.


2) Press the ‘Param’ soft key.
3) Press the right hand arrow underneath the screen.
4) Using the keypad set the following options. Use the right cursor to move between each section and then
press input after each entry. The machine will automatically increment the # value so you can enter the
values in order.

DEVICE # (VALUE)
1 1 (Device Name) PC
1 2 (Baud Rate) 1
1 3 (Stop Bit) 3
1 4 (Parity Effective) 0
1 5 (Even Parity) 0
1 6 (Chr. Length) 3
1 7 (Terminator Type) 3
1 8 (Terminator Code 1) 00
1 9 (Terminator Code 2) 00
1 10 (Rewind Code) 00
1 11 (Handshake) 3
1 12 (DC Code Parity) 1
1 13 (DC2 / DC4 Output) 0
1 14 (CR Output) 1
1 15 (EIA Output) 0
1 16 (Title Feed Out) 0
1 17 (Feed Chr.) 0
1 18 (Parity V) 0
1 19 (Time out set) 500
1 20 (Data ASCII) (Not Used)
1 21 – 28 00
1 29 (Not Used)
1 30 (Printer Type) 0

5) Return to the main parameter screen (press ‘DATA I/O’ then ‘PARAM’)
6) Set the ‘DATA IN’ and ‘DATA OUT’ sections to read Port 1 and Device 1 by setting the following values:
# (VAL1) (VAL2)
#1 (DATA IN) 1 1
#2 (DATA OUT) 1 1

Press ‘Input’ after entering each setting.

7) Both ‘DATA IN’ and ‘DATA OUT’ should now read Port=1 and Device=1 : PC.
8) You are now ready to use the Wizard to send a program to and from the machine using the built in
communications templates.

Page 60
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Settings for Mitsubishi Meldas 500 

This control is found on the following machines:

 L25-VII Series 4
 L32-VII Series 4
 M20-III Series 1

9) On the machine press the ‘DATA I/O’ hard key.


10) Press the ‘Param’ soft key.
11) Press the right hand arrow underneath the screen.
12) Using the keypad set the following options. Use the right cursor to move between each section and then
press input after each entry. The machine will automatically increment the # value so you can enter the
values in order.

DEVICE # (VALUE)
1 1 (Device Name) PC
1 2 (Baud Rate) 1
1 3 (Stop Bit) 3
1 4 (Parity Effective) 0
1 5 (Even Parity) 0
1 6 (Chr. Length) 3
1 7 (Terminator Type) 3
1 8 (Terminator Code 1) 00
1 9 (Terminator Code 2) 00
1 10 (Rewind Code) 00
1 11 (Handshake) 3
1 12 (DC Code Parity) 1
1 13 (DC2 / DC4 Output) 0
1 14 (CR Output) 1
1 15 (EIA Output) 0
1 16 (Title Feed Out) 0
1 17 (Feed Chr.) 0
1 18 (Parity V) 0
1 19 (Time out set) 500
1 20 (Data ASCII) (Not Used)
1 21 – 28 00
1 29 (Not Used)
1 30 (Printer Type) 0

13) Return to the main parameter screen (press ‘DATA I/O’ then ‘PARAM’)
14) Set the ‘DATA IN’ and ‘DATA OUT’ sections to read Port 1 and Device 1 by setting the following values:
# (VAL1) (VAL2)
#1 (DATA IN) 1 1
#2 (DATA OUT) 1 1

Press ‘Input’ after entering each setting.

15) Both ‘DATA IN’ and ‘DATA OUT’ should now read Port=1 and Device=1 : PC.
16) You are now ready to use the Wizard to send a program to and from the machine using the built in
communications templates.

Page 61
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Settings for Mitsubishi Meldas 600 

This control is found on the following machines:

 All C Series Machines


 L20-VII Series 5, L20-VIII Series 5
 L32-VII Series 6
 M12-III (Series 2)
 M16-III (Series 2 and Series 3), M16-V (Series 3)
 M20-III (Series 2)
 M32-III (Series 2 and 3), M32-V (Series 3)
 Boley BC32, BC42, BC42-X2, BE42, BE42-Y

17) On the machine go to the ‘EDIT SCREEN’. Press ‘List’ and then ‘I/O’. Use the cursor keys to go to the
‘Communications Parameter’ option and press ‘Input’.
18) At the ‘Input/Output Destination’ combo box use the cursor keys to select the ‘MCC’ device.
19) Check that all the options are set as follows…

Device Name: MCC


Baud Rate: 4800
Stop Bit: 2 Bits
Parity: Even
Character Length: 7
HRDWRE Flow: Invalid
XON/XOFF: Valid
DC Code output: Output
TV Check: Off
EOB Out: CR LF
Feed No.: 0
Time-Out: 900
Data Code: ISO
DC3 Code: 0x13

These settings will allow you to use these machines with the built-in machine templates.

Page 62
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Settings for Mitsubishi Meldas M70 and M700 

This control is found on the following machines:

 L20-VIII Series 7
 L20-IX Series 7
 A32-VII
 KE Series
 LE Series
 L20X and L20-XII
 M Series 4

1) On the machine go to the ‘EDIT SCREEN’. Press ‘I/O’ and then ‘RS232 SET’.
2) At the ‘Input/Output Destination’ combo box use the cursor keys to select the ‘MCC’ device if it exists or
any other device of your choice.
3) Check that all the options are set as follows…

Device Name: MCC


Baud Rate: 4800
Stop Bit: 2 Bits
Parity: Even
Character Length: 7
HRDWRE Flow: Invalid
XON/XOFF: Valid
DC Code output: Output
TV Check: Off
EOB Out: CR LF
Feed No.: 0
Time-Out: 900
Data Code: ISO
DC3 Code: 0x13

These settings will allow you to use these machines with the built-in machine templates.

Page 63
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Settings for Fanuc System 18i 

This control is found on the following machines:

 All B Series Machines


 All R Series Machines
 Boley BC12, BC20

To view parameters press ‘EDIT’, then ‘I/O’ (soft key) and then the ‘PARM’ (soft key).

IN/OUT PARAM 1P <PORT> <DEVICE> (DEVICE can = 0-4)


#1 DATA IN 1 1 :
#2 DATA OUT 1 1 :
----------------------------------------------------------------------------------------------------------------
IN/OUT PARAM 2P
# <0> <1> <2> <3> <4>
1 BAUD RATE 2 (4800 BD)
2 STOP BITS 1 (2 SB)
3 PARITY BIT 0
4 EVEN PARITY 1
5 DATA LENGTH 3
6 HARD CONT 1
7 DC CODE CONT 1
8 DC CODE OUT 1
9 TV CHECK 0
10 EOB OUT 1 (LF)
------------------------------------------------------------------------------------------------------------
IN/OUT PARAM 3P
# <0> <1> <2> <3> <4>
11 LINE FEED 0
12 TIME OUT 500
13 DATA CODE 1
14 DC3 CODE 1
------------------------------------------------------------------------------------------------------------
(On the Fanuc) Setting Parameters Screen: EIA/ISO = 1 (ISO)
Used for param/offset input/output I/O Channel = 0
0100 0 0 0 0 1 0 0 0
0101 0 0 0 0 0 0 0 1 (2 SB)
0102 0 (channel)
0103 10 (4800 BD)
0134 0 0 0 0 0 0 0 0
0135 0 0 0 0 0 0 0 0
0161 0 0 0 0 0 0 0 0

These settings will allow you to use these machines with the built-in machine templates.

Page 64
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Settings for Fanuc System 31i 

This control is found on the following machines:

 All K Series Machines

To view parameters press ‘EDIT’, then ‘I/O’ (soft key) and then the ‘PARAM’ (soft key). Use PGDN / PGUP to move between
the different screens.

IN/OUT PARAM 1P <PORT> <DEVICE> (DEVICE can = 0 or 1)


#1 DATA IN 2 1
#2 DATA OUT 2 1

USE PGDN / PGUP keys to move between screens:


----------------------------------------------------------------------------------------------------------------
When entering settings enter as (DEVICE) #(PARAMETER NO.) (VALUE)
e.g. (1) #(2) (2) would set STOP BITS (#2) to 2 for DEVICE 1. Press the ‘INPUT’ hard key to change.

IN/OUT PARAM 2P
(DEVICE)
# <0> <1>
1 BAUD RATE 2 (4800 BD)
2 STOP BITS 2 (2 SB)
3 PARITY BIT 1 (EFFECTIVE)
4 PARITY 1 (EVEN)
5 DATA LENGTH 2 (7 BITS)
6 HARD CONT 0 (INEFFECTIVE)
7 DC CODE CONT 1 (EFFECTIVE)
8 DC CODE OUT 1 (EFFECTIVE)
9 TV CHECK 0 (OFF)
10 EOB OUT 1 (LF)
------------------------------------------------------------------------------------------------------------
IN/OUT PARAM 3P
# <0> <1>
11 LINE FEED 0
12 TIME OUT 100
13 DATA CODE 1 (ISO)
14 DC3 CODE 1 (0x93)
------------------------------------------------------------------------------------------------------------

These settings will allow you to use these machines with the built-in machine templates.

Page 65
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Settings for Fanuc System 32i 

This control is found on the following machines:

 Citizen A20-VI
 Citizen A20-VII

To view parameters press ‘EDIT’, then ‘I/O’ (soft key) and then the ‘PARAM’ (soft key). Use PGDN / PGUP to move between
the different screens.

IN/OUT PARAM 1P <PORT> <DEVICE> (DEVICE can = 0 or 1)


#1 DATA IN 2 1
#2 DATA OUT 2 1

USE PGDN / PGUP to move between screens:


----------------------------------------------------------------------------------------------------------------
When entering settings enter as (DEVICE) #(PARAMETER NO.) (VALUE)
e.g. (1) #(2) (2) would set STOP BITS (#2) to 2 for DEVICE 1. Press the ‘INPUT’ hard key to change.

IN/OUT PARAM 2P
(DEVICE)
# <0> <1>
1 BAUD RATE 2 (4800 BD)
2 STOP BITS 2 (2 SB)
3 PARITY BIT 1 (EFFECTIVE)
4 PARITY 1 (EVEN)
5 DATA LENGTH 2 (7 BITS)
6 HARD CONT 0 (INVALID)
7 DC CODE CONT 1 (EFFECTIVE)
8 DC CODE OUT 1 (OUTPUT)
9 TV CHECK 0 (OFF)
10 EOB OUT 1 (LF)
------------------------------------------------------------------------------------------------------------
IN/OUT PARAM 3P
# <0> <1>
11 LINE FEED 0
12 TIME OUT 100
13 DATA CODE 1 (ISO)
14 DC3 CODE 1 (0x93)
------------------------------------------------------------------------------------------------------------

These settings will allow you to use these machines with the built-in machine templates.

Page 66
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

APPENDIX 2

PROGRAM DATA SCREEN DESCRIPTION

Page 67
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Appendix 2 – Program data screen description 
Overview 

The program data screen in Alkart CNC Wizard 2014 consists of 5 tabs – General,
Component, Part Off, Air\Oil and Misc:

The tabs are specific to each machine type so data that is not relevant to certain machines is
hidden. The definition of each relevant tab is on the following pages.

Page 68
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Tab 1 ‐ General  

Example screenshot taken from


Miyano ABX THY/THY2

Available fields in this tab are as follows (ID is tagged on diagrams for reference):

ID Entry name Description


A Program No Number of program
B Comment Name of program (comment)

1 Bar change program number Standard subprogram number for


barchange – e.g. 666666 (Software
will put in M98P666666)
2 Bar change Macro for Fanuc B12/16(E), K12/16, A20 & R04/7 use
(Cincom machines with Fanuc control only) M108 macro or M109 Q subroutine call
e.g. B16E in metric configuration might
be M108 W40.0 R1.

3 Length of SP1 Chuck This sets the length of chuck for


(Miyano BNA MSY only) Spindle 1 – e.g. default metric setting
is 135mm.

Page 69
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

4 Length of Sp2 Chuck This sets the length of chuck for


(Miyano BNA MSY only) Spindle 2 – e.g. default metric setting
is 92mm.

5 Collet protrusion for SP1 This is to allow for the different nose
(Miyano ABX only) length for the commonly fitted
Hainbuch collet chuck system whereby
the nose of the collet sticks out from
edge of the collet datum. e.g. 10mm

6 Collet protrusion for SP2 As number 5 but for SP2 – smooth


(Miyano ABX only) collets used on sub have smaller nose
profile. e.g. 4mm

7 Sub (SP2) Collet extension Used for long nose collets on sub
(Cincom models only) spindle. On some machines there is a
dedicated value in machine data – e.g.
Back chuck extend length on the L12-
VII.

On machines without this function the


pickoff data works as following
example from L520-VII machine:

Part 30mm long


Pickoff 15mm along
Collet 12mm extension

G0 Z-[1.0+12.]
(Allow for extension on collet)
M77
(PICK OFF LENGTH)
G98 G1 Z[15.-12.] F4000
(Amend pickoff amount by
extension)
G4 U0.1
M15

Back spindle chuck calculation


accounts for extension i.e. 27mm
rather than 15mm.

Page 70
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

8 Spindle 1 to Spindle 2 measurement Used for calculating pickoff and is


(All Miyano except BNA MSY) usually fixed edge of chuck on both
spindles – e.g. 720mm on ABX.

9 Max length of bar Z1 axis This sets the maximum length of tool
(Miyano BNA MSY only) from the turret datum facing SP1.

10 Max length of bar Z2 axis This sets the maximum length of tool
(Miyano BNA MSY only) from the turret datum facing SP2.

11 Dwell required after M6 at start of program This is an optional delay after collet
(Cincom only) close M6 at start of program e.g. 0.5

12 Dwell required for barfeed at end of This is optional delay for barfeed
program clutch at end of program e.g. 1.0
(Cincom only)
NB: For UK users 1 second is
recommended on all Iemca
barfeeds.
13 Bar stop number Bar stop number.

Page 71
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Tab 2 ‐ Component  

Example screenshots taken from


Miyano BNA DHY and Citizen A32-VII

ID Entry Name Description


20 Bar diameter Size of raw material – if using hex bar use ‘across
corner’ dimension – AF * 1.1548

21 Overall part length Finished length of component.

22 Initial bar stickout This is the initial stickout value if not feeding full
(Miyano only) length to stop and using SP2 to pull part to finish
length before parting off.

If using conventional feed to stop then the value


entered is ignored

Page 72
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

23 Amount held in sub spindle How much the sub spindle grips during part off e.g.
0.5” along from front face would be 0.5

24 Facing allowance on main How much the facing tool would theoretically face off
spindle from main spindle e.g. 0.1mm / .004”

25 Facing allowance on sub Extra amount left on component length for facing to
spindle length on sub spindle.

26 Multiple parts per chuck? Enables multi-chuck method to save cycle time on
+ (Some Cincom models) short parts. Enter the number of parts per single
27 chuck.
28 Additional allowance for Default is to add 15mm/0.5” onto overall part length
+ machining length for machining length. Selecting CUSTOM enables
29 (Some Cincom models) user to select their own amount. Enter additional
amount for machining length – the total amount
selected is shown at the base of the screen. If the
amount selected is greater than available Z1 stroke
the colour changes to yellow and an alarm is
generated when attempting to complete data entry
screen.

Page 73
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Tab 3 – Part‐Off 

Example screenshot taken from


Cincom M16-VIII Series 4

ID Entry Name Description


40 Part-off feed rate Cutting feed rate during part-off. This
value is also used for auto part-off in
preparation mode (if supported) and
variable #822 on Cincom machines with
Mitsubishi control.

NB: If you click the gauge icon next to


the entry box it goes directly to
recommended speed guide where you
can directly insert value.
41 Part-off tool Insert width Width of part-off tip e.g. 2.0

Page 74
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

42 Part-off tool number & geometry Enter turret station and geometry
(Miyano only) number in separate fields.

43 Part-off tool shift including holder Enter clearance for part-off tool body
(Miyano only) e.g. if tool body is 18mm thick then enter
20mm for body to clear spindle by 2mm.

Also if you are cross-drilling at end of


part and need additional clearance from
chuck you can increase this value to
enable the more material to be fed out to
the stopper. The increased amount
sticking-out at part-off is automatically
accounted for.

44 Tool width Width of part-off tool. This value is also


used by Miyano models when using
pullout method e.g. 16mm for 32mm
capacity machines.

45 Use part-off probe at start of program? This selects either M51 mechanical
probe on Cincom models or M272/M273
on Miyano models with these options
fitted.
46 Use Spindle RPM check at part-off This selects either M50 on relevant
Cincom or M270 on relevant Miyano
models to check part-off tool hasn’t
broken during part-off by rotating one
spindle against the stationary spindle
opposite.

Page 75
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

47 Tool positioning point This sets the clearance value above the
(All Cincom & Miyano BNA MSY only) bar diameter when a tool is called e.g.
2.0 on 20mm bar would send tool to
X22.0 when called.

48 Part-off end point End point for part-off e.g. -2.0. This is
also used as variable #824 on Cincom
machines with Mitsubishi control.

49 Part-off RPM RPM for part-off in G97 mode. Some


(All Cincom and some Miyano) larger Miyano models will default to G96
so do not use this function.

NB: If you click the gauge icon next to


the entry box it goes directly to
recommended speed guide where you
can directly insert value.
50 Part-off mode – use G96? This option enables the selection of
+ (All Cincom - where supported, Miyano - select constant surface speed G96
51 standard) mode during part-off.
52
53 Slide the option to YES to open up entry
boxes 51 to 53.

Miyano models do not give this option as


they would generally always part-off
using G96. Some Cincom machines like
B16E do not show this function as it is
not possible.

Option 51 has direct link to speed


recommendation.

Option 52 is maximum RPM during G96


part-off and is also used on Miyano to
clamp maximum spindle speed during
program.

Option 53 is minimum RPM during G96


part-off.

Page 76
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Tab 4 ‐ Air / Oil 

Example screenshot taken from


Citizen A32-VII

60 Use Sub (SP2) Air/Oil If you select YES then items 61 and 62 appear with
+ during part-off? option to enter the relevant M or B code to turn on
61 oil/coolant/air during the time that the sub spindle
62 moves forward to pickoff component.

63 Use Sub (SP2) Air/Oil As item 60 but this time is during standard spindle 2
+ during eject? eject sequence. If you have standard pressure
64 coolant only fitted it might be unwise to switch on
65 during unload on certain machines as you could flood
the unload parts conveyor etc.

Page 77
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Tab 5 ‐ Misc 

Example screenshot taken from


Citizen A32-VII

80 Use G10 to set Main (SP1) If using non-round bar (e.g. Hexagon) we can write to
+ C-axis gridshift? parameter 4135 for C axis adjustment so that C0 is on
81 (Miyano only) a flat for hexagon bar. Newer machines such as ABX-
SYY2 have a specific function for this on the control.
For the value e.g. 22° enter as 22000
82 Use G10 to set Sub (SP2) If using non-round bar (e.g. Hexagon) we can write to
+ phase shift? parameter 4135 for C axis adjustment so that C0 is on
83 (Miyano only) a flat for hexagon bar. Newer machines such as ABX-
SYY2 have a specific function for this on the control.
For the value e.g. 22° enter as 22000
84 Use G10 to set Sub (SP2) If using non-round bar (e.g. Hexagon) we can write to
+ C-axis gridshift? parameter 4034 for C axis phasing at pick-off. Newer
85 (Miyano only) machines such as ABX-SYY2 have a specific function
for this on the control. For the value e.g. 22° enter as
22000
86 Use X-axis Thermal Use M620/M622 for enabling X axis thermal
Revision (Stealth)? compensation. Default setting is M623 – reset value
(Miyano ABX & BNJ only) to 0.

87 Use Z-axis Sub (SP2) Use M624/M626 for enabling Z axis thermal
Thermal Revision (Stealth)? compensation (SYY=Z2, THY=Z3). Default setting is
(Miyano ABX only) M627 – reset value to 0.

Page 78
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

88 Move Sub (SP2) during Use G53ZS -** to move the spindle to unload arm.
+ eject? Default is to use M501M524 to move arm to spindle
89 (Miyano ABX only) instead. Note- **M501 value needs to be set
beforehand**.

If using G53ZS -** to move spindle enter the amount


of movement e.g. -65.0
90 Setup for Fanuc Manual **In development** If selected this will program
Guide i (Simulation only)? G1900 **** to setup configuration for on-screen
(Miyano ABX only) simulation. Requires Fanuc manual guide option.

91 Set Main (SP1) and Sub Enables R* phase shift argument on G114 spindle
+ (SP2) phase? synchro command during part-off. Required if milling
92 (Cincom only) on both spindles or using profile collet on Spindle 2.
Enter R value if using phase adjust e.g. 10.0 is 10°.

Page 79
Copyright CITIZEN MACHINERY CO.,LTD. 2015
Alkart CNC Wizard 2014 Manual

Page 80
Copyright CITIZEN MACHINERY CO.,LTD. 2015

You might also like