Você está na página 1de 66

S.No.

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.

Chapter

Page No.

Prerequisite
..................................................................
Introduction
..................................................................
Features of WIN-COM ..............................................
Hardware and software requirements
.......................
Installing WIN-COM
....................................................
Starting WIN-COM
.................................................
Manual TRANSMIT
....................................................
Manual RECEIVE
....................................................
Parameter setting
....................................................
DPC mode
.................................................................
Compare files ..........................................................
File Management
.....................................................
Options .......................................................................
View Transactions
....................................................
How to re-configure WIN-COM ................................
Interfacing with different controllers
..........................
Solutions to common problems ................................
Appendix
.................................................................
Index ...........................................................................

01
02
03
06
07
11
12
13
15
30
33
34
35
36
37
39
52
53
56

1. PRE-REQUESITE
WIN-COM is WINDOWS based communication. This manual is meant for WIN-COM
software user. It is expected that the user is familiar with PC operation, CNC machine operation &
concept of serial communication. It is further assumed that user is familiar with WINDOWS
environment. He need not be expert in computer hardware / software. Also, it is essential to note
here that due to continuos development, few changes / upgradation might have been done in the
final copy of software. If you come across some differences please write to us to improve
documentation.
This manual explains all the finer points about WIN-COM software. If one starts reading
the manual without software, he will not understand most of the things. It is therefore essential to
use the manual along with WIN-COM package loaded on the PC.
Also, it may be noted that left hand side of the manual gives the actual screen print out
for which right hand page is described about.

2. INTRODUCTION
WIN-COM DNC software has been developed to meet the data communication need of
all CNC users. The user may use it for one CNC or for many CNC machines. The software works
under WINDOWS 95 / 98 / NT4.0 or further WINDOWS versions.
WIN-COM can be configured for
Either COM1 or COM2 port of PC Pentium & higher
Eight port of our I-MUX card to have simultaneous data communication channels for eight
CNCs.
DIGI-DIALERS, a special hardware to connect maximum 32 CNCs to one PC.
Apart from the fact that WIN-COM is WINDOWS based, there are lots of features
compared to any other communication software. DIGITECH has been in the DNC software
development field since 1991. Most of the features of WIN-COM were dreams once upon a time
of shop floor engineer. DIGITECH put lot of efforts to make these dreams in to reality. And we
have always moved with the times to fulfill our customers needs and give him the best of
technology and price.
WIN-COM package comes with a hardware lock. This lock is to be put on printer port of
your PC. Before installation it is recommended to copy the software on another floppy / hard disk
for back - up.
One copy of this manual comes free of cost with WIN-COM package.

3. FEATURES OF WIN-COM
WIN-COM stands for WINdows based COMmunication software. It allows PC CNC
communication over a serial link. The adjacent Fig. on left side page shows the main menu of
WIN-COM.
The salient features of WIN-COM are as under :

1. Channel Based :
Each CNC machine is configured as a different channel, and all the channels are
accessed / supported in a simultaneous fashion in the case of I-MUX Card.

2. Transmit / Receive :
Two way communication from PC to CNC & vice-a-versa. CNC part program file
can be sent from or received in PC. Refer page number 12 and 13 for more details.

3. DPC mode :
DPC means Direct Access to PC. Unmanned PC can be accessed from CNC
keyboard through WIN-COM. This can be achieved in DPC mode. This means PC user need not
be disturbed for communication. He can continue using the PC for his other application.
At power on WIN-COM software gets loaded & it remains in DPC mode. The
CNC user can access the part programs stored in the PC or the directory listing of the PC in DPC
mode. Ref chapter 10 for details. Refer page number 31 for more details about DPC.

4. Parameter setting :
For data communication, user must set required parameters for each channel in
WIN-COM. Eventhough all CNCs have RS-232 port, communication protocols are different. All
the parameters that vary from one CNC machine to other CNC machine are set in this option.
Please refer chapter 9 for more details.

5. IDT mode :
IDT means Infinite Data Transfer to the Fagor CNC. This is a special mode
specifically designed to exploit the Real DNC Capabilities supported by Fagor make CNC
Controllers 8010/8020/8025/8030 .
DNC enables the execution of a program to be carried out (even) while the program is
still arriving via RS 232 port. In this way we can perform direct execution of the programs of
indefinite length from the PC. A typical application would be in programs generated by CAD-CAM
which can exceed the memory capacity of the CNC by several times.

6. Directory Structure & Access protection :


Each Channel can have three separate directories, namely MASTER, SHOP & CNC.
Part programs from the CNC machine are received into the SHOP directory, so that proven
programs which are generally kept on the MASTER are safe. Also while requesting a part
program from the PC in DPC mode, access to a particular directory can be granted or denied
which gives data protection.

7. Password protection :
For critical operations such as setting parameters, File management, Password entry is
essential to protect unauthorized access. All the passwords are user settable. The adjacent Fig.
shows the password entry dialog box and default passwords are as under -

Function

Password

Set Parameters (MAIN) - - - - - - - - - - - - - - Set Parameters (SUBPARAMETERS) - - File management


--------------Master Password
---------------

DIGITECH
NCTECH
PUNE-30
020 4333466 (There is space char
after 020)

Refer page 53 about change in password for more details.

8. Background mode / Foreground mode


To run WIN-COM in background, keep WIN-COM in DPC mode & minimize the
window. Maximizing the window will keep WIN-COM in foreground mode. Refer to your
WINDOWS manual for details of maximizing and minimizing windows.

9. Interactive messages :
Proper acknowledgment messages are given by the PC to the CNC for every
action from the CNC in DPC mode .The messages are sent in the form of comments to CNC.

10. Configurable control programs :


To call the desired part program (stored in PC) from CNC, the user has to send a
small pre-defined program . This is called
as control program. File Request Program and Directory Request Program are editable and
settable and hence configurable. Once PC receives one of these control prog. WIN-COM does
the requested job of sending part prog or directory.

11. Simultaneous communication :


WIN-COM can work with 8 port intelligent card called I-MUX. In this case,
simultaneous communication from all eight CNC machines to the PC is possible. i.e. all the CNC
operators can access PC simultaneously. Maximum three I-MUX cards are allowed in one PC.
Thus 24 CNCs can access the PC at a time.

12. Program verification facility :


Programs received to the CNC machine from the PC may be compared
automatically with the program in the PC using the Compare request program .This feature
ensures that there is no data corruption while transfer from PC to CNC. See page 33.

13. Automatic logging of all DNC activities :


A transaction record will be maintained for every communication activity that
takes place between the PC and the CNC machine. The same transaction can be viewed
machine wise along with date, time, file name, file path etc.

14. Automatic Backup :


In DPC mode, a part program can be saved in PC. If the same program is
already present in PC, it is saved in a file with extension as .BK1. If one backup. BK1 already
exists, then .BK1 file is saved as a file with extension .BK2. Thus automatic back up facility is
provided. Thus a two level backup take place.

15. Directory listing of the PC on the CNC :


A directory listing which may include filename, filesize , etc. can be called from
the CNC machine in the DPC mode. Thus the CNC user can know which programs are available
in the PC for his machine.

4.

HARDWARE AND SOFTWARE REQUIREMENTS :

1. Hardware Requirements :
a.
b.
c.
d.
e.
f.
g.

A PC/AT 486 or upward compatible computer


COM1 & COM2 serial interface ports
Minimum 16 MB RAM .
A Hard Disk with at least 20 MB free space.
A mouse or equivalent pointing device (optional)
A floppy disk drive of 1.44MB / 1.2MB
VGA monochrome or color monitor

In the case of I-MUX option : free 16 bit I/O slots (16 bit ISA bus interface) or free 32 bit I/O slots
(32 bit PCI bus interface) are required.
Working printer port for hardware lock of WIN-COM is required on PC.

2. Software requirements :
The PC should have pre installed WINDOWS 3.X / WINDOWS 95 / WINDOWS NT or
above version.

3. Other requirement :
If I-MUX card is to be installed in PC, then you will need either isolators or line drivers.
These devices need 240 V A.C. supply near PC.
Note : If PC has LAN card them while installing I-MUX it may require to change base address of
LAN card. Base address of I-MUX card is fixed

5. INSTALLING WIN-COM
Installing WIN-COM for WINDOWS - 95 / 98 / NT 4.0 (or upgraded versions)
1.
2.
3.
4.
5.
6.

7.
8.

9.

Confirm that WINDOWS is pre-installed.


Check hard-disk free space . It should be more than 20 MB
Connect hardware lock to the printer port. If printer is already connected then connect
lock in-between printer port and printer cable.
If you have purchased Intelligent MUX card(s) called I-MUX then insert it in the free 16
bit I/O slot(s) (ISA slot), or 32-bit I/O slot(s) (PCI slot) of your PC, as the case may be.
Insert the floppy disk of WIN-COM in your floppy drive.
Execute SETUP.EXE which is on the floppy disk to install the software interactively on to
the
hard-disk of your PC. A program group DNC will be created , with a program item named
WIN-COM.
Run application / executable file WIN-COM.exe
When WIN-COM runs for the first time ,there will be a message
JUNK not present, CREATING !!! .
It will ask for the settings as below.
WIN-COM will now ask for the name of the editor with its path. There will be a dialog-box
showing files in the current directory of the current drive with an OK and a CANCEL
button. If you CANCEL this step while installation, NOTEPAD will be selected by default.
The most popular editors and there paths are
Suppose WINDOWS 3.X / 95 / NT is in the C drive with directory name as WINDOWS then,
NOTEPAD
WORDPAD

:
:

C:\ WINDOWS \ NOTEPAD.EXE


C:\ WINDOWS \ WRITE.EXE

Note : These editors are present in windows directory which are provided by WINDOWS
itself. Its not responsibility of DIGITECH to provide these editors.
You can specify any other WINDOWS based editor.
10.

There will be dialog box for configuring the starting Com Port (ie. Port for the first
channel).
as shown in the figure on the adjacent page.
If user has purchased one or more Intelligent MUX cards (I-MUX cards), then select the Port
No. which is configured as the first port on the I-MUX Card. Generally it is Com 3.
If user is using the software for On board Com ports ie. Com1 or Com2, then select this
option accordingly. : Select the COM port to which users machine is connected. By default
COM2 is selected. User can select any of the COM port from the four COM ports (COM1,
COM2, COM3 & COM4).

11.

Software will automatically search for the I-MUX cards and initialize the Com ports. If the
card is not connected properly, so that the card is not detected, or if the Com port is in use
by any other software, then software will show the message as:
Channel No = X

I/O Control Error , Check Port Settings.

12.

After selecting the communication configuration, the following message will appear:
Please Set Machine Parameters, using Defaults

13.

Now configure the machine parameters and other settings for all the channels so as to
match the CNC controller.

14.

Now take the trials for each machine and after final trials take the backup of the
Parameters
file Machine.par.

Details of files
FILE NAME
(KB)
_inst32i.ex_
_isdel.exe
_setup.1
_setup.dll
_setup.lib
disk1.id
setup.exe
setup.ini
setup.ins
setup.iss
setup.pkg

SIZE

DATE HARDWARE LOCK-NUMBER VERSION

