You are on page 1of 11

SERVICE BULLETIN NO.

: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9
DATE: SEPTEMBER 21, 1989 ** Rev. 05/95-2 Pg. 3
MACHINE MODEL: NC TYPE: MAZATROL
SERIAL No. RANGE: SOFTWARE VERSION:

AUTHOR: MAZATROL DEPARTMENT

SUBJECT: RS232 COMMUNICATIONS FOR ISO PROGRAMS

REMARKS:

RS232 Communications for ISO programs.

By MAZATROL DEPT.

INTRODUCTION
The following is an explanation of RS-232 connections and sending of ISO part programs to the Maza-
trol Controls.
1) The first thing one must understand is that sending a ISO program from a host computer to the
Mazatrol controls is not to be considered DNC. If you do not understand the difference between
ISO, EIA, and Mazatrol language programs, please refer to Appendix I.
2) The second understanding is that we will only be speaking about sending ISO (also called ASCII)
* part programs ONLY. If you want to send Mazatrol programs, it may be necessary to buy a Mazak
Cam System unless you have newer T32 & M32A controls. See Service Bulletin 0993-001 (DC
Control Option).
3) The Mazatrol Dept. has been successfull in transferring ISO programs using the communication

software call CROSSTALK XVI (that’s CROSSTALK 16). This software is only for IBM compat-
ibles, and costs about 90-100 dollars and is widely available from any good computer store. A
mail-order firm called Compu-Add sells it for 97 dollars as of this date, which of course is subject
to change. They’re phone number is 800-627-1967 or 512-250-2548.
4) Please read and REMEMBER the following.
a) The HOST(IBM compatible) communication parameters must be set as: 7 data bits, 2 stop
code bits, 4800 baud, EVEN parity. The MAZATROL should be set for 8 data bits, 2 stop code
bits, 4800 baud, and NONE parity.
You may wonder, WHY is HOST set at 7 data bits & EVEN parity whereas MAZATROL is set at 8
data bits & NONE parity? It has to do with parity of information, so please for now, set it as
shown. It won’t work any other way!


CROSSTALK XVI is a trademark of Digital Communications Associates, Inc.

Approved By: Page # 1 of 11


SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9
** Rev. 05/95-2 Pg. 3

* COMMUNICATIONS CABLE
FOR 9 PIN RS-232

HOST
MAZATROL COMPUTER CONNECTORS
DB25M DB9F DB25F

* 2 3 2
3 2 3
** 4 7 4
5 8 5
6 6 6
7 5 7
8 1 8
20 4 20

We have had several requests on how to connect a 9 - pin RS-232 connector.


The above wiring shows the relationship between a 25 pin & 9 Pin.

Page # 3 of 11
SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9

APPENDIX I
ISO/EIA/MAZATROL FORMAT

MAZATROL program format is the menu driven question and answer program. This information is in-
put and output thru the CMT port. This program information must be kept on a Micro-Disk or
* Mazak Cam System. On newer T32 & M32A controls it is possible to save mazatrol programs us-
ing Crosstalk, see Service Bulletin 0993-001. This is for Mazatrol programs only. Tool data, pa-
rameters, and cutting conditions are not allowed to be saved using DC code control.
EIA program information was written in the early days before computers really came into power. If you
had a tape punched out with EIA format and compared it with ISO format you would see that the
EIA had an odd number of holes across whereas ISO has an even number. One major drawback
on EIA is that the symbols for some macro variables aren’t defined and as a result there may be
some discrepencies from control to control. If you look in the parameters on the Mazatrol you will
see where you can define some of these characters. Since CrossTalk only accepts ASCII charac-
ters it cannot be used to transfer EIA programs.
ISO program format is the same as ASCII type format. It is the same format which most text editors
use. This is advantageous over EIA because of this feature and also that the Macro variable sym-
bols have already been defined. Since it is ASCII characters, it can be transferred using Cros-
sTalk.

Page # 5 of 11
SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9

APPENDIX II

CrossTalk XVI Screen

Below is the CrossTalk screen which comes up while using CrossTalk . It shows the baudrate
(SP 4800), parity (PA Even), databits (DAta 7), Stop bits(STop 2), and which serial port
(POrt 1). Notice the INfilter is On, LFauto is On.
3) If you type HA and Press RETURN, It will tell you the current status of HAndshake and ask if you
wish to change it. If it is Off then say Yes and press RETURN. If it is already On just press RE-

