Escolar Documentos
Profissional Documentos
Cultura Documentos
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.
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
DIGITECH
NCTECH
PUNE-30
020 4333466 (There is space char
after 020)
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.
4.
1. Hardware Requirements :
a.
b.
c.
d.
e.
f.
g.
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.
:
:
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
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
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.
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.
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 :-
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.
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.
OR
X3
M30
.................................
Example :
%3333
X1
X1234
M30
..............................
..............................
..............................
..............................
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.
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.
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.
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
..................
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
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.
MASTER
SHOP
CNC
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)
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.
. . . . . . . .
. . . .
. . . . . . . .
. . . . . . . .
. . . . . . .
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
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.
The following settings are done in the Advanced Parameters Dialog Box:
The settings that are related to the DPC Mode are explained first.
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.
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.
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.
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.
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.
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 -
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.
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.
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).
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.
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.
( 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.
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.
Possible Errors:
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.
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.
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.
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.
10.
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.
6.
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.
=
=
=
=
=
=
=
=
=
=
=
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
=
=
=
=
5014
5015
5016
D1
=
=
=
D2
D3
D4
D5
D6
D7
5026
5027
5028
=
=
=
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
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
6.
LEFT
DOWN
DELETE
RIGHT
UP
RPL REPLACE
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
2.
3.
4.
5.
6.
7.
18. APPENDIX
A.
- - - - - - - - - - - - - - - - - - - - - - - 533466
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
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
27
DPC Mode
Edit
............................................ .................... .................... 38
EOB character ......................... .................... ....................
26
Executive data ........................ .................... ....................
12,13
File management
................... .................... ....................
Filename filter ......................... .................... ....................
File request program
............... .................... ....................
Full drip feed ........................... .................... ....................
34
26
16
28
25
10
6
37
28
5,7,9
7,9
8
4
LAN Card
15
26
23
Nulls
26
17
20
21
35
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
28,29
15
23
33
5
6
27
27
37
Transmit
................................... .................... ....................
Transmit | Executive data
..... .................... .................... 12
Transmit | Part program ........ .................... ....................
12
Uninstall
37,38
View trans
X ON / X Off
26,46
37
M99
Transmit
2
3
4
5
6
7
8
9
10
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.