6. STARTING WIN-COM
WIN-COM can be executed in any of the following 3 ways :
1. By double clicking WIN-COM icon from WIN-COM group box.
2. By selecting WIN-COM from WIN-COM group and pressing ENTER key.
3. Through Start/Run menu option on Windows Desktop.
When WIN-COM runs successfully, DNC window screen (see details afterwards) appears.
DNC window shows all the channels (with maximum of 8 on one page of the screen). Each
channel is shown on a single row with some message windows and buttons provided for the User
interface. You will come to know more about these as you proceed further.
After Pressing Alt+C or Alt+F4, User can exit the DNC window screen and can come to the Main
Menu as shown in Fig. on the adjacent page.
The Main Menu contains the following options :
1.
2.
3.
4.
5.

Set Parameters
DNC
Options
Help
Quit

(see page )
(see page )
(see page )
(see page )
(see page )

Required Menu option can be selected by clicking option by the left mouse button or
pressing Alt key and the underlined letter from the menu options or by pressing Alt key and with
arrow keys going to required option and pressing Enter key.

To go to the DNC window screen , select DNC menu option from the main menu. In DNC
option, all the channels are initialized and activated one by one. The channel information and
status on each row shows the Channel No., Machine Name. It also shows Mode of Operation,
Program Name, Action, View and Path Buttons for each Channel.
Every Channel can operate in 5 different modes, namely:
Transmit
Binary Data Transmit
Also referred to as Manual Transmit modes.
Receive
Binary Data Receive
Also referred to as Manual Receive modes.
DPC (Direct Access to PC)
The current mode for a particular channel can be changed by left clicking on the Mode button
window of that channel, or by using arrow keys bring the focus on to the Mode button window and
then press space bar or Enter key.
Now, we will learn about the first 4 modes, one by one.

7. MANUAL TRANSMIT
These are the simplest methods of program transfer to CNC machine. The CNC machine
should be in RECEIVE mode (i.e. ready to accept a program) before starting transmission from
the PC. Because, someone has to be present on the PC to select the program file and press the
Start Action button, so it is called as Manual Mode. Note that the parameters have to be correctly
set on both the PC and the CNC for proper program transfer. Refer to PARAMETER SETTING
section of this manual for more details. (page 15) Refer the CNC manual for the details of how to
invoke the RECEIVE mode in the CNC.
For a better way to transfer programs refer to the DPC mode section of this manual. (page 30)

Transmit:
This is used to transmit part program from PC to CNC machine. Keep the CNC in receive
mode at first.
On the PC side first select the Mode as Transmit by left clicking on the Mode button of that
channel. Now click on the Program Name button for the requisite channel, then a file selection
box will appear with MASTER directory files shown by default. Here select the part program you
want to transmit. Now, the Selected Program Name appears on this button window. Now, the
Action button for this channel shows Start. Left click on this to start the transmission of the
program. You can select the block size and delay from the Set Parameters.
The size of the program is shown on the Size column window and No of characters transmitted
is shown on the Characters column window. In order to terminate the transmission of this
program in between, Press the Stop Action button for this channel. Please refer to the figure on
the adjacent page.

Binary Data Transmit:


There are different operating systems for different CNC machines. Many old CNC
machines need executive data to be loaded for the first time. This operating system is known as
Executive Data. The Executive Data may get corrupted or lost on CNC machine. Then the
machine stops working. To avoid such things user can take a backup copy this data from
machine to PC using Binary Data Receive Mode. Using the Binary Data Transmit option user
may transmit this Executive data to CNC machine when the Executive data on CNC machine get
corrupted or lost. The sequence of steps and procedure is the same as explained above for
Normal Transmit Mode. The difference between the two modes is that in case of Binary Data
Transmit Mode, no data processing is done during transmission, while in Normal Transmit, Eob
characters are added as per the machine parameters.
Most of the latest CNC machine do not need executive data, because now it is
permanently stored in to CNC memory.

8. MANUAL RECEIVE
These are the simplest method of program transfer from the CNC machine to the PC.
The PC should be in RECEIVE mode (i.e. ready to accept a program) before starting
transmission from the CNC. Note that the parameters have to be correctly set on both the PC and
the CNC for proper program transfer. Refer to the PARAMETER SETTING section of this manual
for more details. (page 15) Refer the CNC manual for the details of how to transmit a program
from the CNC.
For a better way to transfer programs refer to the DPC mode section of this manual.(page 30)

Receive:
On the PC side first select the Mode as Receive by left clicking on the Mode button of
that channel. Now click on the Program Name button for the requisite channel, then a file
selection box will appear with SHOP directory files shown by default. Here Select the Filename in
which you want to receive the part program. Else with the help of TAB and arrow keys highlight
the filename in which data is to be received and press Enter. To receive the program in new file,
at Filename edit window, type the new filename. If existing filename is given or selected ,user is
prompted with the message as:
File exists, Overwrite? (Y/N)
If answer is YES, file is overwritten else Reception gets terminated.
Now, the Selected Program Name appears on the Program Name column button window, and
the file reception is under Progress. The Number of characters received are shown in the Size
column window for this channel as shown in the figure on the adjacent page.
Now, the Action button for this channel shows Stop. Left click on this button to stop the reception
when complete Part Program is received or you wish to terminate the Reception process.

Binary Data Receive:


The requirement for this Mode to take the backup of Executive Data of CNC machine is
explained in the previous section under Binary Data Transmit section. The sequence of steps and
procedure is the same as explained above for Normal Receive Mode. The difference between the
two modes is that in case of Binary Data Receive Mode, no data filtering or processing is done,
while in Normal Receive , data is processed during reception and then stored into the File.

Extract:
If multiple programs are stored in a single file, one can separate all the programs using
this. Many times main program & subprograms are stored in a single file. Using this feature, they
can be extracted separately.

9 SET PARAMETERS
Most of the CNC machines do have RS-232 port which is internationally standard but
different CNC manufacturers use different communication protocols. (such as NULL characters,
program start character, program end character etc.) Unfortunately there is no standardization
hence WIN-COM needs to be configured in accordance with CNC machine protocols. This
chapter gives more information about protocols setting. In other words it is called as parameter
setting.
This option sets various parameters that need to be set for communication and DPC
mode of WIN-COM software. After choosing the Set Parameters option from the Main Menu, the
software asks for the Password. This password protection for these parameters or settings is
provided to restrict unauthorized access / modification. User must enter correct password to open
this menu. It gives three chances, and if the correct password is not entered it exits. The
Parameters are locked by a Password. These Passwords can be controlled by the User /
Administrator by entering a Master Password at this point. See Section 3.7 for default passwords.
On entry of correct Password , the Parameters dialog box window appears, which is shown on
the adjacent page.
Some parameters require another password. All the Machine parameters are stored in the
following files:

Machine.par
MyMac.Par
My.Par

The User must always necessarily keep a backup copy of these files in a separate PC or a floppy,
after the Machine Parameter settings are once frozen.

The following parameters have to be set for every CNC machine connected to the PC, explained
in the order of their importance and relevance :-

9.1 Settings on the Main Window of Parameter Settings Dialog Box:


Machine Name:
Practically there could be same controller on different machines. See the Fig.
For example :

FANUC 0 on MAKINO,
FANUC 0 on HMT ,
FANUC 0 on LMW . etc.

As far as WIN-COM is concerned only FANUC 0 protocol will match for all machines .
The parameters option Machine Name is only to distinguish physical CNC machines for User
convenience only. This is an editable one line string. Machine name can be alphanumeric. This
name is used throughout the software for referring to the CNC machine. e.g. HMT, SB-CNC,
MAKINO etc. You can use any naming scheme for your convenience to refer to that Machine, for
ex. Layout No. or/and the CNC System used.

Controller Name :
Controller name is to be chosen from a list of CNC controller names, shown on adjacent pagee.g.

FANUC OT/OM ,3T/M,6T/6M,10,11,12,13,15 GE MARK 1 PLUS,


GE CENTURY 2000,
SIEMENS 3T/3M/3G/3100
SINUMERIK 3T/3M/2100/810,
HINUMERIK 8M/840/2000/2100/3T/810/3100
NUM 750
MAHO WITH PHILIPS-432
ELCON-5
CRUSADER II
FORTUNA
VIKING (KEC)
ALLEN BRADLEY 8600
MICRON (HEIDENHAIN 407,425)
STEUERUNGEN CNC 783/M FAGOR, AUTOCON
and many more other controllers

Before going through following sub-sections it is essential to know an important concept


called as DPC mode, with reference to the WIN-COM software. Please refer to chapter 10.

Please note that the MSG has to be wrFile Request Program:


This is an editable one line string. See the Figure. In DPC mode, when CNC user wants
to have a part program from the PC, a File Request Program is transmitted. The line of the
program containing the Program number has to be typed in here.
File Request Program:
This is an editable one line string. See the Figure. In DPC mode, when CNC user wants
to have a part program from the PC, a File Request Program is transmitted. The line of the
program containing the Program number has to be typed in here.
Example:
Calling a part program from PC to CNC :
The request program for calling a file from PC is referred as File Request Program.
An example of File Request Program is as given below
%1111
X1
X1234
M30

...................................... (program number)


...................................... (directory no.)
...................................... (required program number)
..................................... (end of program)

OR
%1111 ...................................... (program number)
X1234 ...................................... (required program number)
M30
..................................... (end of program)
( In this case automatic search in directory settings in WIN-COM software must be
activated )
In above program, 1111 is name of File Request Program, X1 is Directory No. in which
Part Program 1234 is stored. 1234 is name of required program and M30 is program end code.

So, %1111 is the Parameter value and this Program No. is reserved on the CNC for requesting a
File from any of the three directories of this channel on the WIN-COM software on the PC.

When a File request Program is received by PC, (WIN COM) extracts Directory and
Program Number. Filename Prefix and Suffix are attached to Program number to form a filename.
If the file is found in specified directory, it is transmitted to CNC after time delay set in DPC delay
for this channel. If file is not found, message program format is transmitted to CNC after DPC
Delay. The CNC operator is requested to delete the message program from CNC memory as, if
the program remains in CNC then it wont be possible to receive next message program.

Directory Request Program :


This is an editable one line string. In DPC mode, when CNC user wants a list of files
present in a particular directory of the channel for the WIN-COM software on the PC, a Directory
Request Program is transmitted from the CNC to the PC. The line of the program containing the
program number has to be typed in this Parameter Setting. So, this Program No. is reserved on
the CNC for requesting a Directory Listing.
Getting the directory listing of programs stored in PC : The request program for calling a
directory listing from PC is referred as Directory Request Program.
Example :
%2222 .................................
X1
.................................
OR
X2

OR
X3

M30
.................................

( Dir. request program number)


( first directory - MASTER directory )
( second directory - SHOP directory )
( third directory - NEW directory )
( end of program)

%2222 is Directory Request Program identifier which is settable. When Directory


Request Program is received by PC, a directory listing in the form of Directory program format is
sent back from PC depending on the directories.

Compare Request Program :


This is an editable one line string. In DPC mode, if the user wants to receive a program
from the PC and then compare it with its copy in the PC, a Compare Request Program is
transmitted. The PC will send the program to the CNC. In reply, WIN-COM software on the PC
will send the Requested Program. This program received on the CNC, has to be transmitted back
to the PC for comparison. The PC then sends back the reply of the Files Comparision.
The request program for comparing the part program received from PC with the one send by PC
is referred as Compare Request Program.

Example :
%3333
X1
X1234
M30

..............................
..............................
..............................
..............................

(compare request program number)


