Professional Documents
Culture Documents
protocol. It's sometimes referred to as "CMT" protocol, because it was originally developed for a
Cassette Magnetic Tape reader that Mazak sold for a lot of $$
A few of the earlier Mazatrols could also send/receive normal G-code files (called "EIA files"), but many
T2 controls did not have this option.
The cable is pretty simple, but you can't just use Hyperterminal or some public-domain DNC program.
Lots of commercial DNC software products have the Mazatrol CMT protocol, including ours.
If you want to get started, you can download and try our PC-DNC Editor. It has communcations software
built in for both Mazatrol CMT protocol as well as for EIA files with standard protocols. Download the
software by clicking on:
http://www.sub-soft.com/download/Edi...itor_3.4.0.exe
This is a trial version of the software, which you can use for free for 30 days. At least you'll be able to
test things out before deciding if you want to buy it. The operator's manual is also avialable in .PDF
format by clicking on:
http://www.sub-soft.com/download/Edi...tor_manual.pdf
To make your cable, you'll need a 9-pin female connector for the PC side, and a 25-pin male connector
for the CNC side. There are many cable diagrams that will work, but here's one that we use:
CNC side (25-pin) -------- PC side (9-pin)
pin 2 ----------------------- pin 2
pin 3 ----------------------- pin 3
pin 5 ----------------------- pin 7
pin 7 ----------------------- pin 5
pins 6 and 8 ---------------- pin 4
This cable will work on all Mazak models, assuming that you have a 9-pin serial port on your PC.
To configure your Mazatrol, you'll need to set several parameters. Here are our suggested settings:
A15 - 206 (No parity, 2 stop bits, 8 data bits)
A16 - 1 (RS232 parameter for serial tape?)
A17 - 6 (CMT baud rate 4800)
A18 - 6 (EIA baud rate 4800)
A19 - 0 (Tape rewind code)
A20 - 1 (Output ISO)
NOTE 2
These are settings recommended by the OneCNC CAM software we use at work. We have T- and M-Plus
controls there. They upload either Mazatrol or EIA through Terminal or the OneCNC interface.
Mazak M2 - T2 - T3 Controls
The following settings and parameters that we have used to setup RS232 communications. We have
now condensed it in to a form to assist you in setting up your machine. Some of this information has
been gained from the machine tool handbooks and some from practical experience and others obtained
from users. If you find any of this information incorrect or any suggestions how to easier setup your
control we would be pleased to be advised so we can keep our help files and manuals to a high standard
of accuracy.
Cable Pin Out
CNC Control Computer 25 Pin Computer 9 Pin
I/O Port RS232 Port RS232
DB-25 Male DB-25 Male DB-9 Male
1 (Not connected) Chassis ground Chassis ground
232
323
775
4 and 5 jumpered not connected not connected
6, 8, 20 jumpered not connected not connected
Notes on Suggested Machine Control Settings
1. It is important to note is that you set the control for a Data Length of 8 Bits and No Parity but you set
the OneCNC system for 7 Data Bits and Even Parity. This is because the Mazak control counts the Even
Parity Bit as a Data Bit.
2. All of these controls can upload and download G-code (EIA) programs if they have the EIA code option
installed and the M-2 control can also do direct DNC of G-code (EIA) programs.
Suggested Machine Control Parameters
A15 = 206 RS-232C Code (Suggested)
A16 = 1 No Parity
A17 = 6 CMT Baud Rate (4800)
A18 = 6 Reader/Puncher
A19 = 0 Tape Rewind Code Assignment
A20 = 1 Punch Code (ISO)
A21 = 1 Number of Space Code
A22 = 10 Number of Feed Code Front
A23 = 10 Number of Feed Code Rear
A24 = 0 TV Check Off (Vertical Parity)
ALL CONTROLLER
FANUC
Published on Wednesday, 03 July 2013 20:39
We list configurations for the following Fanuc Controls. Click on these to go directly to the
settings for this control.
1.
2.
3.
4.
5.
We have also supplied and setup software on Fanuc 2000C and other earlier version Fanuc
controls.
Fanuc and General Numeric 3 Series Controls
The following settings and parameters that we have used to setup RS232 communications. We
have now condensed it in to a form to assist you in setting up your machine. Some of this
information has been gained from the machine tool handbooks and some from practical
experience and others obtained from users. If you find any of this information incorrect or any
suggestions how to easier setup your control we would be pleased to be advised so we can keep
our help files and manuals to a high standard of accuracy.
Suggested Cable Pin Out
CNC Control
Computer 25 Pin Computer 9 Pin
I/O Port
RS232 Port
RS232
DB-25 Male
DB-25 Male
DB-9 Male
(Not connected)
4 and 5 jumpered
6 8 20 jumpered
Notes on Suggested Machine Control Settings
Most 3 Series controls have a key lock or a switch you need to turn on to change the
1. parameters. When you do this, the machine will go into alarm mode as you make any needed
parameter changes.
2.
Change to Edit mode. Change parameters as required. Turn off key lock or switch and hit
Reset.
On 3 Series Controls, only Baud rate and # of stop bits can be set. Always use Even parity,
Word length 7, and 2 Stop bits.
5.
All Parameters set by 8 Bit numbers are read right to left, e.g. Bit 0 is the rightmost bit and Bit
7 is the leftmost bit.
6.
Control must have optional I/O interface and DB-25 Female plug to communicate by RS-232
to OneCNC.
= Baud Rate
Even
Data Bits
Stop Bits
Handshake
Last Lines
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
I/O Port
RS232 Port
RS232
DB-25 Male
DB-25 Male
DB-9 Male
(Not connected)
4 and 5 jumpered
6 8 20 jumpered
Notes on Suggested Machine Control Settings
Fanuc 6 and 9 Series controls have a key lock or a switch you need to turn on to change the
1. parameters. When you do this, the machine will go into alarm mode as you make any needed
parameter changes.
2.
Change to MDI mode. Change parameters if necessary. Turn off key lock or switch and hit
Reset.
On 6 and 9 Series Controls using ISO format, only Baud rate and # of stop bits can be set.
Always use Even parity, Word length 7, and 2 Stop bits.
5.
All Parameters set by 8 Bit numbers are read right to left, e.g. Bit 0 is the rightmost bit and Bit
7 is the left most bit.
Fanuc 6M(T)-A controls must have DB-25 Female plug to communicate to OneCNC, and
6. need to have a BTR board installed to run directly (DNC). When using a BTR, the control is
set up to use tape, and can Upload, Download, and do direct DNC through the BTR interface.
Suggested Machine Control Parameters
Parameter 311 = Baud Rate
Parameter 340 = 2 Input Device
Parameter 341 = 2 Output Device
Even
Data Bits
Stop Bits
Handshake
Last Lines
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
DB-25 Male
DB-9 Male
(Not connected)
4 and 5 jumpered
6 8 20 jumpered
Notes on Suggested Machine Control Settings
Set the PWE parameter 8000 to on (all ones). The machine will go into Alarm mode as you
1. are setting the parameters. When finished setting the parameters set 8000 back to off (all
zeroes) and hit Reset.
2. The above procedure is unnecessary to modify the Set Page settings.
3.
On 10-18 Series Controls using ISO format, only Baud rate and # of stop bits can be set.
Always use Even parity, Word length 7, and 2 Stop bits.
4.
All Parameters set by 8 bit numbers are read right to left, e.g. Bit 0 is the rightmost bit and Bit
7 is the leftmost bit.
The control must have a tape reader to do direct DNC. To direct DNC, go to tape mode, set up
5. OneCNC to Send and Wait for XON, hit Cycle Start at the CNC. To pause direct DNC turn
Feedrate Override to 0%.
Suggested Machine Control Parameters
#0000 TVC = 0
CTV
=1
ISP
=0
NCR
=0
EIA
=0
#0020
=1
#0021
=1
#0022
=1
#0023
=1
#5001
=3
#5110
=3
#5111
=2
#5112
Parity
Even
Data Bits
Stop Bits
Handshake
Last Lines
Parity
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
DB-25 Male
DB-9 Male
Chassis ground
4 and 5 jumpered
Notes on Suggested Machine Control Settings
Set the PWE parameter 8000 to on (all ones). The machine will go into Alarm mode as you
1. are setting the parameters. When finished setting the parameters set 8000 back to off (all
zeroes) and hit Reset.
2.
On 16-18 Series Controls using ISO format, only Baud rate and # of stop bits can be set.
Always use Even parity, Word length 7, and 2 Stop bits.
3.
All Parameters set by 8 bit numbers are read right to left, e.g. Bit 0 is the rightmost bit and Bit
7 is the leftmost bit.
4.
To direct DNC, go to tape mode, set up OneCNC to Send and Wait for XON, hit Cycle Start
at the CNC. To pause direct DNC turn Feedrate Override to 0%.
=0(ISO)
Parity
Even
Data Bits
Stop Bits
Handshake
Last Lines
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
The settings are automatically saved when exiting the settings and they are saved to the currently
loaded machine configuration. The Receive and Send settings are separately saved.
Fanuc 0 Series Controls Suggested Cable Pin Out
CNC Control
Computer 25 Pin Computer 9 Pin
I/O Port
RS232 Port
RS232
DB-25 Male
DB-25 Male
DB-9 Male
(Not connected)
4 and 5 jumpered
6 8 20 jumpered
Notes on Suggested Machine Control Settings
Set the PWE parameter to off. The machine will go into Alarm mode as you are setting the
1.
parameters. After done setting the parameters set PWE back on and hit Reset.
2. Above procedure unnecessary to change Handy Page settings
3.
On 0 Series Controls using ISO format, only Baud rate and # of stop bits can be set. Always
use Even parity, Word length 7, and 2 Stop bits.
4.
All Parameters set by 8 bit numbers are read right to left, e.g. Bit 0 is the rightmost bit and Bit
7 is the leftmost bit.
Control must have tape reader to do direct DNC. To direct DNC, go to tape mode, set up
5. OneCNC to Send and Wait for XON, hit Cycle Start at the CNC. To pause direct DNC turn
Feedrate Override to 0%.
Suggested Machine Control Control Parameters
#0002
Baud Rate
Parity
Even
Data Bits
Stop Bits
Handshake
Last Lines
Parity
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
MAZAK CONTROLLER
Published on Saturday, 04 May 2013 09:30
The following settings and parameters that we have used to setup RS232 communications. We
have now condensed it in to a form to assist you in setting up your machine. Some of this
information has been gained from the machine tool handbooks and some from practical
experience and others obtained from users. If you find any of this information incorrect or any
suggestions how to easier setup your control we would be pleased to be advised so we can keep
our help files and manuals to a high standard of accuracy.
In this help file we cover the following Mazak Controls:
1.
2.
3.
4.
Mazak M2 - T2 - T3 Controls
Mazak M-32, T-32 Controls
Mazak M Plus Controls
Mazak T Plus Controls
Mazak M2 - T2 - T3 Controls
Cable Pin Out
I/O Port
Computer 25
Pin
RS232 Port
Computer 9
Pin
RS232
DB-25 Male
DB-25 Male
DB-9 Male
1 (Not
connected)
4 and 5
jumpered
not connected
not connected
6, 8, 20
jumpered
not connected
not connected
CNC Control
All of these controls can upload and download G-code (EIA) programs if they have the EIA
code option installed and the M-2 control can also do direct DNC of G-code (EIA) programs.
Even
Data Bits
Stop Bits
Handshake
Last Lines
Parity
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
Cable
CNC Control
I/O Port
RS232 Port
RS232
DB-25 Male
DB-25 Male
DB-9 Male
Chassis ground
not connected
not connected
If you want to do direct DNC, set the I/O Base Param for Data In, Data Out N/C Running
(Direct DNC) according to the Device number and its associated name.
Parity
Even
Data Bits
Stop Bits
Handshake
Start at
Machine
Tagged active
First Lines
Last Lines
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
The settings are automatically saved when exiting the settings and they are saved to the currently
loaded machine configuration. The Receive and Send settings are separately saved.
I/O Port
RS232 Port
RS232
DB-25 Male
DB-25 Male
DB-9 Male
Chassis ground
not connected
not connected
If you want to do direct DNC, set the I/O Base Param for Data In, Data Out N/C Running
(Direct DNC) according to the Device number and its associated name.
User Parameter No 5
Even
Data Bits
Stop Bits
Handshake
Start at
Machine
Tagged active
First Lines
Last Lines
Remove
Spaces
Tagged active
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000
I/O Port
RS232 Port
RS232
DB-25 Male
DB-25 Male
DB-9 Male
Chassis ground
not connected
not connected
User Parameter No 5
I2 = 3 2 Stop Bits
I3 = 0 Parity selection (Even)
I5 = 3 Data Bit selection (8 Data Bits)
I6 = 3 Handshaking selection (Use control codes DC1-DC4)
I7 = 1 Parity added to DC code
I8 = 20 Seconds for Time Out Duration
I9 =0 No output of DC2 or DC4
I10 =1 EOB or EOR Terminator
I11 =0
Even
Data Bits
Stop Bits
Handshake
Start at
Machine
Tagged active
First Lines
Last Lines
Remove
Spaces
Tagged active
Even
Data Bits
Stop Bits
Handshake
Receive Timeout
10000