Vous êtes sur la page 1sur 43

MELDAS Series

Mori Seiki, M720 High speed Program Server option setup

USA-E01091-032*

MITSUBISHI ELECTRIC AUTOMATION

USA
List of Revisions

Rev Date of Revision Detail Author


* 8/3/07 First Edition Created TSS
Mitsubishi CNC 720BM Series

High Speed Program Server Mode Function specifications

Febuary 2nd, 2006 A


Revision history

Mitsubishi CNC 720BM Series Document number

Function
High Speed Program Server Mode specifications BNP-C3051-118A

-1-
Contents

1 Outline...............................................................................................................................................................3
2 SETUP...............................................................................................................................................................5
2.1 H/W Settings .....................................................................................................................................5
2.2 Parameter Setting.............................................................................................................................7
2.3 Confirmation of Network Connection ..............................................................................................8
3 Host communication function ..........................................................................................................................9
3.1 Menu ..................................................................................................................................................9
3.2 Host communication setting screen ...............................................................................................10
3.2.1 Host communication setting screen .......................................................................................10
3.2.2 Operation of host communication setting screen ..................................................................12
3.3 Host communication screen............................................................................................................15
3.3.1 Host communication screen....................................................................................................15
3.3.2 Operation of host communication screen...............................................................................19
3.4 File selection screen ........................................................................................................................24
3.4.1 File selection screen ................................................................................................................24
3.4.2 Operation of file selection screen............................................................................................26
4 CF card function .............................................................................................................................................29
4.1 Menu ................................................................................................................................................29
4.2 CF card screen.................................................................................................................................30
4.3 Operation of CF card screen...........................................................................................................31
5 High-Speed Program Server Mode................................................................................................................34
5.1 Direct call by Tape mode ................................................................................................................34
5.2 Sub program call by M198 (Memory mode)...................................................................................34
6 NC Data ..........................................................................................................................................................35
6.1 Data List ..........................................................................................................................................35
6.2 Data format .....................................................................................................................................35
6.2.1 Machining Program.................................................................................................................36
7 Parameter .......................................................................................................................................................38
8 Error message.................................................................................................................................................39
8.1 Host communication function operation error ..............................................................................39
8.2 CF card function operation error ...................................................................................................40
8.3 Program error..................................................................................................................................40

High Speed Program Server Mode -2- BNP-C3051-118A


1 Outline

This manual explains high speed program server mode function.


This function can perform the following features.

1. The NC data (machining program) can be transmitted between the following three
devices.
(1)Internal memory of CNC
(2)CompactFlash card mounted on CNC (hereafter referred to as the "CF card".)
(3)Host computer
Enhancing unit (FCU7-HN692), flat cable (G280), and the CF card are necessary for
this function as addition H/W. Moreover, the FTP server program is needed for the host
computer.

2. The machining program registered on the CF card can be operated.


There are the following two methods of execution.
(1)Direct call method by tape mode
(2)Subprogram call method by memory mode
As a result, the machining of a large capacity and a multi process can be executed.

* The machinig program execution in the CF card is an optional function.

High Speed Program Server Mode -3- BNP-C3051-118A


The outline chart of this function is shown below.

Host computer
A flow of NC data

Ethernet (FTP)

CNC with enhancing unit

CF card NC
memory

Device Name Connecting method Remarks


Host computer Ethernet connection The FTP server program is
(PC, UNIX etc.) (File Transfer Protocol) necessary for the host computer.
Example:)
Internet Information Services (IIS) :
It is included in Windows 2000
Professional or Windows XP
Professional as a standard.
CF card The CF card is inserted in Data is input and output to the CF card
enhancing unit (FCU7-HN692) which has been inserted in the
of the option. enhancing unit of the option.

- Winows NT4.0, Winows2000(Professional,Server) or more is recommend as OS of the


host computer.
- The FTP server program is needed for the host computer.
- Please use a CF card made by the SanDisk Corporation.
- CF formatted with NTFS cannot be recognized. Please format CF with FAT in the
personal computer etc. once.

High Speed Program Server Mode -4- BNP-C3051-118A


2 SETUP

2.1 H/W Settings


To use this functionality, additional H/W parts like Extension unit (FCU7-HN692)/Flat
Cable (G280)/CF Card are attached. The setup procedure of each H/W is briefly explained
here.
For Detailed Information refer to [Connection and Maintenance Manual (IB-1500103)].

1. Remove the power supply bracket and G081 cable which are being fixed to the PCI
extension slot next to NC unit.
2. An extension unit (FCU7-HN692) is inserted instead. NC unit and EXT connectors are
connected through the flat cable (G280).
3. Power cable is connected to the EXAVR connector of the extension unit, and the ethernet
cable is connected to NCLAN connector. Moreover, CF card is inserted into CF slot of the
extension unit.

Extension unit(FCU7-HN692)

NC unit

Flat cable(G280)
Panel computer

2. Insert

CF card

3. Insert

PCI slot #1
PCI slot #2 PCI slot #3
1. Remove PCI bracket

Back plate Power supply bracket + G081

1. Please make sure that NC power supply is OFF while inserting or removing CF card.
2. There are various types of environments regarding the usage of ethernet
communications, however it is recommended, for the stability of NC side operations, that
ferrite(TDK ZQT3035-i330 recommended) should be connected within 10cms from the
NC side connecter terminal.
3. Please use shielded 100BASE-T/10BASE-T cable .
4. Please make sure that an ethernet cable should not be layed in parrallel with power
cable. Moreover, through the specific duct or by other means, separate it 10cm apart
from other lines.

High Speed Program Server Mode -5- BNP-C3051-118A


In this section, an appearance of the extension unit (FCU7-HN692) and the names of
each part are explained.

6 5 9 10 8

BAT
EXT

1 OPT1

CF
2 NCLAN

3 EXAVR
ISP

4 CG63
DMEM

Connectors
No. Name Explenation
1 OPT1 Not used.
2 NCLAN Used for Ethernet communication. Usually a LAN cable is connected.
3 EXAVR Used for external power supply.
4 CG63 Not used.
5 BAT Not used.
6 EXT Used for the connection with NC unit. Usually a flat cable G280 is connected.
7 PCI Conncets with the PCI extension slot of Panel Computer.
8 CF Used for the connection with a compact flash disk. Usually a CF card is
inserted.

LED
No. Name Explenation
9 LED1 Indicates ethernet communication status Turned ON (Green): Connecting
Turned OFF : Cannot connect /
Disconnected
10 LED2 Indicates ethernet communication’s Blinking : Receving
receiving status. Turned OFF : Not Recevied

High Speed Program Server Mode -6- BNP-C3051-118A


2.2 Parameter Setting
The necessary parameters are set up in order to connect NC to a network. All the
parameters set up here will become effective on power restart. Connection is verified to
confirm whether the NC is connected properly with the network after setting parameters.

[BASIC SPEC. PARAM] SETUP PARAM 1. 15/15


#
1925 EtherNet 1
1926 IP address 192. 0. 0. 2
1927 Subnet mask 192. 0. 0. 0
1928 Gateway 192. 0. 0. 254
1929 Port number 0
1930 Host address 0 . 0. 0. 0
1931 Host number 0
1932 FTP Retry 0
1933 FTP Timeout 0
1934
1935
1936