TURN. If nothing happens when HA, you may have a very early version of CrossTalk . At the
time of this writing Ver 3.7 is latest. After this you will see all of Miscellaneous Parameters on
screen. Very important is the UConly to On, and FLow must be ^S/^Q.
4) To get to the filter settings, type FILTER and press RETURN. The filter settings are now dis-
played. The ^ character is made by pressing CTRL first and holding it down while pressing the
next character. You must match this table exactly.


CROSSTALK - XVI Status Screen
Local
NAme LOaded C:MAZISO.XTK
NUmber CApture Off
Communications Parameters Filter Settings
SPeed 4800 PArity Even DUplex Full DEbug Off LFauto On
Data 7 STop 2 EMulate None TAbex Off BLankex Off
POrt 1 MOde Call INfilter On OUtfilter Off
Key Settings Send Control Settings
ATten Esc COmmand ETX (^C) CWait None
SWitch Home BReak End LWait None
Miscellaneous Parameters
DRive C: ACcept Everything PWord
DPrefix ATV0X4|~ATDT DSuffix k APrefix
PRinter Off UConly On ANswback On
PMode 2 (DOS) BKsize 1 DNames 200
EPath RDials 10 TUrnarnd Enter
VIdeo EGA/MONO FLow ^S/^Q HAndshak On
LBreak 200
Filter Table
^@: NO ^A: NO ^B: NO ^C: NO ^D: NO ^E: NO ^F: NO ^G: NO
^H: NO ^I: NO ^J: OK ^K: NO ^L: NO ^M: NO ^N: NO ^O: NO
^P: NO ^Q: OK ^R: NO ^S: OK ^T: NO ^U: NO ^V: NO ^W: NO
^X: NO ^Y: NO ^Z: NO ^[: NO ^\: NO ^]: NO ^^: NO ^_: NO

Page # 6 of 11
SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9

APPENDIX III

Using CrossTalk XVI
The following is a brief description on using CROSSTALK XVI.
1) Type XTALK and press Return.
2) Wait for the bottom of the display to change, about 5 to 10 seconds, and press the HOME key.
Make sure NUM LOCK is off.
3) If you are SENDING TO CNC a program, lets say called PROG1, then type SE PROG1 and
press Return.
However, make sure the cable is connected & the control is in ready to receive state.
4) If you are RECEIVING FROM CNC,
a) First type CA PROG1 & press return. (CA means capture).
b) Go to control and punch out program, lets say program no. 1.
c) Press the computer’s HOME key to view the program being loaded.
d) When the CNC’s no longer highlighting the punch menu button, the program has been trans-
ferred.
e) At this point, save it on the disk by typing CA - . The computer will say “FILE SUCCESSFULLY
WRITTEN”.
f) We are now done loading the file into the computer, so to exit XTALK, press HOME key, display
window says COMMAND ?
Type QUIT and press Return.

SPECIAL NOTE: It has been found that some ram resident programs in computers may cause the
XTALK not to work correctly. To see if this is the case, then rename their AUTOEXEC.BAT file to
AUTOEXEC.SAV and reboot the computer and try again.

HERE IS A SAMPLE PROGRAM FOR PROG1


%
O0001
N001 T01
N002 M03 S200
N003 M30
%

NOTE: PROGRAM MUST BE WRITTEN IN UPPER CASE LETTERS.(CAPITAL LETTERS).

Page # 7 of 11
SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9

APPENDIX IV

CrossTalk XVI parameters
Below is printout of MAZISO.XTK. This file was created when the parameters were saved using the
SAV command. Your file should match this exactly.

