Mitsubishi Electric MELDAS 600 Instruction Manual

Page 1
MITSUBISHI CNC
MELD/IS
600
Series
MAINTENANCE TOOL
INSTRUCTION MANUAL
BNP-63988-001* (ENq
Mll’SlJBlSHl ELECTRIC
Page 2
Revision History
Sub-No.
*
Date of revision
June 1999
Revision details
First edition created.
Page 3
CONTENTS
1. Outline
.........................................................................................................................................
2. Work Environment
..............................................................................................................................
2.1 Items to
prepare..
........................................................................................................................
2.2 Setting the
HR98x caxx$te
.......................................................................................................
2.3 Mounting
the maintenance tool cassette..
..................................................................................
3. Starting and Ending the M6 Maintenance
Tool ..............................................................................
3.1
Starting the tool
...........................................................................................................................
3.2 Ending the tool
.............................................................................................................................
3.3 Main menu..
.................................................................................................................................
4. Memory Back Up .................................................................................................................................
4.1 Preparation
..................................................................................................................................
4.2 Operating procedure
...................................................................................................................
4.3 Explanation of commands
..........................................................................................................
4.4 Emr messages..
.........................................................................................................................
5. Serial Number and NC Typk, Unit type Set
.....................................................................................
5.1
Preparation
..................................................................................................................................
5.2 Operating procedure
...................................................................................................................
6. Servo Spindle FNV Down Load..
........................................................................................................
6.1 Preparation
..................................................................................................................................
6.2 Starting the tool
...................................................................................... .....................................
6.3 Operating
proce&re in the normal mode..
.................................................................................
6.3.1
Initial screen
.....................................................................................................................
6.3.2
Operation display.. ...........................................................................................................
6.3.3 Error information
..............................................................................................................
6.4 Operating procedure in the automatic firmware download mode
.............................................
6.4.1
Operation proc&,re..
......................................................................................................
6.4.2 List of error Nos
...............................................................................................................
6.5
Internal
mnfigur&on of the M500 Maintenance Tool
CaSSetk.. ...............................................
7. Command Line Mode
..........................................................................................................................
7.1 Outline
........................................................................................................................................
7.2 Memory map
.......................................
.......................................................................................
7.3
l&
of cammlds..
......................................................................................................................
7.4 &mmand format.. ......................................................................................................................
7.5
Explanation
of comma&
..........................................................................................................
7.5.1 End command line tool..
..................................................................................................
7.5.2
Display help..
....................................................................................................................
7.5.3 Display memory information
............................................................................................
7.5.4
Display memory.. .............................................................................................................
7.5.5
Modify memory.. ..............................................................................................................
7.5.6
Write FROM..
...................................................................................................................
7.5.7
Erase FROM
...................................................................................................................
7.5.8
copy memory ..................................................................................................................
7.5.9
W&e memory..
................................................................................................................
7.510 Clear memory.. ................................................................................................................
7.5.11 Compare memory..
..........................................................................................................
7.5.12 meate a wpy of the
M6 Maintenance Tool
....................................................................
8. Appendix 1 HyperTermlnal Starting Procedure
............................................................................
1 2
2 2 3 4
4 4 5 6 6
7 8
15 16
16
16 18 18 . 18
19 19
20
22 23 23
24 25 27 27
27 28 28
29 29 29
29 30 31
32 33 33
34 34 34
35 36
Page 4
c.
:. >
1. Outline
The M6 Maintenance Tool is used when performing maintenance on a CNC shipped to the machine
maker, end user, etc. The tool has the following functions.
1) Memory Backup function
2) Serial number, CNC type and unit type setting function
3) Servo, spindle F/w download function
4) Memory backup by command line function
The M6 Maintenance Tool is provided as an HR98x cassette, and is used mounted on C-BUS #2 of the CNC. The M6 Maintenance Tool is operated usina a VDS. Because of this, a VDS and cable that can
be connected to the CNC are required.
[Supplement]
*l : System, boot ROM upgrades
.
The system and boot ROM are not upgraded by the maintenance tool. These are upgraded using cassettes specially dedicated for upgrading.
*2 :’
PLC (ladder) upgrades PLc’s are upgraded following the appropriate method for each model.
-l-
Page 5
2. Work Environment
Connect the VDS to serial port 1
on the CNC
side of the actual device. If using a notebook personal computer with a Windows 95 (Windows 98) system as the VDS, the standard “HyperTerminal” program can be used. Refer to the Appendix for details on how to start “HyperTerminal”.
Serial
cable
2.1 Items to prepare
l
M6 Maintenance Tool (HR98x cassette).
*
l
VDS or notebook personal computer that can be used as a VDS.
l
DSUB 25pin serial cable (CNC side connector). Note that because the operation board differs according to the model, the correct cable must be confirmed.
l
Accuracy driver (required for changing the rotary switch).
2.2 Setting the HR98x castiette
The M6 Maintenance Tool is provided as an HR98x cassette. Set the HR98x as follows.
HR98x card
,Expa”s’l C-BUS
Mount on
C-BUS #2 of the HR113 card
Setting pin : Leave open (no setting pin).
Rotary switch 1 : Use for automatic servo download. Normally set to 0. Rotary switch 2 : Not used. Set to 0.
-3-
Page 6
2.3 Mounting the maintenance tool cassette
The following shows the cassette mounting location.
1) The maintenance tool (HR98x cassette) is mounted on C-BUS #2 of the HR113 or HRl 11 card.
2) Depending on the functions to be used, cassettes for memory backup or cassettes for copying FROM cassettes may be mounted in addition to the maintenance tool (HR98x cassette). Mount the cassettes using the following drawing as a reference.
(Note) Always mount/remove cassettes with the CNC power OFF
Back view of
unit
ir-segment LED \
CN6 reset
Rotary switch
I
Memory cassette
I
Espansion C-BUS (EXTC-BUS)
Roteryswfich 1
Rotary switch 2
1
Mount the HR96x card on C-BUS #2
El
Memorycessette
Page 7
..:
3. Starting and Ending the M6 Maintenance Tool
3.1 Starting the tool
Two types of start modes can be selected by setting the rotary switch on top of the main CPU
(HFil KM-Ml 11) (The rotary switch always returns to its original setting after the operation is completed, so check the current setting to be sure it is correct.)
CPU rotary
switch
Start mode
Outline
Set the main CPU rotary switch to “B”, and turn ON the CNC power.
B Normal mode
The maintenance tool menu screen will appear on the VDS. Select the required tool from the menu and execute. The servo download function can also be carried out in the normal mode.
Set the main CPU rotary switch to “9”. Set the HR98x rotary switch
Automatic servo 1 to the number of the module to be downloaded, and turn ON the
9 F/W download CNC power. The selected module will be automatfcaiiy~
mode downloaded. Refer to the section titled ‘Servo and spindle
downloading’ for details.
* Supplement : When starting the maintenance tool by a CNC with personal computer,
the tool will not be started if the personal computer side is in a reset status.
3.2 Ending the tool
Turn OFF the CNC power when the operation is finished. The personal computer side is not started
even for a CNC with personal computer, so there is no problem if the CNC power is turned OFF in this state. After turning OFF the CNC power, remove the M6 Maintenance Tool cassette and any other cassettes used in the maintenance. Return the main CPU rotary switch to the setting it was at before carrying out the operation.
-4-
Page 8
‘.
3.3 Main menu
The following menu appears on the VDS when the M6 Maintenance Tool is started in the normal mode.
5” (prompt) appears at the bottom of the screen, waiting for the command input. When a menu No. from the VDS is input and [Enter] is pressed, the screen changes to the corresponding tool function.
**hm** M6 MAINTENANCE TOOL [BND-O23WOll -AO] *wnHr*r\*
1)
Memory Back Up
2) Serial Number and CNC type, Unit type Set
3) Setvo,Spindle F/w Down Load
4) Command Line Mode
> 1 [Enter]
\
/
\
Prompt Command input (for Memory Back Up)
M6 Maintenance Tool commands
I) Memory Back Up
This command is used to back up the FROM and SFtAM data of cassettes mounted on the on­board FROM, SFtAM or C-BUS #l to the C-BUS #2 backup cassette.
2) Serial Number and CNC type, Unit type Set This command is used to set the CNC serial No., CNC type, and unit type.
3) Servo, Spindle Down Load This command is used to download the servo and spindle F/w to the amplifier.
4) Command tine Mode This command is used to designate a command and address in the command line and backs it up
to the memory backup. This command differs from the method for menu commands 1) to 3), in that the commands are M500 offline monitor-type interactive format commands.
-5-
Page 9
4. Memory Back Up
This command is used to back up the FROM and SFWM data of cassettes mounted on the on-board FROM, SRAM or C-BUS #l to the C-BUS #2 backup cassette.
4.1 Preparation
Mount the Maintenance Tool cassette (HR98x) on C-BUS #2. Mount the cassette to be used for memory backup on the expansion C-BUS of the maintenance tool (HR98x). Refer to the section titled “Mounting the maintenance tool cassette” for details when mounting the cassette. HR Series or QX Series ROM cassettes can be used for memory backup.
List of memory cassettes *
Cassette name
Remarks
I
QX818
I
3MB
I
OK6 *l
*l : Cassette that can be used for on-board SRAM backup. +2 : Cassette in which block No. designation and information area setting is possible in the on-
board SRAM backup.
-6-
Page 10
4.2 Operating procedure
1) Toot selection Select “1) Memory Back Up” from the M6 Maintenance Tool main screen. (Refer to the section titled
‘Main Menu” for details).
2) Tool menu screen The following menu appears.
ht**m*nm****+H)L MEMORY BACK UP COMMAND p
[Memory List] :
Bus
Card Mem Size
Mem Size
__________--_______---------------------------­OnBoard HRI 138 From: 0x800000 Sram: 0x080000 C-Bus#l HR437B From: 0x400000 Sram: 0x200000
C-Bus#2 HR437B From: 0x400000 Sram: Ox200000
[Command] :
Q) Quit
0) Restart
1) Write (Memory -> Backup)
2) Read (Backup -> Memory)
3) Compare (Memory c> Backup)
4)
Clear (Memory)
5) Create Info Area
6) Delete info Area
7) Show Info Area
[Select Mem#] :
1 - OnBoard FROM 2 - OnBoard SRAM
3 - C-Bus#l FROM 4 - CBus#l SRAM
>[Command] [Select Mem#l, [Blk#1
> 1 2 [Enter]
@ [Memory List]
This displays the FROM and SRAM size of the CPU, the FROM
and the FROM and SRAM size of C-BUS #2.
and SRAM size of C-BUS #1 ,
0 [Command]
This displays the memory backup tool command. Refer to the explanations of the commands
on the following pages for details.
@I [Select Memory]
This displays the memory in which the data is backed up.
1 - On-board FROM . . . . . . . . . . . . . . On-board FROM
2 - On-board SRAM . . . . . . . . . . . . . . . On-board SRAM
3 - C-Bus#l FROM . . . . . . . . . . . . . . . . C-Bus#l FROM
4 - C-Bus#l SRAM . . . . . . . . . . . . . . . . C-Bus#l SRAM
@I [Command], [Select Mem#], [Blk#]
> COMMAND A MEMORY SELECTION NO., BLOCK
NO. [Enter]
COMMAND:
\ Space
code
Set a command No. shown in [Command].
MEMORY SELECTION NO.:
Set
the No. of a memory shown in [Select Mem#]. This parameter is used for the Write,
Read, and Compare commands.
BLOCK NO.:
Set this only when on-board SRAM is selected as the memory, and an HR Series ROM
cassette (cassette with a larger capacity than the on-board SFtAM) is
used as the backup
cassette. Always designate the block No. when creating an information area.
-7-
Page 11
4.3 Explanation of commands a) alit
This command is used to quit the MEMORY BACK UP menu, and the screen returns to the M6
Maintenance Tool main screen.
0) Restart
This command is used to restart the memory back up tool.
1) Write
This command is used to write the data of the selected memory to the backup cassette. If the selected memory and backup cassette sizes differ, the backup range is as follows.
Seleded
memory < Badwp cassette
The data before o&h
%Z (Note) The data in t I!
rem&s In thts region.
Is realon Is cleared for OX Sedes
Seleded memory > Backup cassette
[ +;g:;ta in this regbn 6 not
cassettes.
+ Backup by block deslgnation
This is only used when on-board SHAM is selected as the memory. With block designation, several items of data can be stored in the backup cassette as one block in 512 KB units of on-board SHAM. Note that an HR Series ROM cassette (cassette with a larger capacity than the on-board SHAM) must be used as the backup cassette.
On-board SHAM
4
512Kbyte ,-,
\
For an HR4Ol cassette
c This is also used as an information area.
Block #2
1-1 y%%.No.ofblookdependsonthe
size of the backup cassette.
* When setting the information area
When creating an information area with “Create Info Area”, a comment (up to 15 characters) and date (automatically set) can be added to the backup data. After a Write command is executed, the following message is output and the program waits for
comment input.
Set Comment --, 123456789012345 fEnter1
-8-
Page 12
The following shows an execution example.
>j 1 IEnter\
Warning: memory size
0x800000
--> 0x400000
OnBoard
HRI 138 From --> C-Bus#2 HR4378 From
size=Ox400000
Write ? [YES:Y(y) / NO:N(n)] --> mIEnte_rl
Erase
I
[>>>>>>>>>>>>>>>>I
Programming
I
. . .
f-l
[>>>>>>>>>>>>>>>>I
Compare
OK
>
a) The on-board FROM is backed up. b) A warning appears when the backup cassette memory is smaller than the selected memory. c) The selected memory and backup cassette card name, memory type, and copy size is
displayed.
d) This is for confirming the execution. Writing begins if Y is selected.
e) The FROM is erased. ‘[x+>]” shows that the operation is being executed.
f) The data of the selected memory is written. l [>>X-1” shows that the operation is being
executed.
g) The written data is compared with the original data.
h) ‘OK* is displayed if the writing finishes correctly.
-o-
Page 13
‘.
The following shows an execution example when setting the information area in the on-board SHAM.
>j 2.1 fEnter] OnBoard HR113B Sram --> C-Bus#2 HR437B From
size=ox60000 Write ? (YES:Y(y) I NO:N(n)] --> y lEnter1 Erase
I=1 Programming
b+l Compare
OK Set Comment --> 123456789012345 fEntar Erase
bl
Programming 14,
Compare OK >
a) The on-board SRAM is backed up in block # 1 of the backup cassette. b) The selected memory and backup cassette card name, memory type, and copy size is
displayed.
c) This is for confirming the execution. Writing begins if Y is selected. d) The FROM is erased. ‘p>>>]” shows that the operation is being executed. e) The data of the selected memory is written. l [D>>]* shows that the operation is being
executed.
f) The written data is compared with the original data. g) “OK’ is displayed if the writing finishes correctly. h) The comment is input. i) The information area is erased. ‘[>>>>]’ shows that the operation is being executed. j) The new information data is written to the information area. ‘[>x+>]” shows that the operation
is being executed.
k) The written data is compared with the original data. I) ‘OK” is displayed if the writing finishes correctly.
-lO-
Page 14
2)
Read
This command is used to restore the data written to the backup
CEtSSette
in the Sekcted memory. lf
the selected
memory
and
backup cassette sizes differ, the
restoration range is as
follows.
-
.
Seleded memcfy < Badup cassette
The data before c$yh
% (Note) The data in
remeins in this region.
t It is region is cleared br QX Series cassettes.
+ Restoration by block designation
Desianate the block No. when designating a block with a Write command and restoring the backup
data:Refer to the Write command explanation for details on block Nos. The following shows an execution example.
>2 2 rEnterI
Warning: memory size
Ox4OOOOO --> 0x80000
C-BusR HR437B From --> OnBoard HR113B Sram size=Ox80000
Read 7 fYES:Y(y) / NO:N(n)] --> y lEnter1 SRam Write OK Compare OK >
. . .
r)
*** 9)
a) The data on the backup cassette is restored in the on-board SFIAM. b) A warning appears when the selected memory is smaller than the backup cassette memory. c) The selected memory and backup cassette card name, memory type, and copy size is
displayed.
d) This is for confirming the execution. Reading begins if Y is selected.
e) The backup data is restored in the SM.
f) The written data is compared with the original data.
g) “OK” is displayed if the writing finishes correctly.
-ll-
Page 15
3) Compare
This command is used to compare the data in the designated memory with that on the backup cassette. The comparison range size is the smaller of the designated memory and the backup cassette, When
designating the block in the on-board
SRAM, the comparison size is
512KB of on-
board SRAM.
The following shows an execution example.
>3 2 [Enter1
OnBoard HR113B Sram <> C-Bus#2 HR4378 From size=Ox80000
I
Compare
OK
... a)
a-* b)
-*- c)
*-- d)
a) The on-board SRAM data is compared with the data on the backup oassette. b) The selected memory and backup cassette card name, memory type, and copy size is
displayed.
c) The data is being compared. d) “OK” is displayed if the writing finishes correctly.
4)
Clear
This command is used to completely erase the designated memory. The memory is cleared (0 is
written) when the SRAM is designated. The memory is erased (Oxff written) when the FROM is designated.
The following shows an execution example.
~4 3 rEnterI CBus#l HR437B From size=Ox400000 Clear
7 vES:Y(y) / NO:N(n)] --> y [Enter] Erase [>>>>>>>>>>>>>>S>]
OK >
a) The FROM of the HR437B on C-BUS#l is erased.
b) The
card name, memory type, and clear size of the selected memory are displayed. c) This is for confirming the execution. Clearing begins if Y is selected. d) The FROM is erased. “[D>>]* shows that the operation is being executed. e) “OK” is displayed if the writing finishes correctly.
Page 16
5) Cre.ate Info Area This command is used to set the information area. In this way a comment and date can now be
added to the backup data.
(Caution) The information area is assigned to the block #O region. Any data already written to
block #O will be erased by this operation, so be careful. Information areas can only be created when backina UD the on-board SRAM. usina an HR Series (1 MB or more of
memory] cassette as the backuo cassette.
The following shows an execution example.
93 fEnter]
Create Info Area ? [YES:Y(y) / NO:N(n)] --> y fEnten Erase
]>>I Programming
fl Compare
OK
... a) ... b) ... c)
- e) ,..
9
>
a) The Create Info Area command is executed. b) This is for confirming the execution. The Create Info Area execution begins if Y is selected. c) ihe FROM block #0 region is erased. d) The information data is written to the FROM block #0 region. e) The FROM block #0 is compared with the original data.
9
“OK” is displayed if the writing finishes correctly.
6) Delete Info Area This command is used to delete the information area. In this way the block #O can now be used for
memory backup. The following shows an execution example.
>6 fEnter]
Delete Info Area i [yES:Y(y) / NO:N(n)] --> y=] Programming
0 Compare
OK
>
a) The Delete Info Area command is executed. b) This is for confirming the execution. Delete Info Area begins if Y is selected. c) The information data is deleted. d) The written data is compared with the original data.
e) ,‘OK” is displayed if the writing finishes correctly.
- iP
Page 17
.
7) Show info Area
This command is used to display the comment and date of the backup data. The comment and date are displayed that were added when the data was backed up with the Write command-after setting the Create Info Area.
(Caution) Information areas can onlv be created when backina UD the on-board SRAM. using an
HR Series (1 MB or more of memorv) cassette as the backuo cassette.
01 abcedfohiiklmno 99-02-25 20:59
1 ~;clj
The following shows an execution example.
>7
[Information Area] :
BlK#
Comment Date
Time
Blk#
Comment
Date
Time
__-_ - ___________________ ----------a-----------.
01
abcdefghijklmno
B-02-25 20:59 02
AAAAAAAAAAAAAAA 99-02-25 21:OO
03 BBBBBBBBBBbbbbb 99-02-25 21:m
-14-
Page 18
‘.
4.4 Error messages
Error message
Details
Unrecognized command
The input command is not correct.
Missing parameter
A parameter has not been designated.
Invalid parameter
The parameter is not correct.
C-Bux#2 Card ID Error
The C-BUS#2 card ID cannot be read.
Warning: memory size OxXXXX --> OxXXXX
The memory size for the copy or compare operation will change
Can’t Create Info Area on Q&xx Card
An information area cannot be created when using a QX card in the backup cassette.
Select Memory Card ID Error No Info Area 81 k#O is Information Area. Set Bl k#
The card ID of the selected memory cannot be identified.
There is no information area.
Block #0 is being used as the information area. Designate a block No.
Can’t use 81 k#. OnBoard SRAM Only
The block No. designation cannot be carried out. Use this block No. designation only when the on-board
SRAM is selected.
Can’t use 81 k# on ‘QXxxx’ Card
Bl k# Over
The block No. designation cannot be carried out
when a QX card is used in the backup cassette.
The designated range of the block No. has been
exceeded. The block No. designation range varies according to the size of the backup cassette.
ERROR Compare
A comparison error occurred when the Compare command was executed.
ERROR Erase block
A FROM erasure error occurred.
ERROR compare address OxXXXX = ****
A comparison error occurred when the FROM was
erased.
ERROR Write address OxXXXX
A FROM writing error occurred.
ERROR verify address 0xXxXx
A comparison error occurred when the FROM was written.
-15-
Page 19
5. Serial Number and NC Type, Unit type Set
This command is used to write the CNC serial No., CNC type, and unit type.
5.1 Preparation
Mount the maintenance tool cassette (HR98x) on C-BUS#2. Refer to the section titled “Mounting the
maintenance tool cassette” for details when mounting the cassette.
5.2 Operating procedure
1) Tool selection Start the maintenance tool. The M6 Maintenance Tool main screen will appear. Select the “2)
Serial Number and CNC type, Unit type Set” command. (Refer to the section titled “Main Menu” for
details).
2) Tool menu screen The following menu appears. The operation is the same as that for the conventional serial No.
writing tool “srlmod “-en”.
################srlmodtool################ Q : Quit, E : Edit, D : Display
>
.a. Serial No. writing tool version
3) Tool operation
[Q: Quit] This is used to return to the maintenance tool menu screen after the serial No., CNC
type, and unit type writing function is finished.
I
> Q fEnter1
I
I
I
[D: Display] This is used to display the serial No., CNC type, and unit type that are currently set.
Current Serial Number : 123456789
Page 20
[E: Edit]
This is used to write the serial No., CNC type, and unit type.
> E 1Entert Current Serial Number : 123456789 New Serial Number : 12345678901 fEnter1 Do you confirm the Serial Number c/ :Yes,N :No,C :Cancel)ylEnterl Current Model Name : ABCDEFG New Model Name : 12345678901 fEnterl Do you confirm the Model Name
(Y :Yes,N :No,C :Cancel)ytt
Current Unit Name : UnRegistered New Unit Name : -1 Do you confirm the Unit
Name (Y :Yes,N :No,C :Cancel)yfEnterl
Do you want to write into the ROM(Y :Yes,N :No,C :Cancel)ylEnterl
@ The current serial No. is displayed. @ Set the new serial No. @ Select “Y” to confirm the serial No. Select ‘N” to set another serial No. @ The current CNC type is displayed. @ Set the new CNC type. @ Select “Y” to confirm the CNC type. Select “N” to set another CNC type. @ The current unit type is displayed. @ Set the new unit type. @I Select “Y” to confirm the unit type. Select “N” to set another unit type. @ Select “Y” to if writing to the ROM is required. Select “N” to set the data again.
-17-
Page 21
6. Servo Spindle F/W Down Load
This command is used to download the servo and spindle firmware to the amplifier. With this tool, up to 7 units per channel can be connected to the amplifier. This tool is oompatible’with 4 channels (2 CPU card channels, 2 expansion axis card channels). Thus, downloading can be carried out simultaneously for 28 units.
6.1 Preparation
Prepare an M500 Maintenance Tool cassette. The servo and spindle firmware is in the M500 Maintenance Tool cassette.
Mount the maintenance tool on C-BUS#2, and the M500 Maintenance Tool (including the servo firmware) cassette on the expansion bus of the maintenance tool (HR98x) card. Refer to the section titled ‘Mounting the maintenance tool cassette” for details when mounting the cassette.
* Refer to the amplifier side instruction manual for the method for settina the axis selection switch on
the amelifier unit side.
6.2 Starting the tool
There are 2 types of starting modes for the “Servo Spindle F/w Down Load” command.
Normal mode
Set the main CPU rotary switch to “B”. Turn ON the CNC power. The tool will start from the maintenance tool menu. In this mode, the VDS is used to select and download the firmware to be downloaded.
Automatic servo firmware download mode
Set the main CPU rotary switch to “9”. Select the number of the module to be downloaded with the HR98x rotary switch 2. Turn ON the CNC power. Jhe YDS is not used in this mode.
Page 22
6.3 Operating procedure in the normal mode
6.3.1 Initial screen
The “Servo, Spindle F/w Down Load” menu appears when the tool is started in the normal mode.
p Servo down loader *
END-023WOOl-Al
[Driver information]
MCP #O : co> <l> <2>
DRV : 51 OOOOAO 510000A0 510000A0 PS :
[Module list]
1. Servo 01 51OOOOAl
2. Servo 00 51OOOOAO [Please select down load module number to execute] [Quit: 9 ] > 1 [Enter]
0 Connection axis No.
The data of the servo axis connected to the CNC is displayed.
-a* Servo download version
--* @I Connection axis No. a*- @ Diier version
- 0 Power supply version
--* @ Module list
-a- @ Command input
@ Driver version
The system versions of the connected servo and spindle firmware are displayed.
0 Power supply version
The system version of the connected power supply is displayed.
@I Module list
1. Servo 01
51 OOOOAl
; b;-l.;;
Model No (Servo system: OO-3FBplndle system: 40-7F)
Amplifier type (Servo: Servo/ Spindle: Spindle)
@ Command input
Select the No. of the module to be downloaded, and press [Enter]. Press “q” [Enter] when the operation is finished.
-IQ-
Page 23
6.3.2 Operation display
The execution status of each station is displayed during downloading as follows.
******** Servo down loader nit***htht)rwI*wlt+w
l3ND-023WOOl -Al
[Driver information]
MCP#O : <O>
<l>
<2>
: 510000A0 51 OOOOAO 5 1 OOOOAO
[Module list]
1. Servo 01 51OOOOAl 2. Servo
00 5 1 OOOOAO
[Please
select down load module number to execute] [Quit: ql
~1 [Etner]
Down load start... VER.= 51OOOOA1
_.__._..____.-_______._____
MCP #0
___.._-_.___._____-----.-
Driver # : co> <l>
<2>
Erase :OK
OK
OK D-load #0 : OK OK OK Write #HI : OK
OK OK D-load #l : OK OK OK Write #l : OK
OK
OK
Compare : OK OK OK
END
:OK OK OK
MCP exit : OK
___.._-__.___.______--..------.-----.-.---.---.------.---------
>>> Down load completed MCP#O :cO> Xl>
result :OK OK
[Quit : q ] [Restart : the other ] >
45 OK
-a. Connection axis No.
--- Version *-- Module list
(Not displayed in the automatic
mode)
(Q-4 @-4 (Q-4 @-4
(Q-e) (Q-r)
@-cl) @-W
(Q-i)
1
I
i
Co
0
Explanation of display details
@ This shows that the downloading is starting. After this, the version of the amplifier firmware being
downloaded is displayed.
@I This successively displays the current status.
The program is executed in order from the 1st MCP, and is repeated for the number of mounted MPCs (0-b). The 1st MCP is displayed as MCP#O, and the subsequent MCPs are displayed as #I, #2, according to the program No.
(@-a) Connected axis No. (@b) Erasing FLASH ROM (0-c) Downloading bank #0 (@-d) Writing bank ##0 to the FLASH ROM (@-e) Downloading bank #l (@-f) Writing bank f#l to the FLASH ROM (Q-g) Comparing
(@-h) Notification of completion (@A) MCP #O completion processing
Page 24
“OK” is displayed if the execution is completed correctly. The error information is displayed if there is an error when the execution is completed. If the error occurred on the amplifier unit side, the process will continue in that state if the
cgrrect
axis exists, but the process will be interrupted for errors related to the entire system such as communication errors. Note that only the MCP process currently being executed will be interrupted; other MCP processes will not be affected. Error details are explained in section 4 of this manual.
*Caution) Depending on the amplifier type, the compare process may not be accepted. In this
case neither an error nor an “OK” will be displayed, but this is not an error.
@I This displays the overall results and results for each axis executed in each MCP. The overall
results are displayed as follows.
When all axes are correctly downloaded
: “Down load completed”
When one or more axes was not downloaded :
“Down load failed”
@ This is the completion message. Press “q” [Enter] to use other tools. The screen will return to the
‘M6 MAINTENANCE TOOL MAIN” screen. Press any key besides the above to continue servo and spindle downloading.
-21-
Page 25
‘.
.
6.3.3 Error information
When an error occurs while downloading, the error inforrhation is displayed on the CNC display screen.
Errors are broadly classified into two types: Errors detected on the CNC side (mainly MCP), and
errors
detected in individual axes on the amplifier side. Because errors detected on the CNC side are related to the MCP operation, the MCP process in which the error was detected is simultaneously interrupted when the error is detected. Because the errors detected on the amplifier side are in individual axes, the
process will continue as long as normal axes remain. (1) CNC side errors
Error message
*** lnit error ***
Details and main causes
MCP initialization error. There is an error in the MCP e-port memory, or an exception occurred in the MCP.
*** MCP error. Mcpsts t ?? ***
An error occurred in the MCP. This is mainly a communication error. (mcpsts = 51). (*Supplement)
A fixed time passed, but there was no answer from the
*** MCP deadlock error t**
MCP to the CNC. This occurs when an exception, etc.,
occurs in the MCP.
*Supplement) During
a communication error,
the error sub-status is also displayed.
(mcpsts = 51 - ????)
1 Sub-status
Sub-status Meanlng
0001 0002 0003 0004
(2) Amplifier side errors
CRC error Reception timing error Data ID error No. of reception frames error
The 4-byte status sent from the amplifier side appears at the end of the error display
(Example: ERSOOOl).
- 77 -
Page 26
6.4 Operating procedure in the automatic firmware download mode
6.4.1
Operation procedure
(1) Set the main CPU rotary switch to “9”. (2) Use the HR98x rotary switch 1 (1 to F) to select the firmware to be downloaded.
HR98x rotary switch 2 Selected firmware
0 Module list 1 firmware
1 Module list 1 firmware 2 Module list 2 firmware 3
Module list 3 firmware
; Module list 14 firmware F
Module list 15 firmware
* Module list No. :
Refer to “@I Module List” in the section titled “Operating procedure in the normal mode”.
(3) Mount the maintenance tool on the actual device, then turn ON the CNC power. (4) Start downloading the selected firmware.
The 7-segment LED of the CPU card (HR113/HRlll) shows the download status.
Process order
1
2 3 4 5 6 Program running (B bank) P
7
Comparing
c
8
Correct completion 9 Completion error
e and error No.
+ Refer to the section titled ‘Error information” for details on the display during errors.
Operation
LED display
Acquiring axis information
L
Erasing
E
Downloading (A bank)
d
Program running (A bank) P Downloadina (B bank)
d
Page 27
6.4.2
List of error Nos.
When an error occurs in the servo download execution&! and the error No. are displayed alternately in
the 7-segment LED. The following shows the details for these error Nos.
[Supplement]
When downloading a spindle amplifier, a communication error (CRC error) will occur if the amplifier side rotary switch is set between 8 and B. Therefore always set the amplifier rotary switch between C and E when downloading a spindle amplifier.
-
24
-
Page 28
6.5 Internal configuration of the M500 Maintenance Tool Cassette
The following drawing shows the internal configuratioh of the M500 Maintenance Tool Cassette.
Section A is the downloader system (this section is not used in the M6), section B is the directory, and section C is the amplifier firmware. The amplifier firmware can store several modules. Information about the type, size, and position of each firmware module is registered in the directory of section B.
Relative address
otiooooooo
Downloader system
oxOoOO7ooo .
Firmware #l directory
Firmware #2 directory
OxOOOO8OOO
Firmware #l bank A
0xu0014000
Firmware #l bank B
otioo2oooo
oxOOo2cOOO
OxOOO38OOO
Firmware #l bank C or Firmware #2 bank A
Firmware #l bank D or Firmware #2 bank B
Downloader internal structure
1
A
Up to twenty items can be registered in the directory
Block #0 .
Block #l
Bank : The smallest configuration unit of the amplifier firmware module. One firmware
module is configured of 1 to 4 banks.
Block : The smallest assignment unit when storing an amplifier firmware module in a ROM
cassette. Two banks worth of information can be stored in one block.
The following shows the directory structure. The details of this directory appear in the module list displayed on the screen.
Table 1 Directory structure
(1) Firmware Module Model No.
(1 byte)
(2) Module Attributes
(1 W-3
(3) Bank A Block No.
(1 byte) _ (4) No. Of Banks (1 byte) (5) System No.
(9 bytes) (6) Spare
(3 bytes)
- 25 -
Page 29
(1) Firmware module model No.
Set the following range values according to the amplifier type.
Not registered : Oxff Servo : 0x00 - Ox3f Spindle : 0x40 - Ox7f
(2) Module attributes
These are not used in the M6 downloading. Normally set to 0.
(3) Bank A block No.
This is the block No. that includes the first bank (bank A) of the firmware module.
Block #O 0x00008000 - 0x0001 ffff (relative address) Block #l 0x00020000 - oxOoo37fff
(4) No. of banks
This is the No. of banks that include one firmware module.
Value from 1 to 4.
(5) System No.
g-character ASCII code.
-
26
-
Page 30
.
. .
7. Command Line Mode
7.1 Outline
This command is used to designate a command and address in a command line, and back it up in the
Ti!i%rnand differs from the method for menu commands 1) to 4) in that the commands are M500
offline monitor-type interactive format commands.
7.2 Memory map
The following shows the memory map. (Caution) This memory map has the following conditions.
l
The CPU rotarv switch is set between 8 and F.
l
An HR98x card is mounted.
l
The HR98x card setting pin is left open (no setting pin).
l
Non-cache address
1
U
Main CPU (HR113kiRlll) card
$Pooooooo Owboard HR111:4MB
R
DRAM HRl13SMB .
q-1
8MB ~Depmcfng on the
cassette size
Wlepencing on the
[C%UtiOIl]
.
When a QX Series cassette is mounted on the expansion C-BUS of the HR98x, the FROM head
address becomes OxAA800000.
.
A CPU exception interruption will occur and the system will crash if an illegal address is designated, so be careful when designating the address.
. “‘
-27-
Page 31
7.3 List of commands
a
Command
Details
1 End command line tool.
h or? Display help.
I Display memory information. d <Address>, <Size>, [Display width] Display memory. m <Address>, [Display width] Modify memory. w <Address l>, <Address 2>, <Size> Erase and write FROM. e <Address>. <Size> Erase FROM. t <Address l>, <Address 2>, <Size> Copy memory. f <Address>, <Size>, <Data> Write memory. c <Address>. <Size> Clear memorv. v <Address l>, <Address 2>, <Size> Compare memory. r
Create a copy of the M6 Maintenance Tool.
7.4 Command format
The command format is as follows.
> <Command> <Parameter l>, <Parameter 2>, <Parameter 3~ [Enter]
I I
I
I I I
I I
Prompt Space code Comma
Line feed code
Command : Command to be input. Parameters 1, 2, 3 : Parameters determined by the command.
Put
a space code after commands, and a comma ” , * between
parameters.
Supplement:
l
Input characters are deleted by pressing [CTRL + H] or DEL.
l
Input hexadecimals before the 0 and lowercase x or before the uppercase X and then designate.
(Example: 0x7~ 0x1 a, OX7fff, OX1 2345)
Page 32
.
7.5 Explanation of commands
7.5.1 End command line tool Command
: 9
Explanation :
This command is used to end the command line tool.
7.5.2 Display help
Command : hor? Explanation
: This command is used to display a list of usable commands on the screen.
Example:
> h [Enter1 iHelp : 9
h or? I d <adrs>,<size>,[width] m <adrs>,[width] w <sadrs>,cdadrs>,<size> e <adrs>,csize>
. t csadrs>,cdadrs>,<sizeZe>
f <adrs>,csize>,<data> c <adrs>,<size> v <adrsl>,<adrs2>,csize> r
- exit cmd line mode
- print
help
- print memory list
- display memory
- modify
memory
- write
FROM
- erase FROM
- copy memory
- fill memory
- clear memory
- compare memory
- M6 mainte tool copy
7.5.3 Display memory information Command : 1
Explanation :
This command is used to display a list of lead addresses
and
sizes of FROM and SRAM on the CPU card, C-BUS#l, and GBUS#2. Refer to this list when designating addresses with other commands.
Example:
>I IEnter [Memory List] :
Bus Card
Mem Top Adrs Size
Mem Top Adrs Size
_--__--_-______-________________________----------------------------------------------------------­OnBoard Hi31 138 From: OxaeOOOOOO 0x800000
Sram:
Oxa Ox080000 C-Bus#l HR437B From: Oxac400000 0x400000 Sram: OxacOOOOOO 0x200000 C-Bus#2 HR4!37B From: Oxaa400000 0x400000 Sram: OxaaOOOOOO Ox200000
-79,
Page 33
7.5.4 Display memory Command
: d <Address>, <Size>, [Display width]
<Address> : Memory address to be displayed. <Size> : Display size. [Display width] : Display units (1: char, 2: short, 4: long). Can be omitted.
Explanation
: This command is used to display only the amount (<Size>) of memory details from the
<Address>. The display units can be changed using the <Display width> setting. The default setting is “short” units.
Example:
1) Display in “char” units
>d OxaaOOOOOo.Ox4o.1 [Enter]
aaOOOOO0: 0701 0010000000001201 001000000000 * . . . . . . . . . . . . . . . . *
aaOOOOl0: 78010010000000007601001000000000
+x.......v.......*
aaOOO020: 74 01 00 10 00 00 00 00 72 01 00 10 00 00 00 00
tt . . . . . . . r . . . . . . . *
aaOOOO30: 7001 0010000000006e01 001000000000
*p . . . . . . . n . . . . . . . *
2) Display in “short“ units
>d 0xaa000000,0x20,2 [Enter1
aaOOOOO0: 0107 1000 0000 0000 0112 1000 0000 0000 * . . . . . . . . . . . . . . . . *
aaOOOOl0: 0178 1000 0000 0000 0176 1000 0000 0000 *x. . . . . . . v . . . . . . . *
aaOOOO20: 0174 1000 0000 0000 0172 1000 0000 0000 *t . . . . . . . r . . . . . . . *
aaOOOO30: 0170 100000000000016e 1000 00000000
tp . . . . . . . n . . . . . . . *
3) Display in “long” units
>d OxaaOOOOOO.Ox1O.4 [Enter1
aaOOOOO0: 10000107 00000000 1000011200000000 * . . . . . . . . . . . . . . . . *
aaOOOOl0: 10000178 00000000 10000176 00000000
+X . . . . . . V . . . . . . . *
aaOOOO20: 10000174 00000000 10000172 OOOOO000 *t . . . . . . . r . . . . . . . *
aaOOOO30: ‘10000170 00000000 1000016e 00000000
+p . . . . . . . n . . . . . . . *
-3o-
Page 34
7.5.5 Modify memory
Command
: m <Address>, [Display width]
<Address> : Memory address to be changed. [Display width] : Display units (1: char, 2: short, 4: long). Can be omitted.
Explanation : This command is used to display the <Address> details and
change the data. This
command is ended by inputting a period * . *.
The display units can be changed using the <Display width> setting. The default setting is “short” units.
Example:
1) Display in “char” units >m OxaaOOOOOO. 1 fEnter1
aaOOOOO0: 07-l 1 fEnter1 aaOOOOO1: 01-22 rEnterI aaOOOO02: lo-. fEnter1
.’
I Change data. * Change data. * Input a period l . l and end the command.
2) Display in “short” units >m OxaaOOOOOO,2 IEnter
aa000000: 0107-1234 fEnten aaOOOO02: 1000-5678 rEnterI aaOOOO04: 0000-. fEnter1
* Change data.
* Change data.
t Input a period ” . * and end the command.
3) Display in “long” units
>m OxaaOOOOO0.4 rEnterI aaOOOOO0: 10000107-12345678 rEnterI aaOOOO04: 00000000-9abodefO fEnterl aa000008: 10000112-. fEnter1
* Change data. + Change data. * Input a period ” .
l
and end the command.
-3l-
Page 35
7.5.6 Write FROM
Command : w <Address l>, <Address 2>, <Size>
<Address l> : Memory address that is the writing source.
<Address 2> : FROM memory address that is the writing destination. <Size> : Erase and write size.
: This command is used to write to the FROM. Only the amount (-Size>) of details in
<Address 1 > are written to FROM (<Address 2>). Note that <Address> and <Size> should be designated following the restrictions
Explanation
below.
Restrictions
Designate a 4-byte boundary address.
Settina examole I
<Address 2> becomes the FROM address.
Designate the cassette size
for
the QX Series FROM cassette.
Designate a multiple of 128KB for
the HR
Series FROM cassette.
OxaaOOOOOO - OK OxaaOOOOO1 - NG OxaaOOOO02 -kG OxaaOOOO03 - NG
OxaaOOOO04 - OK
QX812 is 256Kl3, so the setting is 0x40000. QX815 is 2MB, so the setting is 0%200000.
Numbers divisible by 128K (Ox2OOrlOO) such as Ox2OOOCl,Ox4oOOO. 0x60000,
oxaoooo, . . . oiaooooo, etc.
Example:
1) Write the on-board FROM (8MB) details to the backup cassette (HR401).
>w Oxae000000,0xaa40000O,Ox8OOOOO [Enter]
2) Write the on-board SRAM (512MB) details to the backup cassette (HR401). >w 0xa8000000,0xaa400000,0x80000 [Enter1
3) Write the FROM (4MB) of the cassette mounted on C-BUS #l to the backup cassette (HR401). >w 0xac400000.0xaa400000.0x400000 IEnter]
4) Write the SRAM (2MB) of the cassette mounted on C-BUS #l to the backup cassette (HR401). >w>l
(Supplement) Refer to the section titled “Memory map’ for details about example addresses.
-32-
Page 36
7.5.7 Erase
FROM
Command
: e <Address>, <Size>
<Address> :
Address of the FROM to be erased.
<Size> : Size of the erasure.
Explanation : This command is used to erase the FROM. Note that <Address> and <Size> should
be designated following the restrictions below.
Parameter
Restrictions
Setting example
<Address> Designate a
4-byte
boundary
OxaaOOOOOO ’ - OK
address. OxaaOOOOOl - NG
<Address> becomes the FROM
OxaaOOOOO2 - NG
address.
OxaaOOOO03 - NG OxaaOOOO04 - OK
<Size> Designate the cassette size for
QX812 is 256K6, so the setting is
the QX Series FROM cassette.
0x40000.
Designate a multiple of 128Kt3 for QX815 is 2MB, so the
setting is
the HR Series FROM cassette.
0x200000. Numbers divisible by 128K (0%200000)
such as 0x20000, 0x40000, 0x60000, 0x80000, . . .0x800000, etc.
Example:
1) Erase the on-board FROM (8MB). >e Oxae000000.0x800000 iEnter)
2) Erase the FROM of the cassette mounted on C-BUSY1 . >e Oxac4OOOOO.Ox4OOOOO lEnterl
(Supplement)
Refer to the section titled “Memory map” for details about example addresses.
7.5.8
Copy memory
Command
: t <Address l>, <Address 2>, <Size>
<Address l> : Memory address that is the copy source. <Address 2s : Memory address that is the copy destination (FROM address not
posslble) .
<Size> : Copy size.
Explanation
: This command is used to copy only the amount (<Size>) of memory details
designated in <Address 1> to <Address 2>. This command is used to return the backup data in the backup cassette to the SRAM. This command cannot be used to copy to the FROM.
Example:
1) Copy the details (512KB) of the backup cassette to the on-board SRAM. >t Oxaa400000.0xa800000O.Ox8OOOO [Enter]
2) Copy the details of the backup cassette (2MB) to the cassette (SRAM) mounted on C-BUS#l . >t Oxaa400000,0xac00000O,Ox2OOOOO [Enter1
-33-
Page 37
L
7.5.9 Write memory
Command : f <Address>, <Size>, <Data>
<Address>
: Address to which the data is written (FROM address not possible). <Size> : Writing size. <Data> : Writing data.
Explanation : This command is used to write only the amount (<Size>) of <Data> to the memory
designated in <Address>. This command cannot be used to write to the FROM.
Example:
>f Oxa8000000.0x40.0xee fEnter]
z-d Oxa8OOOOOO.Ox5O lEnter1 * Memory details after execution.
a8000000: ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee
*................*
a8000010: eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
*................*
a8000020: ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee
*................*
a8000030: eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
*................*
a8000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 *................*
7.5.10 Clear memory
Command : c <Address>, <Size>
<Address>
: Memory clear address (FROM address not possible) <Size> : Clear size.
Explanation : This command is used to zero clear only the amount (<Size>) of the memory
designated in <Address>. This command cannot be used to clear the FROM.
Example:
To clear the on-board SFtAM.
>eOxa8000000.0x80000rEntw]
7.5.11 Compare memory
Command : v <Address l>, <Address 2>, <Size>
<Address 1~ : Compare address i <Address 2~ : Compare address 2 cSiie> : Compare size
Explanation : This command is used to compare the amount (<Size>) of details in the memory
designated in <Address l> with the memory designated in <Address 2>.
Example:
>v Oxaa400000.0xa800000O.Ox8OOOO IEnter]
-84-
Page 38
. .
_.
7.512 Create a copy of the M6 Maintenance Tool Command
: r
Explanation : This command is used to create a copy of the M6 Maintenance Tool. This command
is executed with the copy source HR98x (maintenance toot) mounted on C-EWS#2, and the copy destination HR98x mounted on C-BUSH1 .
Example:
>r [Enter] ToolCopy C-Bus#2 HR98x --> C-Bus#l HR98x Copy ? P/ES:Y(y) / NO:N(n)] --> y [Enter] Erase
k-1 Programming
14
Compare OK i
-35-
Page 39
8. Appendix 1 HyperTerminal Starting Procedure
Click on the “START” menu, then “PROGRAM” -> “ACCESSORY” -> “HYPERTERMINAL”. Double-click on Hppertrm.exe. The following windows will appear.
Set the name, select the icon, and click on the ‘OK” button. Select a serial port to be used such as ‘DIRECT TO COMl” or “DIRECT TO COM2”, and click on the OK button.
Set the communication parameters as follows.
Bit/set. : 9600 Data bit :8‘ Parity
: None
Stop bit :l
Flow control : Xon/Xoff
Once the communication parameters have been set, click on the “OK” button. The following screen will open.
I
- QC -
Page 40
.
8. Appendix 1
HyperTerminal Starting Procedure
Click on the ‘START” menu, then ‘PROGRAM” -> ‘ACCESSORY” -> “HYPERTERMINAL”. Double-click on Hppertrm.exe. The following windows will appear.
Set the name, select the icon, and click on the “OK” button. Select a serial port to be used such as ‘DIRECT TO COMl’ or ‘DIRECT TO COM2”, and click on the OK button.
Set the communication parameters as follows.
BWsec. : 9600 Data bit :8 ’ Parity : None Stop bit :l Flow control : XorVXoff
Once the communication parameters have been set, click on the ‘OK* button. The following screen will open.
-36-
Loading...