#( ) data( . . . )

BASE AXIS ORIGIN SERVO MENU

Basic Specification parameter (Setup Parameter 1. 15/15)

# Items Contents Settings

1925 EtherNet Service Start Start or stop the Ethernet communication To use this function, set
(PR) function. this parameter to 1.
0: Stop
1: Sarts communication service by TCP/IP
1926 IP Address IP address Specify the NC IP Address. Set these parameters
(PR) in accordance with the
network rules of
1927 Subnet mask Subnet Mask Specify the subnet mask.
connection environment.
(PR)
1928 Gateway GateWay Specify the gateway IP address.
(PR)

Parameters (#1929 to #1933) are not necessary for the basic setup of network connection.
For Details Refer [7. Parameter]

High Speed Program Server Mode -7- BNP-C3051-118A


2.3 Confirmation of Network Connection
The method, to confirm whether the NC is connected properly or not, is explained in
this section. For the purpose, the example assumes that, the host machine uses Windows
OS and the NC machine’s IP address has been assigned to “192.0.0.2”.

I. Confirmation method
1. Open MS-DOS prompt(Command prompt in case of Windows NT/2000/XP) In Host
computer.
2. Press enter after typing the following. ( ping + space + NC IP address)

C:¥WINDOWS>ping 192.0.0.2

---> Results are displayed Automaticaly.

II. Results
In case of normal Communication (Reply exists)

C:¥WINDOWS>ping 192.0.0.2
Pinging 192.0.0.2 with 32 bytes of data:
Reply from 192.0.0.2: bytes=32 time=40ms TTL=127
Reply from 192.0.0.2: bytes=32 time=40ms TTL=127
Reply from 192.0.0.2: bytes=32 time=40ms TTL=127
Reply from 192.0.0.2: bytes=32 time=40ms TTL=127
Ping statistics for 192.0.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 40ms, Maximum = 40ms, Average = 40ms

In case of communication failure (No reply)

C:¥WINDOWS>ping 192.0.0.2
Pinging 192.0.0.2 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.0.0.2:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

In case if no reply, please check the LAN cable, Hub etc and parameter (#1926 to1928).
If possible, connect the same LAN cable (which was connected to NC) to the laptop in
hand, and retry the above said “ping” command with respect to laptop IP address. If
reply exists, please verify NC extension unit (FCU7-HN692) and/or parameter (#1926 to
#1928), as there is no problem with cable.

High Speed Program Server Mode -8- BNP-C3051-118A


3 Host communication function

In this section, menus and screens related to Host Communication Function are
explained. Further, the procedures explained here are common for both file types
UNIX/DOS on host computer. (“/”(Slash) is used as a directory separator)

3.1 Menu

When the function selection key DIAG IN/OUT is pressed, and then after pressing
MENU key several number of times, the following menu will be displayed.

COPY HOSTSET HOST CF CARD MENU

MENU CONTENTS
<<Host communication setting Screen>>
HOSTSET 1) Settings related to the communication with host computer are performed.
(Settings can be done for maximum of 4 hosts.)
<<Host communication Screen>>
1) Ethernet communication device (Memory/Host computer/CF card) can be selected.
2) The directory for input/output can be specified.
HOST 3) The file name for input/output can be specified.
4) NC data can be transferred (send/receive) between selected devices.
4) NC data comparison can be performed between selected devices.
5) Deletion of selected file can be performed.

High Speed Program Server Mode -9- BNP-C3051-118A


3.2 Host communication setting screen

3.2.1 Host communication setting screen

When the menu key HOSTSET is pressed,”HOSTSET” Screen is displayed.

[HOSTSET] 1/2
Host Computer A
#1 User name (MITSUBISHI )
#2 Password (********)
#3 DIR (/MACHINE1/PRG )
#4 Host address(127.126.125.124)
#5 Comment (HOSTNAME )

Host Computer B
#6 User name ( )
#7 Password ( )
#8 DIR ( )
#9 Host address ( )
#10 Comment ( )

#( )( )

COPY HOSTSET HOST CF CARD MENU

On selection of page key (Previous page, Next page), host computer A to D can be
selected. Up to 4 host computers can be set on the HostSet screen. However,
communication cannot be performed simultaneously.

No. of
Function Details input
characters.
#1 User name Set the user name for logging into the host computer. 15
#2 Password Set the User password for logging into the Host Computer. 15
Designate the host directory to access. (Will be used as initial directory) 63
#3 DIR Designate the path under the open directory set in the Host computer’s FTP
server.
Set the IP address of the host computer. 15
#4 Host address
(“.” (Period) must be inputted)
#5 Comment Set the comment of the host computer 10
#6 User name Similar as #1 15
#7 Password Similar as #2 15
#8 DIR Similar as #3 63
#9 Host address Similar as #4 15
#10 Comment Similar as #5 10

High Speed Program Server Mode - 10 - BNP-C3051-118A


If an export directory mentioned in the host FTP server, which is to be used at FTP
client (NC), is other than root (/) then, NC treats an exported directory as a root (/).
Therefore the directory below an exported directory needs to be specified in “HostSet” or
“Host Communication” screens.

(Example) An export directory specified in FTP server is “ C:¥PRG ”.

<Contents of "C:¥PRG">

