RTCM Ing
RTCM Ing
RTCM Ing
00
Module for conversion of ASCII and
NC RT480 formats and transfer
USER MANUAL
version
issue
archive number
2.0
18/04/95
X2364
publication issued by
s.r.l.
Via Del Lavoro, 13 - 48011 Alfonsine (RA) - ITALY
Tel. (+39) 0544 84277
(+39) 0544 866811
Fax (+39) 0544 80635
e-mail:
Internet:
mail@cniinformatica.it
www.cniinformatica.it
Reproduction of any part of this manual, in any form, without the explicit written permission of
CNI Informatica is forbidden.
Table of contents
Introduction
page
Operation instructions
page
Installation
page
Package configuration
page
page 11
page 14
page 16
page 18
Appendix A: Errors
page 20
Appendix B: Examples
page 22
Introduction
This software package allows one to convert the ASCII files realized by the user in the
syntax NC RT480 and vice-versa. Permits, besides, to transfer them via serial line or
CNI floppy disk.
This package recognizes PROGRAMS, SUBPROGRAMS, FIXED CYCLES ,
WORKING LISTS and MACHINE DATA files.
It includes the following four units:
a) One section for reading the incoming data and following construction of a file
compatible with the NC.
b) One section for the construction of an ASCII file from a CN file.
c) One section for the communication with the NC for the transmission of the files
generated.
d) One section for the disk management for the copy of the files generated.
Operation instructions
The program can run in two ways: via assisted screen management or via command line;
to start the program via screen no parameters have to be specified in the command line.
RTCOM can be integrated into a RoverCad software installation, by using the
configuration information of the machines installated. The active machine, when
available, will be displayed in the box upper right-side.
Note: the installation directory of the program RTCOM must be the same as the one
for the RoverCad program.
This is the syntax to start the program via command line:
RTCOM [Direction] [File/s ASCII] [Options][File/s CN Posit.] [Kind of file]
Example:
RTCOM /IC:\WMD\RVP\*.* /CPA: /KP
RTCOM /IC:\WMD\RVP\*.* /CVC:\WMD\RVP342 /KS
RTCOM /IC:\WMD\RVP\*.* /TX000COM1:9600,N,8,1 /KC /D
RTCOM /OC:\WMD\RVP\*.* /CPA: /KP
RTCOM /OC:\WMD\RVP\*.* /CVC:\WMD\RVP342 /KS
RTCOM /OC:\WMD\RVP\*.* /TX000COM1:9600,N,8,1 /KC /D
/I
/D
Programs
Subprograms
Fixed cycles
Working lists
Machine data
Installation
1) Switch on the computer and wait until the prompt signal of the dos system appears,
i.e. C:\>.
2) Insert the first disk in the drive and digit the following commands:
a:
[Enter]
install [Enter]
3) In this way you can start the installation software. Wait until a box with the request
for the language selection appears. Select the following items with the arrow keys:
- Language
as preferred [Enter]
- Source drive
A
[Enter]
- Destination drive
C
[Enter]
- Destination path
C:\WMD
[Enter]
- New installation
[Enter]
- Installation
[Enter]
4) The loading of the RTCOM software starts, wait until the message for complete
installation appears.
5) Enter the following commands:
cls
[Enter] to clear the screen,
rtcom [Enter] to start the RTCOM software.
Package configuration
After installing the package on the hard disk, it is necessary to perform the configuration
procedure. Start the program (RTCOM [Enter]).
RTCOM needs some specific information about the configuration for the machine of
which you wish to create the programs, subprograms, cycles, working lists and machine
data. These data are generally contained in a file, similar to the serial EE of the NC.
If the package is associated to a RoverCad, useful information is taken from the
configuration file of the active machine. Differently will RTCOM start a procedure for
the automatic creation of this file, with the request of a NC disk containing the serial EE
of the machine requested.
This type of box will appear on the right hand bottom with the
indication that there is an active machine on Rover Cad.
If you have a computer with two drives available, the first request will be to specify the
drive; then, as shown in the picture hereunder, the file name of the serial EE will be
requested, that will have to be copied from the CNI floppy disk for the automatic creation
of the file for the machine configuration.
NOTE: The above picture represents the screen page appearing only the first time you
start the RTCOM, and only when the system is not associated to a RoverCad.
Subsequently, and for each start of the RTCOM program, the following main screen
page will appear:
Upon selection of the option MAIN DATA you can insert the data for the serial
communication. The format is the following:
000COMx:baud rate,parity,data bit,stop bit (e.g. 000COM1:9600,N,8,1 or serial port
n.1, 9600 baud, no parity, 8 data bits, 1 stop bit).
Press the key [ESC] or [F10] whenever you wish to return to the main menu; in this case
it will be the menu for MACHINE SETUP.
Upon selection of the option USER DIRECTORIES you can insert the directories
containing the files to convert. The directories to specify are the following:
PROGRAM directory
(e.g. C:WMD\PRG)
SUBPROGRAM directory
(e.g. C:WMD\SUBPRG)
FIXED CYCLE directory
(e.g. C:WMD\CIC)
WORKING LIST directory
(e.g. C:WMD\LIST)
MACHINE DATA directory
(e.g. C:\WMD\DM)
NOTE: the names of the directories must obviously correspond to the names contained
in the hard disk, no error will be indicated in case of wrong or missing directory.
Upon selection of the option LANGUAGE you can modify the language for the screen
messages of RTCOM. Five languages are available. To activate them edit one of the
following codes:
RTCOM.ITA
Italian language
RTCOM.ING
English language
RTCOM.GER
German language
RTCOM.FRA
French language
RTCOM.SPA
Spanish language
Upon completion of the configuration phase, terminate with the key [ESC] and save the
data inserted.
10
It's necessary to select the kind of operation that we going to execute: the transmission
of files to the NC (PC-->CN) or the receipt from the NC (PC<--CN).
11
Select the type of file to transmit. The list for the file selection will appear. To be able
to transmit the whole list you can use the character * instead of the file name. In addition
to that you can transmit groups of files (e.g. TI*).
Confirm the processing with the key [Enter] to start the procedure of construction/
transmission of data. The box on the list of names indicates which file is being processed.
Should any error appear during the convertion with the NC unit, a screen page similar
to the page shown hereunder will appear. It contains the error code, its description and
the row of the file containing the error.
12
Should any error appear during the dialog with the NC unit, a screen page similar to the
page shown hereunder will appear. It contains the error code and its description.
By pressing the key [Enter] you can return to the screen page for the file selection where
you can select other files to transmit.
13
The operations to perform are the same as for the serial communication with the NC
RT480. The only essential difference depends on the fact that we are working with a
disk; therefore, you have to use a CNI disk (formatted on the control unit or via the disk
manager of the RoverCad). This disk will be either 720Kb or 1.44Mb.
14
The errors that can arise during the copy operation of the files on the disk might be
associated with disks that were not formatted correctly, or with faulty channels/sectors
of the disk. In these cases a message can be displayed, describing the type of error arisen.
Should the disk be full you can decide whether to terminate the copy or to carry on with
another floppy disk. In the screen page shown hereunder, you can see an example of
copy of files on several floppy disks.
15
After selecting the file or files to convert (using also the wildcard), specify the destination
path. You can also store the files on a DOS floppy disk, enter the drive identifier (e.g.
A:).
16
If yuo have to convert NC files to the ASCII format, set the direction box like the followin
picture:
Inserting the path of the NC files that must be converted in ASCII format, will be
activated the creation of a box where select them.
17
18
19
Appendix A: Errors
The transmission module includes the following error codes:
0
1
2
3*
4
5*
6*
7*
8
9*
10
11
12
13
14
15*
16*
17*
18
19*
20
22
23
24
25
26
The errors marked with * are internal errors and they should not arise, as they refer
to the operation of the transmission module from the command line.
The errors 10, 23, 24, 25 do not refer directly to the actions of the operator. They can
be caused by a wrong setting of the serial port.
20
During the copying phase on CNI disk the following errors may arise:
ERROR in writing
PROTECTED disk
ERROR on NC disk
Disk full
21
Appendix B: Example
Example of program for a machine with two centres:
22
Example of a subprogram:
11111222223333344444
;N10 G71 LX=CPAN LY=600 LZ=53 HC1 Z=PRK
N49 X0 Y-20 Z=PRK PRF=35 F6 G41 TP1 L=PON
N49 G4 X0 Y0 R50
N49 G1 X770 Y0
N49 G1 X770 Y53 BR20
N49 G1 X456.6 Y96.3 BR46
N49 X400 Y150 R44 G4 BR46
N50 X399.5 Y465 G1
N70 BT- I364 J465 G3
N80 BT+ I349 J444 G3
N81 BT+ I224 J566 G2
N100 BT+ I296 J429.5 G3
N119 G1 BT- BA240
N119 X98 Y434 R81 G4
;N120 BT+ I171.5 J467 G2
N124 G6 X84 Y463
N140 BT+ I12.5 J424.5 G3
N150 X0 Y509 G5 R-150
N160 G1 X0 Y0
N170 X-20 Y-20 G1 G=40
N180 G0 L=POFF
N190 X15 Y40 T13 PRF=20 L=G99
N191 X15 Y420 T13 PRF=20 L=G99
N210 X390 Y170 T12 PRF=20 L=G99
N220 X500 Y79 T12 PRF=20 L=G99
N230 X700 Y45 T12 RF=10 L=G99
%
As you can see the syntax is similar to the syntax of the programs, the difference is in
the line for the dimensions, that has been made inactive with the character ; .
23
N11
N12
N20
N21
:3
N22
:4
N25
N31
N32
:1
N40
:2
N45
N50
N60
%
X-10 Y=QY
JM(PRF):3
Z=-LPZ/2 M1
JM:4
Z=PRF-LPZ M1
JM(VF):1
X=QX+PRF FX3
JM:2
X=QX+PRF FX=VF
X-10 FX50
Z=-(LPZ+20) M0
TH0 FX80 VF=0
0010PROGR1
0020PROGR2
0030PROGR3
0040PROGR4
0050PROGR5
5
7
2
6
9
0
0
0
0
0
24