(first directory)
(request program number)
(end of program)

The first part of the sequence of events is same as that for File request program
processing. Once a File Requested is transmitted to the CNC, PC remains in Receive mode.
CNC Operator has to send received File back to PC. PC compares both (just received and
previously send) Files, ignoring comments and sends Message Program (which says either Files
Matching or Files do not Match) to CNC after time delay set in the DPC delay setting. See page
33 also.

DPC Delay :
When Request Program comes from the CNC in to the PC, PC processor being very fast
the file is immediately searched. Practically there has to be some delay. During this delay, the
CNC operator keeps his machine ready in the Receive Mode.
This delay in Seconds is DPC delay. In DPC mode, when PC receives program from CNC, it
processes it and sends reply to CNC after DPC delay. During delay CNC operator is expected to
keep CNC in Receive mode. DPC Delay is in seconds. Immediately after delay is over PC will
send the program. If sufficient delay is not set then operator is likely to miss data sent by PC.
Generally DPC delay is kept as 15 seconds.

Baud Rate :
Baud Rate is the rate of communication between the PC and the CNC. It is to be selected
through a list of Baud rates. Range is 110 to 57600.The communication at higher baud-rate is
heavily affected by the speed of the PC and the operating system. Therefore, a optimum rate will
be selected during the installation. In case of DIGI-DIALERS the baud rate for every CNC
machine has to be the same as the rate set for the network. Normally baud-rate is 4800 or 9600.
Please note that the On-board Com ports on the PC, ie. Com1 and Com2 do not support baudrates higher than 9600 bps.

Machine Program Code :


This is a code used by CNC machine. Codes available for selection are EIA, ISO and
ASCII. Most of the modern CNCs use ISO code only.

Com Port:
It is the communication port through which data is transmitted and received. Options are
On board ports like COM1, COM2 or any port of the I-MUX (8 port intelligent card) offered by
DIGITECH.

Compare File :
Compare File is a check box which can be ON or OFF. In DPC mode, during Compare
Request Program, files are compared only when Compare File is ON. When a part program
comes in CNC through RS-232 port, there is no check on CNC side whether it is a correct
program or not. Sometimes, due to electrical noise a character, a digit or set of characters may
get corrupted or missed. The safe way is to send the received program back to PC for
comparison. This is achieved by this feature.

Directory Program Format:


Each channel can have three set of directories. In DPC mode, as explained earlier, the
listing of the programs within the Directory can be viewed on the CNC, by sending a Request
Program for Directory as explained earlier. WIN-COM software sends the directory in the desired
Machine program format, which can be configured in Directory Program Format settings. This
format can be decided by the User. See the Fig. Directory Program Format is a multi-line editable
box. Directory Program Format is a program format in which a reply to a Directory Request
Program will be given by the PC in DPC mode.
There is a password protection for these parameters or settings to restrict unauthorized
modification. You must enter correct password to open this menu. Refer appendix for default
passwords (page 54)
Example:
%9999
.......................... (% is program start character)
(MSG NAME) .......................... ( ) are comment characters and can contain any
combination of NAME, SIZE, DATE,TIME.
Respective fields are added in comment of
Directory program)
M30
.......................... (program end string)
Com Port:
It is the communication port through which data is transmitted and received. Options are
On board ports like COM1, COM2 or any port of the I-MUX (8 port intelligent card) offered by
DIGITECH.

Compare File :
Compare File is a check box which can be ON or OFF. In DPC mode, during Compare
Request Program, files are compared only when Compare File is ON. When a part program
comes in CNC through RS-232 port, there is no check on CNC side whether it is a correct
program or not. Sometimes, due to electrical noise a character, a digit or set of characters may
get corrupted or missed. The safe way is to send the received program back to PC for
comparison. This is achieved by this feature.

Directory Program Format:


Each channel can have three set of directories. In DPC mode, as explained earlier, the
listing of the programs within the Directory can be viewed on the CNC, by sending a Request
Program for Directory as explained earlier. WIN-COM software sends the directory in the desired
Machine program format, which can be configured in Directory Program Format settings. This
format can be decided by the User. See the Fig. Directory Program Format is a multi-line editable
box. Directory Program Format is a program format in which a reply to a Directory Request
Program will be given by the PC in DPC mode.

There is a password protection for these parameters or settings to restrict unauthorized


modification. You must enter correct password to open this menu. Refer appendix for default
passwords (page 54)
Example:
%9999
.......................... (% is program start character)
(MSG NAME) .......................... ( ) are comment characters and can contain any
combination of NAME, SIZE, DATE,TIME.
Respective fields are added in comment of
Directory program)
M30
.......................... (program end string)
itten in the line where the Directory/ File information will come in the comment form.
If comment facility is not available on CNC, Program number can be transmitted after
either X or Y or Z.
Example:
%9999
X
M30
In this case program number will appear after X.

Message Format :
In DPC mode , for every action initiated from CNC, the unmanned PC with WIN-COM always
sends acknowledgment. This comes to CNC in the form of comment. The message is in plain
English. The Message Format is a multi-line editable box. Any message from PC to CNC
machine is transmitted in this form.
There is a password protection for these parameters or settings to restrict unauthorized
modification. User must enter correct password to open this menu. Refer appendix for default
passwords (page 54). See the Figure on the left hand side page.
Example:
%9999 ..................
(MSG) ..................
M30
..................

(% is program start character)


( ) are comment characters which contain message
(program end string)

Please note that the MSG has to be written in the line where the Message Text information will
come in the comment form.
If comment facility is not available on CNC, Message Number can also be transmitted after either
of X or Y or Z.
Example:
%9999
X1
M30

In this case, message number will be after X.


Message Numbers and their meaning is as follows.
0:
1:
2:
3:
4:
5:
6:

7:
8:

FILE NOT FOUND (When requested file is not present in specified directory)
MASTER DIRECTORY ACCESS DENIED
CNC DIRECTORY ACCESS DENIED
SHOP DIRECTORY ACCESS DENIED
DIRECTORY REQUEST ILLEGAL
(Directory number is not either of 1/2/3. Data from other directories may not be accessed)
FILE SAVED SUCCESSFULLY
PROGRAM NUMBER NOT FOUND.SAVED AS NONAME.
(When the Program Number is not found in any program received from the CNC, the file is
saved as NONAME)
FILES MATCHING
(After file comparison, if files are same. while comparing two files, comments being ignored)
FILES DO NOT MATCH (After file comparison, if files are not same)

Auto Sequencing :
This is an additional feature which is available in WIN-COM Software. Many times the
program required on the CNC is required to contain Block Nos. However, if the Part Program
does not contain Block Numbers, by using this feature, the user can send Sequenced Part
Programs from the PC, in the DPC Mode. It is also used for Reply of the Directory Request
Program in the DPC Mode. For Details refer to Section 9.

Drip-Feed Settings :

Directory Settings :
Refer to Directory Settings section of this manual (page 22) for concept of master, shop and CNC
directory.

Advanced Settings :
Refer to Advanced Parameter Settings section of this manual (page 24)

Cancel :
To cancel any changes made and to stay with previous settings, Cancel button is clicked.
However, if OK is clicked before clicking Cancel button, then the Parameters are already written
and saved into the Parameters File, in which case the changes made in the parameters cant be
cancelled.

Quit :
To come out of Set Parameters, Quit button is clicked. Main Menu is displayed after this.

OK :
To save the changes made in Parameters for that channel, OK button is clicked.

9.2 DIRECTORY SETTINGS :


As seen earlier, WIN-COM allows CNC operator to call the desired Part Program in DPC
mode. He can edit the same & he can send it back to PC. In this process, the previous (original)
program may get over written. To preserve the original (or Master Program) WIN-COM allow its
user to set three directories assigned to each channel or CNC Machine.
They are generally named as follows.

MASTER
SHOP
CNC

(1st Directory to keep proven part program)


(2nd Directory to keep program coming from CNC)
(3 rd Directory to keep newly developed, untried programs)

Directory Settings Window includes all the directory related parameters. Please see the figure on
the adjacent page.
There is a password protection for these parameters or settings to restrict unauthorized
modification. User must enter correct password to open this menu. Refer appendix for default
passwords (page 53)

1st / Master Directory :


1st Directory is also called as Master Directory. It is one line editable string. This is full path of
the MASTER Directory. Only proven programs are placed in the MASTER Directory.

2nd / Shop Directory :


2nd Directory is also called as Shop Directory. It is a one line editable string. This is full path of
Shop Directory. Any program received is by default stored in the SHOP Directory.

3 rd / CNC Directory :
3rd Directory is also called as CNC Directory. It is a one line editable string. This is full path of
CNC Directory. This directory can be utilized by the user according to his convenience .The first
& third directories are used only for transmitting programs to the CNC. While the second or the
SHOP directory can be used for both transmitting and receiving part programs. (depends also on
the access levels)
Each Directorys path can be directly written in the respective Edit window or by clicking a Path
button on the RHS of each of the three directory path windows, and then selecting the path by
browsing through a File Selection Window.

Master Directory Access :


Master Directory Access is a check Box which can be ON or OFF. ON (x in square box) indicates
user has MASTER Directory access and OFF indicates, MASTER directory access denied for the
CNC user. See the Fig.

Shop Directory Access :


same as Master Directory. Access only applicable to SHOP directory access.

CNC Directory Access :


same as Master Directory. Access only applicable to CNC Directory.

Main Program Filename. Prefix / Suffix :


All the CNC Part Programs are stored in the PC with the Program Number as a part of the
complete File name. A prefix and suffix can be added to the program number to form the
complete filename. These Prefix and Suffix are to be specified in Main Program Filename - Prefix
and Suffix. This applies to the Main Program, which is received for storing from the CNC to the
PC in DPC Mode, or for generating the name of the File as requested in the File Request
Program from the CNC side in the DPC Mode.
Example:
Suppose File Request Program coming from CNC Machine is as under %
O1111
X1
X1234
M30

. . . . . . . .
. . . .
. . . . . . . .
. . . . . . . .
. . . . . . .

(% is Program Start Character)


(O1111 is File Request Program identifier)
(Requesting file from MASTER directory)
(Program number is 1234)
(Program End String)

On PC if program 1234 is stored with file name M1234.CN1 ,


then the Main Program File Name
Prefix has to be set to M
Suffix has to be set to CN1

Sub Program Filename. Prefix / Suffix:


Same as Main Program Filename. Only applicable to Sub Programs. Separate parameters
setting is provided for Sub-Programs , in order to distinguish it from Main Program.
Example:
On PC if Sub-Program 1234 is stored with file name S1234.CN1 ,
then the Sub Program File Name
Prefix has to be set to S
Suffix has to be set to CN1

Search Option:
The CNC Operator can specify a Search Option for the Requested Program in the DPC Mode.
This option can be set in the parameters of that channel. It can one of the following:

None:
If the User does not wants any Search Operation, then this option must be selected. In this case
the CNC operator will have to specify the Directory No. in the File Request Program. As under:
%1111
X1
- Directory Number has to be specified as 1 / 2 / 3.
X1234
M30

Master Only:
ST

If the User wants to access only Programs in the 1 or the Master Directory, then this option
should be selected. In this case, the CNC Operator must not specify the Directory No. in his/her
Request Program. As under:
%1111
X1234 - Program No. 1234 is Requested
M30
Always the Program will be taken from the Master Directory. Whereas, while a program is sent for
ND
saving to the PC it will be always saved in the 2 or the SHOP Directory.