< Directory setting at NC (Directory set to #3, #8 ) >


DIR:/

< List display of [Host Communication] screen>

[File List]
Device Name(Host A)
DIR (/
<Name> <Size> <
100.PRG 1000
102.prg 1023
103.prg 1 KB
MACRO <DIR>

High Speed Program Server Mode - 11 - BNP-C3051-118A


3.2.2 Operation of host communication setting screen

(1) Setting the User Name

(a) Input “1” in the setting area # ( ), and


press the cursor key . #( 1) (
COPY HOSTSET HOST
To set the values for another host
computer displayed in the lower part of
the screen, input “6”.
(In case of 1st page it’s “Host computer B”)

(b) Input the user name for logging in into


the setting area ( ). Username can have #( 1) (MITSUBISHI
upto 15 alphanumerical characters. COPY HOSTSET HOST
*Only uppercase alphabetic characters
can be set.
Host Computer

#1 User name (MITSUBISHI )


(c) Press the INPUT key. #2 Password ( )
#3 DIR (
#4 Host Address ( )
#5 Comment ( )

The setting area will be cleared, and the


"#1 User name" data will be updated.
The password will also be cleared.
(2) Setting the password

(a) Input “2” in the setting area #( ) and


press the cursor key . #( 2) (
COPY HOSTSET HOST
To set the values for another host
computer displayed in the lower part of
the screen, input “7”.

(b) Input the user password for logging in


into the setting area ( ). The password #( 2) (MELDAS
can have up to 15 alphanumeric COPY HOSTSET HOST
characters.
*Only uppercase alphabetic characters
can be set.
HOST COMPUTER

#1 User name (MITSUBISHI )


(c) Press the INPUT key. #2 Password (******** )
#3 DIR (
#4 HOST address ( )
#5 Comment ( )

The setting area will be cleared, and the "#2


Password" data will be updated. The display will
change to "********".

High Speed Program Server Mode - 12 - BNP-C3051-118A


(3) Designating the Directory
(a) Input "3" in the setting area # ( ), and
press the cursor key . #( 3) (
COPY HOSTSET HOST
To set the values for another host
computer displayed in the lower part of
the screen, input “8”.

(b) Designate the host computer directory as #( 3) (/MACHINE1/PRG


an absolute path in the setting area COPY HOSTSET HOST
( ). The directory can have up to 63
alphanumeric characters.
*Only uppercase alphabetic characters
can be set.
Host computer

(c) Press the INPUT key. #1 User name (MITSUBISHI )


#2 Password (******** )
#3 DIR (/MACHINE1/PRG
#4 HOST address ( )
#5 Comment ( )

The setting area will be cleared, and the “#3


DIR.”data will be updated.

(4) Setting the Host address


(a) Input "4" in the setting area # ( ), and
press the cursor key .
#( 4)(
To set the values for another host COPY HOSTSET HOST
computer displayed in the lower part of
the screen, input “9”.

(b) Input the host computer’s IP address in


the setting area( ). #( 4)(127.126.125.124
”.”(Period) must also be entered. COPY HOSTSET HOST

Host computer

#1 User name (MITSUBISHI )


#2 Password (******** )
#3 DIR (/MACHINE1/PRG
(c) Press the INPUT key. #4 HOST address (127.126.125.124 )
#5 Comment ( )

The setting area will be cleared, and the “#4 Host


address” data will be updated.

High Speed Program Server Mode - 13 - BNP-C3051-118A


(5) Inputting Comment

(a) Input "5" in the setting area # ( ), and


press the cursor key .
#( 5)(
To set the values for another host COPY HOSTSET HOST
computer displayed in the lower part of
the screen, input “10”.

(b) Input the comment in the setting area


( ). Up to ten alphanumeric
#( 5)(HOSTNAME
characters can be input for the
COPY HOSTSET HOST
comment.
* Alphabetic characters can be input
only in uppercase.

Host Computer
The setting area will be cleared, and the
(c) Press the INPUT key. #1"#5
Username
Comment" data (MITSUBISHI
will be updated. )
#2 Password (******** )
#3 DIR (/MACHINE1/PRG
#4 Hostaddress (127.126.125.124 )
#5 Comment (HOSTNAME )

The setting area will be cleared, and


the"#5 Comment" data will be updated.

High Speed Program Server Mode - 14 - BNP-C3051-118A


3.3 Host communication screen

3.3.1 Host communication screen

When the menu HOST key is pressed, the Host Communication screen is displayed.
Simultaneously, menu key changes to sub menu key for host communication.

[HOST]
DEVICE: [1.MEMORY 2.CF CARD A to D.HOST A to D]
Device A
#1 DEVICE (Host A) HOSTNAME
#2 DIR (/MACHINE1/PRG/TapCycle/Test )
#3 FILE (1*.PRG )

Device B
#4 DEVICE (MEMORY )
#5 DIR (/PRG/USER )
#6 FILE ( )

#7 Transmit[A B] #10 File delete[A]


#8 Transmit[B A] #11 File delete[B]
#9 COL[A : B]

#( )( )
A CHOICE B CHOICE CHANGE RETURN

Menu Details
<<File Selection screen>>
A CHOICE The list of files set in Device A is displayed.
File can be selected from the list.
<<File Selection Screen>>
B CHOICE The list of files set in Device B is displayed.
File can be selected from the list.
Changes the alphabet key input between uppercase and lowercase.
CHANGE The menu is highlighted during selecting lowercase.
(Use this when setting the directory and file.)
Changes the display menu

COPY HOSTSET HOST CF CARD MENU

RETURN
Press HOST RETURN

A CHOICE B CHOICE CHANGE RETURN

High Speed Program Server Mode - 15 - BNP-C3051-118A


No. of input
Function Details
characters
Set the device.
(Device name is retained even after power is turned OFF. If 1
device name has not been specified, “HOST A” is set immediately
#1 DEVICE (Note 1)
after the power is turned ON,)
(Note 6)
DEVICE A

When host A to D is set, the comment set in the "HOST


COMMUNICATION screen" will appear.
Set the directory (Note 7) 63
#2 DIR
(Directory is retained even after power is turned OFF) (Note 2)

Set the file


#3 FILE Several files can be set by using “*”(Only single * is supported). 63
(Note 8)
Set the device.
(Device name is retained even after power is turned OFF. If 1
device name has not been specified, “MEMORY” is set
#4 DEVICE (Note 1)
immediately after the power is turned ON,)
(Note 6)
DEVICE B

When host A to D is set, the comment set in the "HOST


COMMUNICATION screen" will appear.
Set the directory (Note 7) 63
#5 DIR
(Directory is retained even after power is turned OFF) (Note 2)

Set the file


#6 FILE Several files can be set by using “*”(Only single * is supported). 63
(Note 8)
-
#7 TRANSMIT[A -> B] The file (#3) set in device A is sent to device B (Note 3)

-
#8 TRANSMIT[A <- B] The file (#6) set in device B is sent to device A. (Note 3)

The file (#3) set in device A and the file (#6) set in device B are -
#9 COL[A : B]
compared. (Note 3)

-
#10 File delete[A] The file (#3) set in device A is erased. (Note 4)

-
#11 File delete[B] The file (#6) set in device B is erased. (Note 4)

(Note 1) Set the device as shown below.

Setting value Set device name


1 Memory (NC internal Memory )
2 CF CARD
A HOST A
B HOST B
C HOST C
D HOST D

High Speed Program Server Mode - 16 - BNP-C3051-118A


(Note 2) Up to 63 characters can be input at once. However, if a relative path is input, 63
characters could be exceeded. In this case, the last 62 characters will be displayed,
and the first character will be displayed as "~" (tilde).
(Up to 127 characters can be set for the path.)

(Example)
/MACHINE1/123456789/123456789/123456789/123456789/123456789/1234

~ACHINE1/123456789/123456789/123456789/123456789/123456789/1234

(Note 3)
(1) If the same device is set for device A and device B, an error will occur.
(2) Set the CF card device's file name as an identifier (max. 8 characters) + extension (max.
3 characters). If a file name exceeding this number of characters (a long file name), an
operation error “E84 CAN’T IN/OUT” will occur, and the file will not be transmitted.

(Example) File name usuable for CF card device.


OK(transfer possible) ……… 12345678.PRG
NG(transfer not possible) … 123456789.PRG

(3) The directory created in the CF card (created on the personal computer) can have up to
18 hierarchies. If a file is transferred or a directory is moved (file list displayed) to a
directory having more than 18 hierarchies, an operation error “E319 DIRCTORY ERR”
will occur, and the file cannot be transferred or listed.

(4) There is an upper limit to the number of files (approx. 200 files: differs for each CF
card) that can be created in the CF card's root directory (directory immediately below
the CF card drive). If files exceeding this upper limit are transferred, an operation
error “E51 FILE OPEN ERR / FILE CLOSE” will occur, and the file will not be
transferred.

(Note)Normal file transfer may not be possible with CF card used in (2) to (4) above.
(This also applies when operation are carried out on the PC) If an operation
error (E51) occurs, format the CF card.

(5) When the memory device programs and CF card or host device files are compared, the
following line will be ignored.

Line not subject to comparison