NAme “” FK 1 “”
NUmber “” FK 2 “”
ANswback On FK 3 “”
APrefix “” FK 4 CROSSTALK - XVI
ATten Esc FK 5 @CApture /|
BReak End FK 6 @PRinter /|
DEbug Off FK 7 @TYpe|
DPrefix ATV0X4|~ATDT FK 8 @CApture
DSuffix k FK 9 @SNap|
EMulate None FK 10 @SNap 24|
EPath “” FK S1 “”
FIlter ————-+———+-+—————— FK S2 “”
POrt 1 FK S3 “”
PWord “” FK S4 “”
RDials 10 FK S5 “”
SWitch Home FK S6 “”
TImer On FK S7 “”
TUrnarnd Enter FK S8 “”
VIdeo EGA/Mono FK S9 “”
ACcept Everything FK S10 “”
CWait None FK C1 “”
DNames 200 FK C2 “”
INfilter On FK C3 “”
LFauto On FK C4 “”
LWait None FK C5 “”
MOde Call FK C6 “”
BKsize 1 FK C7 “”
BLankex Off FK C8 “”
CApture Off FK C9 “”
COmmand ETX (^C) FK C10 @do hangup|
DAta 7 FK A1 “”
DUplex Full FK A2 “”
FLow ^S/^Q FK A3 “”
HAndshak On FK A4 “”
LBreak 200 FK A5 “”
OUtfiltr Off FK A6 “”
PArity Even FK A7 “”
PMode 2 (DOS) FK A8 “”
PRinter Off FK A9 “”
SPeed 4800 FK A10 “”
STop 2 GO Local
TAbex Off
UConly On

Page # 8 of 11
SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9

APPENDIX V

T2 parameters for CrossTalk XVI

The following parameters should be set on T2/T3 control. Tested Version 100:C2(main = C2), EIA
Ver:C
A17 6
* A18 6
A19 0
A20 1
A21 1
* A22 10
A23 10
A24 0

* A14 35930
A15 206
A16 1

CONNECT THE CABLE TO THE T2’S EIA/ISO PORT AND THE


COMPUTER’S SERIAL PORT “COM1" (SHORT FOR COMMUNICATION PORT 1)


M2 Parameters for CrossTalk XVI
The following parameters should be set on the M2 control. Tested Version C5.
OP2 224
OP3 109
OP4 70
OP6 0
OP15 0
OP16 206
OP20 50
OP21 10
OP22 50
OP23 16
OP24 16
CONNECT THE CABLE TO THE M2’S EIA/ISO PORT AND THE COMPUTER’S SERIAL PORT
“COM1" (SHORT FOR COMMUNICATION PORT 1)

Page # 9 of 11
SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9

APPENDIX VI

M32 parameters for CrossTalk XVI

SET THE FOLLOWING M32 PARAMETERS AS FOLLOWS:


G19 = 2 G31 = 76 G39 = 30 G48 = 0
G20 = 3 G32 = 13 G40 = 0 G49 = 0
G21 = 0 G33 = 109 G41 = 50 G50 = 00000000
G22 = 0 G34 = 122 G42 = 5000
G23 = 3 G35 = 91 G43 = 00000000
G27 = 0 G36 = 70 G44 = 10
G29 = 3 G37 = 26 G45 = 30
G30 = 1 G38 = 74 G47 = 1

CONNECT THE CABLE TO THE M32’S EIA/ISO PORT AND THE COMPUTER’S SERIAL PORT
“COM1" (SHORT FOR COMMUNICATION PORT 1)

Page # 10 of 11
SERVICE BULLETIN NO.: 0 9 8 9 0 0 3
* Rev. 794-1 Pg. 1,2,3,5,9

APPENDIX VII

T32 parameters for CrossTalk XVI

SET THE FOLLOWING T32 PARAMETERS AS FOLLOWS:


On T32 there is only one RS232 port which is used for both CMT and EIA/ISO information. De-
pending on which input/output that you select, it will automatically switch to the correct communi-
cation parameters I1 thru I8 of <DV1>, <DV2>, etc.
<DV1> is for CMT communications.
<DV2> is for EIA/ISO paper tape reader.
<DV3> is for Printer.
<DV4> is for DNC.
<DV5> to <DV8> is not used.

<DV2>
I1 = 2 I9 = 0 I17 = 76 I65 = 00000010
I2 = 3 I10 = 1 I18 = 13 I66 = 00000010
I3 = 0 I11 = 0 I19 = 109 I67 = 00000010
I4 = 0 I12 = 0 I20 = 122
I5 = 3 I13 = 0 I21 = 91
I6 = 3 I14 = 0 I22 = 70
I7 = 1 I15 = 10 I30 = 24
I8 = 60 I16 = 1

REMEMBER !!
THE T32 USES ONLY ONE RS232 CONNECTOR FOR BOTH CMT AND EIA/ISO.
CONNECT TO IT.
COMPUTER’S SERIAL PORT “COM1" (SHORT FOR COMMUNICATION PORT 1)

Page # 11 of 11

You might also like