Automatic Search :
If the User wants to let the PC do the searching in the three directories in pre-defined sequence,
he must go for this option. Once Automatic Search button is selected, the supporting settings for
the Search Sequence get enabled.

Search Sequence:
Once Automatic Search is desired the Search Sequence has to be set. It can be either of the
following two options:

st

nd

rd

MASTER, SHOP, CNC (1 , 2 , 3 )


d
nd
st
CNC, SHOP, MASTER (3r , 2 , 1 )

Add Comment:
If Automatic Search is enabled User can select this check box, so that in the Part Program the
nd
Directory Number from which this program is taken is also added in the 2 line of the program in
a Comment form automatically.

Cancel :
To cancel the current changes and to save previous configuration of parameters Cancel is
clicked. However, if OK has already been clicked then this is not possible. For that the User
should come out of the Main window of the Parameter Settings without clicking OK and then reinvoke it.

OK :
To save the changes made in parameters and to come out of the Directory parameter settings
OK is clicked. Parent dialog box, Setting Parameters gets displayed on the screen.

9.3 ADVANCED PARAMETER SETTING


This section of manual is very important and needs careful attention. It describes all the
advanced features of the package. Once these are set, generally one should not open this menu.
Most of the parameters are for one time setting only.
There is a password protection for these parameters or settings to restrict unauthorized
modification. User must enter correct password to open this menu. Refer appendix for default
passwords (page 53). See the Fig. on the left side page.

The following settings are done in the Advanced Parameters Dialog Box:
The settings that are related to the DPC Mode are explained first.

Program Start Character :


It is a two character length editable box. Program start character for CNC machines is fixed and
that is to be entered here. See the Fig.

Program End String :


It is a one line editable string. A CNC machine recognizes program end by a character string or
one from a set of character strings. This Program End String does not appear elsewhere in the
program except at Program End. If the string is found in between, no character after that is
considered as part of the program. Program End String should be entered here.
It is one from a set of character strings, all the strings should be entered here separated by |
symbol acts as an OR function
Ex: If Program end is recognized by M30 or M02 then Program End
Strings would be M30 | M02

Sub-Prog. End String. :


Same as Program End String explained above. Only applicable to subprogram.

Prog No Identifier :
Program number in a part program can be between a character string. Character / Characters
before and after Program number are to be given here. e.g. P1234 G90 will have P & G letters in
between which the Program No is seen.

Sub-Prog No Between :
same as Main between but only applicable to sub programs.

Filename Filter :
Filename filter is a one line editable string. For a CNC machine, filename (Program number) can
be only 4-characters long. Any character to be specified after that should be specified after
Filename Filter. More than one filter is also sometimes accepted and that is entered here, each
separated by symbol acts as or
e.g. Lets say X9999.9999 is acceptable by CNC machine.( i.e.4 digits followed by . and then
followed by 4 more digits.) To specify a program number 123456 X1234.56 is given. Here .
(dot character) becomes filename filter.

Main Program Between :


Program number and directory number in a request program can be embedded in a character
string. Character/characters before program number and after program number should be given
here.
e.g.
%1111 ............ (% is Program Start Character)
X2F
............ (Main between X & F - from CNC directory no. #2)
X1234F ............ (1234 is Program no. appearing between X & F)
M30
............ (M30 is Program End String)

Sub Program Between :


same as Main Between only applicable to subprograms.

File Request Optional Line For:


In DPC Mode, we can call the programs from a Sub-Directory out of any of the Main Directories.
Also, else we can Request a Program to be transmitted from a particular line / Block No. This is a
parameter which specifies what the optional line after the File Name specifier Line in the File
Request Program indicates. It can of the following two options
1. Sub-Directory Specifier
2. Block No Specifier
The different Request Programs for the two types of File Request are as underFor File Request from a Sub-Directory:
%1111
X1
- Specifies the Directory No., 1 / 2 / 3 ( for Master / Shop / CNC )
X1234
Z2MM - Specifies the Sub-Directory Name within the Directory No. as specified in the
nd
M30
2 line
For File Request from a particular Block / Line No:
%1111
X1
X1234
Z254
- Specifies the Block No. / Line No.
X10.5Y7.0Z6.0 - Specifies the Initial X-Y-Z Co-ordinates to move to from the Home
M30
Position.
Please refer to DPC Mode File Request Program for details.

Hardware Handshake :
Hardware Handshake is a check box which can be set to ON or OFF.
Use of CTS during Transmission: When ON, CTS (Clear To Send) is monitored for data output
flow control. When this parameter is ON and CTS is turned OFF, output is suspended until CTS
is again received. For baud rate greater then 1200, it is recommended to make it active.
Use of RTS during Reception: When ON, RTS (Request To Send) is controlled for data input flow
control. When this parameter is ON and RTS is turned OFF, input is suspended until RTS is
again asserted and made active. For baud rate greater then 1200, it is recommended to make it
active.

DC Codes:
This is also called as Software Handshake. The transmission and reception is controlled by
sending special pre-reserved Ascii characters, also called as DC Codes or Direction Control
Codes. This parameter has three radio buttons, and so it can have one of the three states.
The three different options are 1) No : No XON / XOFF flow control is monitored during Transmission and reception.
2) Semi : XON/ XOFF flow control is monitored during transmission. When this is SET,
transmission stops when XOFF character is received and starts again when XON character is
received.
3) Full : XON/ XOFF flow control is monitored during transmission and reception. When this is
SET, transmission stops when XOFF character is received and again starts when XON character
is received. Also XOFF character is sent when reception queue becomes full and the XON
character is sent when the reception queue becomes empty.

Nulls Chars - At Start / At End :


Null characters to be transmitted at start and at end of the Program File are specified here. See
the Fig. At Start or At End. Enter numerical value. Normally, a value of 60 nulls at the start and
2 null characters at the end of the CNC Program is okay for the CNC.

EOB Chars :
EOB characters is a one line editable string. End Of Block Characters of CNC machine are to
specified here. Usually EOB is combination of Line Feed and Carriage return. For simplicity
Carriage Return is entered as * (star) and Line Feed is entered as ; (semi-colon) . User can have
combination of line feed & carriage return also. This should be done in accordance with CNC.

Special characters - At Start / At End :


Sometimes CNC Machines require Special characters to sent at the start and the end of the
Program. Now, since these characters are not present in the file, they are inserted during
transmission. These are one-line editable strings. When you click any of these options a separate
Dialog box appears, which allows entry of special characters by specifying their Ascii value / code
in decimal or in hexa-decimal, and then pressing Append button , so that these characters get
appended to the end of the existing strings. If these include, non-printable characters, we can use
the above explained procedure, otherwise we can directly edit the string.

Rx Filter:
Sometimes Programs transmitted from the CNC Machine contain unwanted characters. When we
receive the program onto the PC in Manual Receive (not in Binary Data Receive) or in DPC
Mode, these characters are required to be filtered. These characters should be specified in this
parameter. This is a one line editable string. The same dialog box as for the above parameter
comes. Here also we can specify the Ascii value / code and Append these characters in the Rx
Filter String.

Comment Characters - At Start / At End :


Comment characters at start and end are one line editable strings. Comment characters for CNC
machine are to be entered here.
Many CNC system accept & as comment character. In such a case specify & as Comment
character at start & EOB as Comment character at the end.

For Transmission Speed Control After Chars :


The program that is transmitted from the PC side is split into blocks and each block is transmitted
at one instance. This parameter specifies the Size of the Block in terms of no. of bytes / chars.
This value must be in the range >= 1 & < 700.

Delay in Msec :
After every bock is transmitted , some delay is required. Both the parameters Block Size and
Delay are used foe Speed Control during transmission. It is entered as numerical value in Miliseconds. So this much Mili-Seconds delay is added after transmitting each block of characters to
the CNC.

Sub-Block-Size (DC) :
This parameter is useful when DC Codes are enabled as Semi/Full. It specifies the block size
after which the DC Codes should be checked. This value cant be greater than the After Chars
(Block Size). It can be as low as 1, so that DC Codes are checked after transmitting each
character from the PC for this channel. However, lower value of this parameter decreases the
speed of transmission.

Help :
To get on-line help about any parameter, first click the parameter. Now click Help. A multi-line
read-only edit box with help information filled in it is displayed on the screen which can be clicked
on menu-bar or using search also.

Cancel :
To cancel the current changes made and to stay with previous settings, cancel button is clicked.

OK :
To save the current changes made in parameters and to come out of Advanced Parameter
Setting, OK button is clicked. Parent dialog box, Setting Parameters gets displayed on the
screen.

9.4 DRIP FEED SETTINGS :


WIN-COM software can transfer complete CNC Program at one go, but CNC Machine
cannot accept whole data at a time. So, we can Drip the Program to the CNC, in packets of
programmable size, at a speed at which the CNC Machine is comfortable to accept the Program
in its own memory.
Drip Feed is a mode by which CNC machine accepts program from the PC. If CNC
machine has some built-in memory, then PC can transfer a block of program to the memory of
CNC machine. When this block is executed by CNC machine then the next block is transferred.
So, in the CNC Machine, a reserved memory area is used, which is used as a cyclic memory.
The CNC machine accepts the program from the Com Port, puts into this memory area,
executes it. Whatever blocks of program are executed, this portion of memory is freed and can be
used for downloading further data from the Com Port. So, this buffer or memory is continuously
being filled by data from the Com-Port and freed by execution of the Program.
Some CNC machines have protocols for drip feed mode (e.g. FANUC has TAPE mode)
but few CNC machines do not have. Therefore DIGITECH has developed a special mode called
Semi Drip Feed mode. In this mode, we provide the CNC Operator with a switch on the CNC
side. If CNC machine is having some built-in memory, then operator has to keep the CNC in
Receive mode and now the Program is transmitted from the PC side. At first, the WIN-COM
Software sends the first packet to the CNC along with the Block End Lines as defined in the
parameters. When this block is executed by CNC machine then the operator deletes this block
from the memory, he presses the Semi-Drip Switch to call the next block from the PC. Now, the
PC sends the next block alongwith the Block Start and End Lines. Thus, the speed of Drip
Feeding is controlled by the CNC operator.
Before moving to explain the Parameter settings related to Drip Feed Mode, let us understand the
following
Full drip feed :
WIN-COM software can transfer whole the program code at a time but CNC machine
cannot accept all the data at a time. Drip feed is facility in which CNC machine accepts program

from the PC. See the Fig. If there is no sufficient memory in the CNC machine, PC must transfer
line by line program code to CNC machine for its execution. The line by line program feeding is
known as Full Drip Feed which done by this switch. It depends on whether the Machine
supports this mode or not.
Semi drip feed :
WIN-COM software can transfer whole the program code at a time
but CNC
machine cannot accept all the data at a time. Drip feed is a rate by which CNC machine accepts
program from the PC. If CNC machine has some built-in memory, then PC can transfer a block of
program to the memory of CNC machine . When this block is executed by CNC machine then the
next block is transferred. This block of program code has a start and end code which is set by
Drip feed setting.
Now coming to the Settings related to Drip Feed. When you click the button Drip Feed
Settings in the Main Parameters window, then WIN-COM asks the Password. There is a
password protection for these parameters or settings to restrict unauthorized modification. You
must enter correct password to open this menu. Refer appendix for default passwords (page 54).
After entering correct password, it shows a new Dialog Box titled Drip Feed Settings.
Now, we will study the various parameters related to Drip Feeding one by one as under -