• Line containing a "%" code (when "%" is described at head of file)
• "O" No. + comment line

Use the CR+LF code for the carriage return code of the CF card or host device file.
Use the CR+LF code for carriage return cannot be compared. An operation error
“E35 COMPARE ERR” will occur if compare is attempted.

(Note 4) Only the files in the memory and CF card can be erased. When running from CF card,
if the program number currently being executed and the file number (Exluding
extension) to be deleted in the CF card device are same, then “E21 PROGRAM
RUNNING” error will occur.

(Note 5) Cycle start is not possible in case of host communication. An error “T01 CAN’T
CYCLE ST 0115” will occur if an attempt is made during host communication.

High Speed Program Server Mode - 17 - BNP-C3051-118A


(Note 6) When host A to D is set, the comment set on the "HOST COMMUNICATION screen"
will appear)

(Note 7)
(1) As far as power is OFF, the directories corresponding to each host A to D, CF card and
memory are maintained. However at the time of power ON, only those directories
displayed for device A and device B in “HOST COMMUNICATION screen” are
maintained.

(2) If there does not exist any settings for DIR at the time of power ON, the following
initial directories are assigned to individual devices.

Device name Initial DIR


MEMORY /PRG/USER
CF CARD /
HOST A Directory of Host computer A according to host settings
HOST B Directory of Host computer B according to host settings
HOST C Directory of Host computer C according to host settings
HOST D Directory of Host computer D according to host settings

(Note 8) The file name will not be maintained in case if switched to other screen after
power restart.

High Speed Program Server Mode - 18 - BNP-C3051-118A


3.3.2 Operation of host communication screen

(1) Setting the device

(a) Input "1" in the setting area # ( ), and


#( 1)(
press the cursor key .
A CHOICE B CHOICE
(Input "4" when setting device B.)

(b) Designate the device in the setting #( 1)(A


area( ). A CHOICE B CHOICE

(Example)

To select Memory 1
To select CF card 2
To select Host A A
To select Host B B
To select Host C C
To select Host D D

(c) Press the INPUT Key. [Host]


Device A
#1 Device (Host A )
#2 DIR (/MACHINE1/PRG
#3 File (

The setting area will be cleared, and the "#1


DEVICE" data will be updated.
The previously selected files will be set in "#2 DIR."
and "#3 FILE".
1. The previously selected files will each be
saved in host A to D.
2. If host A to D is selected immediately after the
power is turned ON, the directory set on the
“HOST COMMUNICATION screen” will be set.

High Speed Program Server Mode - 19 - BNP-C3051-118A


(2) Setting the directory 1(Direct input)

(a) Input "2" in the setting area # ( ), and


#( 2)(
press the cursor key .
(Input "5" when setting device B.) A CHOICE B CHOICE

(b) Designate the directory name in the


setting area ( ). #( 2)(/MACHINE2
1) To select the slave directory of the A CHOICE B CHOICE
directory set in #2, input only the
directory name. (Relative path)
2) To change the directory set in #2,
input the directory name after "/".
(Absolute path)
[Host]
Device A
(c) Press the INPUT key. #1 Device (Host A )
#2 DIR (/MACHINE2
#3 File (

The setting area will be cleared, and the "#2


DEVICE" data will be updated.

(3) Setting the directory 2 (Selective input)


[File List]
(a) Press the menu key A CHOICE . Device (Host A )
DIR (/MACHINE2
(Press the menu key B CHOICE <FILE> <SIZE> <
when setting device B). Back..
PRG2 <DIR>
1000.prg 123 Byte
1001.prg 1 Kbyte

The File Selection screen will open.

[File List]
(b) Press the arrow keys or and Device (Host A )
move to the target directory. DIR (/MACHINE2
(Refer to section “3.4.2 Operation of file <FILE> <SIZE> <
Back..
selection screen” for details on operations
PRG <DIR>
in the File Selection screen) 1000.prg 123 Byte
1001.prg 1 Kbyte

[Host]
(c) Press the INPUT key, and then Device A
press the menu key RETURN . #1 Device (Host A )
#2 DIR (/MACNINE2/PRG
#3 File (

The Host communication screen will open,


and “#2 DIR” will be updated.

High Speed Program Server Mode - 20 - BNP-C3051-118A


(4) Setting the File 1 (direct input)
(a) Input "3" in the setting area # ( ), and
press the cursor key . #( 3)(
(Input "6" when setting device B.) A CHOICE B CHOICE

(b) Designate the file name in the setting area


( ). #( 3)(1*.prg
(To select multiple files, use "*" (asterisk).) A CHOICE B CHOICE
(Example)
To select all files starting from "1" and
ending at ".PRG" "1*.PRG"
(Only one asterisk can be used.)

[Host]
(c) Press the INPUT key. Device A
#1 Device (Host A )
#2 DIR (/MACHINE1/PRG
#3 File (1*.prg

The setting area will be cleared, and the "#3


DEVICE" data will be updated.
(5) Setting the file 2 (selective input)
[File List]
(a) Press the menu key A CHOICE . Device (Host A )
DIR (/MACHINE1/PRG
(Press the menu key B CHOICE when <File> <Size> <
setting device B) Back..
1234.prg 1000 Byte
9999.prg 1023 Byte
1001001.prg 1 Kbyte

File Selection screen will open.

[File List]
(b) Press the arrow keys or and move Device (HostA )
DIR (/MACHINE1/PRG
to the target file. <File> <Size> <
(Refer to section “3.4.2 Operation of file Back..
selection screen” for details on operations in 1234.prg 1000 Byte
the File Selections screen.) 9999.prg 1023 Byte
1001001.prg 1 Kbyte

(c) Press the INPUT Key, and then [Host]


press the menu RETURN key. Device A
#1 Device (Host A )
#2 DIR (/MACHINE1/PRG
#3 File (1234.prg

The Host communication screen will open,


and “#3 FILE” will be updated.

High Speed Program Server Mode - 21 - BNP-C3051-118A


(6) Transferring Files
(a) Set the transfer origin and transfer [Host]
destination files Device A
(Refer for details to the steps (1) to (5) of #1 Device (Host A )
section “3.4.2 Operation of file selection
#2 DIR (/MACHINE1/PRG
screen “)
#3 File (100.PRG
If the transfer destination file is omitted,
the file will be transferred with the same
name as the transfer origin file. Note that Device B
when inputting and outputting the #4 Device (Memory )
machining programs in the memory device, #5 DIR (/PRG/USER
the extension (.PRG) will be added or #6 File (100
deleted automatically. (Details are as
shown below)

Automatically determining the transfer origin file name


Transfer destination Transfer
Transfer origin device:
device destination Explanation
/File name
:/File name file name
Memory:/PRG/USER/100 Host A:/ 100.PRG Transferred as same file name +
Memory:/PRG/USER/100 CF Card:/ 100.PRG extension is automatically added.

Memory:/PRG/USER/100 Host A:/200 200.PRG Extension is automatically added.


Memory:/PRG/USER/100 Host A:/200.TXT 200.TXT Transferred with designated file name.
Host A:/100.PRG Memory:/PRG/USER 100 Extension(PRG) is automatically deleted
CF Card:/ 100 Extension is not added automatically
Host A:/100
between Host and CF Card.

(b) Input “7”in the setting area # ( ), and press


the INPUT key (Transmit operation)
When using #7 Transmit [A -> B], device A )
will be the transfer origin. WRITE:NO SCR.CHG
When using #8 Transmit [B -> A], device B B CHOICE CHANGE RETURN
will be the transfer origin.
The transfer will start, and the message
“WRITE:NO SCR.CHG”will appear.
1) Transfer origin file does not exist.
“E313 NO FILE”
2) File already exist at destination.
“E314 FILE DUPLICATE”
(File can be overwritten. Refer (c) next page for
instructions).
3) Other reasons where transfer cannot be accomplished.
(Host is down for example.)
For details refer to section
”8.1Host communication function operation error”.

When transferring multiple files with the "*" destination, the


message "WRITE:NO SCR.CHG" and "WRITE COMPLETE"
will appear each time a file is transferred.
"DATA IN COMPLETE" or "DATA OUTCOMPLETE" will
appear when the last file has been transferred.

High Speed Program Server Mode - 22 - BNP-C3051-118A


(c) When an error #( 7)(
“E314 FILE DUPLICATE” occurred CHOICE A CHOICE B
due to the existence of same file at
the destination.
Cursor moves automatically moves to
setting area ( ).

(d) To overwrite (or transfer) specify “Y”


#( 7)(Y
and press the INPUT key.
CHOICE A CHOICE B

In case of “E314 FILE DUPLICATE” error Transfer operation will be restarted and
overwrites the file.
“Y” + INPUT key: File will be
overwritten and transferred.

(If multiple number of files are being


transferred and duplicate files exists,
the error will occur again.)

“A” + INPUT key: An operation error


will not occur even if subsequent files are
duplicated, and instead the files will be
overwritten .

“N” + INPUT key: The file transfer will


stop at that point. (Transfer will stop for
characters other than “Y” and “A” also)

High Speed Program Server Mode - 23 - BNP-C3051-118A


3.4 File selection screen

3.4.1 File selection screen

When the menu key A CHOICE (or B CHOICE ) is pressed on the HOST
COMMUNICATION screen, the File Selection screen will appear.

[File List] 1/ 1
DEVICE (HOST A )
DIR (/MACHINE1/PRG/TapCycle/Test )
<FILE> <SIZE> <REFERENCE>
Back..
100.PRG 0 2001/08/12 01:01:01
1000.PRG 12 2001/08/12 11:11:11
1001.PRG 1023 KB 2001/08/12 12:34:56
1002.PRG 1.00 KB 2001/08/12 23:56:00
TapOld.PRG 1.10 MB 1998/12/12 00:01:01
TapOld2.PRG 1023 MB 1999/12/12 00:02:02
TapOld3.PRG **** GB 2000/12/12 00:03:03
PreCut0107 <DIR> 2001/07/01 01:01:01
PreCut0108 <DIR> 2001/08/02 12:12:12

REWRITE RETURN

If there are more than 12 files (When “Back...” is displayed, 11 files) saved to be listed
on one page, the files will be displayed on several pages. Feed the pages by pressing the
page keys Previous key or Next page .

If the host files are displayed, the information is displayed in the order that it was sent
from the host computer. The time displayed in the "<REFERENCE>" field also follows the
host computer's clock.

When the CF card files are displayed, the files are displayed in the order that they were
saved in the CF card's file system. (If the files in the CF card are erased and files are output
to the CF card repeatedly, the files will be written into the area opened by erasing the files)

