The DNC utility can also be accessed from the Unix command line by typing /usr/ip32/dnc/bin/dnc.
The DNC utility can be nicely accessed as one of the pop up, a.k.a., enhanced interface window, items. To include it in the pop-up menu:
1. Go into the Screen Manager for the pop-up windows by clicking the Terminal screen icon and then clicking screen manager.
2. Click the edit option. This has the effect of highlighting and duplicating an existing option. Do not worry, all you need to do is type in a new name in the name field.
3. Type/edit in exactly (spaces and all) as you see here the following:
env - DNC=/usr/ip32/dnc /usr/ip32/dnc/bin/Dnc<return>
4. Exit the Screen Manager.
Configuring the workstation input/output parameters for DNC
Once the DNC has been setup as an enhanced interface window, the next step is to configure the workstation[[Otilde]]s serial port configurations. To input the following information, hit the reboot button, or activate reboot from the pop-up menu. When you see the screen that has "Intergraph" in large white letters on a blue background, select the button marked UTILITY. This will activate the peripheral configuration page display. Enter or make sure the following information is in the setup screen:
Table I. Parameters to set up the workstation[[Otilde]]s RS-232 P0 modem port
AUX PORT SELECT AUX00
SLAVE DEVICE NO
BAUD RATE 9600
PARITY DISABLED
PORT TYPE RS232
WORD SIZE 8 BITS
STOP BITS 1
AUTO XON/XOFF OFF
INCOMING X/OFF OFF
AUTO RTS/CTS OFF
Next, as superuser, edit the file, inittab, which is in the /etc directory. Edit/add the following line as shown below for port tty00. This sets the port characteristics the MIU is connected to so that the process will not respawn.
t0:234:off:/etc/getty tty00 9600 none
Next, modify the file protection for the device file /dev/tty00 (for port tty00) so that DNC can read and write to the device. This is accomplished by using the following keyin:
#chmod 777 /dev/tty00
The configuration files for the DNC machines exist in the cadplt5: /usr/v30/slac/dnc/config directory and consist of individual text files with .m extensions for each machine that has been configured. This was set up as the common file location for each workstation to avoid DNC configuration inconsistencies between workstations.
Each machine has two links to the config file on cadplt5. These are located in the /usr/ip32/dnc/config and /usr/slac/dnc/config directories.
Superuser privileges are required to configure DNC. To configure DNC, login to one of the workstations, become superuser, then type dnc. Select the desired machine, then click on the CONFIG button in the DNC interface. For machine 1, the parameters should be as follows:
Machine Name: 10VC
Device Type: MIU-SERVER : TCPIP
Port: 4
Server Node: 134.79.112.219
For machines 2 through 10, the device type and server node should be the same, with the following machine/port number assignments:
Machine Port
Cinturn 1
20H 2
Mitsui 3
10VC 4
5VC 5
Wire EDM 6
Tree South 8
Tree West 9
Tree South 10
Operational Note: If you send down a machining file to the MITSUI/SEIKI, make sure the file has .txt extension. Recall that the postprocessor automatically assigns a .pch. Simply copy the .pch file using cp so that it has the .txt extension.
To set or check the parameters of the ICS3000 terminal server, login to mfpro3. Become the superuser, and type the following:
na
server 134.79.112.219
Check ports 1 through 10. They should be identical. To check port 1, type show port=1. The following terminal server parameters should be displayed:
speed: 9600
data_bits: 8
stop_bits: 1
parity: none
imask_7bits: N
control_lines: none
type: hardwired
mode: slave
forwarding_timer: 5
cli_inactivity: off
inactivity_timer: 100
login_timer: N
port_multiplex: N
allow_broadcast: Y
broadcast_direction: port
max_session_count: 3
input_flow_control: none
input_start_char: ^Q
input_stop_char: ^S
output_flow_control: none
output_start_char: ^Q
output_stop_char: ^S
ixany_flow_control: N
long_break: Y
short_break: Y
attn_char: ^@
user_name: ""
term_var: ""
input_buffer_size: 1
bidirectional_modem: N
default_modem_hangup: N
location: ""
input_is_activity: Y
output_is_activity: Y
reset_idle_time_on: input
cli_security: N
connect_security: N
port_server_security: N
port_password: "<unset>"
dedicated_address: 0.0.0.0
dedicated_port: telnet
prompt: ""
newline_terminal: N
echo: Y
map_to_lower: N
map_to_upper: N
char_erase: Y
line_erase: Y
hardware_tabs: Y
cli_imask7: Y
erase_char: ^?
erase_word: ^W
erase_line: ^U
redisplay_line: ^R
toggle_output: ^O
telnet_escape: ^]
slip_local_address: 0.0.0.0
slip_remote_address: 0.0.0.0
slip_subnet_mask: 0.0.0.0
slip_load_dump_host: 0.0.0.0
slip_metric: 0
slip_allow_dump: Y
slip_do_compression: N
slip_allow_compression: N
slip_no_icmp: N
slip_tos: N
forwarding_count: 0
need_dsr: N
dptg_settings: ÒCCCCCCCCSSSSSSSSÓ
telnet_crlf: N
To set a port parameter, such as to set the speed at 9600, use the following command:
set port=1 speed 9600.
The Grecos are connected to the terminal server by cable coming from the channel 1 connector on the Grecos to the ports of the terminal server. The Grecos are specifically configured for each machine controller. The actual parameters of each Greco depends on the workstations[[Otilde]] communication settings (which are the same for all workstations) and the characteristics of the specific machine controller to which the Greco is interfaced. Below is the list of the Greco parameters and commands (note that not all the commands are consecutively numbered).
Table II. Greco Command/Parameters List
Command #Command Name Command Type
1# Define File File
2# Select File (by File #) File
3# Close File File
4# Free Blocks Diskette
5# Directory Diskette
6# Volume ID Diskette
7# Select File (by File Label) File
8# Forward Search Special
Purpose
9# Reverse Search Special
Purpose
10# Cancel Redirection Net
20# Copy File (by File #) File
21# Copy File (by File Name) File
22# Save Parameters to Disk Parameter
23# Restore Parameters from Disk Parameter
30# Network Communications MiniFile (MF)
Plus
31# Editor Function MF Plus
32# Network Default Drive MF Plus
33# Editor Default Drive MF Plus
40# Display Parameters Parameter
41# Reset Parameters Parameter
42# Store Parameters Parameter
43# Channel 0 Baud Rate Parameter
44# Channel 1 Baud Rate Parameter
45# Channel 0 Parity Parameter
46# Channel 1 Parity Parameter
47# Channel 0 Protocol Parameter
48# Channel 1 Protocol Parameter
49# Active Channel Parameter
50# Enter Date Special
Purpose
51# Text File Type Parameter
52# LF Output Parameter
53# EIA Output Parameter
54# Select Drive SPC/MF Plus
55# LF to CR Conversion Parameter
56# Parallel Looping Option Special
Purpose
57# Channel 0 Auto Enable Parameter
58# Channel 1 Auto Enable Parameter
59# LCD Adjustment Special
Purpose
60# PROM ID Display Special
Purpose
61# Channel 0 Stop Bits Parameter
62# Channel 1 Stop Bits Parameter
63# Protocol PROM Version MF Plus
65# Channel 0 Data Bits Parameter
66# Channel 1 Data Bits Parameter
67# Nulls in Text File Special
Purpose
68# Mazak Conversion Terminator Special
Purpose
69# Serial Search Special
Purpose
70# Numeric Input Character Special
Purpose
71# Alphanumeric Input Special
Purpose
72# Parallel Port Leader/Trailer Special
Character Purpose
73# Reset Special
Purpose
74# Part Program Pre-Display Special
Purpose
75# Part Program Display Special
Purpose
80# Parallel Switch Register Special
Purpose
82# Parallel Reader Speed Special
Purpose
84# Parallel Configuration Special
Register Purpose
85# Parts.Job Download Request Net
86# Parts.Job Upload Request Net
87# Download Request Net
88# Upload Request Net
89# Device.Job File Redirection Net
91# Format Diskette Diskette
92# Re-initialize Volume Diskette
96# Verify Diskette Diskette
98# Delete File (by File Number) File
99# Delete File (by File Label) File
The
Grecos installed at the machining centers should be properly configured. If
there are operational problems, check the Greco to see that the parameters for
workstation to Greco and Greco to controller communications are set as
intended. To view information in the Greco units, press one of the numbers
listed in the first column and then press the # key (which functions like an
ENTER or RETURN key). The information is displayed and can be edited.Following are tables listing the parameters for the Grecos interfaced to each respective NC machine on the shop floor. The parameters in boldface are pertinent for Greco-controller communications; the ones in italics are pertinent for workstation-Greco communications. The boldface information can be referenced to the applications notes that are sent with each Greco Minifile+. The italics information is related to the Intergraph workstations[[Otilde]] RS-232 settings and thus will be the same from Greco to Greco.
Note: not all the parameters for Greco-controller communications are in boldface. The remaining parameters can be referenced in the Greco Systems Operator[[Otilde]]s Manual. For example, protocol option 0 (no protocol) has as its parameter defaults: No Parity; Text (ASCII) File Type Enabled; Line Feed Output, EIA Conversion and LF to CR Conversion Disabled; 8 Data Bits; 2 Stop Bits. In many cases, the boldface information represents non-obvious, custom parameters for the particular controller.
1. Greco to Machine Controller (Acramatic 850) Parameters
43# 9600 Channel 0 Baud Rate Parameter
45# EVEN Channel 0 Parity Parameter
47# 9) RS491, LEVEL 1 Channel 0 Protocol Parameter
49# 0) MODEM, SOCKET Active Channel Parameter
51# ENABLED Text File Type Parameter
52# ENABLED LF Output Parameter
53# DISABLED EIA Output Parameter
55# ENABLED LF to CR Conversion Parameter
56# ENABLED Parallel Looping Option Special
Purpose
57# DISABLED Channel 0 Auto Enable Parameter
61# 2 Channel 0 Stop Bits Parameter
65# 7 Channel 0 Data Bits Parameter
2.
Intergraph to Greco Parameters
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
3. Other Parameters
31# NONE Editor Function MF Plus
32# ZERO Network Default Drive MF Plus
33# ZERO Editor Default Drive MF Plus
54# ZERO Select Drive SPC/MF Plus
59# 5 LCD Adjustment Special
Purpose
60# 19545 PROM ID Display Special
Purpose
63# 1.00 Protocol PROM Version MF Plus
67# DISABLED Nulls in Text File Special
Purpose
68# DISABLED Mazak Conversion Terminator Special
Purpose
72# NULL Parallel Port Special
Leader/Trailer Character Purpose
74# 00 Part Program Pre-Display Special
Purpose
80# 0000001011001010 Parallel Switch Register Special
Purpose
82# 500 Parallel Reader Speed Special
Purpose
84# 0000000000000000 Parallel Configuration Special
Register Purpose
1. Greco to Acramatic 850 Parameters
49# 2) PARALLEL PORT Active Channel Parameter
51# ENABLED Text File Type Parameter
52# ENABLED LF Output Parameter
53# DISABLED EIA Output Parameter
55# DISABLED LF to CR Conversion Parameter
80# 1000010110011010 Parallel Switch Register Special
Purpose
82# 500 Parallel Reader Speed Special
Purpose
2. Intergraph to Greco Parameters
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
3. Other Parameters
31# NONE Editor Function MF Plus
32# ZERO Network Default Drive MF Plus
33# ZERO Editor Default Drive MF Plus
43# 9600 Channel 0 Baud Rate Parameter
45# NONE Channel 0 Parity Parameter
47# 0) NO PROTOCOL Channel 0 Protocol Parameter
54# ZERO Select Drive SPC/MF Plus
56# ENABLED Parallel Looping Option Special
Purpose
57# DISABLED Channel 0 Auto Enable Parameter
59# 5 LCD Adjustment Special
Purpose
60# 36595 PROM ID Display Special
Purpose
61# 2 Channel 0 Stop Bits Parameter
63# 1.00 Protocol PROM Version MF Plus
65# 8 Channel 0 Data Bits Parameter
67# DISABLED Nulls in Text File Special
Purpose
68# DISABLED Mazak Conversion Terminator Special
Purpose
72# NULL Parallel Port Special
Leader/Trailer Character Purpose
74# 0 Part Program Pre-Display Special
Purpose
84# 0000000000000000 Parallel Configuration Special
Register Purpose
1. Greco to Acramatic 900, Version 2.0 Parameters
49# 2) PARALLEL PORT Active Channel Parameter
51# ENABLED Text File Type Parameter
52# ENABLED LF Output Parameter
53# DISABLED EIA Output Parameter
55# DISABLED LF to CR Conversion Parameter
80# 0000000001000010 Parallel Switch Register Special
Purpose
82# 500 Parallel Reader Speed Special
Purpose
2. Intergraph to Greco Parameters
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
3. Other Greco Parameters
31# NONE Editor Function MF Plus
32# ZERO Network Default Drive MF Plus
33# ZERO Editor Default Drive MF Plus
43# 9600 Channel 0 Baud Rate Parameter
45# NONE Channel 0 Parity Parameter
47# 0) NO PROTOCOL Channel 0 Protocol Parameter
54# ZERO Select Drive SPC/MF Plus
56# ENABLED Parallel Looping Option Special
Purpose
57# DISABLED Channel 0 Auto Enable Parameter
59# 5 LCD Adjustment Special
Purpose
60# 16445 PROM ID Display Special
Purpose
61# 2 Channel 0 Stop Bits Parameter
63# 1.03 Protocol PROM Version MF Plus
65# 8 Channel 0 Data Bits Parameter
67# DISABLED Nulls in Text File Special
Purpose
68# DISABLED Mazak Conversion Terminator Special
Purpose
72# NULL Parallel Port Special
Leader/Trailer Character Purpose
74# 0 Part Program Pre-Display Special
Purpose
84# 0000000000000000 Parallel Configuration Special
Register Purpose
1. Greco to Acramatic 850 Controller Parameters
43# 9600 Channel 0 Baud Rate Parameter
45# EVEN Channel 0 Parity Parameter
47# 5) 491 LVL 2 SLV Channel 0 Protocol Parameter
49# 0) MODEM, SOCKET Active Channel Parameter
51# ENABLED Text File Type Parameter
52# DISABLED LF Output Parameter
53# DISABLED EIA Output Parameter
54# ZERO Select Drive SPC/MF Plus
55# ENABLED LF to CR Conversion Parameter
56# ENABLED Parallel Looping Option Special
Purpose
57# DISABLED Channel 0 Auto Enable Parameter
61# 1 Channel 0 Stop Bits Parameter
65# 7 Channel 0 Data Bits Parameter
2.
Intergraph to Greco Parameters
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
3.
Other Parameters
31# NONE Editor Function MF Plus
32# ZERO Network Default Drive MF Plus
33# ZERO Editor Default Drive MF Plus
54# ZERO Select Drive SPC/MF Plus
59# 5 LCD Adjustment Special
Purpose
60# 34014 PROM ID Display Special
Purpose
63# 1.00 Protocol PROM Version MF Plus
67# DISABLED Nulls in Text File Special
Purpose
68# DISABLED Mazak Conversion Terminator Special
Purpose
72# NULL Parallel Port Special
Leader/Trailer Character Purpose
74# 00 Part Program Pre-Display Special
Purpose
80# 0100010111011010 Parallel Switch Register Special
Purpose
82# 500 Parallel Reader Speed Special
Purpose
84# 0000000000000000 Parallel Configuration Special
Register Purpose
e.
Mitsui/Seiki H3SA
I. Greco to FANUC 15M Controller Parameters
43# 9600 Channel 0 Baud Rate Parameter 45# EVEN Channel 0 Parity Parameter 47# 10) FANUC Channel 0 Protocol Parameter 49# 0) MODEM, SOCKET Active Channel Parameter 51# DISABLED Text File Type Parameter 52# DISABLED LF Output Parameter 53# DISABLED EIA Output Parameter 55# DISABLED LF to CR Conversion Parameter 57# DISABLED Channel 0 Auto Enable Parameter 61# 2 Channel 0 Stop Bits Parameter 65# 7 Channel 0 Data Bits Parameter
2. Intergraph to Greco Parameters
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
3. Other Greco Parameters
31# NONE Editor Function MF Plus
32# ZERO Network Default Drive MF Plus
33# ZERO Editor Default Drive MF Plus
54# ZERO Select Drive SPC/MF Plus
56# ENABLED Parallel Looping Option Special
Purpose
59# 5 LCD Adjustment Special
Purpose
60# 16445 PROM ID Display Special
Purpose
63# 1.03 Protocol PROM Version MF Plus
67# DISABLED Nulls in Text File Special
Purpose
68# DISABLED Mazak Conversion Terminator Special
Purpose
72# NULL Parallel Port Special
Leader/Trailer Character Purpose
74# 0 Part Program Pre-Display Special
Purpose
80# 0100010111011010 Parallel Switch Register Special
Purpose
82# 500 Parallel Reader Speed Special
Purpose
84# 0000000000000000 Parallel Configuration Special
Register Purpose
FANUC 15-M Input/Output Parameters
The Greco installation on the Mitsui/Seiki is unique in that not only are there parameters to be set in the Greco, but there are also parameters that need to be set in the Mitsui/Seiki controller, the FANUC 15M. Those parameters are included here. Instructions on how to change the parameters in the FANUC 15M can be found in page 485 (chapter 10: Data Display and Setting; section 10.3: Setting Data) in the FANUC Series 15-MA, 15-MF, and, 150-MA Operator[[Otilde]]s Manual
Parameter Data Set to: Was Description
0000* See below
0020 Input Port # 1 1 RS-232 Interface 1; Required
since control reports "DR Down"
error
0021 Output Port # 1 1 RS-232 Interface 1; Required
for same reason as parameter
0020
5001 I/O Device # 1 3 RS-232; Required for same
reason as parameter 0020
5002 I/O Device # 1 4 RS-232
5110 Comm. Protcl. 6 3 FANUC Printer PTR/PTP
5111 Stop Bits 2 1 Two stop bits
for Device 1
5112 Baud Rate 11 11 9600 bits/second
for Device 1
*Parameter 0000 is an 8 bit parameter. Each bit can be set independently. From least significant bit to the most significant bit, these are the required bit settings:
Bit Set to: Was: Description
TV Check (TVC) 0 0 0: Not Performed
CT Check (CTV) 1 0 1: Not Performed
ISP 0 0 0: ISO code with parity
NCR 1 1 1: ISO EOB is LF
EIA 0 0 0: ISO CODE
not designated 0
not designated 0
not designated 0
43# 4800 Channel 0 Baud Rate Parameter 45# EVEN Channel 0 Parity Parameter 47# 14) RS-491, Level II Channel 0 Protocol Parameter 49# 0) MODEM, SOCKET Active Channel Parameter 51# ENABLED Text File Type Parameter 52# ENABLED LF Output Parameter 53# DISABLED EIA Output Parameter 55# DISABLED LF to CR Conversion Parameter 61# 2 Channel 0 Stop Bits Parameter 65# 7 Channel 0 Data Bits Parameter2. Intergraph to Greco Parameters
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
3.
Other Greco Parameters
31# NONE Editor Function MF Plus
32# ZERO Network Default Drive MF Plus
33# ZERO Editor Default Drive MF Plus
54# ZERO Select Drive SPC/MF Plus
59# 5 LCD Adjustment Special
Purpose
60# 16126 PROM ID Display Special
Purpose
63# 1.03 Protocol PROM Version MF Plus
67# DISABLED Nulls in Text File Special
Purpose
68# DISABLED Mazak Conversion Terminator Special
Purpose
72# NULL Parallel Port Special
Leader/Trailer Character Purpose
74# 00 Part Program Pre-Display Special
Purpose
80# 0000000000000000 Parallel Switch Register Special
Purpose
82# 0 Parallel Reader Speed Special
Purpose
84# 0000000000000000 Parallel Configuration Special
Register Purpose
Mitsubishi Parameters Mitsubishi Wire EDM, Model #DWC110SZ, Serial #7966401 Mitsubishi Controller, Model #W11A Param. Description Setting 2 Port No. 2 3 Baud Rate = 4800 2 4 Stop Bits = 2 3 5 Parity on = no parity 0 6 Even Parity 0 7 Char. Length = 8 3 8 Termination Type 1 9 Termination Code 1 0 10 Termination Code 2 0 11 Rewind Code 0 12 Hand Shake 3 13 DC Parity = even 1 14 DC2/DC4 Out 0 15 CR Out 1 16 EIA Out 0 17 Title Out = valid 1 18 No. of Feed 0 19 Parity V 0 20 Timeout 100 21 EIA Code 1
49# 2) PARALLEL PORT Active Channel Parameter
51# ENABLED Text File Type Parameter
52# ENABLED LF Output Parameter
53# DISABLED EIA Output Parameter
55# DISABLED LF to CR Conversion Parameter
80# 0001000000110110 Parallel Switch Register Special
Purpose
82# 150 Parallel Reader Speed Special
Purpose
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
43# 9600 Channel 0 Baud Parameter
45# Even Channel 0 Parity Parameter
47# 29 Channel 0 Protocol Parameter
49# 0) Modem Active Channel Parameter
52# DISABLED Line Feed Output Parameter
55# ENABLED LF to CR Conversion Parameter
61# 65# 2 7 Channel 0 Stop Bits Channel Parameter
0 Data Bits Parameter
30# PORT 1 Network Communications MiniFile (MF)
Plus
44# 9600 Channel 1 Baud Rate Parameter
46# NONE Channel 1 Parity Parameter
48# 0) NO PROTOCOL Channel 1 Protocol Parameter
58# DISABLED Channel 1 Auto Enable Parameter
62# 1 Channel 1 Stop Bits Parameter
66# 8 Channel 1 Data Bits Parameter
3. Dynapath Delta 30 to Greco Parameters
Param Description
RECORD MODE
R6 9600 Baud
P1 Even Parity
X1 Control Character On
LOAD MODE
R6 9600 Baud
P1 Even Parity
X1 Control Character On
E0 Echo Off