Block size (in Chars):


This parameter defines the Size of the Dripped Packets in Semi-Drip Feed Mode. This size
depends upon the memory of the CNC machine. Refer your CNC machine manual for the
memory capacity.

Drip Feed Block Start / End Lines :


These are edit windows, where you can specify the Starting Blocks. You can define program start
lines and program end lines in this window. These codes are set according to the CNC machine
type.

First Lines + :
These specify that if a Program is requested from in-between, or Manually transmitted from a
particular Block / Line No., then how many lines from the start of the program are always
automatically added to the Program that is transmitted.

Drip Feed Settings for DPC Mode:


Lines / Block No :
This is a checkbox. It specifies whether the optional line after the Program Name Specifier in the
File Request Program denotes the Block No. / Line No. If the Line/Block No. is selected that is it
shows check or tick mark on the check box, then this optional line in the File request Program is
interpreted as Line No. and Program Requested from that line is sent with Drip Feed Prefix and
Suffix. If the Line/Block No. is unchecked then the optional line specified in the File Request
Program denotes the Block No.

Block Search Prefix:


If the Line/Block No. is unchecked then the optional line specified in the File Request Program
denotes the Block No. Now, the Block Search Prefix parameter becomes valid. Suppose the
block Nos. are N0100, N0111 so on, then we will have to set Block Search Prefix parameter as
N.

Power failure :
In drip feed mode, few lines of part program are sent to CNC. These are executed
directly. These are not stored. Therefore if power fails in drip feed mode, (While very large file is
being executed) it is difficult to keep record.
WIN-COM has a special feature to overcome this situation. If power fails in drip feed
mode then after power comes up user is requested to select Start button in Transmit mode of that
channel. WIN-COM will then ask whether you want to transmit the same file.
a) If yes is selected then it will show message as PROGRAM TERMINATED AT .....
Press a key to continue
This will give the program statement number or block number or line number at
which power failed.
Now software will ask to specify the block number. For safety, give the earlier
block number than showed by software. WIN-COM will search the specified block number in that
part program. The drip feed mode will then countinue. Before that,
WIN-COM may add lines at start which are specified in drip feed settings.
b) If NO is selected, WIN-COM will ask new program file to be transmitted.

9.5 Auto Sequencing :


This is an additional feature which is available in WIN-COM Software. Many times the
program required on the CNC is required to contain Block Nos. However, if the Part Program
does not contain Block Numbers, by using this feature, User can send Sequenced Part Programs
from the PC, in the DPC Mode. It is also used for Reply of the Directory Request Program in the
DPC Mode. For Details refer to Section 9.
The User must specify the Sequencing Parameters as to where to start the Sequencing from and
the Format of sequencing. The various parameters associated with it are described here under.

Staring From Line No. :


In a Part Program the first few lines which contain the Program No. and other information are not
Sequenced, so the User must specify as to from which Line No. the Block Sequencing starts.

Sequencing Format:
This parameter is used to specify the Format of Sequencing. For Example, please have a look at
different Sequencing Formats, as under:
For ex. Any line would be like: N0010 X1.2Y0.78Z1.1

Constant Prefix:
The constant prefixed characters in the block sequencing. In above example it is N.

Variant:
The Variant is the format of the first sequenced line excluding the constant prefix and constant
suffix. In above example it is 0010.

Constant Suffix:
The constant suffixed characters in the block sequencing. In above example it is (Space
character).

Step Increments in the Variant:


This refers to the incremental value to be added to the Variant for each consecutive block.
For example, the starting lines of a program are as under:
%
(DFS,P10004501)
N0010 (*MSG,SUB-PROGRAM NO.,P10004501)
N0020G91
Here, the Step Incremental value of the variant is 10.

Restart Sequencing After Variant Value:


This is the maximum variant value permissible for this Part Program. So suppose, the Step
Increment Value is 10 and Starting Variant Value is N0010. Now, suppose that only 4 digit
sequence Nos. are desired and the maximum permissible value of the variant is 9999.
So, we set the value of the parameter Restart Sequencing After Variant Value as 9990. Now,
while sequencing the lines, after the sequence no. N9990 is reached, the next line is sequenced
as N0010.

Sequencing to be Done On Blank Lines, Yes? :


This is a check box, which when selected specifies that the blank lines in the program will also be
sequenced. Sometimes, this is essential on the CNC Machine. If this is not desired, the
parameter should remain unchecked.

Enabled For Directory Request Reply:


This is useful in Directory Request in DPC Mode. So, the machines which do not accept
unsequenced programs, this should be enabled. The Sequencing Format is defined by the above
explained parameters.

Enabled For Part Program Transfer in DPC Mode & Manual Transmit:
If you want to perform Auto-Sequencing for Part Programs sent during DPC Mode and Manual
Transmit, then enable the check box adjacent to this parameter. If this is not desired, the
parameter should remain unchecked.

10.

DPC MODE

The term DPC is derived from its meaning. DPC means Direct Access to PC. In this
mode PC can be accessed by CNC operator using the CNC keyboard Itself. The PC is left
unmanned by putting the concerned Machines channel in the WIN-COM software in DPC mode.
If all the channels are kept in DPC Mode, then the WINCOM software will be working in the
background and the PC can be used for any other purpose. See the Figure.
The following operations are possible in this mode
1. Calling a part program from any of the three Directories (and their Sub-directories up to one
level) for the Channel of WIN-COM software in the PC to CNC by sending a File Request
Program.
2. Sending a part program from CNC to PC and getting it saved in the SHOP directory for that
channel and getting the Confirmation Reply of the same from the PC.
3. Getting the directory listing of programs stored in PC (in a CNC Program format) by sending
a Directory Request Program from the CNC to PC.

4. The two-way communication between the PC and CNC can be checked for reliability by
sending a Compare Request Program. Received Part Program can be compared with master
by re-sending the received program. In-turn, the CNC operator gets a message from PC
about the result of the File Compare. The WIN-COM checks the program character by
character & micron by micron.

1. Calling a part program from PC to CNC:


The Request Program for calling a File from PC is referred as File Request Program. An
example of File Request Program is as given below :
%1111 - Program No. 1111 reserved for File Request in DPC Mode
X1
- Specifies the Directory No., 1 / 2 / 3 ( for Master / Shop / CNC )
X1234 - Specifies the Program No / File Name
M30
The above program is meant to request a part program contained in the File 1234 from Master
directory of the concerned channel of the WIN-COM software.
%1111 is File Request Program identifier which is User-definable (Refer to Section 9.1.3)
X is Filename identifier which is again user definable.
The number 1 attached to the filename identifier X (referred to as Main Program Between in
Advanced Parameters under heading File request Parameters) represents MASTER directory
(also called as 1st directory). If it would have been X2 it would have meant as CNC directory and
X3 as SHOP directory.

File name Prefix and Suffix are attached to Program No. specified in the File Request to form the
Filename.
We can also differentiate between Main and Sub Programs by giving them different Suffix
rd
/ Prefix, and same is also taken into account in the File Request by modifying the 3 line of the
above Part Program to :
Z4521
This Program is meant to Request a Sub Part Program contained in the File 4521 from Master
directory. No need to say, that the Filename will depend on the Sub Program Filename Prefix /
Suffix as specified in the Directory Settings of this channel.
Here the Parameter Z refers to the Sub Program Between in Advanced Parameters under
heading File request Parameters.
If the Requested File is found in specified directory, It is transmitted to CNC after time delay as
specified by the DPC delay settings for this channel (Refer 9.1.6). If file does not exists
Not found Message is sent back as Reply to the CNC in Message Program format (ref 9.1.15)
after DPC delay.
The CNC operator is requested to delete the previously received Message Program from CNC
Memory because if the program remains in CNC then it wont be possible to receive next
Message program.
Please note that in order to access any Directory of the Channel the Access to that Channel has
to be Enabled or Granted. Also read the details of the Directory settings to study how it works.
The User can also call a Program from any Sub-Directory (up to one level) inside any of
the three directories defined / configured for the Channel in the Directory Settings. The File
Request Program for it will be as under. Please note only one line gets added after the Filename,
in order to specify the Sub-Directory name.
%1111
X1
- Specifies the Directory No., 1 / 2 / 3 ( for Master / Shop / CNC )
X1234
Z2MM - Specifies the Sub-Directory Name within the Directory No. as specified in the
nd
M30
2 line
The above program is meant to request a part program contained in the File 1234 from SubDirectory 2MM within Master directory of this channel.
Here the Parameter Z refers to the Sub Program Between in Advanced Parameters under
heading File request Parameters and so is User-settable.
Please note that for this the Radio button under File Request optional Line For Setting in
Advanced Parameter Setting has to be set to Sub-Directory.
The User can also request a Part Program from a particular Line or Block No. in DPC
Mode and can also specify the Starting Block LINES that are to be prefixed to the Part Program
for CNC Machine initialization to a particular X-Y-Z Co-ordinates. The File Request Program for
it will be as under. Please note only one line gets added after the Filename, in order to specify the
Requested Line / Block No from which the program is to be sent by the WIN-COM software. Here
the Parameter Z refers to the Sub Program Between in Advanced Parameters under heading
File request Parameters and so is User-settable.
%1111
X1
X1234
Z254
- Specifies the Block No. / Line No.
X10.5Y7.0Z6.0 - Specifies the Initial X-Y-Z Co-ordinates to move to from the Home
M30
Position.
Please note that for this the Radio button under File Request optional Line For Setting in
Advanced Parameter Setting has to be set to Block Specifier.

Also note that whether this No. 254 specified as Z254 in the Request Program should be treated
as Block No. or Line No. is decided in the Drip Feed Parameter Settings DPC (Lines/Block No
Check Box and Block Search Prefix). If the Line/Block No. is selected that is it shows check or
tick mark on the check box, then this line is taken as Line No. and Program Requested from that
line is sent with Drip Feed Prefix and Suffix. If the Line/Block No. is unchecked then this line is
used as Block No. specifier and then the Block Search Prefix parameter becomes valid. Suppose
the block Nos. are N0100, N0111 so on, then we will have to set Block Search Prefix parameter
as N.
All the lines after this and before the End String are prefixed in the Part Program sent by the
WIN-COM software.

2. Saving a part program from CNC to PC:


When PC receives a Part Program in DPC mode, it checks whether it is one of the
standard Pre-reserved Programs for File Request Program or Directory Request Program or
Compare Request Program. If it is none of these, then this Program is saved in a File of the
nd
SHOP (or also called as the 2 Directory) for this channel of the WIN-COM software in the PC.
The Program Number is extracted from Received Part Program s according to the Parameters
set under Controller Parameters in Advanced Parameter Settings, which are Main / Sub Program
No. Identifier and Main / Sub Program End String (Refer Section 9.3.3). Now, a Filename is
created attaching Main / Sub Program Prefix and Suffix to the extracted Program No depending
on whether this is a Main / Sub Program File (Refer 9.2). The File is stored in the Shop directory.
If a File with this name already exists, it is saved with extension .BK1 (If file with .BK1 extension
also exists, it is saved with extension .BK2). If program number is not found, file is saved as
NONAME file in the Shop Directory. Proper Reply Message Program is transmitted to CNC after
a time delay set in DPC Delay settings. Thus backup up to 2 levels is maintained.