Menu Details
REWRITE The contents displayed in the file list are redisplayed.
Returned to “HOST COMMUNICATION SCREEN” .
RETURN (Directory (Path) selected in “FILE SELECTION screen” is reflected on “HOST
COMMUNICATION screen”)

If another screen is displayed while the files are listed and then the File Selection
screen is opened again, the files will not be listed. (Press the REWRITE menu to
display the files again)

High Speed Program Server Mode - 24 - BNP-C3051-118A


Item Details
The designated device name is displayed.
DEVICE
• Set the device in “HOST COMMUNICATION” screen.
The directory name is displayed with the full path.
• Maximum number of display characters is 63. (NOTE 2)
• The directory name display will be updated when any of the
DIR
following steps is carried out.
1) Select Directory from the file list.
2) Select "Back.." from the file list.
Files names and Directory names are displayed.
• Maximum number of display characters is 36. (NOTE 3)
<FILE> • The selected file is highlighted. Another file can be selected using
the or keys.
• If the device is "MEMORY", the file name and directory name will
be fixed names.
The file size is displayed. (Unit: Byte)
File List

• When 1024Byte is exceeded: KB


<SIZE> (Similarly 1024KB →MB (Mega Byte), 1024MB → GB (Giga Byte))
• A directory will be displayed as “<DIR>”.
• When 4.0Gbyte is exceeded, the size will be displayed as “**** GB”.
The date and time (hour, minute, second) that the file was saved are
displayed. (NOTE 4)
<REFERENCE> If the device is "MEMORY", the following will be displayed.
• When file is Program: A comment will display.
• When file is not a Program: There will be no display.

(Note 1) When the garbage values are displayed, there is a possiblity of 2 byte characters or
single byte Japanese(kana) characters in host's directory name or file name. In
that case change the characters to single byte english alphanumeric characters.

(Note 2) If 63 characters are exceeded, the last 62 characters will be displayed, and the first
character will be displayed as "~" (tilde). (Up to 127 characters can be set for the
path.)
(Example)
/MACHINE1/123456789/123456789/123456789/123456789/123456789/1234

~ACHINE1/123456789/123456789/123456789/123456789/123456789/1234

(Note 3) If 36 characters are exceeded, the last 35 characters will be displayed, and the first
character will be displayed as "~" (tilde). (When a file name having more than 64
characters is selected, an error will occur during the transfer of the file. If a file with
63 characters or less and a "~" at the head is selected, it will be correctly displayed on
the Host Communication screen.)
(Example)
123456789012345678901234567890123.PRG

~3456789012345678901234567890123.PRG

(Note 4) If the host computer's file type is UNIX, and the file was saved in the previous year, the
time will not be displayed.
1) File saved in Current year: only time is displayed, year is not displayed.
2) File saved before Current year: time is not displayed.

High Speed Program Server Mode - 25 - BNP-C3051-118A


3.4.2 Operation of file selection screen

(1) Moving the directory

(Example 1) To move from directory “/MACHINE1” to directory “/MACHINE1/PRG/TapCycle”

(a) The directory (File) selected will be [File List]


