Documente Academic
Documente Profesional
Documente Cultură
proDNC
revision: 6.06.2002
MCA
Hauptstr. 25
D-82386 HUGLFING
Phon: +49(0)8802-605
Fax: +49(0)8802-377
www.mcamicro.de
email: info@mcamicro.de
1. ProDNC, technical data
1. ProDNC
proDNC is a universal and easy to operate DNC terminal. It provides a simple, cost
sensitive connection of a CNC machine via its serial port (either RS232 or 20 mA) to an
ethernet factory network (LAN). By this, every CNC is connected to a central
dataserver. The main function to supply part programs to a CNC is done by keyboard
and illuminated display or in blackbox mode. In blackbox mode data transfer is initiated
through dummy programs directly from the CNC console. But the proDNC can do more.
It is possible to monitor CNC machine contacts (emergency off, M30 used as counter)
and a special server program evaluates these conditions. Another special server program
allows for short messages to be sent to and displayed at any proDNC display by any
computer in the network. Further included in the proDNC are two free programmable
input/output terminals which can be used for management information, time stamping,
material management and others. To make use of this features, it is not necessary to
program every proDNC, a simple server program is started to do the job. Another utility
program started at any computer in the network allows for remote setup of all parameters
and settings of the proDNC (example: baudrate RS232, IP address etc.). This feature can
also be done by any computer in the world by internet. A utility connector allows input
from a barcode pen or laser scanner etc.
All programs on the server side execute under Windows 95/98/NT/2000.
Server programs which execute under Linux are soon available.
To enter a program numbers is easy. Softkey A-Z,0-9 is used change between input of
numbers or input of letters and numbers and vice versa. Left arrow clears last entry, arrow
down is the enter key. Softkey Special C. allows input of a preset character assigned to
each number key. When softkey Special C. is pressed, the special character choice is
shown in the second line of the display. When a special character is entered, the keyboard
goes automatically back into number mode.
Remarks:
If the user waits too long to enter a program number or to press the softkey Start, the
input sequence is terminated and the proDNC goes back to the main menu.
When the proDNC is in Send mode and the CNC sends no data, the proDNC terminates
transfer and indicates this as fault in the display.
In order that fault reports are not ignored, they must be promted by softkey OK
3. Setup and configuration proDNC
Configuration of the proDNC is trivial for users familiar with RS232 parameters and IP-
adresses.
For users who need detailed information, it is recommened to read paragraph 4 of this
manual. All details are given step by step.
To get into the setup menu, from the main menu press Setup, enter a password
( default 4321) and confirm by OK.
Softkey COM-Port sets RS232 parameters for the serial port connected to the CNC.
- Reset proDNC
- Blackbox enable/disable and settings (configure)
- Selftest COM-Port and 20mA current loop
Remarks:
Actual setup values are always displayed at the top right side of the displays.
Key menu-back ( bent arrow ) returns to the previous menu level without changing
entries.
To avoid accidental entry changes, the user is asked, if changes are to be saved. By this
the user can walk around in the menu, control settings or simply get used to menu
handling.
Attention: Input of IP adresses asks for 3 digit entries!
For example: Enter 192.168.001.024 instead of 192.168.1.24
Configuration explained step by step: COM-Port
( softkeys: setup->password->COM-Port )
( default password: 4321 )
Softkey COM-Port is used to setup RS232 parameters for serial data transfers between
proDNC and CNC.
Flow control: RTS/CTS means flow control by hardware by two physical wires, called
RTS and CTS in the data cable. RTS is always an output and CTS always an input. Pin
RTS on the DB25 connector of the CNC (mostly pin 4) leads as physical wire to CTS
DB25 connector ( Pin 5 ) of the proDNC. This wire has following function: When the
proDNC sends data to the CNC ( i.e. CNC is in receive mode ) the CNC can stop the
proDNC sending data by setting a negative voltage on this line. The second wire leads
from the RTS pin (Pin 4) on the DB25 of the proDNC to CTS (mostly pin 5 ) DB25 of
the CNC. This time the proDNC can stop data coming from the CNC if required. This
hardwired protocol functions only, if both sides are set to RTS/CTS mode and the
physical wires in the data cable are present. When RTS/CTS mode is not used, it is
helpful in some applications, to jumper pin 4 and pin 5 in the DB25 connector at the CNC
side.
None: means no protocol is used. This mode is used exclusively in 20mA current loop
mode which is supported by the proDNC.
Data format: both sides must be set to the same data format. E means each character has
its parity bit set to even, O means set to odd and N means no parity. Most data transfers
are done with even parity. For example 7E2 means the following: every character consists
of 7 information bits, 1 parity bit (set to even) and 2 stop bits. If the sum of the 1 bits in
the 7 data bits is even, the parity bit is 0 to force even parity. If the sum of the 1 bits in the
7 data bits is odd, the parity bit is set to 1 to force again even parity. Every character sent,
consists of following bits: example 7E1: 1 start bit (always 0), 1 parity bit (0 or 1), 7
information bits and 1 stop bit (always 1). This means with 7E1 every character consists
of 10 bits or 10 equal time slices.
Baudrate: always select a baudrate at the proDNC, which is the same as the CNC
setting! 300 Bd equals to 300 bits per second. Having a data format of 7E1 equal to 10
bits per character means 300 : 10 = 30 character per second as transmission speed. 19200
Bd means, 1920 characters are transfered per second with a data format of 7E1.
Timeout: a timeout of 24 means, when the CNC does not send for 24/4 = 6 sec data, the
proDNC considers the data transfer from the CNC as terminated and closes data
reception.
Configuration explained step by step: ETHERNET and SERVER
( softkeys: Setup->password->Ethernet )
( default password: 4321 )
FTP: ( default: enabled ) Firmware updates for the proDNC can be loaded by means of
MCA Config.exe and the configuration of the proDNC can be altered via ethernet.
PC program MCA Config.exe will work only if FTP on the proDNC is enabled.
( softkeys: Setup->password->Ethernet->FTP->enable )
Configuration: SERVER
( softkeys: Setup->password->Server )
Reset: Softkey Reset is used to reinitialize a proDNC. This saves pulling the mains plug.
Important! Every setup change local on the proDNC or remote via program MCAconfig.exe
requires a reinitialization!
Blackbox: Enable / disable Blackbox mode and configure blackbox mode. Program
MCAconfig.exe allows a more confortable way to configure blackbox mode from the PC side
via ethernet. Before using this program, it is mandatory to enable FTP on the proDNC!
( softkeys: Setup->password->Ethernet->FTP->Enable ).
With blackbox mode enabled, proDNC operates in transparent mode, i.e. the unit can be
installed user unattended within the CNC. In blackbox mode data tranfers are initiated by a
dummy program directly from the CNC console.
1. A short dummy program with comment line (*1144) is sent to the proDNC and CNC is set
to receive mode afterwards. The comment line (*1144) means GET Programm 1144 from
server.
2. If within a CNC program the comment line (-1144) is added to a program and this program
is sent to the proDNC, the entire program is stored in the server under program name 1144
automatically.
3. First comment line (+1144) is sent to the proDNC. The following program sent to the
proDNC is stored under 1144 in the server.
Selftest: By means of test plugs the COM-Port of the proDNC in RS232 and 20mA current
loop mode is tested. ( pls. Refer to selftest drawing within this manual).
PC program description: MCA Server.exe (version 1.6)
Version 1.6 is a universal replacement for older server versions.
MCA Server.exe is used to get, save and administer CNC partprograms in the server. This
program runs under Windows 95/98/ME/NT/2000. When the program starts, the window is
used to monitor data transfer between server and proDNC units in the network.
Button: Directories
If no directories are defined, function default is used. This means all partprograms reside in
the same directory as MCA Server.exe! If the user wishes administration of partprograms, for
every proDNC a directory must be assigned once.
For example: entries via button NEW are meaning:
IP of proDNC: name: ( see below ) directory: p: subprogram directory:
192.168.32.1 TRAUB 4 C:\CNC4\ 0 no entry
192.168.32.2 GILDEMEISTER 3 C:\DMG3\ 0 no entry
192.168.32.3 MAKA 2 C:\MAKA2\ 1 C:\SUBPR_MAKA2\
192.168.32.4 FANUC 1 C:\FANUC1 2
192.168.32.5 FANUC 2 C:\FANUC1 3
192.168.32.6 AMADA 1 C:\FANUC1\ 4
Note: Last backslash (\) in directory and subprogram directory is not mandatory!
Valid entry: C:\CNC4\ or C:\CNC4.
proDNC with IP 192.168.32.1 connected to CNC TRAUB 4 gets and saves CNC programs
in directory C:\CNC4\ and so on.
P = 3: for FANUC
All trailing characters in a partprogram following program_end_character % are
suppressed. Subprogram directory: optional directory for temporary parser files but usually
no entry ( Mode P = 3 is recommended for FANUC ).
P = 4: for FANUC
All leading characters before program_start_character % and after program_end
_character % are suppressed. Subprogram directory: optional directory for temporary parser
files but usually no entry.
P = 5: for AMADA
All NC programs from AMADA are stored in ISO code (ASCII) in the server. All NC
programs retrieved from server are converted to EIA code.
proDNC offers two methods to save CNC programs in the server.
example:
Extension .......... .dnc
Max. number ....... 0
Final ............. .dnc
Original Program with extension .dnc is overwritten every time. This mode is dangerous!!!
example:
Extension ..... blank (no entry)
Max number ...... 0
Final ........... blank (no entry)
This means, no extension is used ( i.e. 1147, P1234, %2001 ) and saving a program, the
original is overwritten without warning!
Button Name:
Button Color:
The color of the server window can be changed. There are three possibilities:
1. Key color (green)
2. Windows color (gray)
3. Selfdefined colors
After proDNC system installation ( proDNC mounted, RS232 cable to CNC and ethernet
cable connected ) a minimum configuration is mandatory to initialize the entire system. Via
menue setup -> password -> server -> MAIN S. main server IP must be entered. In a
standalone system the default IP can be used. Is an integration to an existing system required
a system administrator should be consulted. Via menue setup -> password -> ethernet -> IP-
ADR every proDNC get a unique IP address. Defaults for Subn.M and gateway should
remain in a standalone system. Again integration to an existing system requires a sytem
administrator for advice. FTP default enabled is left untouched. All further setups ( comport,
blackbox mode, MDI IP ) can now be assigned on every proDNC locally. A more convenient
way is to start program MCAconfig.exe for a remote configuration. Important: After a
configuration change local or remote it is mandatory to perform a reset on the proDNC!
Before doing the final configuration it is advisable to start program MCAserver.exe. Button
Name is used to enter all IP’s of all proDNC’s in a system. A meaningful name can be
assigned to every IP address. Via button Program global storage mode and extensions are
entered. Button directories selects parser mode and directory for every proDNC in a system.
Program description: MCA MDI.exe Vers. 1.6 ( for Windows 95/98/ME/NT/2000 )
PC program MCA MDI.exe evaluates CNC events which are evoked by opening or closing
of free potential contacts on the CNC. A DB9 connector of the proDNC is wired to these
contacts. Terminal proDNC can evaluate max. 4 contacts of the CNC. Contacts 1 -3 evaluate
NO or NC contacts. Contact 4 input must be wired to a NO contact of the CNC and is used
mainly as a counter. Events of all CNC’s and proDNC’s in a network are written to a central
textfile. This textfile can be eveluated by EXEL, DBASE etc. The textfile contains following
entries for every event: Date, Time, IP of proDNC, Change x,x,x,x Level x,x,x,x.
The program has following functions:
Select file, activate/deactivate textfile write, clear, color, exit.
Select file: Selection of a directory, filename and extension for events to bestored. Without
selection, file name is event.txt and resides in the same directory as program MCA MDI.exe.
Activate: events to be stored in textfile. Deactivate: events are only displayed in the text
window.
Clear: all entries in the local window.
Color: Select color of window, three choices (see server description).
Exit: exit program MCA MDI.exe
Note: proDNC also monitors powercuts of CNC and proDNC. When power returns,
following entry is made to textfile:
Date, Time, IP, Change: 0,0,0,0 and Level 1,1,1,1.
MDI server not started or workstation failed, all events are stored in the proDNC and are
written to the textfile when MDI server is operational again.
Button Change: select entry in liest, button change, modify and confirm with ok.
Button Delete: remove entry from liest.
Buttons Select, Sel.All, Disselect, Diss.All are used to activate/deactivate proDNC in the
alarm chain. Activation is also possible by mouse click in the corresponding tick box.
Main number: Prefix(if required) area code (if required) and phone number of person to be
called in case of fault condition detected.
Alternate number: Prefix (if required), area code (if required) and phone number of
substitute.
Test: Systemverification by testcall.
ON: Alarm system enabled ( exclamation mark in a green field ). Switchin on also causes an
automatic test of the local ISDN system.
OFF: Alarm system off ( exclamation mark in a yellow field ).
Program CapiRecorder.exe.
1. Phone number: enter phone number of set used for recording and playback.
2. Button select: select notification file or enter path and filename for a new recording.
3. Click button overwrite to modify an existing file or record for a new file.
4. Click button Stop.
5. Button playback for control of messages.
Program description MCA Message.exe ( for Windows 95/98/ME/NT/2000 )
PC program MCA Message sends short messages to any proDNC from any workstation in
the network. ( max. 40 characters ).
Operation:
Change color of window: right click into window, select color, color window opens,
select color and close.
Program MCAconfig.exe ( for Windows 95/98/ME/NT/2000 )
Configuration tool MCAconfig is used to setup and verify all proDNC parameters via
network remotely.
Handling of program:
1. Enter IP of proDNC or click button select, click IP/name and confirm by button select
2. Click button “read proDNC” with left mousekey.
3. Connection to proDNC is setup and all parameters are shown.
4. Change parameters and store back with button “load proDNC”.
A parameterfile of every proDNC in the network can be stored via file -> save (as) and
recovered by file -> load function.
Item 4: Auto secondary server: automatically secondary server is used and only if main
server is down. Used in large systems to increase partprogram availability!
Item 5: DTR error report: in blackbox mode a standard error string is evoked. ( pin 20 of
proDNC to pin 6 of CNC in the data cable must be wired ).
Item 6: Dummy program error report. Faults are reported to the console of the CNC by
dummystrings. ( this function is only possible on CNC systems with autoreceive function).
Item 7: Save password required. Saving of partprograms only possible with password.
Item 8: Timeout COM-Port ( default 24 = 6 sec. ). If COM-Port of proDNC is idle for more
than 6 sec. reception is terminated.
Item 11: Receive delay ( default 15 sec. ) Time to set CNC to receive after transmission of
dummy program in blackbox mode.
Item 12: DTR error time ( default 5 sec. ) Time DTR line true. Only blackbox mode.
Item 13: Error program delay ( default ) Time to set CNC to receive mode for error string.
Item 16: Flow control COM-Port proDNC. ( set none for current loop ).
DB25 male DB25 male DB25 male DB25 male DB25 male DB25 female
13 13 13 13 13 13
25 25 25 25 25 25
12 12 12 12 12 12
24 24 24 24 24 24
11 11 11 11 11 11
D D
23 23 23 23 23 23
10 10 10 Data cable 10 10 Data cable 10
22 Data cable 22 TRAUB 22 22 22 22
9 9 9 X-ON/X-OFF 9 9 SIEMENS model 3 9
21 RTS/CTS mode 21 MAKA 21 21 TRAUB 21 21
8 8 8 or no 8 8 RTS/CTS mode 8
20 20 HEIDENHAIN 20 handshake 20 FANUC 20 20
7 7 7 7 7 7
19 19 DECKEL 19 19 19 19
6 6 6 6 6 6
18 18 MAHO 18 18 18 18
5 CTS CTS 5 5 5 5 5
17 17 WEILER 17 17 17 17
4 RTS RTS 4 4 4 4 4
16 16 SIEMENS 805-880 16 16 16 16
3 RXD RXD 3 3 3 3 3
15 15 15 15 15 15
2 TXD TXD 2 2 2 2 2
14 14 14 14 14 14
C C
1 1 1 1 1 1
DB25 male
DB25 male DB25 male DB25 female proDNC
13 13
13 13 13 25 25
25 Data cable 25 25 12 12
12 12 12 24 24
24 BLACKBOX 24 24 11 11
11 11 11 23 23
23 MODE 23 23 10 10
10 10 10 22 22
22 RTS/CTS mode 22 22 RS232C connector proDNC 9 9
9 9 9 21 21
B B
21 21 TRAUB 21 8 8
8 8 8 20 20
20 DTR 20 20 DTR * 7 7
7 7 7 19 19
GND Attn.: use DTR only in blackbox mode for Traub CNC machines
19 19 19 6 6
6 DSR 6 6 18 18
18 18 18 5 5
5 CTS CTS 5 5 CTS 17 17
17 17 17 4 4
4 RTS RTS 4 4 RTS 16 16
16 16 16 3 3
3 RXD RXD 3 3 RXD 15 15
15 15 15 2 2
2 TXD TXD 2 2 TXD 14 14
14 14 14 1 1
1 1 1 protective ground
(optional) proDNC
A
proDNC A
data cables proDNC --- CNC
Output DTR from proDNC is used only in blackbox mode
for fault signalisation
1 2 3 4
1 2 3 4
TXD 13 13
TX
25 25
TX
12 12
RX
TXD 24 TXD 24
RX
11 11
GND
23 23
10 TXD 10
22 22
9 9
B 12V/20mA B
21 21
8 8
RXD 20 RXD 20
7 7
19 19
6 6
set 20mA 18 18
GND
+12V 5 5
17 20mA 17
4 4
16 16
proDNC intern 3 +12V 20mA 3
GND
15 jumper 3-10 ! 15
set 20mA 2 2
+12V 14 14
12V/20mA
1 proDNC intern 1
1 2 3 4
1 2 3 4
MDI connector MDI contact 4 contact 4 must be a NO contact and is uses as a M30 counter!
5
9
4
8
3 MDI contact 3
7
2
6
1 MDI contacts must be free of any potential!
DB9 female MDI contact 2 contacts 1 - 3 can be NO or NC contacts
C C
MDI contact 1
B
Twisted pair Ethernet cable B
max. length 100 m for UTP oder STP (screened) Cat 3 oder higher
RJ45 RJ45
1 (TX+) 1
2 (TX-) 2
3 (RX+) 3
4 4
5 5
6 (RX-) 6
7 7
8 8
A A
MDI - Ethernet
1 2 3 4
1 2 3 4
B
Test procedure: insert RS232 test plug into DB25 connector of proDNC Test procedure: insert 20mA test plug into DB25 connector of proDNC B
Start RS232 test from main menue via SETUP_ password_BOX_COM-Port Start test from main menue via SETUP_password_BOX_20mA
Test procedure checks function of RTS/CTS lines and TXD/RXD at all baudrates. Test procedure checks transmit and receive data at all baud rates
Exit test via Reset highest error free baudrate will be shown in the display!
Attention: DTR line (pin20) is used in blackbox mode only (TRAUB) example: value is 2400. This means, a data transmission of 300 to 2400 baud can be selected
DTR signal is ok, if during RS232 test led is blinking! as transmission speed.
If DTR signalling is not used, led and resistor can be omitted! Exit test via Reset
A A
1 2 3 4
CNC1 CNC2 CNC3 CNC4 CNCn
RS232/20mA loop
*
HUB
HUB
Server (PC)
2nd ethernet card
to an existing network 486 / 586
CAD/CAM
Hub or Switch
CNC programs etc.
Part of existing network
proDNC connected to an existing network
HUB Server
SWITCH
existing network