3. Getting the directory listing of programs stored in PC:


The User can get the Listing of the three Directories (or of Sub-Directory within any of
these Directories up to one level) for the channel of the WIN-COM software. The Request
Program for calling a Directory Listing from PC is referred as Directory Request Program. An
example of Directory Request Program is given below
%2222 - Program No. 2222 reserved for Directory Request in DPC Mode
X1
- Specifies the Directory No., 1 / 2 / 3 ( for Master / Shop / CNC ) whose listing is
M30
sought. Here directory of MASTER is asked.
The above program is meant to Request the directory listing of Master Directory.
%2222 is Directory Request Program identifier which is user definable (Refer 9.1.4.)
X is Filename identifier which is again User definable.
The number 1 attached to the filename identifier X (referred to as Main Program Between in
Advanced Parameters under heading File request Parameters) represents MASTER directory
(also called as 1st directory). If it would have been X2 it would have meant as CNC directory and
X3 as SHOP directory.
If the Directory Number is not one out of either 1, 2 or 3, a Message Program is transmitted to
CNC which says Directory Request illegal.
When Directory Request Program is received by PC, a directory listing in the form of Directory
Program Format (Refer 9.1.14.Directory Format). The Directory Reply is in the following form:
%99
( 0392
909
)
( 2MM
S-D
)
( 0393.BK1
428
)

( 0393.BK2
M30

425

The Sub-Directories are marked as S-D. The Name / Size / Date of the Files are mentioned in
the Reply as configured in the Directory Program Format. .

The Listing of the Sub-Directory within any of these Directories up to one level) for the
channel of the WIN-COM software can also be called into the CNC machine by making slight
change in the Directory Request Program as under. Please note that only one line is added
specifying the name of the Sub-Directory within the Directory No. 1 / 2 / 3.
The Request Program for calling a Listing of the Sub-Directory is as under%2222
X1
- Specifies the Directory No., 1 / 2 / 3 ( for Master / Shop / CNC )
Z2MM - Specifies the Sub-Directory Name within the Directory No. as specified in the
nd
M30
2 line
The above program is meant to request the Directory Listing from Sub-Directory 2MM within
Master directory of this channel.
Here the Parameter Z refers to the Sub Program between in Advanced Parameters under
heading File request Parameters and so is User-settable.

4. Comparing received program with program sent by PC:


The Request Program for comparing the part program received from PC with the one
sent by PC is referred as Compare Request Program. An example of Compare Request
program is given below:
%3333 - Program No. 3333 reserved for Compare File Request in DPC Mode
X1
- Specifies the Directory No., 1 / 2 / 3 ( for Master / Shop / CNC )
X1234 - Specifies the Program No / File Name
M30

The first part of Compare Request Program is same as File Request Program
processing. Once a File Requested is found, it is transmitted to the CNC. Now, PC remains in
the Receive mode. CNC Operator has to send the Received file back to PC. One the PC receives
this file from the CNC side, it compares both (just received and previously send) Files ignoring
comments and sends back a Message Program (which says either Files Matching or Files do
not Match) to CNC after a time delay set in the DPC Delay Settings for that channel .
This feature is a unique feature of DIGITECH. It has proved to be very useful on Shop Floor. It is
a Fail-Safe way of proceeding for machining. The only limitation is, this can not be used for Full
Drip Feed mode of WIN-COM because in full drip feed, the received program is directly executed
by CNC.

11. IDT Mode :


IDT means Infinite Data Transfer to the Fagor CNC. This is a special mode specifically
designed to exploit the Real DNC Capabilities supported by Fagor make CNC Controllers
8010/8020/8025/8030 .
DNC enables the execution of a program to be carried out (even) while the program is still ariving
via RS 232 port. In this way we can perform direct execution of the programs of indefinite length
from the PC. A typical application would be in programs generated by CAD-CAM which can
exceed the memory capacity of the CNC by several times.

Settings on the FAGOR Controller:


DNC has to be first activated ,either by changing the corresponding parameter or in Operating
mode 7 by pressing key 6 to turn the DNC On/Off selection to the ON position.
Mode of Operation :
1. There must be 8K in the CNC memory free of programs (intended for the buffer of the infinite
program) .
2. On moving to a different mode, except Automatic, Single block, Dry run, the Execution of the
Infinite Program will be aborted.
3. Unless the jumps are used, the correct order of the block numbers is not tested. This enables
to start again with N0 if N99999 has been reached.

Programming of an INFINITE Program :


Restrictions:
1. The Infinite program uses 8K characters of internal buffer. As blocks continue to arrive, if the
buffer becomes full , the oldest of the executed blocks are eliminated to make way for the
new ones; for this reason, the success of the jumps G25,G26,G27,G28,G29 cannot be
assured.
2. No standard or parametric subroutines G22,G23,G24 can be defined within the Infinite
program.

Possible Errors:
1.
2.
3.
4.
5.
6.

The program is in memory.


99999 program number is not valid.
Machine machining.
M30 or M2 before the last block.
Program does not starts with %<Program no>
Program number must be of 5 and only 5 digits.

Parameter Settings in WIN-COM related to Fagor IDT Mode :


1. The Semi Drip and Full Drip Feed mode settings must be made OFF .
2. Baud Rate Setting : Fagor Controller supports maximum Baud Rate of 9600. So select 9600
or lesser the same as selected on the controller.
3. Machine Program Mode must be Ascii.

Under Advanced Parameter Settings:


4. Hardware Handshake must be made OFF
5. End Of Block (EOB) Character must be ; Line Feed only .
6. For Speed Control : Delay in MSec = 1 and After Char(s) = 700
The user may change the delay time accordingly.
Note : All the remaining settings are set as usual.

Procedure to use the Fagor IDT Mode:


1.
2.
3.
4.
5.
6.

Make the Parameter Settings as specified for the Fagor IDT Mode.
Select the DNC from the main menu of the WIN-COM.
Select IDT mode to the channel number configured for the Fagor IDT Mode.
Now select the Program to be transmitted in IDT mode.
Click once on the Start button to start the Transmission. Now it will turn to Stop.
To End after the complete program is transmitted/executed or to Terminate the program in
between press the Stop button.

Note: Fagor IDT Mode is not a standard feature of WIN-COM Software and is available on
Request. Please contact Digitech Engineers for further details in this regards.

12. COMPARE FILES


To compare any two part programs select COMPARE from main menu by left-clicking at
COMPARE option or by pressing Alt and C.A file selection box appears with MASTER directory
files are shown for the current channel machine, by default. After selecting first file, another file
selection box appears with SHOP directory. files are show for that channel machine by default.
After selecting the second file it will ask whether to create MISMATCH file or not. If answer is
YES then it will ask the file name in which mismatches between the two part programs has to be
stored for the future use(to have hardcopy of the mismatches). See the Fig.
Now three windows are opened for FILE1, FILE2, MISMATCHES & three submenus are
there
Showmismatch,
Edit
CloseAll.
Now comparison will start. FILE1 & FILE2 windows will show there program lines (blocks)
as they are compared.If any mismatch found between the lines, those two lines are displayed in
MISMATCH window. At this stage it will ask whether user want to skip a line from any of the files
(1 or 2 or none).Because it may possible that there is one extra line in one of the files & rest of
the file is same as another file. Therefore if that line is not skipped from the file,no. of mismatches
will go on increasing even if files are matching with each other. At the end of comparison End of
comparisonmessage will be displayed. If the there are no mismatches the No Mismatches
Found will be prompted. Now user can use the submenus as show below.
ShowMismatch
This will display the approximate location of the mismatch (in MISMATCH
window) in the two windows of two files. First click on the particular mismatch line in MISMATCH
window & then on submenu Show Mismatch.
Edit
This will open a editor.So user can open a part program & make corrections in
that & can take direct print out. Here edition of more than one program at a time is also possible.
CloseAll
This will close all the three windows & come out of the compare menu & main
menu will be displayed. It will not close the editor if opened, so that user can work on correction of
part programs, by putting DPC mode in background. User has to close the editor separately.

12.

File Management
To view the contents of a file, to edit a file or to modify a file this menu is
used. See the Fig. on left side
File Management | Disk Manager :
Disk manager is used to browse directory contents. User can delete a
file, rename a file, copy a file from one location to another or search for a
particular file.
File Management | Disk Manager | Launch Explorer :
A password window is activated. After entering the correct password an explorer
is loaded onto screen. If WIN - COM is running under WINDIWS 3.X, nothing
will happen by clicking this menu.
User has to load File Manager.
There is a password protection for these parameters or settings to
restrict unauthorized modification. User must enter correct password to open this
menu. Refer appendix for default passwords (page 53)
File Management | Disk Manager | Launch File Manager :
After entering the correct password file manager is loaded by
clicking
this option. User can load file manager under WINDOWS
3.X as well as
under WINDOWS 95.
File Management | Edit :
When user clicks this option, the password dialog box is opened.
After entering correct password, an editor is opened which was
mentioned while installing WIN-COM software .The editor provided for you like
NOTEPAD/ WORD/ MSOFFICEetc.
User can create edit, modify the files.
There is a password protection for these parameters or settings to
restrict unauthorized modification. You must enter correct password to open this
menu. Refer appendix for default passwords (page 53)

13.

Options
This menu allow user to enable or disable password.
User can change the Editor from this. See the Fig.
Options | Ask Starting Password :
By default there is no starting password. While running WINCOM user has to enter correct password through computer keyboard. Now,
imagine that there is a power-failure at second or third shift, when the computer
operator may not be available. After power resumes one must go to PC to enter
the starting password.
To avoid this, disable this setting. Save the changes by choosing
options save item. Now when computer restarts, then WIN-COM gets loaded
automatically. The DPC Mode is activated automatically.
NOTE :
To start WIN-COM automatically when computer is turned ON,
there must be an entry of WIN-COM with correct path in the START UP group
file. Active DPC mode must be enabled. (Options | Start with DPC)
Options | Start with DPC :
If this option is clicked i.e. enabled , WIN-COM will start in Active
DPC mode directly instead of the normal main menu screen.
Normally i.e. by default, this option is enabled.
NOTE :
If Ask starting password setting is disabled , this setting must be
disabled to start the software successfully after booting without computer
operator. User can change the editor which can be used for editing, modifying or
creating a new program.
After clicking this item, there will be a dialog box showing
current drive, current directory and all the files in that particular directory. Select
new editor and click OK. If use presses CANCEL button, there will be no
change in old editor.
The default editor is Notepad .

14.

VIEW TRANS
WIN-COM is a memory resident software in unmanned PC. CNC
operator is allowed to interact with hard disk of PC. The management may need
the information of utilization of system.
Each data transaction (file received from PC or file transmitted from PC)
is recorded. This record is along with file name, path, machine name, date. The
view transaction allows to the DNC Transaction with all details. To see the DNC
transaction report (machine wise), click at VIEWTRANS option or by press Alt
and V. A machine selection box appears. Then by selecting the machine name
for which user wants the report, transaction details are shown on the screen.
Edit
This will open the current transaction file, so that one can add some
data if required & can take direct print out.
Close
Closes the menu & will display the main menu. Again editor has to be
closed separately if opened.

15 . How to reconfigure WIN-COM