highlighted. Using the arrow keys DEVICE (HOST A )
or , select the target directory. DIR (/MACHINE1
(“PRG” for this example) <FILE> <SIZE> <
Back..
(If there are multiple directories (or PRG <DIR>
files) in “/MACHINE1” and do not 9999.prg 1023 Byte
appear on one page, the target file may 1001001.prg 1 Kbyte
not be displayed.
Press the page keys ( Previous Page ,
Next Page ) to scroll the pages and
display the required information)
[File List]
DEVICE (HOST A )
DIR (/MACHINE1/PRG
(b) Press the INPUT key. <FILE> <SIZE> <
Back..
TapCycle <DIR>
1000.prg 1000 KByte
1001.prg 1MByte

“DIR.” will be updated, and the files under


“/MACHINE1/PRG” will appear in the file list at
the same time

[File List]
(c) Press the arrow keys or DEVICE (HOST A )
DIR (/MACHINE1/PRG
again to select the target directory <FILE> <SIZE> <
(“TapCycle” in this example) Back..
TapCycle <DIR>
1000.prg 1000 KByte
1001.prg 1MByte

[File List]
(d) Press the INPUT key. DEVICE (HOST A )
DIR (/MACHINE1/PRG/TapCycle
<FILE> <SIZE> <
Back..
10.prg 1000 KByte

“DIR.” will be updated, and the files under


“/MACHINE1/PRG/TapCycle” will appear in the file
list at the same time

High Speed Program Server Mode - 26 - BNP-C3051-118A


(Example 2) To move from directory “/MACHINE1/PRG/TapCycle” to directory “/MACHINE1”

(a) Press the arrow key , and select [File List]


“Back..”. DEVICE (HOST A )
(Even if a page other than the first page DIR (/MACHINE1/PRG/TapCycle
<FILE> <SIZE> <
has been displayed by pressing the page Back..
key ( Previous Page , Next Page ), 10.prg 1000 KByte
“Back..” will always appear at the top
line.)

[File List]
DEVICE (HOST A )
(b) Press the INPUT key. DIR (/MACHINE1/PRG
<FILE> <SIZE> <
Back..
TapCycle <DIR>
1000.prg 1000 KByte
1001.prg 1MByte

“DIR.” will be updated, and the files


under”/MACHINE1/PRG” will appear in the
file list at the same time.

[File List]
(c) Press the arrow key again, and
DEVICE (HOST A )
select ”Back..” DIR (/MACHINE1/PRG
(“Back..” will appear immediately after <FILE> <SIZE> <
the directory is moved) Back..
TapCycle <DIR>
1000.prg 1000 KByte
1001.prg 1MByte

(d) Press the INPUT key. [File List]


DEVICE (HOST A )
DIR (/MACHINE1
<FILE> <SIZE> <
Back..
PRG <DIR>
9999.prg 1023 Byte
1001001.prg 1 Kbyte

“DIR.” will be updated, and the files


under”/MACHINE1” will appear in the file
list at the same time.

High Speed Program Server Mode - 27 - BNP-C3051-118A


(2) Selecting a file/directory
[File List]
(a) Move to the directory containing the DEVICE (HOST A )
target file. DIR (/MACHINE1/PRG
Refer to “(1) Moving the directory” of the <FILE> <SIZE> <
section Back..
TapCycle <DIR>
“3.4.2 Operation of file selection screen” 1000.prg 1000 KByte
1001.prg 1MByte

(b) The directory (File) selected will be [File List]


highlighted. Using the arrow keys DEVICE (HOST A )
or , select the target file. DIR (/MACHINE1/PRG
(If there are multiple directories (or files) <FILE> <SIZE> <
Back..
and do not appear on one page, the TapCycle <DIR>
target file may not be displayed. 1000.prg 1234 KByte
Press the page keys( Previous Page , 1001.prg 1MByte
Next Page ) to scroll the pages and
display the required information

(c)–1 After pressing the INPUT key, [HOST]


press the menu key RETURN . DEVICE A
#1 DEVICE (HOST A )
#2 DIR (/MACHINE1/PRG
#3 FILE (1000.prg

The Host Communication screen will open


and “#2 DIR.” and “#3 FILE.” will be
updated.

(c)–2 Press the menu key RETURN .


[HOST]
DEVICE A
#1 DEVICE (HOST A )
#2 DIR (/MACHINE1/PRG
#3 FILE (

The Host Communication screen will open


and “#2 DIR.” will be updated.

High Speed Program Server Mode - 28 - BNP-C3051-118A


4 CF card function

The CF card I/O function is to connect NC with the CF card and to input and output the machining program.
Moreover, it is also possible to search the machining program registered on the CF card for automatic
operation.

4.1 Menu

When the function selection key DIAG IN/OUT is pushed, and the menu key MENU
is pushed several times, the following menu is displayed.

COPY HOSTSET HOST CF CARD MENU

Menu Outline of function


(1) The program can be input and output between the NC memory and the CF card.
(2) The program in the CF card can be deleted.
CF Card (3) The CF card can be formatted (FAT32 or FAT16).
(4) It is possible to search the program in the CF card for automatic operation with tape
mode.

High Speed Program Server Mode - 29 - BNP-C3051-118A


4.2 CF card screen

When the menu key CF card is pushed, the following "CF card screen" is displayed.

[CF CARD] PROGRAMSERVER 1 1/2

#1 IN (CF NC) PROGRAM ENTRY 20


#2 OUT (NC CF) BYTE 234 MB
#3 PROGRAM ERASE <PROGRAM> <BYTE> <COMMENT>
#4 PROGRAM SEARCH 1. PRG 123 TESTCUT
2. PRG :
10. PRG :
100. PRG :
1000. PRG :
1001. PRG :
1020. PRG :
: :

#( ) O( )

COPY HOSTSET HOST CF CARD MENU

Function Details
#1 IN (CF NC) Selects the machining program input operation
(CF card NC memory).
#2 OUT (NC CF) Selects the machining program output operation
(NCmemory CF card).
#3 PROGRAM ERASE Erases the machining program in the CF card.
#4 PROGRAM SEARCH Searches for machining programs saved in the CF card.

Function Details
PROGRAM The number of machining programs saved in the CF card is
ENTRY displayed.
The remaining number of bytes that can be saved in the CF
card is displayed.
BYTE
The remained number of bytes is displayed by the unit of KByte
or Mbyte.
The machining program No. (1 to 99,999,999) saved in the CF
<PROGRAM>
card is displayed.
The number of machining program bytes saved in the CF card
<BYTE>
is displayed.
A machining program comment (up to 18 characters) is
<COMMENT>
displayed.

(Note 1) When using the 2-part system, the screen operations can be disabled
It becomes operation error “E05 NOT ACCEPTABLE”.
(Note 2) The list is displayed in the order that the CF cards are saved. If the files in the CF card are
erased and files are output to the CF card repeatedly, the files will be written into the area
opened by erasing the files. Thus, the files may not be displayed in the actually saved order.
(Note 3) CF formatted with NTFS cannot be recognized. Please format CF with the personal computer
etc. as FAT format once.

High Speed Program Server Mode - 30 - BNP-C3051-118A


4.3 Operation of CF card screen

(1) The following operations are used to input (CF -> NC) or output (NC -> CF) or deletion
for the machining program.

1) “1" is input to setting part # ( ), and


cursor key is pushed. #( 1) O( )
“2" is input in case of output
COPY HOSTSET HOST
operation and “3" is input in case of
erasing deletion operation.

2) The target program number for the #( 1) O( 1000)


operation is set in setting part COPY HOSTSET HOST
O( ) , and the INPUT key is
pushed.

DATA IN COMPLETE
HOST CF CARD MENU

<In case of input operation>


"DATA IN EXECUTION" will appear in the message area.
When the input is completed, "DATA IN COMPLETE" will appear
in the message area, and the content of the file list is updated.
(The program No. setting area will become blank.)

<In case of output operation>


"DATA OUT EXECUTION" will appear in the message area.
When the output is completed, "DATA OUT COMPLETE" will
appear in the message area, and the content of the file list is
updated.
(The program No. setting area will become blank.)

<In case of erasing output operation>


"ERASE EXECUTION" will appear in the message area.
When the erasing is completed, "ERASE COMPLETE" will appear
in the message area, and the content of the file list is updated.
(The program No. setting area will become blank.)

(Note 1) Programs being called by the M198 command cannot be input or output or erased.
(Note 2) The screen cannot be changed during data input or output.
(Note 3) Programs being searched with "#4 PROGRAM SEARCH" cannot be erased.

High Speed Program Server Mode - 31 - BNP-C3051-118A


(2) Formatting the CF Card

Format the CF card with the following operations to erase all machining programs in the CF
card or to format a CF card.

1) “3” is input to setting part # ( ),


and cursor key is pushed. #( 3) O( )
COPY HOSTSET HOST

2) “FORMAT” is set in setting part #( 3) O( FORMAT)


O( ) , and the INPUT key COPY HOSTSET HOST
is pushed.

FORMAT COMPLETE
HOST CF CARD MENU

"FORMAT EXECUTION" will appear in the


message area.
When the formatting is completed, the message is
cleared, and the content of the file list is updated.
(The program No. setting area will become blank.)

(Note 1) Formatting is not possible while the program is running.


(Note 2) It is formatted to the filesystem of FAT32 or FAT16.

High Speed Program Server Mode - 32 - BNP-C3051-118A


(3) Searching for a macining program in the CF Card

Format the CF card with the following operations to erase all machining programs in the
CF card or to format a CF card.

1) “4” is input to setting part # ( ),


and cursor key is pushed. #( 4) O( )
COPY HOSTSET HOST

2) Set the program No. (1 to99,999,999)


to be searched in setting part
O( ) , and the INPUT key #( 4) O( 1000)
is pushed. COPY HOSTSET HOST

SEARCH COMPLETE
HOST CF CARD MENU

"SEARCH EXECUTION" will appear in the message


area.
When the searching is completed, "SEARCH
COMPLETE" will appear in the message area.
(The program No. setting area will become blank.)

To start the searched program, push the automatic start switch in the tape mode.
The search is maintained until reset is input.
(The search is necessary again when resetting it.)

(Note 1) Searching is not possible unless the machining program format is correct.
Please refer to “6.NC Data” for the format of the machining program.

High Speed Program Server Mode - 33 - BNP-C3051-118A


5 High-Speed Program Server Mode

By this functionality machining programs registered into CF card can be operated.


There exist two modes of operation, direct call by Tape mode and subprogram call by Memory
mode. Through which it is possible to handle large size programs as well as multiple automatic
processing.

5.1 Direct call by Tape mode

The programs registered into CF card can be operated in Tape mode by direct call method.

(1) Search the machining program, to be operated, using CF card screen. (Refer ”4.3
Operation of CF card screen”)
(2) Press the auto run switch in Tape mode.

5.2 Sub program call by M198 (Memory mode)

The program registered into CF card can be called as a sub program. In this case, it
should be instructed in the main program as below.

M198 P L ;
P: Sub program number that resides in a CF card.
(Number, that represents filename, 8 digits at the most)

L: Number of repetative call for a subprogram. (Maximum of 4 digits)


Optional. ((In this case, subprogram will be called once.)
On specifying “L0”, subprogram will not be called at all.

Note) Sequence number call (M198 H****) cannot be done.

All possible ways of calling sub programs from main program is as shown below.
However, under sub program nesting, the sub program calls generated by M198 will be
valid for only one time.

Sub
Operation Mode Memory CF Card Tape
Main
Memory and MDI mode Memory Ok Ok NG
CF Card Ok NG NG
Tape Mode
Tape Ok NG NG

Note) : M198 call cannot be made from 2-System. In the case if called, “P390 NO SPEC”
error will be generated.

High Speed Program Server Mode - 34 - BNP-C3051-118A


6 NC Data

6.1 Data List

Under these functionalities (Host communication, CF card), the following are the list of
NC data that can be input/output

Function (Device)
Data Type Host Communication CF Card Remark
(Host) (CF Card) (CF Card)
Machining Program Ok Ok Ok -
User Macros NG NG NG -
Maker’s Macros NG NG NG -
Tool compensation/offset data NG NG NG -
Parameter NG NG NG -
Tool life monitoring data NG NG NG -
Common variables NG NG NG -
Auxiliary axis parameter NG NG NG -
Operation history NG NG NG -
Maintenance ALL1 NG NG NG -
data ALL2 NG NG NG -
ALL3 NG NG NG -
SRAM Data NG NG NG -
Extended NG NG NG -
SRAM
Data
Waveform data NG NG NG -

6.2 Data format

The basic rule for the data format in the functionalities, Host communication and CF
card is as follows

% CRLF ”%CRLF” is added at the starting line


O1(A1234567890123456) CRLF while outputting.
G28XYZ CRLF (Discarded while inputing)
M02 CRLF
:
: ”CRLF” is added as carraige return code
: (EOB) while outputting.
:
:
% CRLF ”%” is added to the last line.

Note) : While outputting machining program from memory to host or to CF card, the
decision of whether to add “%+CR+LF" as a starting line, depends on the parameter #1232
set04.bit1. (0: % will be added, 1: % will not be added)

High Speed Program Server Mode - 35 - BNP-C3051-118A


6.2.1 Machining Program

A data format description rule is shown in the following table.

Function
Host Communication / CF card
Contents
File Name
Numerical_value_with_in_8_digits. PRG

Program Number Starting “O” number


= Machining Program Number (*2)
≠ Numerical value that represents file name
Number of programs in
1 Machining program / 1file (*3)
single file

*1: In case of outputting data from NC, machining program number is added at
the starting line as “O” number. Conseqvently, at the time of input to NC,
“O” number at the starting line is treated as the program number. (Under
this situation file name is irrilavent.)

*2: In case of outputting data from NC, machining program number is added at
the starting line as “O” number. Output file name can be changed optionally
by using ”Host” screen. While inputting to NC, if the numerical value in file
name is not the same as machining program number, the file is written to
NC with a name specified in the filename.

Example: Transfer of file with ”Numerical value in filename ≠ Machining


program number” (memory write)

200.PRG O200(EXEAMPLE)
% G90 G54 G28 X0.;
O100(EXEAMPLE) :
G90 G54 G28 X0. :
: :
: Writes to NC as :
: 200 while :
: transfering to :
: NC M30;
: %
M30
%

*3: In case of inputting a file that contains more than one program. (Multiple “O”
numbers exist in the file).

a) ”CF card ” screen An input file is automaticaly splitted into


multiple number of files and inputted depending
on “O” numbers inside the file.

b) ”Host “ screen Inputs as a single file.

High Speed Program Server Mode - 36 - BNP-C3051-118A


The data format of maching Program is as shown below.

1) File Name
Using ”Host” screen File name to save is optional.
“Numerical_value_with_in_8digits.PRG” is recommended.
If other than “Numerical_value_with_in_8_digits.PRG”, it
is necessary that the file name on NC memory must be
specified at the time of input.
Moreover in case of outputting from NC memory, the
default file extension “PRG” is attached if not specified.

Using ”CF card” screen Specify the file name as ” Number_with_in_8_Digits .PRG”.

2) “%” (Percent) at the first line is not necessary.

3) Numerical value in the file name and the “O” number are not necessary to be same.

4) Specify the last block as M99 when calling as subprogram and M30 when searching
in tape mode.

5) Specify % to the end of file.

Example 1 Example 2
File name: 12345678.PRG File name: 12345678.PRG
O12345678(EXEAMPLE) %
G90 G54 G28 X0. O100(EXEAMPLE)
: G90 G54 G28 X0.;
: :
: :
: :
: :
: :
M30 :
% M30;
%

1) Number of characters in first line comment must be less than or equal to 18.
2) Make sure that all characters can be entered using NC keys.
3) Make sure there is no ‘; ’ at the end of each block.
4) The following macro statements or the statements that cause an execution pointer to
branch (multiple repetitive canned cycle statements) cannot be used.
a. Control command ”IF …GOTO…”and ”WHILE … DO …” commands.
b. Arithamatic commands (functions) ”SIN” or “COS” etc.
c. External output commands ”POPEN” , ”DPRINT” and “PCLOSE” commands.
d. Multiple repetitive canned cycle G70 to G73 commands (However, using address A, shape
programs inside NC memory can be specified.).