If you want to switch-over from one configuration (of I-MUX, COM, DIGIDIALER) to other, you have to reconfigure your software.
NOTE : For I-MUX and DIGI-DIALER configuration, you have to
connect
the appropriate hardware. i.e. a special card of I-MUX or separate DIGI-DIALER unit.

To reconfigure, user has to un-install the WIN-COM software and reload it again.
The reconfiguring process is as underUN-INSTALL current WIN-COM.
RELOAD WIN-COM.
The procedure for un-installing WIN-COM under WINDOWS 3.X and WINDOWS
95 / NT is somewhat different.
Un-install under WINDOWS 3.X
1.
To un-install WIN-COM ..
2.
Exit WINDOWS and return to DOS prompt.
3.
Choose WDNC directory. This will be a root directory by default. If you
have changed the path while installation then path will change accordingly. Delete all the
contents in this WDNC directory.
4.
Remove WDNC directory.
To re-install WIN-COM
Refer the Installing WIN-COM on page 10.

Un-install under WINDOWS 95 / NT


1.
2.
3.
4.
5.
6.

To un-install WIN-COM ..
Press Start from WINDOWS menu bar .
Select Settings from popped up menu.
Select Control Panel from popped menu.
Select Add / Remove programs from the opened WINDOW.
There will be a list of installed items. Select WINCOM from this list.
Click Add / Remove button.
WINDOWS will automatically remove the software.
To re-install WIN-COM
Refer the Installing WIN-COM on page 10.

MACHINE: FANUC OT/OM


1. Select the MDI (Manual Data Input) mode by putting the rotary mode switch
button towards MDI Using above procedure set 552 = 10 & 553 = 10 for
4800 baud rate
2. After setting the parameters press PARAM button to display setting2 in
parameter
3. Press 0 INPUT
4. Press RESET button to release alarm condition If alarm no.000 occurred,
turn off the power supply & then turn it ON, otherwise the alarm is not
released
5. Select EDIT mode, depress function button PRGRM
6. To read from I/O
a. Set WIN-COM (I/O) in transmit mode & transmit the data from PC
7. To punch (transmit) the data to I/O (i.e. to PC)
a. Set WIN-COM in receive mode
b. Press O FILE NO. PUNCH In some machines there is START key
instead of PUNCH
c. The controller will get RESETED after transferring the data WIN-COM
will store the recieved file.
NOTE : Use cable with handshake signals

10.

Depress PARAM button to display parameters


11.

a. Press page up > or page down < key to display a desired parameter

page
b. Using up, down cursor keys move the cursor to the required
parameter no.
OR
12.
Press Q/P then REQUIRED PARAMETER NO. & INPUT key Then
cursor goes directly to the specified parameter no.
e.g. if you want parameter no. 552 then press following keys in sequence
Q/P 5 5 2 INPUT
then cursor will move to parameter no.552
13.

Enter the parameter value by data input keys then press INPUT
e.g. To set 552=10, after 5th step
press 1 0 INPUT
This will input the parameter value & display the same

MACHINE : FANUC 10 / 11 / 12
1.
2.
3.
4.

Select MDI mode (same as in FANUC OT / OM)


8000 the parameter will be displayed.
Press 1 INPUT
i.e.8000=1
Using up ,down page keys & up ,down cursor keys move the cursor to the req.
parameter no.
5. Set the parameters as follows
para. no.
5112=10
5122=10
5011=1
Also
0000= * * * EIA NCR ISP CIV TVC
Where, TVC = TV check 1=performed,0=not performed
CIV
=
counting of characters for TV check during
control out 0=performed,1=not
ISP
=
ISO code parity 0=with,1=without
NCR =
in ISO code EOB as 0=LFCR,1=LF
EIA
=
code 0 = ISO,1=EIA stop bits=2, DVC TYPE=6

6.

e.g. To set parameter no.5112, move the cursor to 5112


Press
1
0
INPUT
7.
After setting all req. parameters, again make 8000=0
8.
Other input & output operations are similar to the previous section
9.
On PC, parameter setting should be as under - 4800 baud rate, ISO code, No
handshake, FANUC series

MODEL : SIEMENS 3T / 3M / 3G / 3100


MACHINE : SINUMERIK 810 / 3T / 3M / 2100
MACHINE : HINUMERIK 810 / 3T / 3100
OR 840/2000/2100
NOTE :
THE FOLLOWING PROCEDURE IS SAME FOR BOTH THE
MACHINES
1.
2.
3.

4.
5.
6.
7.
8.

9.

Put the parameter switch which is on the PCB NO.03840 (connector no.
X843 is RS232interface connector) in upward position.
Also keep edit lock switch which is on M/C control panel in OFF position
Alarm message appears on the screen.
Keep mode selector switch in MDI mode
MDI SE TE will be displayed on the screen
MDI SE TE= manual data input setting data, testing data
Use up, dn cursor keys. Also use up ,dn. page keys
Move the cursor to req. parameter no. & set it as follows
Press S PARAMETER VALUE
(input key)
After setting all the req. parameters put the parameter switch in downward
position
Press ( reset ) key to reset alarm
To receive data from I / O
a. Keep mode selector switch in this position so that display shows
DATA INPUT MODE
b. Press (start) key
c. Now transmit the data from I / O
d. Display shows CONTROL IN ACTION
To transmit data to I / O
a. Keep mode selector switch in this position so that display shows
DATA OUTPUT MODE
MAIN PROGRAM ?
{ NOTE: BOTH THE MACHINES CAN TRANSMIT :
MAIN PROGRAM %
SUBPROGRAM L
R PARAMETERS RP
MACHINE DATA TE

b.

c.

d.

SO ANSWER YES OR NO BY USING Y N KEYS


FOR THE QUESTIONS ASKED BY CNC }
If main program is to transmit, then press Y
Display shows
END :.....
Press % PROGRAM NO.
(input)
Display shows BEGIN:%PROGRAM NO.
END :.....
Press N
Display shows
BEGIN :
%PROGRAM NO.
END
:
%PROGRAM NO.
Press (start) key
Display shows
CONTROL IN ACTION

PARAMETERS FOR SINUMERIC / HINUMERIC


411 = 11000110
412 = 11000110
Last 3 digits of 411,412 are assigned for baud rate.
Baud rate
000
............ 110
001
............ 150
010
............ 300
011
............ 600
100
............ 1200
101
............ 2400
110
............ 4800
111
............ 9600
416
025
bit5
bit2
425
bit4

=
=
=
=
=
=
=
=
=
=

bit0 = 1 i.e. RS232 is present


bit3 = Not set i.e. start of program with %
set i.e. start of prog. with LF
set i.e. output is EIA code
not set i.e. o/p is ISO code
Not set i.e. No block parity check
Set i.e. block parity check
bit3 = 1 i.e. prog. o/p without trailer
0 i.e. prog. o/p with trailer
1 i.e. 9 data bits

=
0 i.e. 8 data bits (7 data and 1 parity)
=
1 i.e. even parity and 9 data bits
=
0 i.e. odd parity and 9 data bits
Prog. start = %
Prog. no. identifier = % or L
File name identifier = X
Prog. end = M30 or M17 or M99
bit5

PARAMETERS FOR HINUMERIC


5010
5011
5012
5013

=
=
=
=

5014
5015
5016
D1

=
=
=

D2
D3
D4
D5
D6

device coding I/P (must be 0) = 00000000


11010111
9600 baud rate
device coding o/p (must be 0) = 00000000
11010111
Even parity two stop bits
XON char. (DC1)
XOFF char.(DC3)
D0 = 0
=
0 1e. with leader and trailer
=
1 i.e. without leader and trailer
=
0 i.e. DSR (pin 6 ignored) inactive
=
1 i.e. DSR active
=
1 ( 1=stop reading at the end of TX char
=
0 stop reading at M02,M30 )
=
0 ( 0=ISO code,1=EIA code )
=
0 ( 0=LF CR ,1=CR LF )
=
0 ( 0=start reading with %
1=start reading with LF )

D7

5026
5027
5028

=
=
=

0 ( 0=start of output after request via Xon


1=start of output without request )
Set D1,D2 as per the requirement

0
0
Defines EOB char in ISO/EIA =03H

NOTE :
1.
Always reset the system/make it OFF to save the parameters
2.
To transmit all programs at a time, enter the start program no. at BEGIN
and end program no. at END While receiving program in CNC , display
shows the program no. which is being inputted & also the decrease in
memory size Transmission from HHT to CNC must occur within 24
seconds, otherwise CNC will give Time Monitoring Alarm as RS-232
INTERFACE alarm.
(Para SW on PCB upward TE,SE mode) 4800,ISO
411 = 1100-0110
412 = 1100-0110

MACHINE: MAHO WITH PHILIPS CONTROLLER 432


1.

2.
3.

4.

5.
6.

7.

8.

9.
10.

There are three switches in the electrical cabinet of the of the machine.
To set the parameters keep the middle switch to right side as follows left
right middle switch
2.
Press N C
Parameters to set :
771 = 1( 1=RTS CTS HANDSHAKE ACTIVE;
0
=
RTS CTS HANDSHAKE INACTIVE;
3
=
Xon,Xoff USED; 2=Xon,Xoff NOT USED )
776
=
BAUD RATE FOR READ OUT ( 110 TO 4800 )
777
=
BAUD RATE FOR READ IN
e.g. To change parameter no.776
a. Move the cursor to 776 using cursor movement keys b. Press C
REQD.BAUD RATE (enter)
So set the parameters as per the requirement & keep the above middle
switch to original position
Parameter setting on HHT side
a.
Machine :810 sinumeric
b.
Baud rate & handshake as setted in the machine
c.
Code ISO
To receive ( read in ) all programs from I/O
a. Use up, dn. cursor keys, move cursor to ALL MEMORY
b.
Press DATA IN/OUT key
c.
Press F1 i.e. input
d.
Press F5 i.e. return
To read in one program
a.
Press N & input program number to be read in
(Repeat 7.b.,7.c.,7.d.)
While reading data display will change to
ISO IN BLOCK NO.
To read out (transmit) all programs to I/O Same as in read in all
programs, except press F2 instead of F1
To read out one program
a. Use up, dn. cursor keys, move cursor to the program no.
N. which is to be read out & press enter
OR
a. Press N PROGRAM NO. enter
b. Press DATA IN/OUT
c.
Press F2 i.e. read out
d.
Press F5
NOTE :
1.
MAHO requires 40 blank characters at the end of program
2.
Program start with %, end with M30
3.
Use cable 1 with handshake

MACHINE : ALLEN BRADELY 8600


(FOR LMW CNC)
1. There are two memories namely
MP0 = SYSTEM MEMORY
MP2 = GENERAL MEMORY
In system memory all machine data is stored
In general memory all part programs are stored
2. Select MDI mode by typing following
DIS,FCRSYS/MP0 & press (send key)
i.e. MDI position which displays machine parameters
3. Press ( page key ) twice to go to RECORD 2

And check the following


XAPUNC,09,1,5 = 5 = 4800 BAUD RATE
4 = 2400
3 = 1200
XAREAD,09,1,5
( XAT485,07,1,5 FOR LMW DNC )
NOTE :
XAPUNC means parameters while transmitting data
XAREAD means parameters while reading data
4. If above parameters are not present then input them from the keyboard
5. To change the parameter, move the cursor to the req. parameter. Use the
following keys as per the requirement
ARROW KEYS