High Speed Program Server Mode - 37 - BNP-C3051-118A


7 Parameter

Basic specification parameter (Setup parameter 1. 15/15)


# Items Details Setting range
(unit)
1925 EtherNet Start of Start or stop the Ethernet Please set it to “1"
(PR) service communication function. when you use this
0: Stop function.
1: Start
1926 IP Address IP address Specify the NC IP address Set these
(PR) parameters in
accordance with
1927 Subnet mask Subnet mask Specify the subnet mask. the network rules
(PR) in the connection
1928 Gateway Gateway Specify the gateway IP address. environment.
(PR)
1929 Port number Port No. Not use in this function -

1930 Host address Host address Not use in this function -

1931 Host number Host No. Not use in this function -

1932 FTP Retry FTP Set the frequency automatically retried 0 to 999 (times)
communication when the FTP communication fails.
retry frequency
1933 FTP FTP Set the communication time-out time 0 to 99 (second)
Timeout communication when FTP communication automatic
time-out time operation retry is set.
When 0 is set, it becomes ten seconds
of the initial value.

Basic specification parameter (Setup parameter 1. 8/15)


# Items Details Setting
range (unit)
Set whether Ethernet communication is
Host enabled during automatic operation.
aux04 communication
1220 validity during 0 : Ethernet communication disabled during 0/1
(bit7) automatic automatic operation
operation 1 : Ethernet communication enabled during
automatic operation
Flag which selects whether to add "%" + CR+LF
to head of file when the machining program is
output
set04 Program format (Correspond only when outputting it from the
1232 0/1
(bit1) NC memory. )

0 : % is added.
1 : % is not added.

Caution)
If Ethernet communication is enabled during automatic operation, interrupt processes
required for communication will be carried out, so the machining performance could be
affected.

High Speed Program Server Mode - 38 - BNP-C3051-118A


8 Error message

8.1 Host communication function operation error

Error No. Error message Details


E10 MEMORY OVER The program cannot be written because the memory capacity is
exceeded.
E12 FILE ENTRY OVER The program cannot be registered because the number of
machining programs depending on the specification is exceeded.
E21 PROGRAM RUNNING Erasing or inputting of a program being used in automatic
operation was attempted.
Accessing to the host computer was attempted during automatic
operation.
E35 COMPARE ERROR The error of file comparison occurred.
E51 FILE OPEN ERR The error occurred in the opening of the file.
Please confirm the file is permitted as write enable.
E55 FILE DELETE ERR The error occurred in the deletion of the file.
The file of the host side cannot be deleted.
E84 CAN’T IN/OUT When the parameter “#1925 EtherNet” of the high-speed program
server function is set to 0, an attempt to access the file on the host
was done.
When writing data to the CF card, the file name is illegal.
(Exceeding 8 characters of file name + 3 characters of extension.)
E86 INPUT DATA ERR The format of file written to the NC memory is illegal.

E301 CONNECT ERROR A socket connection attempt failed during Ethernet


communication.
Check the host address, the setting of the port No. and that the
host computer is turned ON.
Please confirm the firewall setting on the host computer side.
(Please confirm the setting of the anti-virus software etc.)
E302 LOGIN ERR A login attempt failed during Ethernet communication. Check the
user name and password.
Check the account settings, such as the home directory.
E303 TIME OUT Transmission of a file with Ethernet communication ended
because of timeout.
E313 NO FILE The specified file which becomes a transmission origin is not
found.
E314 FILE DUPLICATE The specified file which becomes a destination already exists.

E315 FILE WRITE ERR An attempt to write to the CF card failed during Ethernet
communication.
E316 FILE READ ERR An attempt to read a file from the CF card failed during Ethernet
communication.
E317 MEMORY OVER CF card memory or NC memory is full.

E319 DIRECTORY ERR An attempt to move a directory failed.


In the CF card device, accessing a directory in the nineteenth
layer or more was attempted.

High Speed Program Server Mode - 39 - BNP-C3051-118A


8.2 CF card function operation error

Error No. Error message Details


E05 NOT ACCEPTABLE The CF card was operated while selecting the screen of 2-system.
E10 MEMORY OVER The program cannot be written because the memory capacity is
exceeded.
E11 PROG. No. DUPLI A program with the same No. as the machining program to be
copied from the memory was found in the CF card.
E12 FILE ENTRY OVER The program cannot be registered because the number of
machining programs depending on the specification is exceeded.
E14 PROG. NOT FOUND The designated program is not found in the memory.

E21 PROGRAM RUNNING Erasing or inputting (CF NC) of a program in the CF card
being used under the automatic operation was attempted.
Formatting of the CF card was attempted during automatic
operation.
E86 INPUT DATA ERR The format of file written to the NC memory is illegal.

E317 MEMORY OVER CF card memory is full.

8.3 Program error

Error No. Error message Details


P39 NO SPEC ERR The M198 command was executed in the second system.
The high-speed program server operation specifications are not
provided.
P230 NESTING OVER The program in the CFcard contains the M198 command.
The program in the CFcard has been called more than once (the
program in the CF card can be called only once at a time).
P232 NO PROGRAM No. The file name of the program registered on the CF card is not
corresponding to O number.
The subprogram has not been found in NC memory and on CF
card when the subprogram is called.
The multiple repetitive canned cycle for lathe was commanded
without address A(Program number in which shape is specified).
P461 FILE I/O ERROR The CF card has not been inserted.

High Speed Program Server Mode - 40 - BNP-C3051-118A


Sub
version
Date Revision history
A ’06-02-02 (1) Correction of composition(The explanation of screen setting and operation in section of "3. host
communication function" are integrated. )
(2) The explanation of "(5) comment input operation" in section of "3.2.2 host communication
setting screen" is added.
(3) The section of "5. high speed server operation" is added.
(It is separated from "4. CF card function")

Document number

BNP-C3051-118A

High Speed Program Server Mode - 41 - BNP-C3051-118A

Vous aimerez peut-être aussi