6.

LEFT
DOWN
DELETE

RIGHT
UP
RPL REPLACE

7. Change the parameter using replace key


8. Keep MEMORY LOCK key in ON position
9. After changing the parameters switch OFF CNC to store the parameters &
again ON
10. Press PO to establish EDIT mode
OR
11. Type EDI, FCRSYS/MP0 & press ( send key ) JOB displays on top of the
screen which indicates EDIT mode
12. To receive from I/O (Syntax for serial tape reader) Give following command
from keyboard COP,/PR,PROG.NAME & press (send key) With this
command the data received in CNC will be stored under the name
PROG.NAME given
13. To transmit to I/O (Syntax for serial punch) Give following command from
keyboard For ISO code COP,PROG3, ISO/PP & press (send key) After
thiscommand PROG3 will be transmitted in ISO code For ASCII code
COP,PROG4,EIA/PP & press (send key) After this command PROG4 will be
transmitted in ASCII code
14. PC side parameter setting MACHINE : IBM PC CODE : ISO WITH
HANDSHAKE (SUPPORTS DC CODES) BAUD RATE AS IN THE
MACHINE
NOTES :
1. COP = copy program from memory to peripheral or from peripheral to
memory or memory to memory
2. PP = Tape punch
PR = punch tape reader
OTHER COMMANDS :
1. To display a file DIS,FILE NAME
2. To delete file DEL,FILE NAME
3. To rename file REN,FILE NAME1, FILE NAME2
4. Program start character %
5. Comment character ;
6. Cable connections

I/O SIDE
AB SIDE ( 25 PIN )
1 1
2 2
3 3
5 7
7 4,20
8 5
6,8
PIN NO.
23 + 24 V
22 + 12 V
21 - 12 V
1 SHIELD
7 GND

17. SOLUTIONS TO COMMON PROBLEMS


1.

2.
3.

4.

5.

6.

7.

When connection of PC - CNC is proper and still data is neither


transmitted nor received between two Check parameter setting - Baud Rate of both machines must match
Code type on PC should be set as that on CNC.
In DPC mode, after sending program to PC, CNC receives nothing Check Message Format.
While setting parameters, when OK is clicked, messagebox saying
Numeric value expected is displayed - Certain parameters e.g. DPC
Delay, NULLS at Start and End have to be necessarily numeric. If by
mistake alphanumeric value is set, above message comes. Value should
be changed to proper numeric value and OK should be click
While setting Directory Format or Message Format, when OK is clicked,
message box saying Error in Message/Directory Format is displayed Comment characters set in 9.3 .14 and those given in format do not
match or X/Y/Z is not given in format. To cross-check Comment
characters, click Cancel, go to Advance Parameters to check Comment
characters and re- enter in Directory or Message format.
When WIN-COM is just started, a message Required Directory not
present gets displayed and WIN-COM gets terminated -JUNK directory
is not present under the directory where WIN-COM is loaded. Create
JUNK directory and retry.
If WIN-COM is for DIGI-Dialers, if message Network Error! Link not ok !
is displayed then see whether the RS485 line driver is connected to the
specified port or not. If it is connected then it may not be switched on
Else see the connections.
SIM not found - If hardware lock is not properly connected, then this
message appears on the screen.Check the printer port of PC.

18. APPENDIX
A.

Default PASSWORDS used in WIN-COM are


Starting WIN-COM

- - - - - - - - - - - - - - - - - - - - - - - 533466

Set Parameters (MAIN) - - - - - - - - - - - - - - - - - - - - - - - DIGITECH


Set Parameters (SUBPARAMETERS) - - - - - - - - - - - NCTECH

B.

File management

- - - - - - - - - - - - - - - - - - - - - - - PUNE-30

Master password

- - - - - - - - - - - - - - - - - - - - - - - 0212533466

Changing passwords
In WIN-COM there are five different types of passwords as above. User
can change the passwords only if he knows the master password.
To change any of the password .
1.
Run the main menu . i.e. if software is in Active DPC mode, inactivate it.
2.
Press Alt key.
3.
Press s key i.e. select parameter settings mode.
4.
There will be a dialog box for entering password. Enter master password
here.
5.
There will be a dialog box which will show all the current passwords
except master password. Now user can change the passwords. User can
change the master password also.
6.
Press OK to save the changed passwords.

NOTES :
a.
To change any password user must know master password. If user forget the
master password, it cant be recovered again by software. In such cases please
contact DIGITECH Pune only by fax or phone.
b.
If user presses cancel , there will be no change in the passwords i.e. modified
passwords will not be saved.
C.
1
2
3
4
5
6
7
8
9
10
11

The floppy contain following files


.
inst32i.ex_
.
isdel.exe
.
setup.1
.
setup.dll
.
setup.lib
.
disk1.id
.
setup.exe
.
setup.ini
.
setup.ins
.
setup.iss
.
setup.pkg

An Appeal
Thanks for using WIN-COM.
If you are satisfied with the package,would you tell
your opinion to others ?
If you are not, would you tell us immediately ?
- DIGITECH ENGINEERS
2121 - 2, Bakul, Vijayanagar colony,
Sadashiv Peth, Pune - 411 030.
Telefax : (0212) 537720, 533466

index
1. 3333 ....................................... .................... ....................
1st Directory
.......................... .................... ....................
2nd Directory ....................... .................... ....................
3rd Directory .......................... .................... ....................
1.9999 ....................................... .................... ....................
01111 ........................................ .................... ....................
Advance settings
Automatic backup
Automatic search
Block size
Baud rate

33
22
22
22
19, 20
23

.................. .................... .................... 21,24


................. .................... .................... 5
................... .................... .................... 24

............................... .................... .................... 27


................................ .................... .................... 18

CNC directory access ........... .................... ....................


23
Code ........................................ .................... ....................
18
Comparing the recieved program
.............. .................... 32
Controller names
................... .................... .................... 15
Comment characters at .......... .................... ....................
27
Compare request program
..... .................... .................... 17, 33
Compare File .......................... .................... ....................
19,32,33
COM ......................................... .................... ....................
9
Control program
.................... .................... .................... 4
DC4
........................................... .................... .................... 27
DC codes
................................ .................... .................... 25
Deley after block
.................... .................... ....................
Digi Dialer
.............................. .................... .................... 9,37
Directory access protection
... .................... .................... 3
Directory program format
..... .................... .................... 19
Directory request program
... .................... .................... 17
Directory setting
................... .................... .................... 21
Disk manager ........................ .................... ....................
36
Drip feed settings
.................. .................... .................... 28
DPC delay
................................ .................... .................... 17,18

27

DPC Mode

............................... .................... .................... 3,30

Edit
............................................ .................... .................... 38
EOB character ......................... .................... ....................
26
Executive data ........................ .................... ....................
12,13
File management
................... .................... ....................
Filename filter ......................... .................... ....................
File request program
............... .................... ....................
Full drip feed ........................... .................... ....................

34
26
16
28

Hardware handshake .............. .................... ....................


Hardware lock number ............. .................... ....................
Hardware requirement ........... .................... ....................
How to reconfigure WIN-COM .................... ....................
Help
.......................................... .................... ....................

25
10
6
37
28

I-MUX .............. .................... .................... ....................


Installing WIN-COM for windows 3.X
.......... ....................
Installing WIN-COM for windows 95
........... ....................
Interactive messages ............. .................... ....................

5,7,9
7,9
8
4

LAN Card

.................................. .................... ....................

Machine name ........................ .................... ....................


Main between ......................... .................... ....................
Main program filename .......... .................... ....................
Master directory access ..... .................... .................... 23
MASTER directory
.................. .................... ....................
Message format ...................... .................... ....................
Message number (error codes) ................... ....................

15
26
23

Nulls

26

.......................................... .................... ....................

Options .................................... .................... ....................


Options | Ask starting password ............... .................... 35
Options | Change editor ........ .................... ....................

17
20
21

35
35

Options | Start with DPC

...... .................... .................... 35

Parameter setting
................... .................... .................... 3
Password
................................. .................... .................... 4,53
Port type
.................................. .................... ....................
Power failure ............................ .................... ....................
29
Program end string
................ .................... .................... 25
Program number identifier
.... .................... .................... 25
Program start character ........ .................... ....................
25
Program varification
............... .................... ....................
5

19

Receive | Executive data


...... .................... .................... 13
Receive | Extract
.................... .................... .................... 14
Receive | Programs
............... .................... ....................
13
Semi drip frid .......................... .................... ....................
Set parameters ......................... .................... ....................
Shop directory access ......... .................... ....................
Show mismatch ....................... .................... ....................
Simultaneous communication .................... ....................
Software requirements .......... .................... ....................
Special characters at ............ .................... ....................
Sub between ........................... .................... ....................
Sub program end string ....... .................... .................... 25
Starting pass word
................ .................... ....................

28,29
15
23
33
5
6
27
27
37

Transmit
................................... .................... ....................
Transmit | Executive data
..... .................... .................... 12
Transmit | Part program ........ .................... ....................
12

Uninstall

.................................. .................... ....................

37,38

View trans

............................... .................... .................... 38

X ON / X Off

.......................... .................... ....................

WDNC ..................................... .................... ....................

26,46
37

Parameter settings for FANUC OT/OM,3T/M,6T/6M,10,11,12,13,15


Advanced parameter settings
SUbPg End Strg
:
EOB Chars
:

M99

Directory program format


%
0999
(NAME SIZE)
M30
Message program format
%
0999
( )
M30
Drip feed settings : If CNC Machine memory is 64kbytes then Block size (char) 60000
NOTE : Usaully keep block size 4 kbytes less than total machine memory.
Drip feed block start lines : %
01234
G00 S1000 F1000
Drip feed block end lines : M30

Parameter settings for standard Siemens Controller


Advanced parameter settings
SUbPg End Strg
:
M17
Prog End Strg :
M30 | M02
Prog no. identifier
:
%MPF
Sub Prog no. identifier : %SPF
EOB Chars
:
;**
Directory program format
% MPF 9999
(NAME SIZE)
M30
Message program format
% MPF 9999
( )
M30
Drip feed settings : If CNC Machine memory is 64kbytes then Block size (char) 60000
NOTE : Usaully keep block size 4 kbytes less than total machine memory.
Drip feed block start lines : % 1234
G00 S1000 F1000
Drip feed block end lines : M30

Transmit
2
3
4
5
6
7
8
9
10

(see page 12)


: Receive
(see page 13)
: Set Parameters
(see page 15)
: DPC (see page 30)
: Compare
(see page 33)
: File Management
(see page 34)
: Options
(see page 35)
: ViewTrans
(see page 36)
: Help
: Quit

WIN-COM Users Manual


We, DIGITECH ENGINEERS thank you for having bought our WIN-COM software package for
PC to CNC data communication for DNC. We sincerely hope that our package will satisfy your
requirement. However, your suggestions are most welcome. They are of prime importance to us,
to improve the package further. Thank you.

Disclaimer
Information provided in this manual is intended to be accurate and reliable. However, Digitech
Engineers assumes no responsibility for its use.
DIGITECH reserves the right to make improvements to the product and operations described in
this manual at any time without notice.
th

This Manual refers to WIN-COM version 6.0 , updated on 10 Jan, 2002 for I-MUX Card and not
for Digi-Dialer.
Please contact Digitech Engineers, Pune for any queries.

Você também pode gostar