You are on page 1of 206

BNP A2O.

W -i t
USA-E99051-015-*

MITSUBISHI CNC
MELDS 300/300-V Series
PLC ONBOARD
INSTRUCTION MANUAL

ADVANCED AND EVER ADVANCING


MITSUBISHI ELECTRIC
CONTENTS

Page
1. GENERAL .......................*...... ...*...........**.. .........
● ● 1

2. SYSTEM CONFIGURAT10N ............................................... 2

2-1 System Configuration ....... ................................... 2

2-2 14-inch and 9-inch CRT Display Terminal ............... ....... ● 4

2-3 RAM and ROM Cassettes for Onboard Operation (V series) ● ....... 5

2-3-1 RAM Cassette Appearance ..................................... 5

2-3-2 ROM Cassette Appearance ..................................... 6

2-3-3 liOMCard MC431 Appearance ................................... 7

2-3-4 ROM Card MC431 Setting ...................................... 7

2-4 RAM and ROM Cards for Onboard Operation (Not for v-series) .... 8

2-4-1 RAM Card Appearance ......................................... 9

2-4-2 RAM Card Setting ............................................ 11

2-4-3 ROM Card Appearance ......................................... 11

2-4-4 ROM Card Setting ............................................ 12

2-5 System Selection .............................................. 13

2-5-1 Explanation of System Selection Switch ...................... 13

2-5-2 Parameter Setting ........................................... 14

2-5-3 Second Card Onboard Function Handling Method (V series) ..... 25

2-5-4 Second Card Onboard Function Handling Method


(Not for V-series) .. ... ............. ..................... 26
● ● ●

3. CREATING LADDER CIRCUIT AND MONITOR OPERATION ...................... 33

3-1 Creating the File ............................................. 46

3-1-1 Registering the Edit File ....... ............ .............. 47


● ●

3-1-2 UserPLCRUN/STOPbyCR’rOperation .......................... 48

3-2 Writing the Circuit ...... .. ................. ............... 50


● ● ●

3-2-1 CreaCing the Circuit ........................................ 50

3-2-2 Modifying the Existing Circuit .............................. 51

3-2-3 Adding the Circuit Block .......... .........,.........*..... 53


3-3 Reading the Circuit ........................................... 55

3-3-1 Reading the Circuitry Step Number .......................... 55

-i-
Page
3-3-2 Reading the Circuit by Device Number ........................ 58

3-3-3 Reading the Circuit by Contact or Coil Number .............. ●


59

3-3-4 Reading the Circuit by Instruction .......................... 60

3-3-5 Reading the Circuit by ENI)Instruction ...................... 62

3-3-6 Circuit Read Functions ...................................... 63

3-4 Inserting the Circuit ......................................... 64

3-4-1 Inserting the Circuit Symbol ...................... ....*. .. 64


● ●

3-5 Deleting the Circuit Block ........*.*........* ..... *........ 68


● ●

3-5-1 Deleting the Circuit Block .................................. 68

3-5-2 Deleting the Circuit Symbol ................................. 70

3-b Circuit Extension Function .................................... 73

3-b-l Extension Circuit Operation Examples ........................ 74

3-6-2 Error Messages .............................................. 82

3–6-3 Relationship between Number of Returns and Circuit Length ... 84

3-7 Monitoring the Ladder Circuit ................................. 85

3-7-1 Monitoring the Circuit ...................................... 88

3-7-2 Freezing the Screen at Monitor Stop Trigger Point ........... 90

3-7-3 Monitoring the Registered Device ............................ 92

3-7-4 Monitoring the Current Value in Decimal Hexadecimal


Notation .................................................... 93

4. FUNCTION OF PU’rTINGUSER PLC INTO ROM .............................. 95

4-1 Function Description .......................................... 100

4-1-1 Rewrite ..................................................... 100

4-1-2 Read . *....**...... ....... ...0................. ...... ... 102


● ● ● ● ●

4-1-3 Erasion ..................................................... 105

4-1-4 ROM Write ................................................... 108

4-1-5 Comparison .................................................. 115

4-1-6 ROM Locations ............................................... 118

5. FLOPPY DISK READ AND WRITE .*................... ................... 119


5-1 Installing Interface (l/F) Unit . .,.. .............. .......*. 122


● ● ●

-ii-
Page
5-1-1 M320 and M330 ..*...**....................................... 122

5-1-2 M355 .......................................O.............$.O 122

5-2 Displaying Floppy Disk Operation Screen ....................... 123

5-2-1 Calling FLD Screen .......................................... L24

5-3 Function Operation Procedures ................................. 126

5-3-1 Read ......*.......*..*..........................*........... 126

5-3-2 Write .......*........**....0.............................**. 128

5-3-3 Compare ..................................................... L29

5-3-4 Delete ..........................................0........ O. 131 ●

5-3-5 Initialize (Formatting) ...............*.*......... ..*...... 132 ●

5-4 Maintenance and Precautions on Use ............................ 134

5-4-1 Maintenance of Floppy Disk Drive ............................ 134

5-4-2 Handling of Floppy Disks ....*.......................*.**...* 135

5-4–3 Other Precautions on Use .................................... 136

5-4-4 Troubleshooting ............................................. 138

5-5 Floopy Disk Drive ............................................. 139

5-5-1 Configuration ............................................... 139

5-5-2 Specifications ................*.............*............... 139

6. MESSAGE PREPARATION .................. .* .... ● ● ● ● ................... ● 142

6-1 Menu Operation Message Preparation ............................ 146

6-2 Initial Screen ................................................ 147

6-2-1 Initial Setting Example .......................*...*......... 149

6-3 Read . .... .. ............ ........... ....................... 151


● ● ● ● ●

6-4 Write ..... *........*...............*. ..* ........ ......


● ● ● ● ● ● .. 152

6-4-1 ALARM MESS and OPERATE MESS ............*.*......*........... 153

6-4-2 PLC Switch ..*..**.......................*...........*O...... 157

6-4-3 Device (Contact) Message and Coil Message ................... 158

6-4-4 COMFIENrMESS ● *...*...........*.....................0........ 159

6-5 Insertion ..................................................... 161

6-6 Deletion ● ...*..... ............................. .*.*......... 162


● ●

- iii -
Page
6-7 Kanji and Kana Entry Method ........*.......................... 163

6-7-1 ALPHA ........*...*..............................*.......... 163 ●

6-7-2 Kanji .......*........................*..*................*., 164

6-7-3 Kana .................. ...............*....................* 166


7. PRINT-oUT FUNCTION ...*...** ....*.*......*.................0....... lb8


7-1 Print-out Flowchart ........ ● ● . ..... ....


● ● ● ● ............... ... 169

7-2 Printer Connection and Select Switch Setting .................. 170

7-2-1 Printer Connection .......................................... 170

7-2-2 Initial Setting of PRT-02B .............0................ ... 171 ●

7-2-3 PRT-02A Select Switch Setting ............................... 176

7-3 Operation Procedure ........................................... 179

7-3-1 14-inch CRT Setting and Display Unit ........................ 179

7-3-2 9-inch CRT Setting and Display Unit ......... ..... ......... 180
● ●

7-3-3 Settings of Print Conditions ................................ 181

7-3-4 Print Forms and Line Spacing ................................ 182

7-3-5 Combined Matrix of Print Forms and Line Spacing ............. 183

7-3-6 Printing the Ladder Program ................................. 184

7-3-7 Printing Messages ........................................... 185

7-3-8 Interrupting Printing .............................*.**...... 186

7-4 Messages ...................................................... 186

7-5 Example of Printout ........................................... 187

7-5-1 Example of Printout of Ladder Program in Elite Mode ......... 187

7-5-2 Example of Printout of Ladder Program in Condensed Mode ..... 189

7-5-3 Example of Printout of Alarm Messages ....................... 191

7-5-4 Example of Printout of Operator Messages .................... 192

7-5-5 Example of Printout of PLC Switches ......................... 193

7-5-6 Example of Printout of Contact Comments ..................... 194

7-5-7 Example of Printout of Coil Comments ........................ 195

7-5-8 Example of Printout of Comments .......*.................*... 196

8. ERROR MESSAGES ...*.............. ........ ......................... 197


● ●

-iv-
I 1. GENERAL

1. GENERAL

The M300-V series CNC is an upgraded version of the traditional M300 series
for higher speed and precision operation.

This manual is prepared for the M300-V and M300 series controller user for
development of user PLC (note 1) and creation of message data. PLC operation
performed on the controller is called onboard operation.

The onboard function enables the following:

(1) Creation of new ladder files

(2) Edit of existing ladder circuits (read, write, insertion, and deletion)

(3) Ladder circuit monitor

(4) Putting into ROM (Non-V series onboard operaton only ) (Note 2)

(5) Floppy disk read and write

(6) Preparation of message data such as alarms, operator messages, and PLC
switch messages

(7) ~;~~i;; ladder circuit and message data (V series onboard operation only)

User PLC can also be developed by using MITSUBISHI FA Workstation M-FAS in


addition to the control unit. The relevant documents are listed below:

(1) MELDAS 300/300-V Series PLC Programming Manual (Ladder) ....... BNP-A2947

(2) M-FAS302-TYPE 11 Instruction Manual ........................... BN2-A0887-14

(3) M-FAS302-TYPE I Instruction Manual ............................ BNP-A0887-15

(4) M-FAs302 ROM Writer Manual .................................... BNP-A0887-11

(5) M-FAS302 ROM Writer TYPE-B Instruction Manual ................. BNP-A0887-57

(6) M-FAS302 PLC Development Software Manual ...................... BNP-A0887-27

(7) MELDAS 300 Series PLC Interface Manual ........................ BNP-B3512

(8) ROM Writer System (RWOIA) Instruction Manual .................. BNP-A2923

(~) MELDAS 1/0 Printer (PRT-02B) Instruction Manual ............... BNP-A2919

Note 1: PLC: Programmable Logic Controller

Note 2: This manual describes the specifications common to M300-V and M300
series controllers unless the applicable series name is
specifically noted.

-1-
t====+

2. SYSTEM CONFIGURATION

2-1 System Configuration


b-
(1)
q- =000000

CNPOI connector
l/F card -
TO flow disk dri~

JJJ
fivn From l/F card
+------------------- - -

7
%
To printer
!
~
lL~ (Note)
k
. .
[ ‘.

FIOPPY disk drive


(FDOI unit)
/; .. . . . . .. . .
I
A

cassette

HE=) — : ‘:2”
I v ‘r: ‘Ym’’’card
,..
( Lett ) (Ridm) \ Y I II

“’@!!!!iP ROM writer

I 3.5-inch floppy disk ll~lllrllllml

I vI r
I I ~lJL’

M–FAS302–I/11
Note: The ROM or RAM cassette is mounted on the system ROM card MC431.

-2-
t=====

(2) Controllers other than V’series

— CNPO1connector

— CNP91-RWcable
— AVR
From IIF card
-—--- .---- .----- . ..n

*3
ACV1cable
Floppy disk drive
[FDO1 unit)
100VAC

....
...-
Q
Onboard ROM
(4 places]

M-FAS302-l/11

Note 1: The ROM package is Intel’s D27256-2 or D27512-2 (access time not
longer 200 ns). It is supplied by Mitsubishi. Do not use ROM
packages other than those supplied by Mitsubishi.

Note 2: After putting user PLC into ROM, install the MC411 or MC413
directly in the MC941 or MC942 slot shown above.

-3-
2-2 14-inch and 9-inch CRT Display Terminal
,.,
Typical examples of CRT display terminal with the control unit are
given below: Alphanumeric and symbol keys
CRTdisplay Reset key

III
Function selection

II keys

Ready LEDl
Shift key
I
I

MITSUBISHICNC q!RR~
1, I I “,.,.

4
‘OWER

,—— — ——
14-inch CRTdisplayterminal
lzloml5-

EEEICALCFI
I t~ -.’ ‘t Elm
——+ ‘p@ A
I ,
tI
}

I
~i-
Intensity adjustment
I
Menu keys Page keys Curse; keys

Calculation
key

Input
kev
Data
correction
keys

CRTdisplay Keys Function selection Alphanumeric and


keys symbol keys
I

I ,
‘“ENm!lEiEilll
Elmmmll
1

Q 9-inch CRT display terminal

J II II II II II II 1 0
[ + I
Ready Data
LED correction
keys s lift key
1
Intensity adjustment Menu keys Page
kevs Reset Cursor Input key
key keys (calculation)

-4-
I 2. SYSTEM CONFIGURATION I
2-3 RAM and ROM Cassettes

2-3 RAM and ROM Cassettes for Onboard Operation (V series)

This section explains the RAM cassettes MC842 and MC844 and ROM card MC431
used for onboard operation and also the ROM cassettes MC841 and MC843 for actual
operation.

(1) RAM cassettes MC842 and MC844

RAM capacity Applicable ROM cassette Remarks

MC842 256K byte MC841 The card itself does not


have a backup function.
MC844 512K byte MC843

(2) ROM cassettes MC841 and MC843

ROM capacity Applicable RAM cassette Remarks

MC841 256K byte MC842

MC843 512K byte MC844

Note 1: When writing to ROM with the ROM writer system (RWOIA), be sure to
use the RAM and ROM cassettes in pairs specified above.

2-3-1 RAM Cassette Appearance

u Un

El J-

II lm

Card name (MC842 or MC844)

-5-
2-3-2 ROM Cassette Appearance

(1) MC841

4 II
)“”
,r-~
..~-l r-~..~-7
II
1,
II
II
II
m
o-l
/;

(No te) ~1
Ii
1[
II
1,
L–___J L____]

‘ II

II
I
70 I

C~rd name (MC841)

(2) 14C843

-
c1
~.-—-- ——————-
7
I ,J
1 i
-,
!
L–——_——–_———–i
~-–––– ——_.__—1
I

I
1
k-——————— —— -.’
~-–-–– ———----
I ,4
I ‘.
l—— ——________J
~-–––– ————-->
1 J
! (-1
!——–——————--<

n D

Card name (MC843)

Note: To open the ROM cassette to erase data, press and open the indicated
position.

-6-
2-3-3 ROM Card MC431 Appearance
E
The MC431 ROM card is used to perform onboard operation with the onboard
control software installed in it.

It is also used as system software for the M300-V series. The settings and
mounting positions of MC431 are different between such applications. For the
mounting positions, see Section 2.1, “System Configuration.”

RAM or w!
ROM
cassette
!:0:

-J-EEl
Write protect
mm
switch 00
=Z
m-
Protected

M-z-l “

OnboardROM
card
r
J protected I

SystemROM
card
r
2-3-4 ROM Card MC431 Setting

OFF (2-3) Standard Remarks

Map 2 2-3 (l-2) for system

ROMl For hardware


expansion
I 1-2 Fixed to (1-2)
I
ROM2 For hardware 1-2 Fixed to (l-2)
expansion

Swl Write protected up: Down: Not up Data on the mounted RAM
Protected protected cassette is protected.

CH1 Signal ground

Map 1: 480000H - (MEM AO)


MSp 2: 1480000H - (MEM~Al)

Note: When SW1 (write protect switch) on the system ROM card MC431 is set
to the up position (protected), data on the mounted RAM cassette
(MC842 or MC844) is protected. To perform debugging, therefore, set
the SW1 switch to the down position (not protected).

-7-
I 2. SYSTEM CONFIGURATION
I
2-4 RAM and ROM Cards for
Onboard Operation
2-4 RAM and ROM Cards for Onboard Operation (Not for V-series)

This section explains the RAM card MC941 and MC942 and ROM cards MC411 and
MC413 for onboard operation.

(1) RAM cards MC941 and MC942

RAM capacity ROM card that can be used Remarks

384K bytes MAX.


MC941 256K-byte area MC411 o With ROM write
is open to the user function
o Single card unit
768K bytes MAX. MC411 does not contain
MC942 512K-byte area backup function.
is open to the user MC413
I I 1

(2) ROM cards MC411 and MC413

ROM capacity ROM chip Remarks

128K bytes Intel D27256-2 o Use ROM in four


MC411
+ 128K bytes (access time 200 ns or more) chip units.

256K bytes Intel D27512-2


MC413
+ 256K bytes (access time 200 ns or more)

Caution: Use the ROM chips shipped from MITSUBISHI.

,.

-8-
2. SYSTEM CONFIGURATION

2-4 RAM and ROM Cards for


Onboard Operation
2-4-1 RAM Card Appearance

(1) MC941Z card

-u- -u- -u- V


o
. ...,
111111
11111

TY- -u- -c7- -u-

-u- -u- -u- -u-

1-
~ LD1
PGM

I
LDI: LEDindicating that ROMwrite is being made I (CH1): Ground level terminal

VR1: Supply voltage control for ROMwrite(+12.5V) 1 CH2 : +12.5 -V check terminal
1
VR2: Supply voltage control for ROMwrite(+6V) CH3 : +6-V check terminal
,tI
I

(2) Mc941B card

CNP91

III CH2
o
CH1
ST1
-u- W
‘h o
muii
rncoo?cool
lm.DwN-
-

u -u- w
H G
M 1 lard ,asket

-v- T7- w

r 0 LDI
PGM

LD1 :

VRI:
LEDindicatingthat ROMwriteisbeing made

Supply voltage control for ROMwrite(+12.5V)


CH1:

CH2:
Ground level terminal
+12.5-V check terminal
J

-9-
2. SYSTEM CONFIGURATION

2-4 RAM and ROM Cards for


Onboard Operation

(3) MC942 card

~~~
CNP91

00
CH1 CH2
0 m
MP2

EI
ST1
‘T’ •l
VR1

g
‘s
MC411 ;ard )asket
or
MC413

TY-

DS1

i
LDI : LED indicating that ROM write is being made I CHI: Ground level terminal
VR1: Supply voltage control for ROM write (+12.5 V) I CH2: +12.5 -V check terminal
DS1 : DIP
switch for memory write protection [unused). !
Set all the elements to ON. t
I
I
I

-1o-
2. SYSTEM CONFIGURATION
I
2-4 RAM and ROM Cards for
I Onboard Operation I
2-4-2 RAM Card Setting

(1) Setting list

Pin name MC941Z MC941B MC942

SMP2 (MP2) SMP2 lm2 MP2 1=2 (Note)

S1 RAM ~ ROM

S2 RAM ~ ROM

S3 RAM ~ ROM

S4 RAM ~ ROM

S5 RAM ~ ROM

S6V OUT ~ IN

Svcc +5 v~+6 V

For MC411A ROM write, set the switch to READ


before turning on power.
Switch ST1 —
For ROM write other than MC411A, set the
switch to WRITE.

For MC411 ROM write, set the


switch to MC411 position.
Switch ST2 —
For MC413 ROM write, set the
switch to MC413 position.

Note: Be sure to set MELDAS 310 SMP2 (MP2) to 1~2.

2-4-3 ROM Card Appearance

(1) MC411 card

-11-
2. SYSTEM CONFIGURATION

2-4 RAM and ROM Cards for


Onboard ODeration
(2) MC413 card

2-4-4 ROM Card Setting

(1) Setting list


I r r ,
Pin name MC411 I MC413 I Remarks

S1 I RAM ~ ROM I I For ROM write, see 4-1-4.

S2
I RAM~ROM — I
S3
I RAM~ROM —
I
1~ lm Be sure to set MELDAS 310 MP2 as
MP2 shown below:
l=

(2) Correspondence between ROM and addresses

MC413 MC413
ROM example MC411
(except MELDAS 310) (MELDAS 310)

i40000to 55FFFF i40000to 57FFFF }80000 to 4BFFFF


ROMA
standard: 128K bytes) standard: 256K bytes) :used by the system)

;60000to 57FFFF ;80000 to 5BFFFF icoooo to 4FFFFF


ROMB
(option: 256K bytes (option: 512K bytes (used by the system)
in total) in total)

580000 to 59FFFF 5COOO0 to 5FFFFF 500000 to 53FFFF


ROMC
(system reserved) (system reserved) (shared by user
and system)

-12-
2-5 System Selection

2-5-1 Explanation of System Selection Switch

The CPU card contains the CNC run state select switch. For PLC
development, use this switch to set the user PLC state to RUN or STOP, load the
floppy disk contents to memory without using the onboard floppy disk function
(see section 5 for details), and so on.
The switch position and setting method are shown below:

Run state Switch setting

d
“1
N
Normal run w
ilCllior MC161 L.
m

11 m
.
m
1 J

Watchdog error
- ONI
Memory guard error

User PLC stop (Note 1)


System selection switch

E!’r
System reset switch
/

~ Reset
To load the floppy disk
contents written in M3 format
into memory, set the switch

--
as shown in the right and
once pull down the system
reset switch. (Note 2)

To load the floppy disk ON

R
MCI1l card [or MC161 card
depending on the model] contents written in REGULUS w
format into memory, set the Lo
&
switch as shown in the right Ln
m
and once pull down the system -.
reset switch. (Note 2) w

Note 1: Note sufficiently that if user PLC is placed in the stop state, CNC
enters the emergency stop state at the same time as the user PLC stops.
The user PLC state can also be set to RUN or STOP by the operation
explained in section 3-1-2 “User PLC RUN/STOP by CRT Operation” as well
as the above switch.

Note 2: Data load is complete in about 10 seconds after the system reset switch
is pulled down. Then, again perform reset operation with the system
selection switch set to the normal run or user PLC stop state or turn
off and on the power. CNC and PLC restart running..

-13-
I 2. SYSTEM CONFIGUWTION I
I 2-5 System Selection I
2-5-2 Parameter Setting

The parameters for user PLC development with the control unit and to
operate the user PLC are explained.

The parameters are set on the BIT SELECTION screen of machine manufacturer
parameters. For the BIT SELECTION screen handling method, refer to the
appropriate CNC Manual.

(1) Onboard operation on and system copy on

BIT SELECTION PARAMETER screen

7 6 5 43 2 10 +---Bit

# (51) DATA
T ‘oooooott)
LU~e of parameter #51 1-o: PLC screen open on
1: Onboard operation on

I_o: System copy off


Note 1
1: System copy on }

Operation is performed depending on how bit selection parameter #51 bits


are set:

o1 Onboard operation on

BitO=O
The PLC dedicated screen prepared by the user is displayed if the
screen is prepared by the user.

BitO=l
Screen is displayed for user PLC development, ladder monitor,
putting user PLC into ROM, etc. Since the ladder monitor function
is optional, option parameter setting is required in addition to
the parameter.

o2 System copy on

Bitl=O
Be sure to set bit 1 to O except when software of the second card
onboard function is copied.

Bitl=l
——- —
Set bit 1 to 1 only when software of the second card onboard
function is copied into RAM card MC941 or MC942.
After the copy ends, reset the bit to O.
See 2-5-3 for handling the second card onboard function.

Note 1: The system copy function is not available for the V series.

-14-
I 2. SYSTEM CONFIGURATION I

I 2-5 System Selection


I
(2) PLC timer and counter screens on

Values can be set in timers and counters used with user PLC (ladder) on the
CRT seting and display unit for use them as variable timers or variable
counters.

Note: The values of the timer (Q) and counter (B) cannot be set from the
CRT setting and display unit.

BIT SELECTION PARAMETER screen

7 6 5 43 2 10 ~ Bit

# (49) DATA(O O 0 0 0 0 * *)
TT
T Use of parameter #49 [ ‘O: Timer setup value screenon

1
1: Timer setup value program on

o: Counter setup value screen on


1: Counter setup value program on

Operation is performed depending on how bit selection parameter #49 bits O


and 1 are set:

Bits O and 1 = O
The values set on the PLC TIMER and PLC COUNTER screens of machine
manufacturer parameters are used as the timer and counter setup
values.

Bits O and 1 = 1
The programmed constant K values are used as the timer and counter
setup values.
At the time, the programmed constant K values of the timers and
counters are also displayed on the PLC TIMER and PLC COUNTER
screens of machine manufacturer parameters.
Thus, even if bits O and 1 are set to 11, the valid setup values
can be checked on the screens in the PLC-RTJNstate.
However, no values can be set. If a value is set, the message
“E05 Setting disabled” is displayed.

When bits O and 1 are set to 00,

=1-J
TI KIO the constant K values are ignored
and the values set on the screens
become valid. However, since K ❑
C20 K5 cannot be omitted in programming,
any numeric value must be entered
in KCI for programming.

-15-
2. SYSTEM CONE’IGUR4TION

2-5 System Selection

(3) Integrating timer retention and counter retention

This parameter is set to retain the current values of the integrating timer
(T, Q) and counter (C, B) even if the CNC power is turned off.
The integrating timer (Q) and counter (B) values can be retained only by the
V series.

BIT SELECTION PARAMETER SCREEN

765 43210 —Bit

# (49) DATA (000 o 11 0 o)


T Use of parameter # JL---- 0: integrating timer (T96 to T103)
retention off (no retention)

Bits 2and3=0
L 1: Integrating timer (T96 to T103)
retention on

o: Counter (CO to C23) retention off (no


retention)
1: Counter (CO to C23) retention on

The current values of the integrating timer and the counter are
reset to O when the CNC power is turned off.

Bits 2 and 3 = 1

The current values of the integrating timer and the counter are
not reset to O even if the CNC power is turned off. The values
before the power is turned off are retained.

BI’TSELECTION PARAMETER SCREEN

7 6 543 2 1 0 Bit

# (52)
— DATA(O O 0 0 ~ ~ O o)

Use of parameter # 52 O: Integrating timer (Q136 to Q151)


retention off (not retention)
1: Integrating timer (Q136 to Q151)
retention on

0: Counter (BO to B103) retention off (no


retention)
1: Counter (BO to B103) retention on

Bits 2 and 3 = O

The current values of the integrating timer and the counter are reset
to O when the CNC power is turned off.

Bits 2 and 3 = 1

The current values of the integrating timer and the counter are not
reset to O even if the CNC power is turned off. The values before
the power is turned off are retained.

-16-
E
(4) DIO power illegal monitor off, CRT thermal alarm on, and controller thermal
alarm on

The self-diagnostic function detects an error in DIO card 24 V supply


voltage or controller temperature. The function can be enabled or disabled
by a parameter.

Note: This function may not be effective with some CNC types and versions.

BIT SELECTION PARAMETER screen

76543210 —Bit

# (49) DATA(1 1 1 0 0 0 0 O)

T HLU
Use of parameter
#49
Lo:
DIO .5V/24 V power failure monitor on
DIO 5 V/24 V power failure monitor off

CRT setting and display unit thermal alarm


detection off
1: CRT setting and display unit thermal alarm
detection on
L o: Controller thermal alarm detection off
1: Controller thermal alarm detection on

-17”
I I

o1 DIO power illegal monitor off (bit 5)

Bit5=0

If an error occurs in either supply voltages 5 V or 24 V of the DIO


card, the CNC is placed in an emergency stop state. The setting and
display CRT displays error message “Z54 DIO 5 V DOWN” or “Z55 DIO 24
V DOWN.” The message is kept displayed until the power is turned on
again. Also, special relay E17 is turned on to post the error state
to the PLC.

The error contents can be checked by referring to file register R58.

File register R58

F E D c B A 9 8

7 6 54 3 21 0
L
1- Bit O: 5 V DOWN in DIO card 1

Bit 1: 5 V DOWN in D.10card 2

1
L__ Bit 2: 5 V DOW in DIO card 3

I Bit 3: 5 V DOWN in DIO card 4

Bit 4: 24 V DOWN in DIO card 1

Bit 5: 24 V DOWN in DIO card 2

Bit 6: 24 V DOWN in DIO card 3

Bit 7: 24 V DOWN in DIO card 4

Bit5=l

A 5 V or 24 V down in any DIO card is neither detected nor posted (by


E17) to the PLC.

-18-
2. SYSTEM CONFIGURATION

2-5 System Selection

o2 CRT thermal alarm on (bit 6)

Bit6=0

Overheat of the CRT setting and display unit is neither detected


nor posted by (by special relay E16) to the PLC.

Bit6=l

If the abnormal temperature detector circuit on the controller


card in the CRT setting and display unit operates, error message
“Z53 TEMP. OVER 0002” is displayed. It prevents automatic
operation start after the reset state. Also, special relay Elb
is turned on to post the error information to the PLC, The error
contents can be checked by referring to file register R57.

File register R57

E
F

l_____
‘Bit O: Controller overheat

Bit 1: CRT setting and display.unit overheat

03 Controller thermal alarm on (bit 7)

Bit7=0

Overheat of the CNC controller is neither detected nor ~osted


. (bv
--
special relay E16) to the PLC.

Bit7=l

If the abnormal temperature detector circuit on the CPU card in


the CNC controller operates, error messa~e “Z53 TEMP. OVER 0001”
is displayed. It pr&ents automatic ope;ation start after the
reset state. Also, special relay E16 is turned on to post the
error information to the PLC. The error contents can be checked
by referring to file register R57. For the file register
contents, see “CRT thermal alarm on” above.

-19-
2. SYSTEM CONFIGURATION I
2-5 System Selection

(5) Alarm message on

This parameter is set to validate the interface of alarm message display


prepared with user PLC.

BIT SELECTION PARAMETER screen

7 65 43 2 10 —Bit

# (50) DATA(O O 0 0 0 0 * 1)

I Use of parameter #50 L o: Alarm message off


1: Alarm message on
[
I
Lo: F system interface
1: R system interface

Refer to the MELDAS 300/300-V Series PLC Programming Manual (Ladder)


(BNP-A2947) for details of the operator message display method.

(6) Operator message on

This parameter is used to validate the interface of operator message


display prepared with user PLC.

BIT SELECTION PWETER screen

765 43210 — Bit

# (50) DATA (0 O 0 00+00)


T
‘Use of parameter #50 ~o : Operator message off
1: Operator message on

Refer to the MELDAS 300/3C10-VSeries PLC Programming Manual (Ladder)


(BNP-A2947) for details of the operator message display method.

(7) Message display on all screens

The first 18 characters of an alarm message or operator message can be


displayed in the operation status mode/alarm display area. This function
enables either an alarm or operator message that is generally displayed
only on the alarm diagnostic screen to be displayed on almost all screens
(those with an alarm display area).

Note: This function may not be effective with some CNC types and versions.

-20-
BIT SELECTION PARAMETER screen
EEsEl
76543210 ~ Bit

i) (5+0) DATA(O O * 1 0 0 0 O)
- LLl_.I-o : Message all screen display off
1: Message all screen display on
IUse of parameter
#50
-o: Display alarm messages on all screens.
1: Display operator messages on all screens.

Depending on the settings of bits 4 and 5 of bit selection parameter #50,


the CNC operates as follows:

Bit4=0

Alarm and operator messages are displayed only on the alarm diagnostic
screen but not on all screens.

Bit4=l

The first 18 characters of either alarm or operator messages are


displayed in the operation status mode/alarm display area. Whether
alarm or operator messages are to be displayed is determined by bit 5.

Regardless of the setting of this parameter, the alarm diagnostic


screen displays alarm and operator messages in full.

Bit5=0

Alarm messages are displayed when “message all screen display on” is
selected.

Bit5=l

Operator messages are displayed when “message all screen display on” is
selected.

<Example of parameter setting> 76 543 2 1 0— Bit

Display alarm messages on all screens. - - 0 1 - 0/1 0/1 1

Display operator messages on all screens. - - 1 1 - 1 0/1 0/1

-21-
(8) Message language change code

This parameter is set to change message file display when message data
prepared with user PLC is displayed on CNC equipment CRT.

BIT SELECTION PARAMETER screen

765 43210 — Bit

# (53) DATA (O O 0 00000)


T
‘Use of parameter #53 “~Message language change code

~
O 0 0 Message 1 is displayed.

001 Message 2 is displayed.

010 Message 3 is displayed.

O 1 1 Message 4 is displayed.

100 Message 5 is displayed.

101 Message 6 is displayed.

Refer to the PLC Message Language Change Specifications (BNP-3393-127)for


details of message language change.

(9) High-speed input and output specification

These parameters are set to specify input/output signals required for


input/output processing synchronized with high-speed processing when
high-speed processing of user PLC is performed.

The input signals are specified in bit selection parameters #57 and #58 and
the output signals are specified in #60 and /}61..

Refer to the MELDAS 3C)0/300-VSeries PLC Programming Manual (Ladder)


(BNp-A2947) for details of correspondence between the parameters and
input/output devices X and Y, etc.

-22-
2. SYSTEM CONFIGURATION

2-5 System Selection


I
(10) Computer link parameters

Bit selection parameters #65, #66, #67, and #68 (#71) are used for
computer link control. For details, refer to the MELDAS 300 Series
Computer Link Instruction Manual (BNP-A2900).

(11) NC alarm 4 output off (for standard PLC parameter)

The parameter is used to select whether NC alarm 4 is included in NC alarm


output 1 in standard PLC mode.

BIT SELECTION PARAMETER screen

7 6 54 32 10 — Bit

# (69) DATA(O O 0 0 0 0 0 1)
I Use of parameter #69 L o: Include NC alarm 4 in alarm
output ●

1: Do not include NC alarm 4 in


alarm output,

BitO=O

The M320L or M320M with standard PLC in which no additional DIO cards
are installed does not have the output points for NC alarms 2, 3, and
4. Therefore, a logical sum of NC alarms 1, 2, 3, and 4 is output as
NC alarm 1 output. The NC alarm 1 output includes NC alarm 4 that
indicates an operation error, when bit O is O.

BitO=l

The NC alarm 1 output does not include NC alarm 4 that indicates an


operation error.

-23-
2. SYSTEM CONFIGURATION

2-5 System Selection

Contents of bit selection parameters {/49to #96


Symbol name \
BITSELECT

)
@

I R 2924 L R2932
L

I@ R2924
H
(
@
R2932
H
For computer link B

~
@

—.
-.
o
R2925

@
L

3
R2933
L
‘wH-t
Receptionbuffersize

+H++
} @

— —
R2925
H R 2933
H

/
@ 4 @ tandard PLC parameter

R2934
L
.-—— L
R2926

l!
63 5
R2926
Ii R2934
H
.
ComputerlinkA
@ 6 DC1 control t!mer

R2927
L—
_——-—. — ..-

I 66) 7 f$ ‘Reserved for 71 above

R2927
H — R2935
H —
—. —
— —
— — —
— —

@ 4igh-spee 8 @
R2928
L R2936
L
— — . —-
-{+-+- f-+

@ +igh-speed input specification 2 9 @


:-
R2928
H — R2936
H — — —. —

@ High-speed input specification 3 P @


R2937
L
H++H
R2929
L — — — Notel: Besuretoset the bits
indicated Q and bl.mks too,

High-speed input specification 4 F ‘@

-w -1-””
F @
R2929
H R2937
H
——— —. . —

Note2: Parameters #S9to W6ar8


High-speed output specification 1 ( n reserved for debugging by
@ Mitsubishi.
R2938
L

-t-w--H
R2930
L — — — — .—

} @ I @

w+t+--”l-
R2930
H R2938
H
— —. — --

@ High-speedoutputspecification3 [ @
R2931
L — R2939
L — — — —

@ High-speedoutputspecification4 I @
F
R2931H R2939
H
— — . — —

-24-
I 2. SYSTEM CONFIGURATION I

I 2-5 System Selection


I
2-5-3 Second Card Onboard Function Handling Method (V Series)

The second card onboard function means that the onboard function of ladder
circuit edit, message data preparation, and printout etc. on the CNC is executed
on the second memory card (the first memory card is used for CNC software). The
V series can perform the onboard operation only with this second card onboard
function.

The software of the second card onboard function is stored on the MC431
card, dedicated to onboard operation, that is shipped separately from the CNC.

Only one type of second card onboard function software is prepared for the
M300-V series. The software system number is BND-247w303.

(1) Second card onboard function startup method

The startup sequence is shown below:

( Start )

II Prepare ~

2 Mount the card on CNC. ..... Mount the onboard ROM card
MC431 on the CNC.

[3 Set bit selection parameter.

( End )

o1 Prepare

Prepare the following units:

(a) RAM cassette (Me842 or MC844)


(b) Second card onboard ROM card (MC431) containing control software
(c) ROM cassette (MC841 Or MC843)
(d) ROM writer (RWO1)

02 Mount the ROM card MC431 on the CNC.

Insert the MC431 card containing control software into the slot (M13M_
Al) next to the one for the system software card MC431.

03 Set the bit selection parameter.

Iurn CNC power on, then set bit O of bit selection parameter #51 to 1
as follows:

76543210
# (51) ( —1)
Onboard on O: Onboard off
1: Onboard on

-25-
2. SYSTEM CONFIGURATION

2-5 System Selection


I
2-5-4 Second Card Onboard Function Handling Method (Not for V Series)

The second card onboard function means that the onboard function of ladder
circuit edit, message data preparation, putting into ROM, etc., on CNC is
executed on the second memory card (memory card on which user PLC is mounted).
(The first memory card is used for CNC software.) Only the second onboard
function can be used at a certain version and later.

The first card onboard function and second card onboard function are
handled in the same manner after system copy explained below. The second card
onboard function startup method is described here.

(1) Application

The second card onboard function is applicable to the following versions.


The CNC versions before the following do not require second card onboard
ROM. The M330L and M330HL operates normally only with second card onboard
ROM version BO or after.

M320L, 320M, 330M, 330HM, 335M: CO and later

M330L, M330HL: AO and later

M31OL, M310M: Not applicable. Refer to the PLC Program


Development System (BNP-B3416-002).
(Reference: Onboard system ROM number
..... BND-213w300)

The second card onboard function software consists of four ROM chips and is
shipped as onboard ROM separately from CNC.

Four types of second card onboard are provided according to combination of


CNC and user PLC ROM card, as listed below:

Second card onboard User PLC


CNC type Remarks
System No. ROM card

1 BND-204W300 M320L/M, M330L/M MC411 9-inch CRT


I
II2 BND-206W300
I
M330HL/HM, M335M
I MC411
I14-inch CRT

3 BND-204w301 M320L/M, M330L/M MC413 9-inch CRT

4 BND-206W301 M330HL/HM, M335M MC413 14-inch CRT

5 BND-226W302 M325M (for specific MC419 14-inch CRT


manufacturers)

-26-
2. SYSTEM CONFIGURATION

2-5 System Selection


I I

(2) Second card onboard function startup method

The startup sequence is shown below:

( START )
I

~(m Prepare

Mount second onboard ROM on MC411


@ Mount onboard ROM ““”””” orMC413

Mount RAM card for debugging and


(z\ MountcardsonCNC ““”””- userPLCROMcardon CNC

1
(47 Stop user PLC . . . . . . Stop user PLC

I (5 Set bit selection parameter I ...... Setthesystem copyon parameter

I
@ Load second card onboard . . . . . . System copy

I (7) Work before end I

o1 Prepare

Prepare the following:

(a) User PLC ROM card (MC411 or MC413)

(b) Four chips of second card onboard ROM of same type


four types listed above

(c) RAM card for debugging (MC941 or MC942)

.
-27-
] 2. SYSTEM CONFIGURATION I
2-5 System Selection
I
o2 Mount second card onboard ROM

Insert second card onboard ROM in the user PLC card (MC411 or MC413).
The insertion location is written in the lower right portion of the
seal put on the ROM chip.

(a)

Install user PLC ROM in


the hatched portion.

05
[

on
1n Ii) 00
Example of seal:
Seal

~o u
4E

L------
n

Ml

-—— --— —-. .-—. --


204W300
MC411

4E
1
1

~ ----
AO

i---
---System

---Card

-- Subnumber

---installation
number

name

Iocatlon

(b)

Install user PLC ROM in


. the hatched portion.
3
T
N
Ii
[“

o
II Example of seal:

-o----
206W301 ---System number

--
MC413
---Card name
4D AO
D
I t
I L----Subnumber
--------- ----installation location

-28-
2. SYSTEM CONFIGURATION

2-5 System Selection

o3 Mount cards on CNC

Insert the RAM card for debugging in CNC. Insert the user PLC card as
shown below: (In this example, MC411 and MC942 are used.)

‘?3
CH
o
1111 y

ST1
w
0. L

u-

,0(
PC>M —
MC941
J
w
I MC411 I
CNCmainunN
card baskat

o4 Stop user PLC

Set pin 2 of the system selection switch on the MC1ll card in CNC to
ON to stop user PLC.

-
,rMC161

User PLC stop


ON

1
; //
w
— System selection switc17 * &
w’
m
.
.x

Card MCI I 1
[Card MC161 depending on the model]

-29-
I 2. SYSTEM CONFIGURATION
I
2-5 System Selection
I

o5 Set bit selection parameter

Turn on the CNC power and set both bit selection parameter #51 bits O
and 1 to 1.

7 6 5 43 2 10

# (~) ( 1 1)

L Onboard on 7;: Onboard off


Onboard on

[ System copy on : System copy off


~!: System copy on

o6 Load second card onboard software (system COPY)

Load second card onboard software into the RAM card for debugging.
(The figure shows an example using the 9-inch CRT setting and
display unit.)

FO key is pressed, the following screen is displayed:


(a) When the c1

MITSUBISHICNC

MELDAS 300 SERIES


PLCPROGRAMMING
TOOL

COPYRIGHT (C) 1986


MITSUBISHI
ELECTRICCORPORATION

ALLRIGHTSRESERVED

S-COPY LADDER FILE

(b) When the menu key is pressed, the following screen appears:
ZS-COPY

PLCSYSTEMCOPY
I
I 1.
2.
ONBOARD SYSTEM

DEBUG RAM CARD


ROM SIZE K BYTE

1. READ 3. VERIFY
/

-30-
I 2. SYSTEM CONFIGURATION I
2-5 System Sele&tion tI
1

(c) When the menu key F) is pressed, the memory size and debug

card type are displayed as shown below. Next, when the o


INPUT

key is pressed, the message “EXECUTING” is displayed on the


screen. When the loading ends, the message “COMPLETE” is
displayed.

Then, press the menu key Im


‘VERIFY and the INPUT key. At the normal
o

termination of check, the message “COMPLETE” is displayed. If


the software is not normallv loaded for some reason. the messa~e
“CHECK ERROR” is displayed.-

PLCSYSTEMCOPY

1. ONBOARD SYSTEM ROM SIZE 128K BYTE

2. DEBUG RAM CARD MC941

COMPLETED

, I.READ 3. VERIFY

Loading the second card onboard software is now complete.

Note: The memory size and debug card types are automatically judged
for display.
,
Connection card
Onboard system Debug card
memory size display dfsplay
RAM card ROM card

MC941 MC411 128K bytes MC941

MC942 MC411 128K bytes MC942

MC942 MC413 256K bytes MC942

o7 Work before end

After the second card onboard software has been loaded, perform the
following:

(a) Set bit selection parameter #51 bit 1 to O.

(b) Again press the FO key and check that the following screen is
0
displayed:

-31-
MITSUBISHI
CNC

MELDAS 300 SERIES


PLCPROGRAMMING
TOOL
BND-204W300-A0

COPYRIGHT (C) 1986


MITSUBISHI
ELECTRICCORPORATION

ALLRIGHTSRESERVED

MESSG. LADDER FILE

(c) If this screen is displayed, turn off the CNC power and remove
the user PLC ROM card from the RAM card for debugging. Remove
onboard ROM from the user PLC ROM card and store the onboard
ROM (Note).

The second card onboard software loaded into the RAM card for
debugging will be retained for about two months even if the CNC
power is turned off. However, it is not retained if the RAM card
for debugging is removed from CNC.

The second card onboard system startup is now complete.


The subsequent handling method is the same as in the system in which
the onboard function exists in CNC. See 3.

Note: Second card onboard ROM is used only when user PLC is
debugged. Basically, it is attached to the RAM card for
debugging for shipment from MITSUBISHI. Be careful so as not
to ship as a product with it attached to the user PLC ROM card.

-32-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION

3. CREATING LADDER CIRCUIT AND MONITOR OPERATION

A ladder circuit can be created on board and further the ladder circuit
created on board or by the Mitsubishi FA workstation can be edited on board.
Operation states of the sequence circuits can be monitored.

Creating the file


I
Writing thecircuit
I
Note: To edit or create ladder

E
Reading the circuit
circuits or message data,
inserting the circuit stop the user PLC. For
the operation procedure,
Erasing the circuit
see section 2-5-1

l-- Monitoring the circuit


I ‘“Explanationof System
Selection Switch” or
section 3-1-2 “User PLC
I 1
RUN/STOP by CRT Operation.”

card
MC431 Cll
~vj’m &%tte

1
MC842 or
MC844

For@ series
D
I

I
MC941, MC942
RAM card

For non- @series

The table below lists the items to be explained in this section:

Mode Function item

File specifi-
cation mode
Creating the file Registers an edit file. I
User PLC RUN/STOP

Creates a circuit.

Writing the circuit Modifies an existing circuit.

Adds circuit blocks.

Reads a circuit by step number.


I

Circuit Reads a circuit by device number. I


mode
Reads a circuit by contact or coil number.
Reading the circuit
Reads a circuit by an instruction.

Reads the last circuit by the END


instruction.

-33-
Mode Function item

Inserting the
Inserts circuit symbols.
circuit

Erases circuic blocks.


Erasing the
circuit
Erases circuit symbols.
Circuit
mode Monitors the circuit.

Freezes the screen at monitor stop trigger


point.
Monitoring the
ladder circuit.

Monitors the current value (Declmal—

The modes and function items above are explained in order.

(1) Menu operation

o1 14-inch CRT display terminal

CNC function selection key

(Function menu}

I 1. MESSG. 4. LADDER 6. LINK 7, FILE


I

Press menu key


B
{Submenu)
1

2.CIRCUIT
I

Press menu key


.B
(Operation menu)
f

2. WRITE 3.INSERT 4. DELETE 5. CONVT 6. MONIT MENU

1.+~2.+3.~~4.+# 5.-( >”6.+}7. I 8.- ME.u~ B


MENU
1[

-34-
o
2 9-inch CRT display terminal

FO CNCfunction selection key


c1

in
(Function menu)
I In

I’L
1. MESSG. 4. LADDER MENU ‘MENU

6. LINK 7. FILE MENU


*

Press the menu key


B’
(Submenu)
I 1

I 2. CIRCUIT
I
Press the menu key

1 IzzI!!3 ;Operationbardl

11. READ 2. WRITE 3. INSERT 4. DELETE MENU !

I 5. CONVT 6. MONIT MENU I

(2) Circuit mode display screen

o1 14-inch CRT display terminal

80 characters

~ 9contacts max ~

PLC ladder
M1O Y30
~>

18 lines
2506

r~
I xl
T1
Klo> 9 lines for ladder display

(one line for ~x~ )

. . . -------------------------------------------------------
------------- ----- _-- —_. _-—------- ------------- ----- ---- Display for monitoring
------------- _____________________________________ ______
------- ----------------- _—-----------------------------
Memory (6040/8192 steps) Memory size used and messages
7 lines -- —---- -------------------------- ___________ G____ ------ .
Mode CIRCUIT Function READ SET Data ( Mode and functions
---------------- ___________ _______ _________ ___________ J

------ ------- —---------—-- __________________________


1. Read 2. Write 3. Insert 4. Delete 5. Convt 6. Monit Men{ Menu display field
1

-35-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION

o 2 9-inch CRT display terminal

~:::::rn-,

Six lines for ladder display


[
12 line (oneline for ( ~~ ))

---. — --------- -_---- -----— ------------ ------ -. ___


------ —----- ---------- ------- ______ ------- ------- Display for monitoring
.-— _ _______ -------- ____ ------ ------- - ___ --
t
Memory (6040/8192 steps) Memory size used and messages
6 line ------ ------ ------- ------- ------- _______ -----
Mode CIRCUIT Function READ SET Data ( ) Mode, functions, and data setting field
----------- ---=. . -------- ------ ------ ------ ---
------ ------ - ---.--- . --- ------ ------ ----- --------
1. Read 2. Write 3. Insert 4. Delete Menu Menu display field
1

(3) Basic key operation

o1 The following basic five instruction input available:

1) m + device number

EmEI
(LD xl)

2) m + device number + device number

(Example)

T O KIOO j=) mm
~~
‘-l EEHIIEIEIEI
(OUT TO KIOO)

3) m + instruction + device number

(Example]

~~--ific--~”--6&-
.................
J-1
DE) EEIIZIEIEIEHZI
(INC00)

4) m + instruction + device number + device number

(Example)

-i~MOV:KO:
....................DO
---””---’-”-----’”----”j .... m @lq[malzlH@zlmQ

(MOV KO DO)

-36-
‘) m + instruction + device number + device number
+ device number

(+ D(l K1 Dl)

o 2 Caution on key operation

1) Some CNC display terminals do not contain keys such as DSP (space

key), c1
< , and o> .

The basic keys and alternate keys are listed below:

Note: The IINPUT]



key is represented as INPUT/CALC or INPUT depending

on the model. o
INPuT
is used throughout the manual.

Basic key and alternate key operation in programming


Basic key Basic key
Instruction I Alternativekey operation Instruction ~ I Altemativekeyoperation
operation operation
—--—-–--t–— ----- -———
i
+ + --@ ~ LD> >
o
—-----L-.–---—- c1
----– --–— -------- --~––...-.—.-....—.———.-.-–& EIEI
-—— ——— ‘---
t
.. ______.–+-D __-+
‘+— ‘~o---l~fij~”-””----””- “’::-:%--+~g- ‘-
_..__. _.L_._. .-––+ -- ------ -------- – - -. – ---- .-— ..~__._... ___.+_ ..—–.——

.:.:. ----- ;Emp.EIQ.._E.. -.. .l”:.? !EE3 ‘mm


---- <-------- ‘---
----------------—----

. -..—.--–.—-— 0
-d—.— ..— .. —.+ Fmg ..’’’:j: [Q--B —.———.JIlml

/ LJ____ ——.
_D..*____..iilElEl
~.= EmmZE-
-----------1--------
,——
~[qllJpJ
------------------

‘-” ‘;RD’
------ -----
mEl ‘EKTET-------
----- --- -t---- --- ------------ ----- --

h“~----iibl
LD< <

i<
-. . .. ..O ._.j_l@_ ... . _

‘--F-FHIEI
——-—.-.._.L= - G ----- -.-r=== .- –=—.. -------- –
.A ND<
.-. __________
,n
; — ._ .+ (ml . .. ,_.. — ——.———

“~N~~-”tEl-::-E-l!”-”--- -:::=”-B@-”” ——
LD= –


.!-:-.l”:[@-:--:
IEIIB__
-–-—-
-----
—---–—–
--
——-—----
““”--
..... .. . ._’4_KD.!_:.!_oLB___jm_.Q
LDD=
@lH
---- ‘DEB
-.–——--L–
------
------
--- --—---“’D<
-- ‘m~ j~am
...-–.—.——.–.-..-----
lNDD= ~lj~__ ~~~~ SPACE ‘SP !F
-–-– c1
——-–—?——-—–-––. ‘o
--.:.–-——
ORD= (=](=] t~-~”g-- “-””’-- ‘- ~ ‘- I -z:---–

Example: To program “=--~ model not containing the = key,


H ......”b-i-””~-ti”o”}
................ oa the c1
enter the key sequence m @B@mmBmmH*
It is displayed in the setting field as the key sequence is entered
during operation. However, when ,~pu, is pressed, the program (circuit)
o
....................
is displayed in the ladder display area as H =..~.D,D...;..Do} .

-37-
(4) Terminology

o1 Device and device Number


The device is an address signal used to distinguish the PLC signals.
Each device is assigned serial device numbers. Device numbers of
devices X, Y, and H are indicated in hexadecimal notation while the
other device numbers are indicated in decimal notation.

o2 Listing of devices
The table below lists the PLC devices and the contents:

Devices used by M310L/M, 320L/M, 325M, 330M/HM, and 335M

-1

Device Device number Unit Contents

x XO to X37F (896) 1 bit Input signal to PLC, such as


machine input.

Y YO to Y3FF (1024) 1 bit Output signal from PLC, such as


machine output.

M MO to M1279 (1280) 1 bit Temporary storage

Gk GO to M2815 (2816) 1 bit Temporary storage

F FO to F127 (128) 1 bit Temporary storage and alarm message


interface

L LO to L127 (128) 1 bi~ Latch relay (backup memory)

E EO to E127 (128) 1 bit Special relay

TO to T15 (16) 1 bit/16 bits 10 ms unit timer

T T16 to T95 (80) 1 bit/16 bits 100 ms unit timer

T96 to T103 (8) 1 bit/16 bits 100 ms unit integrating timer

QO toQ39 (40) 1 bit/16 bits 10 ms unit timer (fixed)

Q* Q40 to Q135 (96) 1 bit/16 bits 100 ms unit timer (fixed)

Q136 to Q151 (16) 1 bit/16 bits 100 ms unit integrating timer


(fixed)

c CO to c23 (24) 1 bit/16 bits Counter

B* BO to B103 (104) 1 bit/16 bits Counter

D DO to D1023 (1024) 16 bits/32 bits Data register, arithmetic register

-38-
levice
1

Device number Unit


E3E!EE Contents

RO to R6535 (6536) 16 bits/32 bits File register, PLC-CNC interface


1
R (RO toR3239 for
M31O)

A AO, Al (2) L6 bits/32 bits Accumulator

z (1) 16 bits Index of D or R address (+


. n)
v (1) 16 bits Index of D or R address (In)

N NO to N7 (8) Master control nesting level

PO to P255 (256) Label for conditional jump and


subroutine call instructions
P
(P300 to P511) P300 to P511 are used to call C
language modules.

K-32768 to K32767 Decimal constant for 16-bit


instruction
K
K-2147483648 to Decimal constant for 32-bit
K2147483647 instruction

HO to HFFFF Hexadecimal constant for 16-bit


instruction
H
HO to HFFFFFFFF Hexadecimal constant for 32-bit
instruction
U* UO to U17F (384) Input signal to PLC, such as machin~
input (unavailable)

W* WO toW17F (384) 1 bit Output signal from PLC, such as


machine output (unavailable)

Note 1: The devices marked by an asterisk (*) such as G* can be used only
with the CNCS to which a bit operation extended option is added.-
They cannot be used with the M310L/M and M320L.

Note 2: For details of the ranges and restrictions on use of the devices,
refer to the PLC Programming Manual (Ladder) (BNP-A2947). (For
example, the pointer P user open area ranges from PO to P159.)

-39-
Device used by M330L/HL
1

)evice Device number Unit Contents

x XO to X37F (896) 1 bit Input signal to PLC, such as


machine input

Y YO to Y3FF (1024) 1 bit Output signal from PLC, such as


machine output

u UO to U17F (384) 1 bit Input signal to PLC: Signal for


second system

w WO to W17F (384) 1 bit Output signal from PLC: Signal


for second system

I IO to IIFF (512) S bit Output signal from PLC: Signal


for third to fifth systems

J JO to J2FF (768) 1 bit Output signal from PLC: Signal


for third to fifth systems

s SO to SFF (256) 1 bit Input/output signal between PLC


and CNC for rotary tools

M MO to M1279 (1280) 1 bit Temporary storage


——
G GO to G1791 (1792) 1 bit Temporary storage

F FO to F127 (128) 1 bit Temporary storage, alarm message


interface

L LO to L127 (128) 1 bit Latch relay (backup memory)

E EO to E127 (128) 1 bit Special relay

TO to T15 (16) 1 bit/16 bits 10 ms unit timer

T T16 to T95 (80) 1 bit/16 bits 100 ms unit timer

T96 to T103 (8) 1 bit/16 bits .100ms unit integrating timer

c CO to C23 (24) 1 bit/16 bits Counter

D DO to DI023 (1024) 16 bits/32 bits Data register, operation register

R RO to R6535 (6536) 16 bits/32 bits File register, PLC-CNC interface

A AO, Al (2) 16 bits/32 bits Accumulator

-40-
Device Device number Unit Contents

z - (1) 16 bits Index of D or R address (~n)

v - (1) 16 bits Index of D or R address (~n)

N NO to N7 (8) Master control nesting level

P PO tO P255 (256) Label of conditional jump and


(P300 to P511) subroutine call instructions.
P300 to P511 are used to call C
language modules.

K-32768 to Decimal constant for 16-bit


K32767 instructions
K
K-2147483648 to Decimal constant for 32-bit
K2147483647 instructions

HO to HFFFF Hexadecimal constant for 16-bit


instructions
H
HO to HFFFFFFFF Hexadecimal constant for 32-bit
instructions

Note: For details of the ranges and restrictions on use of the devices,
refer to the PLC Programming Manual (Ladder) (BNP-A2947). (For
example, the pointer P user open area ranges from PO to P159.)

-41-
I
llleviceused by V-series I

Dev5ce Device number Unit Contents

x XO to X37F (896) 1 bit Input signal to PLC, such as


machine input

Y YO to Y3FF (1024) 1 bit Output signal from PLC, such as


machine output

u UO ~0 U17F (384) 1 bit Input signal to PLC: Signal for


second system

w WO tO W17F (384) 1 bit Output signal from PLC: Signal


for second system

I IO to IIFF (512) 1 bit Output signal from PLC: Signal


for third to fifth systems

J JO to J2FF (768) 1 bit Output signal from PLC: Signal


for third to fifth systems

s SO to SFF (256) 1 bit Input/outputsignal between PLC


and CNC for rotary tools

M MO to M5119 (5120) 1 b%t Temporarystorage

G GO to G3071 (3072) 1 bit Temporary storage

F FO to F127 (128) 1 bit Temporary storage,alarm message


interface

L LO to L127 (128) 1 bit Latch relay (backupmemory)

E EO to E127 (128) 1 bit Special relay

TO to T15 (16) 1 bit/16 bits 10 ms unit timer

T T16 to T95 (80) 1 bit/16 bits 100 ms unit timer

T96 to T103 (8) 1 bit/16 bits 100 ms unit integratingtimer

QO to Q39 (40) 1 bit/16 bits 10 ins-unittimer (fixed)

Q Q40 to Q135 (96) 1 bit/16 bits 100 ms unit timer (fixed)

Q136 to Q151 (16) 1 bit/16 bits 100 ms unit integratingtimer


(fixed)

c CO to C23 (24) 1 bit/16 bits Counter

B BO to B103 (104) 1 bit/16 bits Counter

D DO to D1023 (1024) 16 bits/32 bits Data register,operationregister

R RO to R4095 (4096) 16 bits/32 bits File register,PLC-CNC interface

A AO, Al (2) 16 bits/32 bits Accumulator

-42-
.

I3. CREATING LADDER CIRCUIT[


AND MONITOR OPERATION

Device Device number Unit Contents

z - (1) 16 bits Index of D or R address (+


— n)

v - (1) 16 bits Index of D or R address (~n)

N NO i20 N7 (8) Master control nesting level

P PO t10 P255 (256) Label of conditioml jump and


subroutine call instructions.
P300 to P511 are used to call C
language modules.

K-32768 to Decimal constant for 16-bit


K32767 instructions
K
K-2147483648 to Decimal constant for 32-bit
K2147483647 instructions

HO to HFFFF Hexadecimal constant for 16-bit


instructions
H
HO to HFFFFFFFF Hexadecimal constant for 32-bit
instructions

Note 1: The device marked with * can be programmed in the range wider than
that indicated. However, the range not indicated in the table is
reserved for expansion and must not be used for ordinary
operation. The expandable ranges of such devices are as follows:
-XO to X57F (1408 points) - YO to Y5FF (1536 points)
-wO to WIFF (512 points) - IO to 137F (896 points)
-JO to J47F (1152 points) - FO to F255 (256 points)
-LO to L255 (256 points)

Note 2: For details of the ranges and restrictions on use of the devices,
refer to the PLC Programming Manual (Ladder) (BNP-A2947). (For
example, the pointer P user open area ranges from PO to P159.)

-43-
o3 Circuit symbols

The eight symbols listed in the table below are used in the circuit:

Circuit symbol Contents I


+1---- IUsed in the A-contact circuit.
I
IW
41 Used in the B-contact circuit.

4+ Used in the A-contact OR circuit.

Iv 1
I 41 Used in the B–contact OR circuit.

<> Used for a coil. (Y, M, G, F, L, E, T, C)

<1- Used for programming a functional instruction.

I Used to connect circuit symbols.

— Used GO connect circuit symbols.

o4 Circuit block

The circuit block is a circuit closed by the + E or< l-symbol.

+x- ‘0 >

+x1
P
Circuit block

‘+.[:MOV-:--K-O”-:---D-O--3
...........................
+M2 T
~..:=... ..
-.
.......
:.
....................
-D-o-:---D”--” ~MO>

-44-
o5 Step number and pointer (P)

Step numbers are sequentiallyassigned to the programmed circuits.


They change automaticallywhen the circuits are edited.

A pointer (P) is a label which indicates the destination to go when a


conditional jump occurs or when a subroutine call is issued. Some
pointers are used for special purposes as follows:

P128 to P159: These pointers can be used the same way as PO to P127.
In addition, these can be used as the page feed symbols
when the ladder circuit is printed out.

P250 to P255: These pointers are used to delimit the PLC programming
levels.

Step number

Pointer

M20
2805
(2803) I ~“--+-”’’-”K””;””””-”” -----
. . .. ... . .. . . . .... .. ....!?!.9..
M21
2809
(2807)4 ‘ I ~:-zxi:miii:

2813 . . . . . . . ..- .
(2811) ‘ . . .RET
.. . .. . . .
!

-45-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-1 Creating the File

3-1 Creating the File

(1) Menu operation

o1 14-inch CRT setting and display unit

0FO
CNC function selection key

1
(Function menu)
.—.—.———
1. MESSG. 4. LADDER 6. lOSTART 7. FILE –~
— ——. -—
I

E)
!

Press function menu 7. FILE .

1
(Submenu)
..
!
2. WRITE 4. RUN/SP

92 9-inch CRT setting and display unit

0 FO CNC function selection key

1
..- {Function
menu)
1.MESSG. 4. LADDER MENU
—... — .——
—.—
—. ..—. — MENU
6. lOSTART 7. FILE MENU m

:-L

Press function menu 7. FILE .


r)
1
(Submenu)
:
2. WRITE 4, RUN/SP

-46-
3-1-1 Registering the Edit File

When creating a ladder circuit or message, the file name and size expected
to be used must be registered.

(Already registered items need not be registered.)

Basic operation

Specify the number (#) and filename


- INPUT
m~m+[.ndsize ]0

Operation procedure

(1) Press function ‘enu E) to display the PLC FILE screen.

(2) Press B’o display the setting field.

(3) Set the ladder file name and size required (size expected to be used) and
the link file name. 2K is added to the total size of the ladder file and
message file for the display of the link size required or used. (Link file
size setting is invalid.)
Only the message file name is set after message initial operation is
performed on screen to screen. If the order is reversed, a
mm
“MESSAGE LINK ERROR” may occur or the file name may disappear.

Note: Be careful not to make the link file size exceed the specification
size. Enter a file name in up to 10 characters. If 11 or more
characters are specified, the last 10 characters are used as a file
name.

PLC FILE

,3
Note: If the ordered
specification
#1 LINK (M300) ( 56/64K BYTE) is 64K bytes,
the total
#2 LADDER {LADI) ( necessary size
48/54K BYTE)
Note 1 of ladder and
message files
#3 MESSAGE {MES1) ( 6/8K BYTE) is made 62K
bytes or less.

Necessary (spe-cified) size

1 Note 3 I Current size

#( ) FILE ( ) SIZE ( K BYTE)


Setting section
2. WRITE 4, RUNI SP
J

-47-
Note 1: MESSAGE may be displayed as MESSAGE 1 depending on the onboard
version.

Note 2: For the necessary size and current size of the message, the sizes
written on ~=~to~))aredisplayed. Setonly the file

names on the screen. The size specification can be set on the


screen.
However, it each size is set on the MESSAGE INITIAL screen, the
size is newly set.

Note 3: If the current size is less than lK bytes, it is displayed as OK


bytes.

Note 4: The maximum size of the ladder file is 64K bytes for 16K steps
within the range in which the link file size-does not exceed-the
specifications.

3-1-2 User PLC RUN/STOP by CRT Operation

To create or update the ladder circuits or message data, or to read or


write data on floppy disks, the user PLC must be stopped. The user PLC can be
stopped by one of two ways; setting system selection switch No. 2 on the CPU
card on as explained in section 2-4 or operating the CRT as explained below.

Note: This function is available for the series having


— the following
onboard ROM versions:

- M300-V series: AO version and after


- M300 series: BO version and after

Basic operation

(1) Stop the user PLC as follows:

m+D=)+FEm+H
(2) Run the user PLC as follows:

~+)l)+D=)+E+E

Operation procedure

(1)
‘ress El m and
to display the PLC edit file registration screen.

(2) Press 4~uM,~P


to display the setting field. The message display area
D
displays “PLC RUN” if the user PLC is running, or “PLC STOP” if it is in
the stop state.

(3) TO stop the user PLC, press 1 and then ,,PuT


. To run the user PLC,
o 0
press 0 . The message display area displays “PLC STOP” or
and then ,,PuT
c1 o

“PLC RUN.”

-48-
Note 1:
E!z!EEa
Before using this function, set system selection switch No. 2
(RUN/STOP selection) on the CPU card to off (RUN). If it is set
to on (STOP), this function cannot make the user PLC run.

Note 2: An attempt to stop the user PLC by this function brings it in the
emergency stop state in the same way as done with the system
selection switch.

PLC FILE

#1 LINK (M300) (56164KBYTEs)

#2 LADDER (LAD1) (48/54 BYTES)

#3 MESSAGE (MESI ) (6f8KBYTEs)

P LC STOP
I
I — Message display area
O: RUN I:STOP(l)
-r. --
[ — Data setting field

2. WRITE 4. RUN/SP

-49-
3* CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-2 Writing the Circuit

3-2 Writing the Circuit

3-2-1 Creating the Circuit

This operation creates a new ladder circuit or completely erases existing


ladder circuits.

Basic oDeration

~=)-F)-F)-~)-@+R ‘[Read operation)+ F)_E

Operation procedure

(1) When creating a new circuit, register the edit file before starting this
operation.

(2) Press function menu to display the submenu.


m

(3) Press The screen shown below appears.


m ~m and ‘hen ))) “

(4) When creating a new circuit or erasing the entire existing ladder circuits,

Ela”d El;‘therwise’ ‘ress R


‘ress v “

pressed, two vertical lines are displayed on the right


“) ‘hen(IlandE3are
and left sides and step number O is displayed.

(6) Write the program.

o 1 Using the circuit symbols (menu keys) and alphanumeric keys, write the
program starting from the cursor position.

o2 When about one screen of program is written, press p) and@.

Note: Up to two screens of program can be written at one time, but it is


recommended to press each time one screen of program
B and@
is written.

Note that the circuit completed on the screen makes no sense


unless p) andB are pressed: pressing the two keys only converts

the written program into the object file.

o3 When the written program is normally converted by pressing D 5CON* and

INPUT 3
the message COMPLETED is displayed in the message display area.
c1

-50-
Example:
Pressing
B B B and ‘hen B ‘isp’ays ‘“e screen “0””
below:

PLCladder

CLE.4RMEMORY FORNEWPROGRAM?
*Yes “YINPUT”
NO “SELECTREAD”

Note: Pressing
D@’

Mode CIRCUIT Function WRITE SET Data ( Y)


9. SET MENU

From the above screen pressing y


Oandlzl displays the screen below to allow

writing a program.

P LC Ladder

o .=

Memory ( O/8192steps)

Mode CIRCUIT Function WRITE SET Data (


Menu

3-2-2 Modifying the Existing Circuit


This operation modifies the existing sequential circuits.
Basic operation

[
Reading the circuit )- F).
- (‘“’erin’’heinstruc’ionl-
E9-EI

-51-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-1 Creating the File
I
Operation procedure

(1) According to the read operation, read the circuit block to be modified.

(2) Pressing erases all circuit blocks from the screen, only leaving the
m
circuit bloc’kat the cursor position.

o When modifying the circuit block other than the one displayed on the top
of the screen, move the cursor to the beginning of the target block and
then press the specified circuit block moves to the top of the
B:
screen and the other blocks disappear.

(3) Using the cursor keys, move the cursor to the position where the circuit is
to be modified and then enter the necessary instruction and data.

(4) Be sure to press 5..0... and ,~Pu~


after modifying the circuit.
D c1

o Pressing the two keys displays the message COMPLETED in the message
display area and, at the same time, displays the modified circuit.

w I
(1) If the circuit modification involves the change of a step number, the
succeeding program step numbers and conditional jump (CJ) destination
labels are also accordingly changed.

Example: Modify coil Y1O to Y35.

E3”Ei3-E3”El+zl”E31
ReadingstepNo. 20.
I

q=-)-~-)j)+J+-J+--J”l-+ B +3
Modifying YIOto Y35.

-This is to be modified to Y35.

L-._._—_____.._________---—-––—--------

-52-
=

3-2-3 Adding the Circuit Block

This operation adds a circuit block to the existing sequential circuits.

Basic operation

(
Reading the circuit
1+ B E9-EI
~E-@~[’”’er’”g’’e’”’t’”’’’”n)+
L@&
Operation procedure

(1) According to the read operation, read the circuit steps where a circuit
block is to be added to.

(2) Pressing -~erases all circuit blocks from the screen, only leaving
v J

the circuit block at the cursor position.

o When adding the circuit block to the one other than that displayed on the
top of the screen, move the cursor to the beginning of the target block
and then press : the specified circuit block moves to the top of
B
the screen and the other blocks disappear.

(3) erases the circuit block on the top of the screen and
‘ressingElandE1
displays the next step number and two vertical base lines.

(4) Write an additional circuit block by entering necessary instructions and


data.

(5) Be sure to press after adding the circuit.


B andH

Example:
Add the circuit block containing devices X5 and Y15 to step No. 50.

E3”tEE)”lEa”El”EHa”
Reading step No. 50.

50 ‘+ H“~ ’20
MIO

‘4 ‘r””
x22
57
+-----ciim::!m:::m
Yo Y1
61
l-——l~ ’13
Ml’ M13
64
N H ~ ’20

-53-
] 3. CREATING LADDRR CIRCUIT ~
AND MONITOR OPERATION
I 3-2 Writing the Circuit I

EE)”EI”EI”
Set the write area after the circuit block read.

,——--- ___________________ ——-- —--- —-_ -— _-

Writing X5 and Y15.

f >

54

. ----- -— --- -----— -- ----- -- —-- ----- -----

Point
(1) Inserting or adding a circuit block automatically changes the succeeding
program step numbers and CJ destination labels.

-54-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-3 Reading the Circuit
I

3-3 Reading the Circuit

3-3-1 Reading the Circuit by Step Number

This operation reads the circuit blocks by specifying a step number.

Basic operation

FPl=)”F++==l” E
Operation procedure

(1) Press enter the step number, then press


B’m’andm’

oINPUT ●
This displays the circuit blocks starting from the one whose step

number is specified on the screen.

o If the number of an intermediate step of a circuit block is specified,


the step numbers are displayed from the first step of the block.

(2) Pressing displays the circuit on the previous screens (scrolling


Band@
one screen up) while pressing + and

screen (scrolling one screen down).


OEI displays the circuit on the next

successively scrolls another screen down. When the screen is


Pressing ,~PuT
o
scrolled down to the last circuit block, LADDER END is displayed in the
message display area.

Pressing ,,PuT
o
after pressing~ and ~~Pu~
works the same as above.

Note: It takes time to display another screen by pressing _ and


c1

oINPUT
0 El”
three times more than by pressing + and

(3) If one circuit block is divided in two screens, use the cursor key~or
u
~ to move the cursor to the top or bottom of the screen and further press
o
the cursor key to scroll the the screen one line. Continue to press the
cursor key until the whole block appears on the screen.

Even when the circuit block is not divided in two screens, pressing the
cursor key ~or~can
~ scroll thescreen. Notethat, however, pressing

the cursor key ~ can scroll the screen but cannot display the next circuit.
n

-55-
. . —,

3. CREATING LADDER CIRCUIT


AND MONITOR OPERATION
3-3 Reading the Circuit
1
Example 1: Read the program with step No. 100.

p) - -). )j)
+ZI”(IHWEI
Steo number

L -—— ——— .— --- ____ ____________ _______

Example 2:
After reading the program with step No. 100, move the cursor key ~ to the

bottom of the screen, then press ~four times then n ~ four times.
o
u
\
x; ~Ylo
100 Qxl--l
7
~
pzl
x2
103$ 11 !~ ’11> ‘
\“
Em
x3
II Elm
Y12 J 7- -
107 +X+”ll , < . .. Em
x5 M2 1
) Al II
M3
t 11 t

No succeeding circuits are displayed.

Note: If part of the circuit block displayed on the bottom of the screen is
hidden on the next screen, it can be displayed on the current screen
by moving the cursor beyond the bottom of the screen. But pressing

o
the cursor key + further cannot display the next circuit block.

Similarly, pressing the cursor key ~ cannot display the circuit


o
blocks before the step read out, step No. 100 in the above example.

-56-
Example 3:
After reading the program with step No. 100, operate the
m’m’B’
and then ~PU~
keys.
B’@’ n

b
x5 M2
4
M3

M4
El”El El
Id This part of circuit is not

-1
M5 displayed by this operation.

w-”-””---%-”-”
-------
--MOV”:-KO”-;-D”O]

X8 M6 F18

Elr
)

X8 M7

I
x9

‘A~
XB M9
M8

’19
)
Y32
77
l-+
Mll
~;
Y31
-J
J’
M12

P~ M13

M14

-57-
--- . . . ,,, , ,,.
,

3-3-2 Reading the Circuit by Device Number


l===%
This operation reads the circuit block containing the specified device
number.

Basic operation

F).1-l.@
B-

Operation procedure

(1) Press F)and)j) , enter the device number, then press INPuT .
0
The circuit block containing the specified device number is displayed.
If several circuit blocks contain the specified device number, the circuit
block with the smallest step number is first displayed. Pressing ,~pUT,
c1
displays the circuit with the second smallest step number under the circuit
block currently displayed.

When the screen is.full of circuit blocks, pressing ,NPuT


pushes the first
c1
circuit block out of the screen and adds another circuit block on the bottom.

(2) If another device number is specified during the operation, the circuit
block containing the specified device number is displayed under the one
previously displayed.

(3) After all target blocks have been read, an attempt to read another circuit
block causes PROG. NOT FOUND to be displayed in the message display area.

Example:
Read the circuit block containing output device Y30.

IE3”E!9”EI”EI”EHEI

..--—-—-- ---- ------ - ---- ___________ ______

-58-
3. CRRATING LADDRR CIRCUIT
AND MONITOR OPERATION

I3-3 Reading the Circuit I


3-3-3 Reading the Circuit by Contact or Coil Number

This operation reads the circuit block containing the specified contact or
coil number.

Basic operation

“EC) m “EEEEI-FJ

Operation procedure

(1) Press , and a circuit symbol key (


m’ B m’m’
D=), ~ ~) ~ Or ~~) ), enter the device number, then press

u ,,Pu, . The circuit block containing the specified contact or coil

number is displayed.

If several circuit blocks contain the specified contact or coil number, the
circuit block with the smallest step number is first displayed. Pressing
,,,,, displays the circuit with the second smallest step number under the
o
circuit block currently displayed. When the screen is full of circuit
blocks, pressing ,,,,,
pushes the first circuit block out of the screen
0
and adds another circuit block on the bottom.

(2) If another contact or coil number is specified during the operation, the
circuit block containing the specified contact or coil number is displayed
under the one previously displayed.

(3) After all target blocks have been read, an attempt to read another circuit
block causes PROG. NOT FOUND to be displayed in the message display area.

(4) When reading the circuit block by contact, pressing ~) and entering a

device number reads contact A while pressing ,.++ and entering a device
n
number reads contact B.

(5) Pressing ~+~ and entering a device number reads the OUT instruction.
m

-59-
Example:
Read the circuit block containing contact A with device No. X1O.

F’)-$=-)J-j= )+-J--pJ+J+- (=J


Specifies contact A
with device No. X1O.

■ Xlo M15
20 II

‘t35
F .4’1

‘1

L______________________________________

3-3-4 Reading the Circuit by Instruction

This operation reads the circuit block containing the specified instruction.

Basic operation

B“B-B--H

Operation procedure

(1) Press specify the instruction, and then


HJ=’and)=)’
. The circuit block containing the specified instruction is
press ,~PU~
c1
displayed..

If several circuit blocks contain the specified instruction, the circuit


block with the smallest step number is first displayed. Pressing
INPUT
displays the circuit with the second smallest step number under the
o
circuit block currently displayed. Specification of a device number is
ignored.

(2) If another instruction is specified during the operation, the circuit block
containing the specified instruction is displayed under the one previously
displayed.

(3) When the screen is full of circuit blocks, pressing ,,pu,


pushes the first
D
circuit block out of the screen and adds another circuit block on the
bottom. (See example 1.)

(4) After all target blocks have been read, an attempt to read another circuit
block causes PROG. NOT FOUND to be displayed in the message display area.

-60-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-3 Reading the Circuit

Example 1:
Read the circuit block containing the PLS M80 instruction. (here, M80 is
insignificant.)

E-E-m”m”a+E
*M
c “El+ “B”EI

300

802

l_________________________ ___________

Example 2:
Read the circuit block containing the MOV instruction.

-) –+==)-)=) --@+(=J.~+@...@J
MO
1++-----+.,.-..,..-..: ‘iiov:--D-o””~-D2oj
.. . ..
x22
57 ‘+~titi~:::::!..:.l:!:.}
,HPU~is pressed after
M1 o
.“liioV~--b20-H.Ei-}
. .. . ... ... . .. . . . . . . . ... . . the screen is fuli of circuit

M2
: :r

207 -liiov~-””----~
4 ~.: . . . ..!..x.!..~}l --”-”--

2509 +x~ ‘“iRW:--ij-o-:”ti-iY2]


. . . .. ... . .. . . .. . . . . . .. . —
xl y [:MO.
4020 . .. . ..v’:-’Hzo”:-D6g
... . .. . . ...1--..

M6
r

-61-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION I
13-3 Reading the Circuit I

3-3-5 Reading the Circuit by END Instruction

This operation reads the circuit block immediately before the block
containing the END instruction.

Basic oDeration

F)–F=-)-mHH3---Pl- El
Operation procedure

(1) Press
w’ EE)’andm’ type E, N, and D, and then press

INPUT The circuit block immediately before the one containing the END
D

instruction is displayed.

Example: Read the last circuit block.

lE!9”m-EHIl”El+HEl
The message display area displays LADDER END.

~8,4iLL_.oo~ \

Memory (6040 /8192 steps) LADDER END

I 1

-62-
3-3-6 Circuit Read Functions

Example of
Read object Example of operation Remarks
displayed circuit

Step number m@E@ 28 *---- ~~%s% ~~~c~~~cified


pT step and succeeding
steps.

~~m Reads the circuit


+Y3+ block containing the
specified device
~~~@ ]; number disregarding
the types of symbols.
~~~R
4
, ~ ’34
1
I
I ~MovKrf5:.-D2
I
...... . . ...... . .....
t 4
, [1
Device
number
When reading a circuit
@lm@E -J/L block specifying device
T or C, the device
[m@@ ] .~& indicated by circuit
symbol “+ >“ cannot
-L~$T;~i@ be read. For example,
..........
+T15K5>cannot be read.

)j)~~E y; Reads each circuit


symbol separately.
The combination of
Circuit )G)~@H circuit symbol “+ }’”
Symbol + and device number
cannot be used for
reading.
;Zy, 9 B@la@ —?’q

<>
and device
BmmH@ ~T15 K@-1 ~=~ ==’’ied
number timer or counter coil.

Reads the blocks

B@@uB +Wi:lz[:i:z
Circuit ;;;&~;%nt%#&rd-
symbol ~Mow.Ky&T-R3 ing device numbers,
.....................
ijstru~~th
tion code +MoWK-iuT”-2-
.....................!

Reads the last circuit


BElzl @l@ ~~~, block.

pr j

-63-
1 3. CREATING LADDER CIRCUIT ~

3-4 Inserting the Circuit

3-4-1 Inserting the Circuit Symbol

This operation inserts the circuit in units of circuit symbols.

Basic operation

Instruction input operation ]Dj)–


e

II
Circuit read operation )-F) @_[
[
4
c1

+
0

+
o

Operation procedure

(1) According to the circuit read operation, display the circuit block into
which a circuit symbol is to be inserted.

(2) Pressing p) ‘rases all circuit blocks except for the one at the cursor
Y /

position.

o When inserting a circuit symbol into the circuit block other than the one
displayed on the top of the screen, move the cursor to the beginning of
the target block and then press : the specified circuit block
B
moves to the top of the screen and the other blocks disappear.

(3) Using the cursor keys, move the cursor to the position where a symbol is to
be inserted and perform the instruction input operation. Note that,
depending on the system, data insertion may be not allowed at the top of the
screen. With such system, an attempt’to insert a circuit symbol results in
an operation error, displaying OPERATION ERROR in the message display area.

(4) After insertion of a circuit, be sure to press


lEzlandB”

When ,,,u,is
pressed, COMPLETED is displayed in the message display area and
o

the updated circuit is displayed.

Point
Inserting or adding a circuit changes automatically the succeeding program
step numbers and CJ destination labels.

-64-
3. CREATING LADDER CIRCUIT
AND MONITOR OPRRATION
3-4 Inserting the Circuit

Example:
Read step No. 18 and insert contact B with device No. X8 as an AND circuit
after the contact with device No. Y15.

)=)–IJ=)+=)-$J+J+ B

Reading step No. 18.


1
EZ3”EI
Inserting contact B with device No. XB after Y15.

L . - - -——— —— -------- ---- ——— -——- —————- -4

r >

l-_—___-_—-_____—— --------- .-----.-J

-65-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
13-4 Inserting the Circuit I

The following shows the examples of insertion/additionof other circuit


symbols.

o1 Inserting the contact

(Before keying in) (After keying in)

■ M1O ’51

b’ ‘“1 ++~’~ 4

I I

Eight contacts
i O*”: ’70 )-J

Note: No more symbols can be inserted


into this circuit condition.

(Before keying in} (After keying in)

-66-
3* CRRATING LADDER CIRCUIT
AND MONITOR OPERATION
3-4 Inserting the Circuit

o2 Inserting the horizontal bar


INPUT
m–B– c1

(Before keying in]


(After keying in)

I xl ■ x3

pa-y”pp JTy”l
o3 Inserting the vertical bar

-4-

-4-

-67-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-5 Deleting the Circuit

3-5 Deleting the Circuit

3-5-1 Deleting the Circuit Block

This operation can delete circuit blocks one by one.

Basic operation
circtitrea,operation]-p)e )j)_R
[
6.<>
[1 El

Operation procedure

(1) According to the circuit read operation, display the circuit block to be
deleted.

(2) Pressing erases all circuit blocks except for the one at the cursor
B
position.

o When deleting the circuit block other than the one displayed on the top
of the screen, move the cursor to the beginning of the target block and
then press : the specified circuit block moves to the top of the
B
screen.

(3) Press DELETE 1-CIRCUIT is displayed in the message


Berm”
key again deletes the specified block.
display area. Pressing the ,MPUT
o

o Even when the target circuit block contains the data instruction for the
output device, pressing
F) and ~) ‘r ~~) , and Ecan delete
the block.

Note: After deleting the circuit block, there is no need to press

m ‘n’B”

dDeleting a circuit changes automatically the succeeding program step numbers


and CJ destination labels.

-68-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-5 Deleting the Circuit

Example:
Read step No. 25 and delete the circuit block containing it.

Reading step No. 25. Deleting the circuit block.

‘Ew’by’”>
Z Reading step NO.25.

32 Displayed after pressing

~D-) ~)@
X7 Y40 M41
34 4H~ >
M,”
37
-~--’-- ‘“”ti”-:-”P-ioo-]

-d M41

1+
F24 M41
(::) +1~ ’44)

When-an attempt to press F) and @after creating the circuit causes a

LADDER ERROR, delete the faulty circuit block. Or, delete a circuit block
before pressing ~=) andm.
Y / u

F1O
4
Y25

Thesetwoblocks are not


assigned step num hers because
x’” X22 Y26 a LADDER ERROR occurs.
, II 41 T (

X21 X23
b
.4’1 II
1
.—-—— ——-———— - - .- -— - - .—-— —--——

Circuit edit operation )-D=)* @-r~.DDERERRORJ ~


[
The Y25 circuit block generates a circuit create arror.
I
lB–+-G+.-D-) 5.< > ~rDELETE 1-cIRcUIT (DISp} ~ _@.-bjj+@

Converting the Y26


Move the cursor down. Deleting Y25 circuit block.
circuit block.

-69-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-5 Deleting the Circuit

When a normal circuit block is deleted, DELETE l–CIRCUIT is displayed in the


message display area. When a circuit block with no step number assigned is
deleted, DELETE l-CIRCUIT (DISP) is displayed.

3-5-2 Deleting the Circuit Symbol

This operation can delete a sequence circuit in units of circuit symbols.

Basic operation

l–Ek—
‘1’IE)
1. +-
Circuit read operation
[ n
2. +f-

Operation procedure

(1) According to the circuit read operation, display the circuit block
containing the circuit.symbol to be deleted.

(2)” Pressing 4 DELETE erases all circuit blocks except for the one at the cursor
D
position.

o When deleting the circuit block other than the one displayed on the top
of the screen, move the cursor to the beginning of the target block and
then press the specified circuit block moves to the top of the
m’
screen.

(3) Using the cursor keys, move the cursor to the circuit symbol to be deleted,
and press
D~)~F)YIFzz)~~)
~~)~or~~),thenpr
oINPUT to delete it.

(4) After deleting the circuit, be sure to press


Band@”

When the ,,pU,


key is pressed, COMPLETED is displayed in the message display
0
area and the updated circuit is displayed.

w I
Deleting a circuit symbol and conversion change automatically the succeeding
program step numbers and CJ destination labels.

-70-
.

Example:
Read step No. 12 and delete X3.

D=)–~=)–F)–~-E-@—l
Reading the step No. 12.

‘B–@”m”B–E–1=1-@

Deleting the circuit symbol X3.

‘12y-;mq “

L——
--- ______ ________ ---- ________ _

The following shows examples of.deletion of other circuit symbols.

o1 Deleting the contact

El “El
(JTZ--)
(Before keying in} (After keying in}

-71-
(c) F)+-J-@-j=++=-J
(After keying in)
(Before keying in]

o2 Deleting the vertical bar

(Before keying in) (After keying in}

Note: Pressing 5.CONVT is invalid with this circuit.


D

-72-
I 3. CREATING LADDER CIRCUIT
I AND MONITOR OPERATION I
3-6 Circuit Extension Function

3-6 Circuit Extension Function

The circuit extension function is used to create an M300 series ladder


circuit which is wider than eight contacts and one coil (equivalent to nine
contacts). The circuit extension function operation method and specifications
are explained.

Caution:

@ When ~=) is pressed, a maximum of six returns can be made if the number

of extended lines is one; is pressed, the number of returns is


‘hen m
up to one.
n
@ The circuit extension function cannot be executed in some systems.

Ladder circuit display buffers consist of 18 stages long and nine contacts
(containing a coil) wide. Six stages are displayed on the 9-inch CRT screen;
nine stages are displayed on the 14-inch
—— CRT screen. The portion not displayed
on the screens displayed by using ~ +
Uu “

9-inchCRT 14-inchCRT

6 stages x 3 buffers

9stagesx2buffers

Note: For 9-inch CRT, two buffers are provided in some systems.

,,,,bl “,

-73-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION

I3-6 Circuit Extension Function I

3-6-1 Extension Circuit Operation Examples

(1) Write example of a single return

““HHT~-..l
1’ E!EmHIIEl
o
INPUT

r
o HI-+HH
‘-1 EmI(ml
TT
Mll

‘--cmr”yq-’ E
n 1
L
-?
v
O1--It-iHHHI+ll-IH++ I

I Mll
hJ

‘THTHHH’-2

Likewise, a maximum of six returns can be made if the number of extended


lines is one.

● Circuit symbols to enable an extension during write


--it-, ++, —

● Circuit symbols to disable an extension during write


W--v-+@, I ,+>, --rl-
If any of the symbols is used, an
pressed.
“OPERATION o ERROR” occurs when INPUT is

-74-
(2) Write example of two or more extended lines

L -L
J-J (--

I
&
1 )4”tl
/
/<

2
I
12>4?-

Write I (vertical line)


~
1
I
1 This write example is complete by

pressing B@

-75-
I 3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-6 Circuit Extension Function

(3) Write example of function instruction into return part

m mIEl
EEEloml
[
mmmlzl
Write +iiov-1”-k-io-Iiii3J-
.. .. . . .. . . . .. .. . .. .. . . ..

This write example is complete by

pressing EH

TO write a function instruction into the return part, once extend by


writing - (horizontal line) before writing the function instruction. If the
function instruction is directly written, an “OPERATION ERROR” occurs.

-76-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-6 Circuit Extension Function

(4) Insertion example 1 of a single extended line

Ml mM2 M3 M4 MS
o Wxk s
BENII13EI

Ml F1 M3 ~M4 M5 M6 M7
o ~M2 H-I

T EEEEIE3
HHH

HHHH ‘“S’” +F?-

HHHHH
M8
l% >

!: ‘:0 5 ‘;
Ml hf3 M6
This insertion example is complete by
0 *2 ‘2HM4 ’15 t---1
‘ressing EH
r’~

HHH

~{~~ HHMt—————i

MMH~
M7 M8
IHH~ )-
4 .

● The insertion function inserts a contact ,+1~)—~*,— , etc., in the


cursor position.
If nine contacts (containing a coil) are exceeded, the line is extended
as shown above. However, only one return can be made in insertion
operation.

e Circuit symbols to enable an extension during insertion


+t--, +,—
● Circuit symbols to disable an extension during insertion
wP9+*l,-o -,-H-
If any of the circuit symbols is used, an “OPWTION ERROR” occurs
when ,~Pu7
o
is pressed.

-77-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION

I3-6 Circuit Extension Function I


(5) Insertion example 2 of a single extended line (when more than one coil

-L

‘o
Ml M2 M3 M4 This insertion example is complete by
o +1—iHH AwiH64L 1
M8 pressing IIEIEl
J
‘x~

-78-
I3. CREATING LADDER CIRCUIT 1
AND MONITOR OPERATION
3-6 Circuit Extension Function I
(6) Insertion example when function instruction exists in coil part

IEEEHIIEI

~1
Ml M2
o

,T T
‘w*&-]
EIENEI

EIEIEI

1 1~ ......................
“tiovWio--:-”bio-
~

‘-r
0’ 1’

Pm
Ml M2 M3 M4 This insertion example is complete by
o H~~ I pressing
BB

I--HI-J
1 -M; [iiovh-io-:-b-io-”]
. .. . . . . ... . . .. . .. . ... . .. .

Note: If a function instruction handled as a contact, such as =,>, or <


exists in the return part, no insertion can be made. If insertion
is made, an “OPERATION ERROR” occurs.

-79-
I 3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-6 Circuit Extension Function

(7) Insertion example 1 when two or more lines are extended

M3 M4 M5 M6 M7 M8
o +1

T
+

E‘J’:
‘IQ(I’ 1-

‘:‘“-
“F
iImIHIIEl
HH ‘“S’” #-

HHH

HHHH#
M56
HHHHH q
M66 M67
HWHHHH

H H H H H“!~!7~7#- z

H H H H #!8%8HM8% 3
M96
[ HHHHHlJ19wg&4

c +“9 This insertion example is complete by

‘ressing BE

~HHHHHl-
M67
+HHHHHH-2

---iHHHHHt---%7&3
M87
~HHHHHH- 4

-+ HHHHHd9& 5

3 >—i 4
M78

M88 F22
I
4 -H J
M98 ’32 F33
5HHHl-

-80-
I 3. CREATING LADDER CIRCUIT t
AND MONITOR OPERATION
3-6 Circuit Extension Function

(8) Insertion example 2 when two or more lines are extended

o
EIEIE3
--11--k AlHHHt-&i& z

W
M58

Q
This insertion example is complete by

c
“es””’ BE

WM58

-81-
3. CREATING IADDER CIRCUIT
AND MONITOR OPl?MTION

I3-6 Circuit Extension Function I


3-6-2 Error Messages

pn)(qg
EJEmIml

+
An “OPERATION ERROR” occurs.

o -i HHHHH b 1
T T EEmlEIEl

13i HHHHH J+ H z

4’
Gi2iz)
A “CIRCUIT CONTINUATION ERROR” or “OPERATION ERROR” occurs. If two or more lines are extended, only one return
can be made.

-I HHHHHHHH 1
iEiE)EIEIEl
IHHHHHHH~ 2

zHHHHHHH+ 3

3: HHHHHH+ 4

4+ HHHI—l HH# 5

5:HHH:HH+ 6

“CIRCUIT CONTINUATIVE SIZE OVER” occurs. The maximum number of returns is eight.

-82-
3. CREATING LADDER CIRCUIT.
AND MONITOR OPERATION
3-6 Circuit Extension Function

I-%HHH > ‘

(L
>

>

‘“s’” -2- > ‘

> ‘

> ‘
13 stages x 2 = 26 stages

> ‘

)- ‘
>‘

“LADDER OVER FLOW” occurs. The maximum number of stages as a result of extension is 24.

o -I HHI-IHWW 1

X7 T 2

1 >—l \
/

2 }—] T’

If a vertical branch exists at the return start posi-


tion, a “CIRCUIT CONTINUATION ERROR” occurs
during conversion.
Program as shown below:

:~~ ‘
A vertical branch is enabled at this position,

-83-
,,., ,,

3-6-3 Relationship between Number of Returns and Circuit Length

The relationship between the number of returns and the maximum length of
circuit that can be created at the time is as listed below:

(Note)
Number of returns o 1 2 3 4 5 6 7 8

Circuit length (stages) 18 11 7 5 4 3 3 2 2

When the limits are exceeded, a “CIRCUIT CRRATION ERROR” occurs.

Note: The maximum number of returns may be six depending


— on the onboard
function or CNC version.

Example:

c -11--ll-+-l

When the number of returns is two,


the circuit length is up to seven lines,

P!Y!Yl
Up to 24 stages

-84-
1 3. CREATING LADDER CIRCUIT
I AND MONITOR OPERATION I
3-7 Monitoring the Ladder Circuit

3-7 Monitoring the Iadder Circuit

The operation state of the sequence circuits can be monitored. The


following monitoring functions are available:

1. Circuit monitoring function

2. Screen freezing function at monitor stop trigger point

3. Registered device monitoring function

4. Decimal/hexadecimalcurrent value monitoring function

,,,,

-85-
3-7 Monitoring the Ladder Circuit
~

(1) Screen display structure during monitoring

o1 14-inch CRT display terminal

80 characters w

~ ““n’ac’smax ~

112’OO&
Y30

Nine lines for ladder display

18 lines I I .7,
.5 1 (one line for
+& )

I 2507

x’
m

. . . . . . ..
4 Tl I(IO

2511, , D [ . .MOV
.. . . .. . l“”b-o--~-iiii-}
. . . . . . . .. . ... .. . .. . . .
(2510)
-~--7-r=i6--6i=i6-i-fi5=i66_____________________________
i—-----------.--.--–––– --—–-.-–--–-–---–- ----------------- --- Display for monitoring

1
10
---—----—- _—-_——-—-_--—-— _________________________________

l----------------------------‘-----------------------” Memory size used and messages


71ines I Memory (6040/8192 steps)
1 l------------------------–---------—-------
------------
)
II, ~--------
Mode CIRCUIT
—--—-—-——-------—-
Function MONIT SET Data
-——- -------
(
—--- ——--------
) Mode and functions

I k --- —-------------------------------- ------ —–— ------------

4-( 1. Read 2. Write 3, Insert 4. Delete 5. Convt 6. Monit MENL Menu display area

o2 9-inch CRT display terminal

so’h’’’erer’
~
~ ‘cOn’actsmax”-—
/ / PLC ladder ‘

12 lines “oomy’o’ Six lines for ladder display


be line for X O ‘)
-lt-

2’07hT’ ’10’
----------
----------
-------
---------
--------
------------
‘t T1 =10 --------
—------
--- -----10
DO=1OO -----------

------
13112=100

-------------
-----------
---------------------
------ -_----.--
---
Display for monitoring

?s --- Memory (6040181 92 steps) Memory size used and messages


—-- ----------— ------— ---- . ------------ — -----------
Mode CIRCUIT Function MONiT SET Data ( ) Mode, functions, and data setting field
------ ----— -------- ---------------------------------

—------- ------ ------ --------- ---------- ------------


5. CONVT 6. MONIT MENU Menu display area
\ }

-86-
3-7 Monitoring the Ladder Circuit
~

(2) Monitor screen display method

o1 An energized circuit and nonenergized circuit are displayed as”follows:

Nonenergized circuit:-!!- -1+ +*+1--

Energized: --t- -+---- +F+l--

02 The monitor screen displays not only the ON/OFF states of the circuits
but also the set values and current values of the timer (T, Q), counter
“ (C, B), data register (D), and file register (R) contained in the
circuits displayed. Up to six values of such symbols from the above of
the circuits are displayed in order from left t: -~.ht :- .L- -.->..-
display section.

Example:

Xo xl
m
t 4 4 T2 K1O
A
I T_2 ............................... ‘1

L,,
l--
k-----EimHzi:Mliit

‘~:~... .. . .. .. . .. . ..fi-~”H--Mov;”--K;”D~”~”
;“~j-j”
~-
....
d4
. ... . . . . ... .. .. . . .. .. . . .. . . . .

T2=1O DO=5 1)20=5 R1900=0 C5=2 D3=2 Monitor display section

‘--- ‘t+--::::,::,”<, 0 -----


}

\ ‘v
J

Six symbol values max,

Note 1: The set and current values of the timer and counter are monitored
disregarding whether the circuit symbols are contacts ( +~,~ )
or coils ( < > ). If the set value is not a constant but the
data register value, the contents of the data register are
monitored as the set value.

The values set not by a program but by the PLC TIMER screen and
PLC COUNTER screen of the machine parameter can be used as the set
values of the timer (T) and counter (C), in which case the values
set by the screens are displayed as the set values.

o Bit O of BIT SELECT parameter No. 49 is off: the timer value set
in PLC TIMER screen is valid.

o Bit O of BIT SELECT parameter No. 49 is on: the timer value set
in program is valid.

o Bit 1 of BIT SELECT parameter NQ. 49 is off: the counter value


set in PLC COUNTER screen is valid.

o Bit 1 of BIT SELECT parameter No. 49 is on: the counter value


set in program is valid.
-87-
3-7 Monitoring the Ladder Circuit
~

Note 2: When data in the data register and file register is displayed for
monitoring, the system converts the data stored in a binary form
from O to 65535 to decimal number. Therefore, if the contents are
BCD data, different figures are displayed.

Example:
o When DO in the ~M6v-!--k9?-;-”D-O~
............................ circuit is monitored, DO=g9
is displayed.
o men Do in the ~-BcD.:...-.-...; -...-...

j--Kgg--:,D,O}
........- circuit is monitored, DO=153
is displayed.

o3 The MCR instruction and function instructions are always displayed in


the form of { } regardless of the operation states. These are
never displayed in
-1 }“
3-7-1 Monitoring the Circuit

This operation monitors the operation states of the sequence circuits


dynamically.

Basic operation

)=)”F)–F)–F)+==+ H-)=)1

ODeration DrOCedUIY2

(1) According to the circuit read operation, read the circuit block to be
monitored.

(2) Pressing 6.
MONIT displays the operation state of the sequence circuit and the
n
set and current values of the timer, counter, data register, and file
register for monitoring.

0 Successively pressing the + and

succeeding circuit.
00 INPUT keys enables monitoring the

o To monitor the circuit preceding the one currently displayed, press the
After this, the circuit preceding the current one can
Band @keys”
be monitored sequentially each time ,NW~
is pressed.
o
After pressing the~andmkeys, pressing the~andmkeys returns to
u Uu u

the previous circuit. After this, the succeeding circuit can be

monitored sequentially each time INFIJT h pressed.


c1

-8t3-
3. CREATING LADDER CIRCUIT
AND MONITOR OPEMTION
3-7 Monitoring the Ladder Circuit

Example: Read and monitor step No. 10.

m“m–m–m-a”BR–m
Reading step No, 10. Monitoring

MO
12 b M ~-Mov-:--”D-o-”:
. . . . . . . . .. . . . . .. .. ...--D2o---
. ... . .. . .

16 ~ !=~ T3 Klo

DO=1O D2O=1O T3=1O


o
Memory (6040 /8192 steps)

Mode CIRCUIT Function MONIT SET Data ( )

(3) Operations on monitoring

o1 Read the target circuit by step number and enter monitor mode,
switch the monitor screens by pressing the o+ or ~and@keys.

oj]–)-,)–b~) –D-)a~l-@-)=T) 7
I
H+E-J-++ . . ..

[1
L- ~ --+=J+J...

o—
[1 o+
o2 Read the target circuit block by contact, coil number, or instruction,
and then enter monitor mode.

q-jpjpj+j-)=) ‘--- B --@l”-EHIHEl

Y45

50
‘“m Ml
‘~
Y20

t-- !
.——-— — .—— ———-.—- ---- -. ——-— —--- ----—- .

-89-
,, !.,

3. CREATING LADDER CIRCUIT


AND MONITOR OPERATION
3-7 Monitoring the Ladder Circuit

o3 After entering monitor mode, read the target circuit block by step
number and then monitor it.

IE9–!E9–DIEWEE)-EIEEI”EI
o4 After entering monitor mode, read the target circuit by contact, coil
number, or instruction and then monitor it.

F)–FO–F)–l=) –EHIl+l+l
r

u -— -——..—— ——— — -—- — — - —-—-————- — —-— _ . -—— .

Note 1: When monitor mode is entered in this way, the screen cannot be
switched by pressing the ~or ~and@keys.

3-7-2 Freezing the Screen at Monitor Stop Trigger Point

During circuit monitoring, this operation can freeze the monitor screen at
the monitor stop trigger point regardless of the PLC operation.

Basic operation

J_
uO

IFreezes thescreen onthefalling edgeofthe Wwified device signal.

u1
I Freezes thescreen ontherising edge of thesp~ified device signal.

2 :Freazes
thescr~en
onbthedgeS
ofthespecified device signal.
0

-90-
~ 3. CREATING LADDER CIRCUIT
I AND MONITOR OPERATION I
3-7 Monitoring the Iadder Circuit
Operation procedure

(1) According to the circuit monitor operation, monitor the screen to be stoDDed
at the trigger point.

(2) Press the J~j,Dj),H,

the device number, and then press


o INPUT . When the specified device changes,

the monitor screen is frozen with the current display kept.

(3) TQ release the frozen screen, press


B again”

Operation conditions

(1) Only one trigger point can be specified. If two or more trigger points are
specified, the one specified last is assumed.

(2) Only the devices used in the OUT or contact instruction can be specified as
the trigger point. The trigger point need not be the device displayed on
the current monitor screen.

If a data register (D) or file register (R) is specified as the trigger


point, OPERATION ERROR is displayed in the message display area.

(3) The screen may not be frozen if the specified trigger point is included in a
high-speed processing circuit such as the one including a pulse instruction.

Example:
Monitor the circuit according to the circuit monitor operation, then stop
the screen when the timer T1 exceeds the given time.

IEE3-D=I-F)”6=-)-EHEHII+I
1
Reading step No. 200.
1J

Monitor mode Setting data so that the screen stops when the timer
exceeds the given time

Xo xl Y35
200‘‘ <[ 4 4

I-J x3

‘“’~’’ov’’’’:’o”+’’’’o”+
Memory(604018192steps)

Mode CIRCUIT Function MONIT SET Data ( )

-91-
~ 3-7 Monitoring the Ladder Circuit

3-7-3 Monitoring the Registered Device

This operation can monitor a maximum of six devices by registering the


device types and numbers.

Basic operation

~,. — ) —1 oe.icerqistration l_llNPUTl _


[
Circuit monitor operation
J
_
1 I J u

1’

Operation procedure

(1) Enter monitor mode according to the circuit monitor operation.

(2) To monitor devices other than those displayed


-. on the current monitor screen,
press S.—}
m
register the target device, then press ,NPU7
. The registered

device is displayed on the right of the monitor display section.


o

o,Npu,
o When several devices are registered, repeat the procedure of
specifying 8. — J the target device, and for each device.
D

o When several devices are registered, they are displayed sequentially from
the right to left in the monitor display section.

Up to six devices can be registered at a time. If more than six devices


are specified, the first six devices are registered. If the registration
monitoring falls on the normal monitoring of the timer (T, Q), counter (C,
B), data register (D), or file register (R), the former is given priority.

o For devices T, Q, C, B, D, R, and index register (V, Z), the current


values are displayed while for bit devices X, Y, L, F, and M, ON/OFF
states are displayed.

(3) To release the registration monitoring, press i3.MONIT again, or display the
m
previous or next screen to change the display in the ladder display section.

Example:
According to the circuit monitor operation, display the screen to monitor,
and register T5 and Y30 for registration monitoring.

DIEE3”F)-E)-EEHXHEI”EI+3
I
Reading step No. 200.
1 1

q=--)-(F+@++F)-m+J+J-@
RegisteringT5. Registering Y30.

-92-
3. CREATING LADDER CIRCUIT
AND MONITOR OPERATION
3-7 Monitoring the Ladder Circuit

Xo xl Y35
200 A% a
x2 MO Y36
203 I, ‘fi -m ---’4

x3
<.

T1 . . .. .. . . . . ... . . .. . ... .. . .. .. ..
207 b a ..MOV:
. .. ... .. . . KO
. . .. . ...: . ..DO.... . .
<i

DO=O T5 =50 Y30=ON


— —
I I i ————
Six devices max.

Mode CIRCUIT Function MONIT SET Data ( )

3-7-4 Monitoring the Current Value in Decimal Hexadecimal Notation

During circuit monitoring and registration monitoring, the values of T, Q,


C, B, D, R, Z, and V are normally displayed in decimal notation. They can be
displayed in hexadecimal notation by the switching operation.

Basic operation

[
Circuit monitor operation
]T(
::l::o..’’nqT~-@-
cEl–
E.El–
E)
6 MONIT

Operation procedure

(1) According to the circuit monitor operation, display the circuit to be


monitored.

(2) Press H
0’ and
El: the decimal values of T, Q, C, B, D, R, Z, and V

displayed in the circuit or registration monitor screen are changed to the


hexadecimal values. While the values are displayed in hexadecimal
notation, H is prefixed to each number.

(3) To change the hexadecimal value back to the decimal value, press K and
c1

E’ ‘r B “

-93-
‘.

~
3-7 Monitoring the Ladder Circuit

Example:
Reading data register D1O and displaying the contents in hexadecimal number.

m–E—m–(g-&@+–=J–B–
Reading and monitoring date register D1 O.

J-+-J-R —(II-B

~
...
Dimlavinq the contents of DIO Changing the hexadecimal number
in hexade~imal number. back ;O ;he decimal number.

..l..D20..}

2’0P’Mov’---”o--
--------
250

DO=1OO D2O=1OO DO=H64 D20=H64

-94-
4. FUNCTION OF PUTTING
USER PLC INTO ROM

4. FUNCTION OF PUTTING USER PLC INTO ROM [Not available for V series (note 2)]

This chapter explains the function of putting user PLC developed on


MITSUBISHI FA Station FAS302 (M-FAS302) or by onboard operation into ROM.
(Note 1)

/ /

[~] H
Dnnoomo a m3#

I
IEa

r’)1
~

m
~JB
B——
3 ERASE

o1 Rewrite

‘ress B to change the address or size for putting into ROM.

o2 Read

to read the contents of master ROM installed on ROM card MC411


“e’s B
or MC413 into RAM card MC941 or Mc942.

Note that the data stored on the RAM card so far is rewritten by pressing
Z.
READ ●

o3 Erasion

3ERASEto check erasion of ROM installed on ROM card MC411 or MC413.

o4 ROM write

Press to write the RAM card MC941 or MC942 contents having been
m
debugged into ROM installed on ROM card MCA1l or MCAIS.

-95-
o
5 Compare
e!E!El
Press w to compare the RAM contents on RAM card MC941 or MC942 with the

ROM contents on ROM card MC411 or MC413.

Note 1: For the method of putting into ROM for MELDAS 31O, refer to the
following documents:

(1) MELDAS 310 PLC Programming Development System Manual: BNP-BS416-OOZ

(2) MELDAS 310 ROM Write Function Manual:


BNP-B3416-001

Note 2: The V series is not provided with the onboard ROM writing
function. The ROM writer RWO1 must be used for ROM writing or
data transfer from the ROM cassette to the RAM cassette. For the
operation of the ROM writer, refer to the ROM Writer System
(RWOIA) Instruction Manual (BNP-A2923).

ICautions on use of the function of putting into ROM I

To write ROM by onboard operation, see (A) and (B) shown below and
sufficiently note the following:

(1) To turn on or off the CNC equipment power or 1OO-VAC power for ROM write,
be sure to set the ST1 switch to READ.
(2) Be sure to set the ST1 switch to WRITE only when write operation is
performed. Be sure to set the ST1 switch to READ during read/erasion
check before write and during read/comparison after write.
(3) The erasion time of written ROM should be one hour or more.
(The erasion time should also be 20 minutes or more when a high-output
cold cathode tube eraser is used.)

(A) ROM write sequence

CNCequipment power May be off except when write


operation is performed
/

ROMwritepower . . . . ..- . . ..- -------~. J

Write
ROM write operation

t
I t 1 1

-96-
(B) ROM write

.-.

m: b —7’2:..T
.-..-. ~:------------------
~,..
ST 1 ST2: ,). : .,
Enlarged ~ !’~.p : ‘,
!. ‘..
t;},
MC411 MC941 ,,> ‘\
: ,.
! ). ‘. .
(MC413) (MC942) \’ !. !

Remarks: ST2 is installed only on MC942.


Set the switch depending on the
;., ,., -,,.!
~.j~j~j~j
,.; :.::.::-:
;::,,,!,
~,,..J,..,L:
. . ..-
, Mc411
I-’Fh----- ,,vk L.7*&, ,
printed circuit board for ROM write. u ‘( MC413) I
‘.:. : ,
.; , ‘.<
.; : , ‘.
ROM write power: 100 V AC ---1 ‘. :
‘\ :
CNC powar: 100 VAC
M300 CNC “..;
-- .,----------- -----

(1) Menu operation when the function of putting user PLC into ROM is used

o1 14-inch CRT display terminal

o
FO
1
CNCfunction selection key

(Function menu)
v
I I
I.MESSG. 4,LADDER 6. LINK 7. FILE
I
,

Press menu key LINK


D
(Submenu)
v
r 1
2. FLD 4, ROM WRT

(Operation menu)

I 1. RENEW 2. READ 3. ERASE 4, ROM CUT 5. VERIFY I

-97-
4. FUNCTION OF PUTTING
USER PLC INTO ROM

o2 9-inch CRT display terminal

FO
o CNC function selection key

I (Function menu)
‘k
I
1. MESSG.

6. LINK
~n
7. FILE
4. LADDER

MENU,]
LIEEE)
MENU

Press menu kev


m
(Submenu)
v

2. FLD 4.R0M WRT

~ 1. RENEW 2. READ 3. ERASE 4, ROM CUT

(2) Screen display when the function of putting user PLC into ROM is used

o1 14-inch CRT display terminal

PLC ROM WRT

#1. ADDRESS 540000 < = X < 580000 {540000)

2. SIZE 32K BYTE < = X < 385K BYTE (128K BYTE)

CARDMC941

#( )DATA( )
1.RENEW 2. READ 3. ERASE 4. ROM CUT 5. VERIFY
/

-98-
o2 9-inch CRT display terminal

Valid ROM write start address

#l. ADDRESS 540000< = X < 580000


‘LcR”M9-
(5400001

CARDM=
2. SIZE 32K B < = X < 385K BYTE (128K BYTE)

\
Range in which address can be set

Valid ROM write size

Range in which size can be set

Installed card display

SETTING ERROR Error display area,


operation state display area
)DATA(
\ )
#(
— Data setting area
1.RENEW 2. READ 3. ERASE 4. ROM CUT 5. VERIFY

\ Menudisplayarea

o3 Relationship between installed cards and display

Display and the ranges in which address and size can be set vary
depending on the installed card, as listed below:

Installed Installed Range in which address Range in which size


card card display can be set can be set

MC941 I MC941 I 540000 <=x< 580000 32K bytes <=X< 385K bytes

(Note) 480000< = x <540000


MC942 MC942 32K bytes <=X< 769K bytes
540000<=X< 5EOOO0

MC411/412 MC412 Operation disable Operation disable

MC413/414 MC414 Operation disable Operation disable

Note: For MELDAS 310

-99-
4. FUNCTION OF PUTTING “
USER PLC INTO ROM
4-1 Function Description

4-1 Function Description

This section explains how to use the function of putting user PLC into ROM.

The description to follow assumes that you have entered the key
sequence @ , ~j~, ~-~.

4-1-1 Rewrite

to change the address or size for putting into ROM.

The default address is 540000 and the default size is 128K bytes.

Basic operation

(1) To change address


—~+~.~.E
B
(2) To change size

B— m--m---m

Operation procedure

(1) When
D1RENEW is pressed, data setting area is displayed in the lower left

portion of the screen.

(2) @ To change address, press )=) , then enter ~,~,~l,

and
o INPUT .

02 To change size, press

INPUT .
D
IRENEW ,
o&MEEEEIJa”d
then enter 2

D
0 If the address or size is entered exceeding the limits or invalid
data is entered, “SETTING ERROR” is displayed in the error display
area. Again enter data through the keyboard from the beginning.

o The low-order two digits of the address are always entered as 00.
For example, if the keys are pressed, the value
Dmmmmm
540100 is assumed to be entered.

o Setup data is valid until another screen is displayed or data is


again set. Once another screen is displayed, the default values
(address = 540000 and size = 128K) are set.

- 100-
Example 1: To change address to 500000 and size to 64K bytes

F)-m”m”Hmmmmm”E–
Set address 500000

[ .~.~.~ ~.B

Set size 64K

PLC ROM WRT

#1. ADDRESS 540000 < = X < 580000 [500000)


Address 500000
2. SIZE 32K < = X < 385K BYTE (64K BYTE)
Size 64K bvtes
CARD MC941

#( )DATA( )
Oata setting area
1.RENEW 2, READ 3. ERASE 4. ROM CUT 5. VERIFY

Example 2: “SETTING ERROR” display when a value is set exceeding the


limits or invalid data is entered.

PLC ROM WRT

#1. ADDRESS 540000< = X < 580000 (540000)


.
2. SIZE 32K < = X < 385K BYTE (128K BYTEI
CARDMC941

or
14.+.
SETTINGERROR
#( )DATA( )
1.RENEW 2. READ 3. ERASE 4. ROM CUT 5. VERIFY

- 101 “
4. FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description

4-1-2 Read

Press to read the master ROM contents on ROM card MC411 or MC413 into
w
RAM card MC941 or MC942.

( START )

RAM card
I
1
o~ Setthe
MC94Clcmdswitch
pointwhentiecNC powerisOff.
Qll
SetST1switch
10 Point
m G
._.—.—.—.—.—.
1
MC413

_.— .—.— .—.— .—


!
11~ Settheswhch
onlywhen
SetST2switch
to SetST2switch
to
i~cg=~fi~?- .—.J
m m ‘

L. — .— .— .—-— -—-— -— .— -—-— -— -i

Press Ri5==l” BW Setsystem


selection
switch

FO
c1
*I ‘ee2-5”lEE!EJ
&
t
4. ROM
D WRT
board.I
on theoperation

&

- 102 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description I

Fromthepreceding
page

Es

D Iftheaddress thelimits,
issetexceeding
See4-1-1.
#( ) DATA (500000) “SETTINGERROR” k displawd.

ES

Ow Ifthesize
issetexceeding
thelimits,
See4-1-1.
#( )DATA ( 64) “SETTINGERROR” k dkplayed.

Transfer
data
fromROM toRAM rlw CAUTIONS
bypressing
)Tii%@ ~] (~~. @ Sufficiently
notethat
thedata
stored
AttheLime,
“EXECUTION”k sofarinRAM isrewritten
byperforming
Whenthetransfer
displayed. this
step.
“COMPLETED”k
terminates,
displayed. @ Sufficiently
notethat
evenifROM card
[ MC411orMC413knot installed,
thestep
isexecuted
andRAM data
k settoallFs.
Jo
Iscomparison
made?

CompareROM data
withRAM
address,
ROM data,
RAM dataandmessage
INPUT
c1 At thetime,
,
‘atabypressing- ‘“G
“EXECUTION” isdisplayed.
When thecomparison
terminates,
“COMPLETED” isdisplayed.

TurnoffCNC power

Disconnect
ROM card
fromRAM card

(JO

- 103 -
Basic operation

m“a”@

PLC ROM WRT


Operation procedure
1
I
#1. ADDRESS 540000 < = X < 580000 (540000)
(1) When Ij) is pressed, a prompt as 2. SIZE 32K < = X < 385K BYTE (128K BYTE)
CARDMC941
shown in the right is displayed.

(2) To execute read, press &l=+l* <?


.>}.
ROM-+ RAM READ? (Y/N)
To cancel read, again press
m ‘r (Y)

press any other menu key.


Even if are pressed, the
I 1. RENEW 2.READ 3.ERASE 4.ROMCUT 5. VERIFY

m and B
pressed key sequence has no effect.

(3) ‘hen El=@dEl arepressedand‘cad PLC ROM WRT

I
#1.ADDRESS 540000 < = X < 580000 (540000)
operation is being performed, the 2. SIZE 32K < = X < 385K BYTE (128K BYTE)
message “EXECUTION” is displayed in the CARDMC941
operation state display area.

,$7/
(4) When the read operation terminates, the ‘d
EXECUTION
message “COMPLETED” is displayed in the
operation state display area. (Y)

~ 1. RENEW 2. READ 3. ERASE 4. ROM CUT 5. VERIFY

I COMPLETED
(Y)

1. RENEW 2.READ 3.ERASE4.ROMCUT 5. VERIFY

- 104 -
4* FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description

4-1-3 Erasion

‘ress m to check that ROM installed on ROM card MC411 or MC413 is

erased.

Bionflow

START
ROM carderasion
time
D
Point @ High-output
coldcathode
tubeeraser:
20rninutes
ormore
EraseROM on ROM card
withan eraser
= @ Sterilizing
lamperaser: Onehourormore
Ima&lation
may be madeexceeding
thespecified
limits
within
100hours,Make lamplifemanagementsoasnottocause
theeraser
ilhuninance
tofall.Ifthetransparent
partofROM
isduty,
theerasiontimeisprolonged.
Inthis
case,wipeoff
dirt
withalcohol(solvent
notadversely
affecting
thepackage)

Connect
theROM card
containing
erased
ROM

c=
fl~ SettheMC94U cardswitch

.—
.—
.—.
.—
-—
.—
.—.—
.—
.—
-m k
SetST1 switch
to all
Point
pOint whentheCNC powerisOff.

+ ‘“- I MC411 I
SetST2switch
to
HE
_ .— .—.— .— .—.—
SettheST2switchonlywhen !
I SetST2switchto I
i~cg=~2E?l_ ._._!
Eml m

-----”-F-’---”-- UP selection
Setsystem switch
See 2-5. pin2 onCPU cardMCI1l

- 105 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description

Press
FO
D
t
6. LINK
D

&

on theoperation
board.

CheckROM eraison
by I If ROMisnoterased,
address,
ROM data
pressing
F+@. RAM data,
andmessage“ERASE CHECK
When thecheckterminates, ERROR” aredisplayed.
At thetime,
the
“COMPLETED” is RAM dataisinsigntilcant.
displayed. I

\ NO

- 106 -
Basic operation

D-)–@

PLC ROM WRT

#1. ADDRESS 540000< = X <580000 (540000)


(1) Press 2. SIZE 32K < = X < 385K BYTE (128K BYTE)
m“
CARDMC941

O
(2) Press ‘“’u’
. The message “EXECUTION” is

displayed in the operation state


display area.

EXECUTION

I I. RENEW 2.READ 3. ERASE 4. ROM CUT 5. VERIFY

(3) If the ROM data within the erasion ( PLC ROM WRT
check range indicated by the address #’I.
ADDRESS 540000 < = X < 580000 (5400001
and size is not erased, up to five
2.SIZE32KK = X c 385KBYTE {128K BYTE)
address/ROM data pairs are displayed.
CARDMC941

At the same time, the message “ERASE ADDRESS ROM. I)ATARAM. DATA

CHECK ERROR” is displayed. Replace the ERROR 1 541200FFFFFDFD


00000000
ROM with erased ROM. 2 541204
FFFFFDFD
00000000
3 54120B
FFFFFOFD
00000000
4 54120C
FFFFFOFD
00000000
The displayed RAM data is insignificant. 5 541210
FFFFFOFD
00000000
ERASECHECKERROR
Reference: When ROM is erased, data is
“FF’*
.
1, RENEW 2.READ 3.ERASE4.ROMCUT 5. VERIFY

PLC ROM WRT


(4) When a check has been made to ensure
that all ROM data within the erasion #1. ADDRESS 540000< = X < 580000 1540000)
check range indicated by the address 2. SIZE 32K < = X < 385K BYTE (128K BYTE)
and size is erased, the message CARDMC941
“COMPLETED” is displayed in the
operation state display area.

COMPLETED

1. RENEW 2.READ 3.ERASE 4. ROMCUT 5. VERIFY

- 107 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description

4-1-4 ROM Write

‘ress m to write the RAM contents on RAM card MC941 or MC942 into ROM

installed on ROM card MC411 or MC413.

:OM write
flow

YEs
1 I

NO
IChangeROM cardsetting
I OR SetMC411~c~dSlpinto
I
I
I RAM

RAM ~
S1
ROM
I
YEs

1 1

D SetMC411 cardSl pinto


RAM

I I
S1
RAM ~ ROM

Connect
theROM card
containing
erased
ROM
toRAM card

l-j~ The MC941Z carddoesnot


contain
STI switch.

u~ SettheST2 switch
onlywhen
I
theMC942 cardisused.

L.—. .
--~-------”’
D Setsystem
selection
switch
See 2-5. pin20n CPUcard MC1lI
tow tostopuserPLC.

- 108 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description
,

I
ConnecttheRAM cardCNP91
Connect
RAM cardand connector
andtheCNC power
CNC powersupply
by E’ CNPO1 connector
by CNP91-RJJ
See2-1.
ROM write
powercable cable
ffomROM write
~wer supplj
CNP91-RW. when theCNC powerisoff.

I Turnon theROM write power


on RAM cad (100VAC).
Be suretoturnon thepowerat
OR
thesametimeasorafter tumin:
Turnon ROM write
power Point
on theCNC power.
Ifpowerisreceivedfromthe
CNC powerACOUT pin, theyar
turnedon atthesametime.

IYEs
TurnoffCNC power,
disconnect
theROM write
powerfromreceptacle,
and
replace
theROM write
power
/’
) I

WhentheROM cardisMC411A,
/ NO besure
tosettheSTI switch
to
SetST1 switch
to
a m
TheMC941Zcard doesnot
w Point
contah
theST1 switch,

Press
FO
D

&

& WRT
on theoperation
board.

To thenextpage

- 109 -
\ 4. FUNCTION OF PUTTING I

(Fromthepreceding
page)

-z=’ I E theaddres
s issetexceeding
the I
limits,
themessage
“SETTINGERROR”
isdisplayed.

Ifthesize
issetexceediig
thelimits,
themessage“SETTINGERROR”

EaEJ isdisplayed.

If ROM cannot
be written
normatly,
B
address,
ROM data,
RAM data,
and
themessage
“ROM WRITE ERROR”
I displayed.
When theROM write aredisplayed.
Iffive
sets
aredisplayed,

I terminates,
“COMPLETED” is thentheROM write
isstopped.
I disulaved. Suftlciently
notethat
iftheST1
switch
issetduring
ROM write
or
powerisnotsupplied
totheRAM
cardfromtheROM write
power,
+ ROM on theROM cardmay be

I SetST1 switch
to IQo destroyed.

m Point

Ilw The MC94lZ carddoesnotcontain


theST1 switch.
Iscomparison
made?

CompareROM datawithRAM
databy pressing VERIF~
/)5. IftheROM dataandRAM datado
B
INPUT
c1 . At thetime, notmatch,
address,
ROM da@ RAM
isdisplayed.
“EXECUTION” dataandthemessage“COMPARE
Whenthecomparison
terrnimtes, ERROR” aredisplayed.
“COMPLETED” isdisplayed.

To thenextpage

- 110 -
4* FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description

I
Be suretotarnofftheROM write
poweratthe
TurnoffROM write
power OR
Point sametimeasorbefore
turning
offtheCNC power.
Ifpowerisreceived
fromtheCNC powerACOUT
pin,
they
areturned
offatthesametime.

Disconnect
ROM cardfrom
RAM card.

flw SetMC411card
S1 pintoROM.
SI
RAM -l ROM
I I

(- )

- 111 -
Summary of Setting Change when ROM is Written

General description of the ROM card and RAM card pins is given in 2.3.
Setting change of the pins and switches when ROM is written is summarized below:

o
1 MC411 and MC413 ROM card setting change

Card name Pin name During ROM running When ROM is written Remarks

S1 m ~ ROM M ~ ROM See Note 1

MC411 S2 mm ROM RAM ~ ROM

S3 RAM ~ ROM RAM ~ ROM

MC413 None

o2 MC941 and MC942 RAM card setting change

Card name Switch name During RAM running When ROM is written

MC941Z None

To write MC411~ ROM, set the switch


MC941B before turning on the
‘0 m
power.
(MC413
ROM ST1 m To write ROM on MC411B, C, etc.,
cannot be
except MC41~_, after turning on the
written)
power, set the switch tomjust
before pressing
m“
To write MC41~ ROM, set the switch
to 1~1 before turning on the
power.
ST1 a To write ROM on MC411B, C, .... MC413
except MC411~, after turning on the
MC942
power, set the switch to
m
just before pressing
m“
-l or To write MC411 ROM, set the switch
ST2 to -1 ; to write MC413 ROM, set
m the switch to -t .

Note 1: When the ROM card is MC411B and the RAM card is MC941B or MC942, S1
pin setting need not be changed. In other card combinations, S1 pin
setting must be changed. In this case, set the pins as listed below.
At present, MC411B and MC941B are shipped and generally setting change
is not required. If ROM cannot be written normally, check the-setti~g.

- 112 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM
I4-1 Function Description I

When ROM is written


During ROM
Card name Pin name
running
MC941Z MC941A MC941B

S1 RAM m ROM RAM m ROM RAM m ROM


MC411A I
I I S2, S3 RAMmROM RAM m ROM RAM m ROM

I MC411B
S1 RAM m ROM RAM m ROM RAM m ROM

I I S2, S3 RAM= ROM RAM m ROM RAM ~ ROM

I MC413
I None —
I I I I
Basic operation

]-)– ~–H

Operation procedure
>
(1) When m is pressed, a program as PLC ROM WRT

#1. ADDRESS 540000 < = X < 580000 (540000]


shown in the right is displayed. 2, SIZE 32K < = X < 385K BYTE (128K BYTE}
CARDMC941

(2) To execute ROM write, press oy


and INPUT
o ●

To cancel ROM write, again press m


L (

or press any other many key. ROMCUTSTARTOK? (Y/N)


(Y)
Even if @land @are pressed> the
RENEW 2. READ 3, ERASE 4. ROM CUT5. VERIFY

.
pressed key sequence has no effect. ,.
:‘:.,.
>

(3) When ~and Bare pressed and ROM PLC ROM WRT

#1. ADDRESS 540000 < = X < 580000 (540000)


write operation is being performed, the
2. SIZE 32K < = X < 385K BYTE (128K BYTE)
message “EXECUTION” is displayed in the
CARDMC941
operation state display area. At the
same time, the current ROM write
address is displayed.
End address
Current address

EXECUTION
(Y)
11
540000-}
580000

1.RENEW 2,READ 3.ERASE 4.ROMCUT 5. VERIFY

- 113 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM

I 4-1 Function Description


I

(4) For ROM write, write and comparison are PLC ROM WRT
alternately executed in 4-byte units.
#1. ADDRESS 540000< = X < 580000 (540000)
If a write error occurs during ROM
2, SIZE 32K < = X < 385K BYTE (128K BYTE)
write execution, the error occurrence
CARDMC941
address, ROM data, and RAM data are
displayed. The message “ROM WRITE ADDRESS ROM. DATA RAM. DATA
ERROR” is also displayed. If five ERROR 1 SOIZOI) FFFFFFFF 102C1200
write errors occur, then the ROM write 2 541204 FFFFFFFF
102C21E5
is stopped. 3 541206 FFFFFFFF
102C3OO2
4 54120C FFFFFFFF
102C45OO
5 541210 FFFFFFFF
I02C3452
ROMWRITEERROR
(Y) 541210->580000

11. RENEW 2.READ 3.ERASE 4.ROMCUT 5.vERIFy

(5) At the normal termination of writing PLC ROM WRT

into the ROM write area indicated by #l. ADDRESS 540000 < = X < 580000 (540000)
the address and size, the message 2. SIZE 32K < = X < 385K BYTE (128K BYTE)
“COMPLETED” is displayed in the CARDMC941
operation state display area.

COMPLETED
(Y) 560000-)560000

I 1. RENEW 2. READ 3. ERASE 4. ROM CUT 5. VERIFY

(6) The ROM write takes some time. To stop


the ROM write operation for some PLC ROM WRT
reasonj continue to press RESET for two
c1
#1. ADDRESS 540000 < = X < 580000 (540000)
seconds. When it is stopped, the 2. SIZE 32K < = X < 385K BYTE (128K BYTE)
message “EXIT*’is displayed in the CARD MC941
operation state display area.

To restart the ROM write operation,


press D-) , ~ , and@.

Note: When ROM write is being executed,


EXIT
is not
any key other than S~SET (Y) 550000-)560000
effective. c1
1.RENEW 2.READ 3.ERASE 4.ROMCUT 5. VERIFY
“EXIT” operation is performed by
u
pressing the j~~key at some versions.

- 114 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM
4-1 Function Description

4-1-5 Comparison

Press M to compare the RAM contents on RAM card MC941 or MC942 with the

ROM contents on ROM card MC411 or MC413.

Use the key to recheck the RAM and ROM contents after read, after ROM
write, etc.

Comparison
flow

ComectROM card
to
I RAM card I
Set the MC94Clcard
switch

_.
-—
—.
.—
.—

‘ w whentheCNC powerisoff.
MC941Z carddoesnot
pll
The

contain
theST1 switch.

1’
MC413
e ROM cardnarne~

OR ‘ Settheswitch
onlywhenthe !

iEcg?~EUE?___ J

L.—.—.—!—_._._._. J

I J
, Set system
selection
switch
pin2onCPUcardto ON Set system
selection
switch
Press
the Keys
UP
See2-5, pk20nCPUcard MC1ll

FO
c1 toON tostop
user
PLC.
Turnon CNC power
[
&

& kVRT

orr the operation


board.
I

&

- 115 -
4. FUNCTION OF PUTTING
USER PLC INTO ROM

I4-1Function Description I

IftheROM dataandRAM datado notmatch,


,Compare
ROM data
withRAM
address,
ROM daw RAM dam andthemessage
~data
bypressing)=)
INPUT. AT the time, the
“COMPARE ERROR” aredisplayed.
c1
message“EXECUTION”is
displayed.
When thecomparison
terminates,
themessage
“COMPLETED” isdisplayed.

Tum offCNC power

ROM cardfrom
Disconnect
RAM card.

f==-)

- 116 -
I 4. FUNCTION OF PUTTING 1
USRR PLC INTO ROM

I 4-1 Function Description I


Basic oueration

F)--(R-J

Operation procedure
PLC ROM WRT
(1) Press =) .
#1. ADDRESS 540000 < = X < 580000 (540000]

2, SIZE 32K < = X < 385K BYTE (128K BYTE)


(Z) Press The message “EXECUTION” is
c1
INPUT .
CARD MC941

displayed in the operation state


display area.

w.

EXECUTION

1. RENEW 2.READ 3,ERASE 4.ROMCUT 5. VERIFY

(3) If ROM data and RAM data within the PLC ROM WRT
comparison range indicated by the (
~ #1, ADDRESS 540000< = X <580000 (540000}
address and size do not match, a
2. SIZE 32K < = X < 385K BYTE (128K BYTE)
maximum of five sets of the addresses,
ROM data, and RAM data are displayed. CARD MC941

At the same time, the message “COMPARE ADDRESS ROM_ DATARAM. DATA

ERROR” is displayed in the operation ERROR 1 5412(KI FFFFFFFF 102C1200


state display area. 2 541204 FFFFFFFF 102C2185
3 541208 FFFFFFFF 102C3OO2
4 54120C FFFFFFFF 102C45OO
5 541210 FFFFFFFF I02C3452’
COMPARE ERROR

I 1. RENEW 2.READ 3. ERASE 4. ROMCUT 5. VERIFY]

(4) If the ROM data and RAM data within the PLC ROM WRT
comparison range indicated by the ‘
address and size match entirely, the #1. ADDRESS 540000 < = X < 580000 (540000)

message “COMPLETED” is displayed in the 2. SIZE 32K < = X < 385K BYTE (128K BYTE)
operation state display area. CARO MC941

COMPLETED

1, RENEW 2.READ 3.ERASE 4.ROMCUT 5. VERIFY

- 117 -
4-1-6 ROM Locations

The correspondence between the ROM chips written on M-FAS and the locations
on ROM cards MC411 and MC413 is shown below:

Mu

c1
13
0
n

ROM writer -El


IIIMII 0

M-FAS302frontview

Card MC411 Card MC413

Install the ROM chips written on M-FAS ROM sockets 1-4 on locations 1-4 of
each row of A to C (A-1 to A-4, B-1 to B-4, C-1 to C-4) of ROM card MC411 or
MC413 respectively, as shown above. The row C provides user PLC locations when
MELDAS 310 is used. Do not use the row when any other model is used.

- 118 -
5. FLOPPY DISK READ AND WRITE

This section explains the onboard operation procedures to @ read, 2


write, @ compare, and @ delete data on a microfloppy disk (MFD), and 85
initialize the MFD.

The MFD is formatted under the M3 format specifications. (Note 1)

This is applicable only to the user PLC (ladder and message data).

For M31O operation, refer to separate manual “MELDAS 31O PLC Program
Development Sys~em Manual” (BNP-B341~-002).

~ For@series I Fornon-@series

o1 Read
The specified file on the MFD is read to RAM card MC941 or MC942 user
PLC area.

02 Write

The contents of RAM card MC941 or MC942 user PLC area are written to
the specified file on the MFD.

- 119 -
o3 Compare
The contents of the specified file on the MFD are compared with the
contents of RAM card MC941 or MC942 user PLC area. -

04 Delete

The specified file on the MFD is deleted.

05 Initialize

The MFD is initialized in the M3 format.

Note 1: The M3 format is the floppy disk writing format applicable to


the MELDAS 300 Series. There is another floppy disk writing
format REGULUS (Note Z). All floppy disks handled in onboard
operation are M3-formatted.

Note 2: REGULUS is a registered trade mark of Alcyon, U.S.A.

.,
..,,

- 120 -
E.
The relationship between the MFDs operated onboard and the Mitsubishi
FA workstation M-FAS302 is shown below:

M–FAS302
–TYPE–II

CNC

M–FAS302
–Type–ii

Note 1: The solid lines in the above figure indicate the flow of onboard
operation, The MFD format is limited to the M3 format,

Note 2: For the method to read data from a REGIJLIJS-format


MFD into the
CNC, see section 2-5 “System Selection.”

Note 3: One file on a M3-format MFD can also be read into the CNC by the
method explained in section 2-5 “System Selection.”

Note 4: For M-FAS302 operation, refer to the “M-FAS302 Instruction


Manual” and “REGULUS Command Guide.”

- 121 -
.....
5-1 Installing Interface (1/F) unm

5-1-1 M320 and M330

Install the interface unit according to the following procedure:

(1) Remove the MC712 card from the controller.

(The MC712 card may not be installed on some models for which the card is
optional.)

(2) Remove the interface card from the interface unit case, then insert it into
the position that was occupied by the MC712 card. If an external cable was
connected to the removed MC712 card, connect it to the connector at the
same location on the interface card. (The interface card functions the
same as the MC712 card.) Since the card front panel at the left side of
the MC712 card may interrupt the external cable connection} remove it in
advance.

m
IJF unit Controller

l/F card

] L&e
o
lIF unit

(3) Connect the interface card to the floppy disk drive with the interface
cable. Turn power on to the controller, then floppy disk drive.

(4) See section 5-2 and later for the following operations.

Note: For the M31O, the interface unit containing an interface card is
installed as is on the left side of the controller.

End procedure

(1) Remove the floppy disk from the floppy disk drive.

(2) Turn the floppy disk drive off, then turn the controller off.

(3) By reversing the installation procedure, remove the interface card from the
controller, then replace the MC712 card, cable and front panel.

5-1-2 M335

The standard floppy disk drive is equipped with the controller. Remove the
floppy disk for auto-programming, then follow the steps described under section
5-2 and later.

- 122 -
I Operation Screen 1
5-2 Displaying Floppy Disk Operation Screen

(1) Menu operation for reading or writing floppy disks

o1 14-inch CRT setting and display unit


c1 !=0 CNC function selection key

1
I
(Function menu)

1. MESSG. 4. LADDER 6. LINK 7. FILE

press function menu


in6. LINK .

(Submenu)

V---3””’’” ‘ ~

I
i
Press function menu
B

(Operation menu)
— —.—
1. READ 2.WRITE 3. VERIFY 4. DELETE 5. INIT.
r——

9,2 9-inch CRT setting and display unit

c1
FO CNCfunction
selection
key

I
1
(Function menu) -
I
1. MESSG.

6, LINK 7. FILE
4. LADDER

MENU
-+
MENU

E) MENU

()

I
J
Pressfunction menu
c) 6. LINK .

(Submenu)

2. FLD 4, ROMWRITE

1
I Press function menu
m

(Operation menu)

1. READ 2.WRITE 3, VERIFY 4. DELETE 5. INIT.

- 123 -
15 ● FLOPPY DISK READ AND I
WRITE
5-2 Displaying Floppy Disk
Operation Screen

5-2-1 Calling FLD Screen

Operation procedure

(1) According to the procedure explained in section 5-1, connect the floppy
disk drive to the controller and turn them on.

(2) Insert an MFD into the floppy disk drive.

(3) Press ,0 on the operator panel.


c1
~~

%!!

o
If pressing ~. does not display the onboard screen, set bit O of bit

selection parameter 1}51to 1.

(4) Press function menu m.

(5) Press function menu M“

- 124 -
5. FLOPPY DISK READ AND
WRITE
5-2 Displaying Floppy Disk
Operation Screen

The names and sizes of the files stored on the MFD are listed on the screen.

, Example of display on the 14-inch CRT setting and display unit


(i’)

ENTRY FLD

1
NAME
PLCLADER1
S1ZE( KBYTE) NAME S IZEIKBYTE ] -1 MFDentry’ information
128 16 0 (file names and sizes)
2 PLCLAOER2 17 o is listed.
3 PLCLADER3 1; 18 n
4 PLCLADER4 64 6
5 PLCLADER5 256 :: 0
6 PLCLADER6 8 21 0
7 PLCLAOER7 22 0
8 PLCLADER8 25 0
9 PLCLADER9 78 :: 0
10 PLCLADER1O15 25 0
11 0 26 0
12 0 27
13 0 28 :
14 0 29 0
15 0 30 0
MFD capacity information
TOTAL SIZE hj26/1225K 6YTESI
(occupied sizeitotal size]
is displayed.

1. READ 2. wfllrE 3 VERIFY 4, DELETE 6, INIT.


. ,..—
i Menu selection key

02 Example of display on the 9-inch CRT setting and display uni

PLC FLD
NAME S IZE(KBYTE) NAME SIZE IKBYTE) NAME SIZE(KBYTE)
1 PLCLAOER1 128 11 0 21 0
2 PLCLAOER2 16 12 0 22 0
3 PLCLADER3 32 13 0 23 0
4 PLCLADER4 64 14 0 24 0
5 PLCLADER5 256 15 0 25 0
6 PLCLADER6 6 16 0 26 0
7 PLCLADER7 5 17 n ?7 n
6 PLCLADER624 18 i ii 6
9 PLCLAOER97B o 29 o
10 PLCLAOER1O
15 ;; 0 30 0
TOTALSIZE1626112Z5K
BYTES)

! REAU I i’
w.,,,/ ,.
VERIFY I 4, OELE,C I s ,N,T,

Note: If no PIFD is inserted or a non-M3-formatted MFD is inserted Into the


drive, an “MFD FORMAT ERROR” occurs.

- 125 -
5-3 Function Operation Procedures

This section explains the operation procedures separately for the


individual MFD functions: read, write, compare, delete, and initialize, in this
order sequentially.

Each of the following procedures starts after


operating ~.~=’.~) t

5-3-1 Read

The contents of the file with the specified name in an MFD are read into
the user PLC area on the debugging RAM card by specifying its file name.

Operation procedure

(1) Press menu key =). The data setting area is displayed on the lower
v )

part of the screen as shown below:


DATA ( )

—– Specify the target file name.

ENTRY FLD
NAME S1ZE(KBYTE) NAME SIZE(KBYTE)
1 PLCLADER1 12B 16 0
2 PLCLADER2 16 17 0
3 PLCLAOER3 19 0
4 PLCLAOER4 :: 0
5 PLCLADER5 256 ;: o
6 PLCLAOER6 8 21 0
7 PLCLADER7 5 22 0
B PLCLAOER8 24 23 0
9 PLCLAOER9 78 24 0
10 PLCLAOERIO 15 25 0
11 0 26 0
0 27 0
0 28 0
0 29 0
0 30 0

TOTAL SIZE (a26/1225K BYTEsl


Data setting area
DATA i’_)

i. READ 2. WRITE 2. VERIFY 4. DELETE b. INIT.

- 126 -
‘5. FLOPPY DISK W AND
WRITE
5-3 Function Operation
I Procedures

(2) Select the name of the file to be read from those listed under the NAME and
key. The system
specify it in the data setting area, then press ,,,,,
D
displays “MDF+ RAM TRANSFER? (Y/N)” for verification in the message
display area.

r ..,..,,
tNIK1 FI n
NAME SIZE(KBYTE) NAME Sl~E(KBYTE) “--
1 PLCLAOER1 128 16
2 PLCLADER2 16 17 0
3 PLCLADER3 32 18 0
4 PLCLAOER4 64 19 0
5 PLCLADER5 256 2Q 0
6 PLCLADER6 B 21 0
7 PLCLADER7 5 22 0
B PLCLADER8 24 23 0
9 PLCLAOER9 78 24 0
10 PLCLAOER1O15 25 0
11 0 26 0
12 0 27 0
13 0 28 0
14 0 29 0
15 0 30 0

TOTAL SlZE162t711225K BVTESI


FILE PLCLADER1
MFD-RAMTRANSFER7 {V/Nl
DATA ( )
en
v]
1. READ 2. WRITE 3, VERIFY 6. 0ELET6 6. INIT.
L

The above screen shows an example after file name PLCIADER1 is specified.

(3) To read the specified file, press (The message display


mandE”
changes from “EXECUTION”’to “COMPLETED.”)

To cancel reading the specified file, select another function menu item.

Note: If the specified file name does not exist, error message “FILE NOT
FOUND” is displayed.
.,, ,, ,:

5-3-2 Write
E
The contents of the user PLC area on the debugging RAM card are written to
the file with the specified file name on an MFD.

Operation procedure

(1) Press menu key 2. WRITE “


The data setting area is displayed on the lower
D
part of the screen as shown below:
DATA ( ) SIZE ( K BYTES)
I
~ Specify the file size inan integer from 1 to 256.
Specify the file name.

f tNIKY
---- .. .
tLU

NAME ;~;E [KBVTE


) NAME SIZE(KBYTE)
1 PLCLADER1 16 0
2 PLCLADER2 16 17 0
3 PLCLADER3
4 PLCLADER4
5 PLCLADER5
6 8
PLCLADER6 21 o
7 PLCLADER7 5 22 0
8 PLCLADER8 24 23 0
9 PLCLADER9 78 24 0
10 PLCLADERIO 15 25 0
11 0 26 0
12 0 27 0
13 0 28 0
14 0 29 0
15 0 30 0

70TALsIzE 1626/1225K 6WE5J

DAT4 ( )

1. READ 2, WRITE 3. VERIFV 4 DELETE 5, INIT.

(2) Specify the file name (not more than 10 characters starting with a letter)
(Note 5). The system displays message “RAM+ MFD
and size, then press ,,,,,
D
WRITE? (Y/N)” for verification on the message display area.

ENTRY FLD
NAME SIZE IKBYTE) NAME SIZE(KBYTE) ‘-
1 PLCLAOER1 128 16 0
2 PLCLAOER2 16 17 0
3 PLCLAOER3 32 18 0
4 PLCLAOER4 64 19 0
5 PLCLADER5 256 20 0
6 PLCLADER6 8 21 0
7 PLCLADER7 5 22 0
8 PLCLADER8 24 23 0
9 PLCLAOER9 78 24 0
10 PLCLADER1O 15 25 0
II o 26 0
12 0 27 0
13 0 26 0
14 0 29 0
15 0 30 0

TOTALsIzE {6261 i225K BYTESJ


FILE PLCLADER1 SIZE 126K
RAM_ MFDWR1TE7 lY/Nl
OATA ( ) SIZE ( K BYTES) W

Note 1: The above screen shows an example after file name PLCLADER1 and
size 128K bytes are specified.

-128 -
I5* FLOPPY DISK READ AND 1
WRITE
5-3 Function Operation
Procedures

(3) ‘Towrite the specified data, press . (The message display


~ , then ,,,,,
o 0
changes from “EXECUTION” to “COMPLETED.”)

To cancel writing the data, select another function menu item.

Note 2: When the number of cataloged files reaches 30, an error occurs
with message “FILE ENTRY OVER,”

Note 3: If the MFD has no space to write, message “NO MFD WRITE AREA” is
displayed.

Note 4: Note that, if a file with the specified name already exits on the
MFD, the file is overwritten at the same location.

Note 5: The size can be omitted. If it is omitted, data is written in the


specified file by the link file size.

5-3-3 Compare

The contents of the specified file on an MFD are compared with the contents
of the user PLC area on the debugging RAM card.

Operation procedure

(1) Press menu key D=J . The data setting area is displayed on the lower
v /

part of the screen as shown below.

DATA ( ..>
L.–——– Specify the target filename.

ENTRY FLO
NAME !33;E(KBYTE) NAME S IZE(K8YTE)
1 PLCLADER1 16 0
2 PLCLAOER2 16 17 0
3 32
PLCLADER3 18 0
4 PLCLADER4 64 19 0
5 PLCLAOER5 256 20 0
6 PLCLAOER6 8 21 0
7 PLCLAOER7 5 22 0
8 PLCLAOER8 23 0
9 PLCLAOER9 : 24 0
10 PLCLAOER1O 15 25 0
11 0 26 0
12 0 27 0
13 0 28 0
14 0 29 0
15 0 30 0

TOTAL SlZE(626/1226K EYTESI


I
I OATA \ I

( 1,READ
2. wmre 3, VERIFY 4 OELETE 5. INIT.

- 129 -
(2) Specify the target file name in the data setting area, then press ,,,,,
to
n
start comparison.

The message display changes as follows:

o1 If the MFD contents match the RAM contents, message changes from
“EXECUTION” to “COMPLETED.”

o.2 If they do not match, message changes from “EXECUTION” to “COMPARE


ERROR.“

f ENTRY FLD
NAME SIZE(KBYTEI NAME SIZE IKBYTE)
1 PLCLADER1 128 16 D
2 PLCLADER2 16 17 0
3 PLCLADER3 32 18
4 PLCLADER4 64 19 :
5 PLCLADER5 256 2D o
6 PLCLAOER6 8 21 D
7 PLCLAOER7 5 22 0
a PLCLADERB 24 23 0
9 PLCLADER9 78 24 0
10 PLCLADERID 15 25 0
11 0 26 0
12 0 27 0
13 0 28 0
14 0 29 0
15 0 30 0

TOTALSIZE {626/1225K BYTES)


I Ft Le pLCLADERI
VERIFY
DATA (
Q
1. READ 2. WR,TE 3, VEF!IFV 4. DELETF 5, INIT.
L

The above screen shows an example after file name PLCLADER1 is


specified in the data setting are.

Note 1: The executable file name is displayed above the data setting are.

Note 2: If the specified file does not exist, message “FILE NOT FOUND” is
displayed.

Note 3: Data corresponding to the size of the specified file is compared.

- 130 -
I5. FLOPPY DISK READ AND
WRITE
5-3 Function Operation
Procedures

5-3-4 Delete

This function is used to delete a specific file on an MFD. To delete all


files at a time, follow the procedure explained in section 5-3-5 “Initialize.”

Operation procedure

(1) Press menu key fi-) . The data setting area is displayed on the lower

part of the screen as shown below:


DATA ( )
L_ Specify the target file name.

ENTRY FLD
NAME S IZE(KBYTE) NAME SIZE(K8YTE)
1 PLCLADER1128 16 o
2 PLCLADER2 16 17 0
3 PLCLADER3 18 0
4 PLCLADER4 6% 0
5 PLCLADER5 256 i: 0
6 PLCLADER6 8 21 0
7 PLCLADER7 22 0
8 PLCLADER8 2: 23 0
9 PLCLADER9 78 24 0
10 PLCLAOER1O 15 25 0
0 26 0
{; 0 27 0
13 0 28 0
14 0 29 0
15 0 30 0

I TOTAL SIZE P32611225K BVTES]

I DATA ( )

1. READ 2. WRITE 3, VERIFY4. DELETE & ,~,,,


[

(2) Specify the file name in the data setting area, then press ,,,,,
key. The
c1
system displays message “DELETE? (Y/N)” for verification in the message
display area.

ENTRY FLO
NAME SIZE(KBYTE) NAME S IZE(KBYTE )
1 PLCLAOERI 128 16 0
2
3
4
PLCLADER2
PLCLAOER3
PLCLAOER4
I
64
17
18
19 0
0
0

5 PLCLAOER5 256 20 0
6 PLCLAOER6 8 21
7 PLCLAOER7 5 22
23
1!
0
8 PLCLAOER6 24
9 PLCLAOER9 78 24 0
10 PLCLAOER1O 15 25 0
11 0 26 0
12 0 27 0
13 0 28 0
14 0 29 0
15 0 30 0

T0TALS12E 1626/1225K 6YTES}


FILE PLCLADER1
DELETE? [YIN]
DATA ( ) W

1,READ Ill
2, WRITE 2. VERtFY4. DELETEI 6 IN,,, I 1 ~~1 I

The above screen shows an example after file name PLCLADER1 is


specified.

- 131 -
(3) To delete the specified file, press ~a”dR*

The message display changes from “EXECUTION” to “COMPLETED.” The specified


file name and size are deleted from the entry list. To cancel deleting the
specified file, select another function menu item.

Note: If the specified file name does not exist in the MFD, error message
“FILE NOT FOUND” is displayed.

5-3-5 Initialize (Formatting)

This function is used to initialize an MFD in the Ms format.

Operation procedure

(1) Press menu key Message ‘*FORMAT OK? (Y/N)” is displayed in the
B“
message display area.

ENTRY FLD
NAME SIZE(KBYTE) NAME SIZE (KBYTE)
1 PLCLADER1 12B 16 0
2 PLCLADER2 16 17 0
3 PLCLADER3 32
4 PLCLADER4
5 PLCLKDER5 2:
6 PLCLADER6 8 21 0
7 PLCLADER7 5 22 0
8 PLCLADER8 24 23 0
9 PLCLADER9 7B 24 0
10 PLCLADERID 15 25 0
11 0 26 0
12 0 27 0
13 0 2B o
14 0 29 0
15 0 30 0

TOTALslZE 1626/1225K BYTES}


I I

I
, I
FORMAT OK? {YINI

,/+/
DATA ( ) %.

L 1.READ 2. WRITE 3, VERIFY 4, DELETE 5, INIT.


J

I I

,,

- 132 -
(2) To execute to initialize the MFD, press
n
~ , then ,,,,,.

The message display changes from “EXECUTION” to “COMPLETED.” All file


o
information in the entry is erased (see the figure below).

To cancel initializing the MFD, select another function menu item.

FLO

1
ENTRY
NAME SI;E(KBYTE) NAME Slf(KBYTE)
1 }6
2 0 17 0
3 18 0
4 19 0
5 20 0
6 21 0
7 22 0
8 23 0
9 24 0
10 25 0
11 0 26 0
12 0 27 0
13 0 28 0
14 0 29 0
15 0 30 0

TOTALS12E0326H2Z5K
EY7E51

Note 1: The initialize function deletes all the existing files on the
loaded MFD. Use care in the initializing operation.

- 133 -
. FLOPPY DISK READ AND
WRITE
5-4 Maintenance and
, Precautions on Use

5-4 Maintenance and Precautions on Use

5-4-1 Maintenance of Floppy Disk Drive

Floppy disk magnetic substances and dust are stuck on the surface of the
floppy disk drive head during long operation. This may cause a read or write
error.

Clean the drive head periodically as follows:

(1) Recommended cleaning disk

Maker: Nippon Memorex

Model: Memorex 3.5-inch double-sided cleaning floppy disk

Type: Dry type

(2) Cleaning procedure

(a) According to the installation method in section 5-1, connect the


floppy disk drive to the controller.

(b) Check that the floppy disk drive is turned off, then insert the
cleaning floppy disk into it.

(c) Set the system selection switch on the CPU card MC1ll or MC116 in the
controller as shown below:

Set to on when cleaning.

Set switch No,7 to on.


(Do not touch the other switches.)

MCI1l card (or MC116 card]

(d) Trn power on to the controller and floppy disk drive, then put the
reset button on the MClll or MC116 card downward. Head cleaning
starts while the LED on the floppy disk drj.velights. It takes about
20 seconds to complete cleaning~--For the detai.1~such as the
locations of the reset button and system selection switch, see section
2-4 “System Selection.”

(e) When the LED on the drive goes off, remove the cleaning disk, turn
both units off, then restore the MC1ll or MC116 card setting.

Note 1: The cleaning disk can be used max. 60 times. Replace the
cleaning disk when it has been used 60 times.

- 134 -
. FLOPPY DISK READ AND
WRITE
5-4 Maintenance and
Precautions on Use

5-4-2 Handling of Floppy Disks

Observe the following to use floppy disks for


longer time.

(1) Cautions on use

o1 Do not touch the magnetized surfaces.

Fingerprints on the magnetized surface may


prevent data from being read.

o2 Do not handle the disk with the hand with


grease or iron powder stuck on.

o3 Do not put the disk close to cigarette


smoke. Do not apply solvents to the
magnetized surfaces.

o
1
4 Attach an index label to the specified area
securely. Do not overlap the labels.
0

I
El II
I

o5 Write to the index label before attaching it


to the disk. .Ifthe affixed label needs to 1
a a

B
be written, use a felt pen or the like that
has a soft tip.
c1

o6 Insert a floppy disk into a drive carefully


while holding it in the correct direction.
I
Careless insertion and removal may damage the
disk.

I I

- 135 -
o7 If the floppy disk is brought from the
outside where temperature or humidity is much
different from the inside, leave it for at
least 30 minutes inside the room before use.

(2) Cautions on storage

1
c) Be sure to keep the unused and backup floppy ❑ ❑

B
disks in the respective plastic cases.

02 Do not expose the floppy disks to the direct


rays of the sun. Also do not place them near
heaters.

0
3 Do not place the floppy disks near magnets or
other substances that generate strong
I I

magnetic fields.

94 Do not place heavy substances on the floppy I


disks.

I I

5-4-3 Other Precautions on Use

(1) Backing up floppy disks

To provide for possible accidents such as damage on a floppy disk and


destruction of data, make it a rule to make a backup copy of each floppy
disk.

(2) Floppy disk service life

The floppy disk is guaranteed for about 10,000 repetitions of start-up in a


normal environment. if it is used in a dusty environment, however, dust
and foreign substances stuck to the drive head may prevent normal
operation. To avoid such trouble, clean the drive head periodically.

(3) Observation of use conditions

Both floppy disk drive and floppy disks are sensitive to changes in
temperature and humidity and dirt. Be sure to observe the precautions
stated above and the notes on the label affixed to the drive.

- 136 -
<Cautions label>
E
1. How to load a floppy disk

- Orient the floppy disk properly and insert it into the drive
until the button pops out.

2. How to remove the floppy disk

- Press the button to remove.

3. CAUTION

- Do not remove the floppy disk or switch off the power when
the drive indicator LED (red) is on.

- Use a properly formatted floppy disk.

(4) Floppy disk write protection

The contents of a floppy disk may be destroyed by wrong operation. To


prevent accidental destruction or erasure of important data, slide the tab
on the back of the floppy disk in the direction shown in the figure below.
This inhibits writing data to the disk.

mo
lla_l

lid

- 137 -
● FLOPPY DISK READ AND
WRITE
5-4 Maintenance and
Precautions on Use

5-4-4 Troubleshooting

I
[ MFDerroroccuweci

Load the disk correctly.

N
connected prop?rly?
L

Connect the connectors


properly.

Is the write-protect tab off?

Set the write-protect


tab to off.

Is the disk formatted N

Format the disk correctly.


(See section 5-3-5.)

Clean the floppy disk


drive head.

TN

L
The error cause is the
dirty drive head.
‘l/ I
I
I Replace the floppy disk.
I

- 138 -
l~LOPPY DISK READ AND I
WRITE

5-5 Floppy Disk Drive


I
5-5 Floppy Disk Drive

The floppy disk drive (FDOIA unit) is used to input PLC data created on the
development equipment (MFAS) to the NC via a floppy disk, or reversely, to save
PLC data on the NC onto the floppy disk.

The section explains the operation and maintenance of the floppy disk drive.

5-5-1 Configuration

Floppydisk drive (FDO1 unit)


0 A
o u / /
l/F cable

(CFP33)
- 0 #

r L q
I v
l/Funit(lOPOl unit)

I
(
100VACcable

Components: Floppy disk drive (FDO1 unit)


l/F unit (IOPO1 unit)
l/F cable (CFP33): 1.2 m
100 VAC cable: 4.5 m

5-5-2 Specifications

(1) Structure

~.- Dimension: 138Hx90wx275D

02 Interface connector: 34-pin flat connector

o.3 Weight: About 2.4 kg

(2) Ambient conditions

o1-, Ambient temperature Operating: 5°c to 40°c


Storage: ‘20°C tO 60°C
P2/ Humidity Operating: 20% to 80% (no condensation allowed)
Storage: 10% to 90%
c~ Vibration Operating: 0.5 G
Storage: 1.OG
o4./ Shock Operating: 2 G (not more than 11 mS)
Storage: 10 G

- 139 -
● FLOPPY DISK READ AND
WRITE
5-5 Floppy Disk Drive I

(3) Power supply

o1 Input voltage: 100 VAC —+10 V

o2 Frequency: 50/60 Hz —
+ 1 Hz

(4) Capability

1
o— Applicable floppy disk type: 3.5-inch double-sided high density type
(2HD)

o2 Storage capacity: 1.2 M bytes (formatted)

o3 Recording density: 135 TPI

o4 Recording system: MFM system

Note: Do not use any floppy disk that does not conform to the above
specifications.

(5) Interface signal (corresponding to connector CFP33)

Pin No. ~ Signal :


Signal name I Input/output 1 Pin No.
—- ----– ————;...—–— ___j. .fwnf. .:. .
HIGH/NORMAL DENS ITY[ Input I 2 (;ND’ 1
–-i–--”–”-”--”-”-v- ‘- ----1 ---: ------
IN USE I(; ND 3
———-A---flt-t---- -- :--- - .-.-– –-i––-----–---–
DRIVE SELECT 3 (DS3) i Input Ij
6 iGNr):
-- 4 ---

INDEX “--t-––—-—- 8 output (;NDI 7


——-—--–——--–T -+--—- ..--.—-4 –- :
DRIVE SELECT O (DSO) : :’””
——— —--——---&-—! ‘Y:–.—.t–.—!!-–-; ?-w------ -
DRIVE SELECT 1 (DS1) I Input IGND”
-––.--––=—___+_ 12 -– ! il._
...._
DRIVE SELECT 2 (DS2) ~
––”---+--+--”~” f--”-”f---
-’~-i::- D-i----l:
---
MOTOR ON
——— ______ ._.___._.
_..+__l!!L_. ~ 16 ~v.!..+ 15
DIRECTION SELECT Input
I——- —. ; 18 ;GNL) 17
STEP Input i 20 --1(;~;~” -;~–
~ ——y— —+.. -.-–.—+
–-–— —
WRITE DATA Input 22 :Gti’D 21
+—— —. i _________ .i ._..–.. —+_______ .._
WR-ITE GATE Input
-——-—— .—–—.–&.--?_t!!t!_!!:!..: .._ 23 ....
1-
TRACK 00 -~ Output ~ 26 (; ND: 2FJ
— —-—’–-—–-----:—- ------
WRITE PROTECT output I 28 “
——— , —— -—-—&!E:L.___?..._.
READ DATA output
i 30 ;ND’ 29

SIDE SELECT Input i 32 ~i i::~~” “-31----
READY output 34 [G ND’ 33

Note: The signal is “input” from the CNC to the drive and “output
from the drive to the CNC.

- 140 -
I 5. FLOPPY DISK READ AND I
WRITE
15-5 Floppy Disk Drive I

(6) Component locations and names

Power lamp
IIF connector
\ Cautions label Belt
handle

POWER
“/ Fuse

o
~.-------,
/’ c!
PO\l’E
ON .
power switch

OFF Q
[
,lcloo\’ 1 N’
L--.--
.--.--:
;,)
---
~n
—-—
cc
<ml, 100 VAC connector

Floppy disk drive

90

Front view

@ @ @
@ @

w w w

Side view

‘?7K I

- 141 -
6. MESSAGES PREPARATION

6. MESSAGE PREPAMTION

Message data used with the M300 series CNC message function as well as
sequence programs (ladders) can be prepared by onboard operation. The following
messages can be prepared:

o1 ALARMMESS

o OPERATE MESS
2

o PLC SW MESS
3

o DEVICE MESS
4

o COIL MESS
5

o6 COMMENT MESS
Next, the message function is explained.

Refer to the M300/30@V Series pLC programming Manual (Ladder) (BNp-A2947)


for detailed handling of the ALARM MESS, OPERATE MESS, PLC SW MESS and COMMENT
MESS (tool registration and load meter).

(1) ALARM MESS

Prepare displayed on the CNC DIAGNOSIS screen in character string.

Alphanumeric, kana, and kanji characters can be used.

The maximum length of an ALARM MESS is 32 characters and the maximum number
is 256. However, the limits depend on the PLC ROM capacity.

An ALARM MESS display example on 9-inch CRT is given below:

‘NC ALARM> DIAGN 1

MOI OPERATION ALARM 0102

<STOP CODE>

:ALARM MESSAGE>

EMERGENCY 10
A maximum of four messages can
SPINDLE ERROR 2
be displayed at a time
HYD. PUMP ERROR 2
LIMITSW ERROR 3

<OPERATOR MESSAGE> 1 Display of the contents of


the specified data registers

L
A maximum of 32 characters

SERVO PLC-IF NC SPEC MENU

- 142 -
(2) OPERATE MESS

Prepare displayed on the CNC DIAGNOSIS screen in character string.

Alphanumeric, kana, and kanji characters can be used.

The maximum length of an OPERATE MESS is 60 characters and the maximum


number is 256. However, the limits depend on the PLC ROM capacity.

An OPERATE MESS display example on 9-inch CRT is given below:

<NC ALARM> DIAGN 1

MOI OPERATION ALARM 0102

<STOP CODE>

<ALARM MESSAGE>

A maximum of 30x2 characters

r can be displayed
/ \
<OPERATOR MESSAGE> Display of the contents of
I
the specified data register
OPERATOR” ””” Q”””.”.”” .“”~
. . . . . . . . . . . . . . . . . MESSAGE 8

(3) PLC SW MESS

Prepare displayed on the CNC PLC SWITCH screen in character string.

Alphanumeric, kana, and kanji characters can be used.

The maximum length of a PLC SW MESS is 14 characters and the maximum number
iS 32. However, the limits depend on the PLC ROM capacity.

A PLC SW MESS display example on 9-inch CRT is given below:

IPLC SWITCH] \
PARAM1. 112

#
IQ AUTORESTART 9Q
2Q BLOCKDELETE 10Q AUTOPOWEROFF

3Q ‘ANUALABs llQ
4~~4 12Q
5Q HANDLEIT 13Q
6Q PROGRAMRESTART 14Q

7Q 15Q
8Q 16Q The switch number corresponds
“ , tolheindex number in PLCswitch
t I I J preparation incremented by one,
‘t’ Y
- Prepare switch names tobe
w 9)
displayed at the positions.
CONTROL AXIS SETUP MENU
/

- 143 -
I

(4) DEVICE MESS

Prepare contact names to be printed out in addition to the device numbers


in ladder circuit printout in character string.

Device numbers

t-’
x 30 X31 ~

SPCCW

SPCW ~ Contact names

Alphanumeric, kana, and kanji characters can be used.

The maximum length of a DEVICE MESS is six characters and the maximum
number is 1000. However, the limits depend on the PLC ROM capacity.

Note 1: The non-V series onboard does not have the printout function.

(5) COIL MESS

Prepare coil names to be printed out in addition to the device numbers in


ladder circuit printout in character string.

I xl Yo I SPINDE1.
CCW’~ Coil name

t-’ ‘-i
Alphanumeric, kana, and kanji characters can be used.

The maximum length of a COIL MESS is 18 characters and the maximum number
is 2700. However, the limits depend on the PLC ROM capacity.

(6) COMMENT MESS

Prepare tool names (a string of eight alphanumeric characters x 5)


displayed on the CNC TOOL REGISTRATION screen for load meter display.

The maximum length of a COMMENT MESS is 60 characters and the maximum


number is 100. However, the limits depend on the PLC ROM capacity.

Note: The number of COMMENT MESS characters vary depending on the


application: Tool name consists of eight characters and a load
meter display comment consists of 40 characters. The number of
characters is determined by that of the longer comment.
Thus, normally the number of characters is 40.

- 144 -
6. MESSAGES PREPARATION

TOOL REGISTRATION screen and load meter display examples on 9-inch CRT are
given below:

lTOOLREGISTRATION] TOOL2.1/4

HEAD NEXT 1 NEXT 2 NEXT3 INDEX


PreDare COMMENT MESSS [tool
MG TOOL-D MG TOOL-D names) to be displayed at the posi.
1 1234 11
tions.
2
They are displayed from left to right
3 13
in the ascending order of the index
4 14
numberswhenCOMMENTMESSs
5 15
6 16 (tool names) are prepared.
7 17
8 18
9 19
10 20
T M
MG (N1)TooL( )DOAUX()

OFFSET l~~E’~~1 LIFE WORK MENU


/

012345678N12345-12
-SU%O 5678 H 45.12
GOOX-345.678 Y345.676; [POSITIONI [WORK (G54)1 [DISTOGO
T1234; X -345.678 X -345.678 x 0.000
N1OOS5000 M3; Y 345.678 Y 345.678 Y 0.000
N200 GOOZ-1OO.; z 0.000:1 z 0.000 z 0.000
N300 GO1XIOO. ; c 0.000 c 0.000 c 0.000
N400 YIOO. ,
N500 G02 X200. R200.:

Prepare COMMENT MESSsto be [POSITION (2)] [MANUAL IT] [DISTO GO


sp;~(=
displayed at the positions. ,..,,
,,
,,..,.,.,,.,,,,.,.,.,.,.,.,.,,,.
,.,.. ,.,.
,,,,,
.,.,.,.
,,.,,.,.,.
,, X -345.678 X 0.000 X-345.678
,,,
r 345.678 ‘i 0.000 Y 345.678
Z-AXIS () 5[) I [)0 z 0.000 z 0.000 z 0.000
Displayfromtopto bottominthe
ascending order of the index num- E 0.000 c 0.000 c 0.000
berswhenloadmeter COMMENT 80% w c
MESSS are prepared.
,.-/.’
POSITION COORDI COMMAND SEARCH MENU
,/ /,.

,,

- 145 -
6. MESSAGES PREPARATION
6-1 Menu Operation Message
Preparation

6-1 Menu Operation Message Reparation

(1) 14-inch CRT


(Function menu)

I 1.MESSG. 4. LADDER 6.LINr 7. FILE

Press MESSG.
n

~r
(Submenu)

nl” I.ALARM 2.OPERAT 3.PLCSW 4.DEVICE 5. COIL 6. COMENT 7. INIT. SUBMENU

Q
1

Press F)to =) SUBMENU


SUSMENU ‘ress m
(Operation menu)
v
2. WRITE 5. CONVT SUBMENU
I
(Operation menu)

I.READ 2.WRITE 3. INSERT 4.DELETE SUBMENU MENU


MENU

1.ALPHA 2.CHINA 3.KANA MENU

~+1

(2) 9-inch CRT

(Function menu)

1
I,MESSG.

*
7. FILE
4. LADDER

MENU
MENU

k MENU

~
I
4.DEVICE 5.COIL 6,COMENT 7,1NIT. b MENU

SUBME
I!M!9
IE3
I ‘ress B (Ooeration menu)

E
m
I 2. WRITE SUBMENU 5.CONVT I
v /

n 4. OEVICE

m
m

(Submenu)

Y I I.READ 2.WRITE 3.INSERT SUBMENU MENU

4. DELETE MENU MENU

1.ALPHA 2.CHINA 3.KANA MENU


“P

: For menu change within a single function


B
: For menu change between different functions
B

- 146 -
I 6. MESSAGES PREPARATION
I
6-1 Menu Operation Message 1
I Pre~aration I

6-2 Initial Screen

When creating a message, display the initial screen and define the message
size. Be sure to define the message size in even number.

CAUTION

Setting the number of messages and the data length here cannot be changed after
message data is prepared. If the setting is changed for conversion, all the
message data stored so far is erased. Change the size on M-FAS302.

Basic operation

F~e]=)-F)e[~;~vtiono~ message +)-)

La+ @

Operation procedure

(1) Select IS) , then )=) . (Note 1)

(2) Press F) : the data setting section is displayed.

(3) Define the used size and data length of each type of messages.

(4) press
a
5CONVT ,
0
: CLEAR MESSAGE (Y/N) iS displayed. Type Y and
then ‘“’”’

press c1
INPUT . When data conversion is completed, COMPLETED is displayed.

(5) Set the message file name as described in 3.1.


Index

f
PLCMESSAGETABLE1

\
USEDSIZE LENGTH
1.ALARMMESS ( 0/ o) ( 32 BYTE )
2.0PERATEMESS ( 0/ o) ( 60 BYTE )
3.PLCSWMESS
( 0/ o) ( 14BYTE )
4.DEVICEMESS 6 BYTE )
( 0/ o) (
5.COILMESS 0/ o) ( 18BYTE )
(
6.COMMENTMESS( 0/ o) ( 60BYTE )
7!CONTROLCODE (1))

~...—— ----- ———_ ______ . . . __ . Index


I ~---- — Number of messages
~–... .- .. —..——— — Data length
I J

.#_( ) w!A._i__.-)_(..._ . .._l.uE-.l


MODE INIT. MENU WRITE
; _________________ . Data setting
section

{ 2. WRITE 5. CONVT SUBMENU MENU

Note 1: When F) is pressed, if new preparation is made, the default values

are displayed as shown above.

- 147 -
.

The maximum number of messages and the maximum length of each message are
listed below (Note 1):

Message Vaximum number Maximum data Remarks

k
type Df messages length

The alarm message data memory


256 32 bytes/message
1 MEss size is determined.

~ OPERATE The operator message data

L
256 60 bytes/message
MESS memory size is determined.

The PLC switch data memory


~ PLC SW
32 14 bytes/switch size is determined.
MESS
Normally, the size is set to 14.

The memory size of ladder


DEVICE

L
4 1000 6 bytes/contact diagram contact comments such
MESS
as~~ is determined.
SPCcw

The memory size of ladder ~


~ COIL
2700 18 byteslcoil diagram coil comments such as i
MESS Yloo SPINDLECCW
is determined.
++
The memory size of comment data
~ COMMENT of tool registration, load
100 60 bytes/comment
MESS meter, etc., is determined.
Normally, the size is set to 40.
I

0 is set. The control code is


~ CONTROL
used when CNC is special
CODE
specifications. (Default O)

Reference: Message data memory size calculation expression

~ = [(M1L+6) x MIN + (M2L+6) x M2N + (M3L+6) x M3N


+ (M4L+6) x M4N + (M5L+6) x M5N + (M6L+6) x M6N]
+ 0.125K bytes

Where,
MIL : ALARM MESS data length MIN: Number of registered ALARM MESS
M2L : OPERATE MESS data length M2N: Number of registered OPERATE MESS
M3L: PLC SW MESS data length M3N: Number of registered PLC SW MESS
M4L : DEVICE MESS data length M4N: Number of registered DEVICE MESS
M5L: COIL MESS data length M5N: Number of registered COIL MESS
M6L : COMMENT MESS data length M6N: Number of registered COMMENT MESS

Note 1: The maximum data length must be specified by an even number.

- 148 -
f I
] 6. MESSAGES PREPARATION I
6-2 Initial Screen
I
6-2-1 Initial Setting Example

?
PLCMESSAGETABLE

USEDSIZE LENGTH

1.ALARMMESS ( 0/ o) ( 32BYTE )
2.0PERATEMESS ( ()/ o) ( 6013YTE )
3.PLCSWMESS ( 0/ o) ( 14BYTE )
4, DEVICE MESS 0/ o) ( 6 BYTE )
5.COILMESS I 0/ o) ( 18BYTE )
6.COMMENTMESS( ()/ o) ( 60BYTE )
7.CONTROLCOOE (o)

#( ) DATA ( ) ( BYTE )
MODEINIT. MENUWRITE

2, WRITE 5. CONVT SUBMENU


--

For example, when setting the number in JL


USED SIZE field of ALARM MESS; press the key
sequence -)[~][~[~[=)[~l~[ql=ln “

..-,
PI C MESSAGE TABLE ~
USED SIZE LENGTH
Note: Data length setting may be omitted 1. ALARM MESS ( 0/ 256) ( 32 BYTE )
2. OPERATE MESS ( 0/ 0) [ 60 BYTE )
because the default values are 3. PLCSWMESS ( 0/ o) [ 14BYTE
)
entered. 4, DEVICE MESS ( 0/ o) ( 6BYTE )
S. COIL MESS ( 0/ o) ( 18 BYTE )
6. COMMENT MESS( 0/ o) ( 60BYTE)

Likewise, set the numbers in USED SIZE l~CONTROLCODE(o) I

field of OPERATE MESS through COMMENT MESS


as required.

Next, register the data in a file.

When )x) is pressed, the message


#()

“MESSAGE AMA CLEAR (Y/N)” is displayed. MODE INIT. MENU WRITE MESSAGE AREA CLEAR [Y/N)

2,WRITE 5. CONVT SUBMENU

The size can be changed or registered


by pressing
mand@”

Note 1: The size can be changed only before


message data is prepared. If it is
changed after message data is
prepared, all the prepared message
data is erased.

- 149 -
6. MESSAGES PREPARATION

6-2 Initial Screen

The numbers in USED SIZE fields are as follows:

The message table data size is displayed.

(Number ofmessages/number of registered messages)

Number of registered messages: The number of messages registered in the


message table

Number of messages: The number of messages that can be


registered
Last index number incremented by one of
message registered is displayed.

After this, the number of messages and the number of registered messages
are displayed in the “M~ORY ( / )“ part of each message preparation screen.

CAUTION:
If a screen such as ALARM or OPERATOR MESSAGE is selected without setting the
number of messages or the data length in the initial setting, the message “PROG
NOT FOUND” or “SELECT lNIT!” is displayed.

...

- 150 -
6. MESSAGES PREPARATION

6-3 Read I

6-3 Read

This section explains message read.

Basic operation

n 1. MESSG. ~
B [Setthe index number of themessage
to be read in the setting area.]
-
0
INPUT

ID
2. OPERAT

Oneration example

(1) Press D
‘“’ss’. Press one of Btom*

(2) When F)is pressed, the setting area is displayed. Enter the index

number of the message to be read in the setting area and press nINPUT .

(3) For page feed, enter “+” or “-” in the index number setting area and press

o
INPUT

“+”
.

means forward page feed and “-” means reverse page feed.

- 151 -
6-4 Write

This section explains message write.

Basic oDeration

D 1 MESSG +
ID 1. ALARM

2. OPERAT
+ [Read] +m+ [Datawtitel +m

ID
3. PLC
Sw
m

4. OEVICE
D

5, COIL
n
6. CO.
MENT
D

Operation procedure

(I.) press )=). Next, select menu of each message and read.

(2) When F) is pressed, the setting area is displayed.

(3) Write message data, then press


o
INPUT .

The index number is incremented and the cursor moves to the second leftmost
parenthesis pair.

Note: If a message is written into the index number not displayed on the
screen, 10 lines (9-inch CRT) or 15 lines (14-inch CRT) from the
index number are displayed after the data is written.

Operation examples for each message are given below.

- 152 -
6. MESSAGES PREPARATION I
6-4 Write I
6-4-1 ALARM MESS and OPERATE MESS

Operation example

An example of writing ALARM MESS “EMERGENCY” is given.

(1) Press the key sequence D=)P$F)Q@H . ~hefo~~owing


setting area is displayed:

1( )( ) ALARM MESSAGE
2( )
3( H )
4( )( )
5( )( )
6( )( )
7( )( ) 10 lines for 9-inch CRT
8( )( 15 lines for 14-inch CR-
9( )(
10 ( )( )
11 ( )
12
13
(
(
H
)(
)
)
14 ( )( )
15 ( )( )
T .——..—–........ .- —.——..-—. Index number
.-—
Data register number (D}
~--- _. .2 _.. Mesaage preparation area
#()()( )
MEM ( /100 STEP)
MODE ALARM MENU WRITE
1. ALPHA 2. CHINA 3. KANA MENU

(2) Press the key sequence


mlEl131zlmmclm@mBmB *
The index number is incremented and the cursor moves to the second leftmost
parenthesis pair. In this example, the memory use count becomes (2/100
steps).
f
ALARM MESSAGE
O) (EMERGENCY )
![ )
3( ~~
4( 1
5( )( )
6( )( )
7( )
8( H )
9( )(
10 ( )( 1
11 ( )( )
12 (
13 ( 1[ i
14 (
15 ( ;1 ;

#( 2)()( )
MEM ( 2/100 STEP)
MODE ALARM MENU WRITE ALPHA
MENU

- 153 -
6. MESSAGES PREPARATION

6-4 Write

(3) Here, the register number is O. If any of 1-1023 is entered in the


register number field, when the ALARM MESS is displayed on CNC, the ID
number can be displayed following the message.

For example, if 1 is entered, the data register D1 contents are displayed


following the message. If Illcontains 3, 3 is displayed. The ALARM MESS
display method is F or R. To use F, start the index at O. To use R, start
the index at 1. Note that even if a message with index O is prepared, the
message cannot be displayed in the R system.

(4) The OPERATE MESS setting method is the same as the ALARM MESS setting
method except that the OPERATE MESS display method is R only. Even if a
message with index O is prepared, it is insignificant. Refer to the PLC
Programming Manual (Ladders) (BNP-A2947) for the specifications and
handling of the ALARM MESS and OPERATE MESS.

The machine name and title used at printout can be created by using
operator messages.

9000 Machine name start number Is used at printout.

9001 Machine name end number Is used at printout.

9002 Title display start number Is used at printout.

9003 Title display end number Is used at printout.

A title and machine name printout example is given below.

- 154 -
I 6. MESSAGES PREPARATION I
16-4 Write I

OPERATE MESS example to printout title and machine name

(MELDAS 300 SERIES


o (9000) LADDER
(BND-400WOO0
1 (9000) -AO ‘88-08-18
2 (9001)
(MACHINE
TYPE ABC1OO
3 (9002)**************
**************
**************
**************
( ))
Machine name message
4 (9002)
(* [a maximum of three lines are valid)
5 (9002)
(* STANDARD
SEQUENCE
DIAGRAM
6 (9002)
(* *)
7 (9002)
(* ;88-08-18 BY.MITSUBISHI*)

8 (9002)
(* *)
9 (9002) *************** *************** *********.****. ***********
( )
10(9002)
(* )
Title message
11(9002)
(* )
(the number of lines is not Iimitad)
***** MODIFY
MEMO ** *.*
12(9002)
( )
13(9002)
(* )
14(9002)
(* )
15(9002)
(* )
16(9002)
(* )
17(9002)
(* )
**
18(9003)
( )
.-./4
?
Maximum of 60 characters
I
I
L-----
Set 9000-9003

- 155 -
6. MESSAGES PREPARATION

6-4 Write

Title and machine name printout example

FILEMESSAGE1

*************** *************** ● ☛☛☛☛☛☛☛☛☛☛☛☛☛☛ ☛☛☛☛☛☛☛☛☛☛☛☛☛☛☛

☛ ☛

* STANDARD
SEQUENCE
DIAGRAM *
* ●

* ;88-08-18 BY.MITSUBISHI
*
● ☛

************** ********.***** ************** ● ☛☛☛☛☛☛☛☛☛☛☛☛☛ ● ☛☛☛

☛☛☛☛☛
MODIFY
MEMO *****
.
*
*

*
● ☛

Machine name printout MWDAS 300 SERIES LADDER

BND-400WOOO-A0
(printed out on every page) MACHINETYPE ABC1OO
l–

- 156 -
I 6. MESSAGES PREPARATION I
6-4 Write I
6-4-2 PLC Switch

Example of operation

Assign “MST LOCK” for PLC switch 0.

(1) Press the F) ,W) , and F)keys, type O and press the RETURN key,

then press the -) key: the data setting field is displayed as shown

below:

i)( )( )
I Message

L Index

(2) Type ~and ~, ~ , ~, a blank, ~ &lml-@l*


//( 0) ( MST LOCK)

(3) When M is pressed, the index number is incremented. In this example, the

memory use count becomes (1/32 steps).

>
PLC SW
0 (MST LOCK )
1( )
2( )
3( )
4(
5( i
6( ) 10 lines for 9-inch CRT
7( ) 15 lines for 14-inch CRT
8( ) 1
9( )
10 ( )
11 ( )
12 ( )
) /
ii ~ )
#( 1)()( )
MEM ( 132 STEP)
MODE PLC SW MENU WRITE ALPHA
1. ALPHA 2. CHINA 3. KANA MENU
..’

(4) The PLC switch number displayed on CNC is that of the index number
incremented by one,

- 157 -
6-4-3 Device (Contact) Message and Coil Message

ExamDle of oDeration

Assign “SP.CW” to contact 10 of device M1OO.

(1) and)lREAD) keys, type 1 and O and press the RETURN

113
key, then the 2.WRITE
‘ey:
the data setting field appears as shown below:

ill
(_) ()(
_ — _) ( )

> Contact message orcoil message

(2) Type~,~,@

uw.

# ( 10) ( M) ( 100) ( SP.CW)

(3) When w is pressed, the index number is incremented and the cursor moves

to the second leftmost parenthesis pair. In this example, the memory use
count becomes (10/1000 steps).

\
COMMENT

1O(M) ( 100) (SP. CW)


110( )(
I
120( )( ;
130( )( )
140( )( )
150( )( )
160( )( ) 10 lines for 9-inch CRT
170( )( ) 15 lines for 14-inch CRT
180( )( )
190( )( )
200( )( )
210( )( )
220( )( )
230( )( )’
240( )( ) ~

#( 11)()( )
MEM (1OIIOOO STEP}
MODE DEVICE MENU WRITE ALPHA
1.ALPHA 2.CHINA 3.KANA MENU
/

- 158 -
E5!!!El
(4) The coil message can be set the same way as with the contact message.

Note:
wx”~
I
“00+ :~NDLE“
(A) SPcw

The comment in the (A) position is the contact message.

The comment in the (B) position is the coil message.

6-4-4 COMMENT MESS

Operation example

(1) Press the key sequence


BmE)mHm ● The following
setting area is displayed:

//(_) (_) ( ) ( )

Message preparation area

(2) Prepare a TOOL REGISTRATION screen message with index number = O, device =
1, and device number = O. Up to five steps each of a maximum of eight
characters can be prepared.

If more than five steps are prepared, the extra steps cannot be displayed
on CNC.

(3) Prepare a load meter message with index number = 5, device = 2, and device
number = O. Up to four steps (eight steps on M330HL) each of a maximum of
40 characters can be prepared. ‘

If more than four steps (eight steps on M330HL) are prepared, the extra
steps cannot be displayed on CNC.

The relationship between the device numbers and application is listed below:

No. Device Device No. Comment display Application


length

Unused As long as 8 Device 1 comment message is read


from top to bottom, and displayed
1 1 (initial alphanumeric
from left to right on the TOOL
value O) characters
REGISTRATION screen.

Device 2 comment message is


Unused As long as 40
displayed from top to bottom on
2 2 (initial alphanumeric
the CRT display terminal as load
value O) characters
meter comment message.

- 159 -
,,, ,, ,.

6. MESSAGES PREPAMTION

6-4 Write
L
A comment preparation example is given below:

( [COMMENT]

o(l) ( O) ( [HEAD] )
l(l) ( O) ( [NEXT1] )
2(1) ( o) ( [NEXT21 )
3(1) ( o) ( [NEXT31 )
4(1) ( O) ( [INDEX] )
5(2) ( 0) (SptNDLE o 50 100 )
6(2) ( o) (* 0/0 ‘“’” ’-””-’ ‘ “-L )
7(2) ( 0) (Z-AXIS o 50 100)
8(2) ( o) (* 0/0 ‘-””---”- “ ‘--- )
9(2) ( o) (SpiNDLE o 50 100)
lo(2)
11(2)
(
(
o) (*
o) (Z-AXIS
0/0’-’””””-””
o 50 100 )
) 1 For M330HL
~ second system
12(2) ( o) (* O/o L-L”-’”’”’”- ‘)
130( 0) ( )
.. ... . . .. ... . . .. ... . . .. ... . . . .. .. .. . . ... .. . . .. ... . .. ... .. . . .. . .. . . . ... . .. . .. .. .. . . . .. . .. . . . ... . .. . .

,,

,,

- 160 -
6-5 Insertion

This section explains message insertion.

Basic operation
K \
B [Message read]
“By

B L
r) 3 PLC
Sw

4 DEVICE
[Message data input] 4 INPUT
c1

m
6. CO.
MENT
D

Operation example

(1) Press-’
v /
. Press one of Fjto)j).

(2) Next, read the message part for insertion.

(3) Press )’fi-) . Then, set the index number and the data to be inserted in
J

the setting area and press INPUT


. c1
An insertion example is given below:

For example, to insert data between 101 and 102, specify the 102 location
and prepare the data to be inserted.
# 100 (1 00 1) (EMERGENCYSTOP! )
101 (1 00 1) (EMERGENCY! )
102 (1002 ) (splNDLEERROR )
103 (1003 ) (HYD.PUMPERROR )

#(lo2) (1002) ( SPINDLEERROR)

When
u
INPuT is pressed, the data is inserted as shown below and the memory use

count is incremented by one:

# 100 (1 O 0 1) (EMERGENCY STOP1


\
1

101 (1 00 1) ( EMERGENCYI )
102 (1002 ) ( SPINDLEERROR )
103 (1 002) (SPINDLEERROR ) 1 This and the following areshifted.
104 (1003) (HYDPUMPERROR )

- 161 -
6. MESSAGES PREPARATION

6-6 Deletion

6-6 Deletion

This section explains message deletion.

Basic operation

In E
1 MESSG. ~

m “-
m [Entry of index number of message to be deleted] .R

113 4, DEVICE

5. COIL

m
D

Operation example

(1) h2SS 1 MES= Press one of )=)to~-).


E)*

(2) Next, read the message part to be deleted.

(3) Press B. Enter the index number of the message to be deleted in the

c1
. The message is deleted.
setting area and press INPUT

A deletion example is given below:


# 100 (1001 (EMERGENCY STOP1 )
101 (1 00 1) (EMERGENcY! )
102 (1 00 2) (SPINDLE ERROR )
103 (1 003) (HYDPUMPERROR )

#(lo2) ( )( )

Specify the index number and press o


INPUT .

The message is deleted as shown below and the memory use count is
decremented by one.

# 100 (1 00 1) (EMERGENCY STOP!


)

# 101 (1 00 1) (EMERGENcY! )

# 102 (1 003) (HYD.PUMPERROR


) t This andfo IIo wing are moved forward

- 162 -
6. MESSAGES PREPARATION
6-7 Kanji and Kana entry
Method
6-7 Kanji and Kana Entry Method

Kanji and kana characters as well as alphabetic characters can be used on


onboard operation. The use method is explained below.

r
CAUTION

Kanji characters in messages prepared by onboard operation can be displayed on


the CNC screen, but cannot be printed out.
The number of the characters of one message must not be odd. CNC does not
normally operate.

...................................................................................................

#()()( )
MEM [100/1000 STEP)
MODE DEVICE MENU WRITE
MENU
1. ALPHA 2. CHINA 3. KANA

When the function is selected (WRITE, INSERT), this menu is displayed.

Select the type of data to be entered. If it is not selected, 1. ALPHA is


assumed to be selected.

When function selection is again made or after write, insertion operation


is performed, the input code becomes alphabet.

6-7-1 ALPHA

The operation board keys can be used as they are for alphabet (A - Z, O -
9) key input.
6-7-2 Kanji
E
Input kanji characters according to the following procedure. Here, example
of writing ‘*=&@”is explained.

ALARM MESSAGE
10 (1000) (SPINDLEALARMI )
11( )( )
12 ( )
13 ( {[ )
14( )( )
15( )( )
16( )( )
17( )( )
18( )( )
19( )( )
20( ) ( )
210( )
22( )( )
23( )( )
24( )( )
SF lq2~3H!4%5&6~7jZ$ 8@9RA#BWCz DM EZ$EFJIE Kanji code row
#( 11) (1000)( %tdl)
MEM ( 11/100 STEP}
MODE ALARM MENU WRITE CHINA (090/200)
1.ALPHA 2.CHINA 3,KANA MENU

Pressing the 4 key with selected displays a row of kanji characters


c1 m
on the data setting area.

O* 15 2% ......... E* FJl]~

When ~~ or ~~ is pressed to enter the kanji character “~”, the

character is displayed on the data setting area.

To enter “$$”, follow the same procedure as above.

When the 4
u key is pressed, the next kanji code row is displayed.

When the ? o key is pressed, the preceding kanji code row is displayed.

Kanji code table is given on the following page.

- 164 -
I6. MESSAGES PREPARATION I
6-7 Kanji and Kana entry
Method
Kanji code table

- 165 -
Select this function to enter katakana characters.

T >
ALARM MESSAGE
10 (1000) ( SPINDLE ALARM 1 )
11( )( )
lz (1 OCIO) (ATC ARM 60” cw )
13 (1000) (ATcARM6~ccw )
14( )( )
15( )( )
16( )( )
17( )( )
18 ( )
19 ( 1[ )
20( )( )
21( )( )
22( )( )
23( )( )
24( )( ;

#( 10) (1000)( EE4177-)


MEM (?4/100 STEP)
MODE ALARM MENU WRITE KANA (020/200)
1. ALPHA 2. CHINA 3. KANA MENU

is pressed, the following kana code is displayed above the

setting area:
o– 17’ 24 “.”.’....
DX E-k FY

To enter kana code,

o
when the , key is pressed, kana character “T” is displayed in the

setting area.

when the 4
u key is pressed, the next kana code row is displayed.

when the t key is pressed, the preceding kana code row is displayed.
o

Code table is given on the following page:

- 166 -
6. MESSAGES PREPARATION
6-7 Kanji and Kana entry
Method

Kana, graphics, and symbol codes

[Input code]

012345 6 7 8 9 A BCDE

1
o
... .. . . .. Not displayed
~ ~ ;j:j:{:x::;<i:::::::::~
,,. ::::::i::::::::: fi:::~::::::::s:::
,.. .. . [;<::
.................................................................:::::::::, xfi:fix~;:
:.:.:.:.:,:.:.:.:.:.:.:.:.:...................
I 1 , -~ .,, .,,., ,,, ,., ., ......... . .. ..
::..::::: :::::.,...,
,,.,.,,......................................................
., ...,. .,.-,,., ...........
:.,.................................. . .. ,

E12 I - # $ % & ~ ( ) x + - .
3 !Z 1 2 3 4 5 6 7 0 9 :. ; : ❑ >
,,, , ,,, , ,!, , ,,,

4 l@l I
AI !
BICIDIE
I ! I
— IF
I
IGIHII\JIKl
I I , I I
LIMIN
,
I

5
6
P
. 1
Q
a
!
R
1
s
blcldlelflgl
1
T
r
lJvwx.
!L!!l hlilj
Yz[\]A
l!!! klllmln

7 Iplqlrl sltlulv lwlxlyl-zl{lll}l -


8 Hti+tHd=+cl~lN+ I z i
I
9 - 1- < > — >
0 r J , ●
7 7 4 7 1 4 ? 1 3
Elh r
B 1 I
t 1 1 I 1 1 1 I 1 1 1 1 1

I c

E
F I , , , , , I , , I i I ,

Kana, graphics, and symbol code table

- 167 -
I i’.
PRINT-OUT FUNCTION I
7. PRINT-OUT FUNCTION

With che onboard function, ladder circuits in memory and messages can be
output through the printer. Note that the printer can print alphanumeric and
katakana characters but not kanji characters.

Printing can be suspended halfway and resumed as instructed.

Printing ladder circuits

Ladder
Ladder + comment
Ladder + comment + cross

Printing messages

Alarm message
Operator message
PLC switch
Contact comment ....... A device can be specified.
Coil comment .......... A device can be specified.
Comment

Note 1: The print-out function is available only for the M300 V series.

Note 2: Data can be printed while the user PLC program is running. The
CRT screen cannot be changed while data is being printed.

- 168 -
7. PRINT-OUT FUNCTION

7-1 Print-out Flowchart

7-1 Print-out Flowchart

9 Start

I
\
Mount the second onboard
card, connect the printer,
and perform initialization.
I

I Yes

lFrom the screen svecifvthe


“PROGRAMNOT FOUND”

Pressingthe~key ini-
tializesthe set data. I
+---
I Yes
I

From the screen specify the


print conditions. I’j’j) “SETTINGERROR“
I v [

Pressing the~key ini-


tializes the set data. I
I

h’

Start printing:
The specified ladder “EXECUTION”
Only
r)
is enabled
ItJTERRUPT key
program and message data
are printed.

during printing.

Suspension of printing:
I
preqs [RESET] to
interrupt -L
printing.
, M

‘es No
“COMPLEED”

- 169 -
7-2 Printer Connection and Select Switch Setting
EE%zzd
7-2-1 Printer Connection

The MELDAS printer PRT-02B or PRT-02A must be used.

NC controller

PRT–02B (A)
> Port O

L -u.
Y

Connect the printer to port O, 1, or 2. Usually use port 1 or 2.


From the print-out screen, assign the port pins as follows:

- Cable connection -

CNC Printer
GND 1 1 GND
GND 7 7 GND
TXD 2 3 RXD
RXD 3 2 TXD
CTS 5 20 DTR
DTR 20 5 CTS
DSR 14 6 Error output
Error output 6 14 DSR

- 170 -
7-2-2 Initial Setting of PRT-02B

(1) Initial setting

When power is turned on, define the printer conditions in initial setting
mode. The printer conditions are listed in the table below. Set them
according to the indication (M300).

For the setting operation, refer to the MELDAS 1/0 Printer (PRT.-O2B)
Instruction Manual (BNP-A2919).

The menu number marked with * indicates the defaut value (de’finedat the
factory before shipm=nt).

Function No. Parameter Menu number Setting contents

01 Page length 01 3 inches


02 3.5 inches
03 4 inches
04 5.5 inches
05 6 inches
06 7 inches
07 8 inches
08 8.5 inches
* 09(M300) 11 inches
10 11 2/3 inches
11 12 inches
12 14 inches
13 15 inches

02 Line spacing * 01(M300) 1/6 inch


02 1/8 inch

03 Character pitch * Ol(M300) 10 CPI ( 80 DPI)


02 12 CPI ( 96.DPI)
03 17 CPI (136 DPI)
04 Proportional

04 LQ switch * 01(M300) Selection of LQ


Print quality switch 02 Selection of NLQ

05 Buzzer on/off * 01(M300) On


02 off

06 LQ CG switch 01 Built-in CG
* 02(M300) Cassette CG

11 Receive buffer 01 l-line buffer system


* 02(M300) N-line buffer system

12 Data bit * 01 7-bit system


02(M300) 8-bit system

13 Switch at power on * 01(M300) Online


02 Offline

- 171 -
I 7. PRINT-OUT FUNCTION
7-2 Printer Connection and
I Select Switch Setting

Function No. Parameter Menu number Setting contents

14 Printing direction 01 Two-way (mode 1)


* 02(M300) Two-way (mode 2)
03 One-way

15 Buffer-full print LF * 01(M300) LF on


On/off 02 LF off

16 PE detection * 01(M300) On
02 off

18 Oharacter type of * 01(M300) o


digit O 02 0

19 :ountry specifications * 01(14300) JA (Japan)


02 FR (France)
03 USA (U.S.A.)
04 UK (United Kingdom)
05 GE (Germany)
06 Sw (Sweden)
07 IT (Italy)
08 SP (Spain)
09 DN (Denmark)
10 NOR (Norway)
11 DU (Netherlands)
12 AF (Africa)
13 USA (U.S.A.)
14 FRC (French region in
Canada)
15 FR2 (France II)
16 UK2 (United Kingdom 11)

21 Print command code 01 CR only


* 02(M300) CR, LF, VT, FF, US

22 2R function * 01(M300) CR
02 CR + LF

23 UN code * 01(M300) On
02 off

24 DC1/DC3 processing * 01(M300) On


02 off

25 S0/S1 processing * 01(M300) On


02 off

26 FF code * 01(M300: FF operation


02 LF operation
03 Ignore

- 172 -
Function No. Parameter ‘4enunumber Setting contents

27 Switchover of VT setting * 01(M300) Setting per inch


02 Setting per line

41 Switchover of expanded * 01(M300) +Data buffer 10K bytes


CG/RAM 02 Download buffer
03
04

42 Not used * 01(M300) Area 1


02 Area 2
03 Area 3
04 Area 4

61 Selection of auto-sheet 01 Not used


feeder * 02(M300) Usual

Function numbers 81 to 96 are applicable only to the serial printer.

Function No. Parameter ienu number Setting contents

81 Data processing after 01 All input data is receivec


deselected by the online even in the select mode.
switch * 02(M300) Data is received for 350
ms after deselected and
ignored thereafter.

82 DSR switching 01 On
* 02(M300) off

83 RTS timing switching * 01(M300) Set to high level in


select mode (i.e., used
for distinction between
select and deselect mode)
02 Synchronizes with D’TR
(i.e., used as RDY/BSY
signal).

84 CD processing On
* &M300) off

85 CTS switching 01 On
* 02(M300) off

86*1 CER switching * 01(M300) On


02 off

- 173 -
Function No. Parameter Menu number Setting contents

91 Overrun buffer type * 01(M300) 20 bytes - busy


02 256 bytes - busy
03 512 bytes - busy
04 1024 bytes - busy *2

92 Selection of 7 or 8 bits 01 7 bits


* 02(M300) 8 bits

93 Protocol 01 RDY/BSY(Low) *1
* 02 RDY/BSY(HIGH) ~1
03(M300) XON/XOFF

94 Stop bit 01 1 bits


* 02(M300) 2 bits

95 Parity bic * 01(M300) No parity


02 Odd parity
03 Even parity
04 Ignore parity

96 Baud rate 01(M300) 9600 BPS+ Port 1 or


2 in use
* 02 4800 BPS + Port O in use
03 2400 BPS
04 1200 BPS
05 600 BPS
06 300 BPS
07 200 BPS
08 110 BPS

*1: Even when menu No. 02 (CER) is selected for function No. 86, it is
internally assumed to be menu No. 01 (SD) if menu No. 03 (XON/XOFF
protocol) is selected for function No. 93.

*3___7__— Jjow (~~~)

*4__F----HQh ‘CER)

*2: If the receive buffer capacity is set to lK bytes by function No. 41, the
overrun buffer operates assuming that menu No. 03 of function No. 91 is
specified.

- 174 -
7. PRINT-OUT FUNCTION
7-2 Printer Connection and
Select Switch Setting

(2) List of initial values

The table below lists the initial values set for the M300-V series PRT-02B
printer.

Function No. Parameter Menu number Setting contents

01 FORM LENGTH 09 11
02 LPI 01 6
03 CPI 01 10
04 LQ OR NLQ 01 LQ
05 BUZZER 01 ON
06 LQ CG 02 CASSETTE
11 BUFFER 02 N LINE
12 CHARA. TABLE 02 8
13 PW ON 01 ON-LINE
14 DIRECTION 02 BI-DIR.2
15 BUF. FULL 01 LF
16 P.E. 01 ACTIVE
18 ZERO 01 0
19 CHARA. SET 01 JA
21 PRINT COMMAND 02 CR, LF, VT, FF, US
22 AUTO LF 01 CR ONLY
23 CAN 01 VALID
24 DC1, DC3 01 VALID
25 SO, S1 01 VALID
26 FF CODF 01 FF
27 VT SETTING 01 EVERY 1“
41 RAMw 01 DATA BUF.
42 RESERVED 01 AREAl
61 ASF 02 NORMAL
81 OFF-LINE STATE 02 IGNORE
82 DSR 02 INVALID
83 RTS TIMING 01 RTS
84 CD 02 INVALID
85 CTS 02 INVALID
86 CER 01 INVALID
91 OVER RUN 01 20
92 DATA BIT 02 8
93 PROTOCOL 03 XON/XOFF
94 STOP BIT 02 2
95 PARITY 01 NON
96 BPS 01 9600
00 RESET 01 ESC C 1

- 175 -
7. PRINT-OUT FUNCTION
7-2 Printer Connection and
Select Switch Setting

7-2-3 PRT-02A Select Switch Setting

(1) Select switch setting

T“he PRT-02A printer contains the following DIP switches. Set them
according to the indication (M300).

o1 Country specification

Set the DIP switch to suit the character type used in your country as
follows.

SW-1 to -3 indicate the DIP switch


Country SWl_l SW1-2 SW1-’? numbers.
.- I
name 1 “X’”indicates OFF (open).
“o’*indicates ON (closed).
(Any combination other than those in
the table depends on the switch
specifications.)

E-H-+-H

GE x x o

Sw o x o

o2 Selection of TOF interval


Note:
Inter-TOF line count SW1-4 The inter-TOF line counts indi-
11 inches (66) x (14300) cated in the table are those when
12 inches (72) o line spacing is specified as 1/6
inch. When line spacing is 1/8
inch, these counts become 88 and
96 respectively. When power is
turned on, the default line
spacing is 1/6 inch.

o3 DC1 and DC3 processing

E!Em ‘M300)
o4 Selection of LF on/off at buffer-full

Rw=m ‘M300)
o5 Print command code (effective only for logic and seek)

- 176 -
o6 CR function

(M300)
~ CR + LF: LF is executed after CR.

07 Type of digit O

~ (M300)

08 Receive buffer switching

I Buffer svstem SW2-2 1


NKB ring-buffer system x (M300) (N=3K or I-K)
l-line buffer system o

09 Print mode selection at power on

Print mode SW2-5


10 CPI x (M300)
Proportional o

Qo Selection of data bits, 7 or 8

~(M300)

1
Q Selection of select or deselect mode at power on

02
~(M300)
Selection of two-way or one-way printing

Data SW2-8
Two-way x (M300)
One-wav o

One-way printing is recommended in the graphic

03 Selection of 7 or 8 bits
—Indicates the DIP switch
Bits SW21-6 number.
8 bits x (M300) “x” indicates OFF (open).
7 bits o “o” indicates ON (closed).
—7-bit specification

- 177 -
o4 Parity check

“ Parity SW2-8 SW2-8


EVEN x x
ODO ‘o x
NO PARITY x o (M300)
IGNORE o 0 Do not define this.

05 Selection of stop bit, 1 or 2 bits

= (.300)

Q6 Data transfer rate (unit: baud)

Transfer rate SW22-1 SW22-2 SW22-3

9600 x x x (M300: Port 1 or 2 used)

4800 x x o (M300: Port O used)

2400 x o x

1200 x o 0

600 0 x x

300 0 x o

200 0 0 x

110 0 0 0

When 9600 baud is selected, do not specify 7-bit data, no parity, and 1
stop bit.

(2) Listing of select switch settings

The table below lists the settings of the select switches for the M300-V
series PRT-02A printer.

r
Switch 1 2 3 4 5 6 7 8

Swl x x .x x x x o x

SW2 o x x x x x o x

SW21 o x x o x x x x

SM22 x x x x

Note: “x” indicates OFF (open).


“o*’indicates ON (closed).

- 178 -
7. PRINT-OUT FUNCTION

7-3 Operation Procedure

7-3 Operation Procedure

7-3-1 14-inch CRT Setting and Display Unit

(1) Menu operation for printing

U
FO CNC function selection key

1 (Function menu)

I 1. MESSAGE 4. LADDER 6. 1/0 START 7. FILE I

Press menu key


~
(Submenu)

) t

I 2. FLD 5. PRINT I

I
Press menu key
-
(Operation menu)

I SET PRINT I

(2) Print-out screen

# PRINT-OUT
1. LADDER PROGMM 1 11. PRINT FORM o (():ELITE 1: CONDENSED)
2. COMMENT O 12. LINE SPACING 1 (O: 1/6 1: l/81NCH)
3. COMMENT + CROSS O 13. START STEP 99999
14. END STEP .99999

4. ALARM MESSAGE O 15. START PAGE 999


5. OPERATOR MESSAGE O 16. MACHINE NAMING O
6. PLC SWITCH o
7. CONTACT COMMENT O 17. SPECIFIED DEVICE X
8. START NO. O 18. START NO. 9999
9. COMMENI o 19* END NO. 9999

10. PORT 1

EXECUTION

#(99) DATA (99999)

SET PRINT

- 179 -
7. PRINT-OUT FUNCTION

7-3 Operation Procedure

7-3-2 9-inch CRT Setting and Display Unit

(1) Menu operation for printing

oFO CNC function selection key

(Function menu)
I
1. MESSAGE 4. LADDER MENU B
‘c
6. 1/0 START 7. FILE MENu

Press menu key


~.

I
I 2. FLD
(Submenu)

5. PRINT I

Press menu key


-*
(Operation menu)
I
SET PRINT

(2) Print-out screen

# PRINT-OUT
1. LADDER ?ROGRAM 1 11. PRINT FORM
2. COMMENT (1 (():ELITE 1: CONDENSED) !
3. COMMENT + CROSS O 12. LINE SPACING
4. ALARM MESSAGE (O: 1/6 1: 1/8 INCH)
5* OPERATOR MESSAGE O 13. START STEP o
6. PLC SWITCH o 14. END STEP 12345
7. CONTACT COMMENT O 15. START PAGE 1
8. COIL COMMENT o 16. MACHINE NAMING o
9. COMMENT o 17. SPECIFIED DEVICE x
o 18. START NO. o
10. PORT 1 19, END NO. 3FF

#( ) DATA ( )

SET PRINT

- 180 -
t====+

7-3-3 Settings of Print Conditions

The table below lists the print conditions that can be set from the screen.

Setting range
// Parameter Function
(unit)

1 Ladder program Specify whether to pring the ladder


program.

2 Comment Specify whether to add a comment to the


ladder program.

3 Comment + cross Specify whether to add a cross-reference


to the ladder program.

4 Alarm message Specify whether to print alarm messages.

5 Operator message Specify whether to print operator 0: Do not


messages. print

b PLC switch Specify whether to print PLC switches. 1: Print

7 Contact comment Specify whether to print contact


comments.

8 Coil comment Specify whether to print coil comments.

9 Comment Specify whether to print comments.

10 Port Specify the port to \ihich the printer is o: Port o


connected. 1: Port 1
2: Port 2

11 Print form Specify the print form in which the O: Elite


ladder program is printed. 1: Condensed

12 Line spacing Specify line spactng at which the ladder O: 1/6 inch
program is printed. 1: 1/8 inch

13 Start step When printing part of the ladder pro- 0 to 99999


gram, specify the first and last step.
14 End step (If both are specified by O, all steps
are printed.)

15 Start page Specify the first page number to be o to 999


printed.

16 Machine naming Specify whether to print the ladder O: Do not “


program with machine names. Prepare the print
machine names in advance using the 1: Print
operator message in message preparation
function mode.

- 181 -
I 7* PRINT-OUT FUNCTION

I 7-3 Operation Procedure

Setting range
# Parameter Function
(unit)

17 Specified device If necessary, specify the name of the Device name


device for which the contact or coil (A to Z)
II Icomments are printed. I

18 Start No. When specifying the range of the numbers Device numbers
of the device for which contact or coil (0 to 9999)
19 End No. comments are printed, specify the start (O to FFFF)
and end numbers.

7-3-4 Print Forms and Line Spacing

(1) Print forms

. From the setting screen, the character size can be selected (Applicable
only to the ladder circuit).
● Two sizes, Elite and Condensed, are available.
. Selection of the print form changes the number of crosspoints in the coil
section per line.
● The default is Elite.

Character type Number of crosspoints per line Characters per line

Elite 4 96

Condensed 11 136

(2) Line spacing

● From the setting screen, two types of line spacing, 1/6 and 1/8 inch, can
be selected. (Applicable only to the ladder circuit)
● The default is 1/8 inch.
. Selection of line spacing changes the number of print lines per page.

Maximum number of print lines Maximum number of print


Line spacing of cross-reference sequence lines of ladder only per
per page page

1/6 inch 12 25

1/8 inch 18 36

- 182 -
7. PRINT-OUT FUNCTION

7-3 Operation Procedure

7-3-5 Combined Matrix of Print Forms and Line Spacing

Print form Line spacing Maximum number of Maximum number of Crosspoints


ladder lines per ladder lines per in coil
page page (ladder only) section
(comment + cross)

1/6 inch 12 (lines) 25 (lines) 4


Elite
1/8 inch 18 36 4

1/6 inch 12 25 11
Condensed
1/8 inch 18 36 11

- 183 -
7. PRINT-OUT FUNCTION

I 7-3 Operation Procedure


I
7-3-6 Printing the Ladder Program

FO11OW the procedure below to print the ladder program.

PRINT OUTPUT
Press B
#
1) Start setting the print conditions. T, LADDER PROGRAN I Il. PRINT FORN
f 2. COMNEN’I o (O: ELITE 1: CONDENSED)O
Specify printing the ladder program. . o 12,LINE SPACING 1
3. COl@iRN’I
+ CROSS
//(CII)DATA ( Ul)
4. ALARM MESSAGE (10: 1/6 1: 1/8 INCH)
5. OPERATOR MESSAGE 13.START STEP o
As necessary, specify for the comment and 6. PLC SWITCH I 14. END STEP 12345
comment + cross. 7. CONTACT COMMENT 0 15.START PAGE I
8. COIL COMMENT O 16.MACHINE NAMING o
1) To print the contact or coil comments, they
must have been prepared in advance. 9. CONMENT 0 l?.SPECIFIED DEVICE X
18,START NO. o
Specify the port. — 10.PORT 1 19, END NO. 3FF
1: Port 1
2: Port 2
#( ) DATA (
PRINT

Specify the print form.


II \\
O: Elite A
1: Condensed =----#\C

Specify the line spacing.


3. COMMENT + CROSS O 12.LINE SPACING 1
U: 1/6 inch :1
1: 1/8 inch 4. AIARM MESSAGE (10: 1/6 1: 1/8 INCH)
5. OPERATOR MESSAGE I3. START STEP o
6. PLC SWITCH I 14.END STEP 12345
When printing part of the ladder program, 7. CONTACT COMMRNT o -15.START PAGE I
specify the start and end steps. 8. COIL CONMRNT O 6. NACHINE NAMING o
1) If both parameter are O, all steps are 9. CONMENT o 17.SPECIFIED DEVICE X
printed. 18.START NO. c
10.PORT 1 19,END NO, 3FF
—— [
#( ) DATA ( )
1) The default is page 1.
SET PRINT
As necessary, specify machine naming. J
J
1) To print the machine name, it must have
been prepared in advance with the operator
message function.

PRINT OUTPUT
#
1. LADDER PROGRAN I 11, PRINT FORN
2. COFU4ENT o (O: ELITE 1: CONDENSED)O
3. COMNENT + CROSS O 12.LINE sPACING I
4, ALAI&iMRSSAGE (10: 1/6 1: 1/8 INCH)
5. OPERATOR NESSAGE 13.START STEP o
6. PLC SWITCH 1 14.END STEP 12345
7. CONTACT COMMENT O 15.START PAGE I
8. COIL COMMENT O 16.MACHINE NAMING o
9. COt4t43iNT O 17.SPECIFIED DEVICE X
[press B andpress =.
IB.START NO. o
1) The system starts printing the ladder 10.PORT 1 19.END NO. 3FF
program and displays EXECUTION on the
screen. #( ) DATA ( )
2) When printing
~1 is completed,CONPLETED is
displayed. SE? jPRINT

- 184 -
7-3-7 Printing Messages

Follow the procedure below to print messages.

PRINT OUTPUT
*
1) Start setting the print conditions. 1. MDRR PROGF.At4 11.PRINT FORM
I
2. COMMRNT ; (O: ELITE.1: CONDENSED)O
Specify the message to be printed. 3. COm4RNT + CROSS O 12.LINE sPACING 1
(Example of specifying the PLC switch message) — 4. MAlli4NESSAGE (10: 1/6 1: 1/8 INCH)
#(~) DATA( ❑ )

1) Several messages can be specified. Qso


1 5, OPERATOR MESSAGE
6, PLC SWITCH 1
13.START sIEP
14.RND STEP
o
12345
messages can be specified together with the 7. CONTACT CONMENT O 15.START PAGE I
ladder program. 8. COIL CONMSNT O 16.NACHINE NANING o
9. COt4tfSNT O 17.SPECIFIED DEVICE X
1 Specify the port. 18,START NO.
1: Port 1 o
1
1-
2: Port 2 ‘1O. PORT I 19.END NO, 3FF
/

I
I
*(

SET
) DATA ( )
PRINT
i
/

/
[

Specify the initial page number to be printed.


PRINT OUTPUT
.-
1) The default is ua~e 1. #
1. LADDER PROGRAM 1 11.PRINT ‘FORM
As necessary, specify machine naming. 2. CO-T o (O: ELITE.1: CONDENSED)O
3. COMNENT + CROSS O 12.LINE SPACING i
1) To print the machine name, it must have 4. - NESSAGE (10: 1/6 1: 1/8 INCH)
been prepared in advance with the operator
message function. 5. OPEPATOR MESSAGE 13. START STEP o
6. PLC SWITCH I 14.RND STEP 12345
If necessary, specify the name of the device 1 7. CONTACT COlOISNT o I5. START PAGE I
for which the contact or coil comments are NACHINE NANING o
printed.
SPECIFIED DEVICE X
(Example of specifyingthe device X)
11(~ II!) DATA( ~)
START NO. o
-~!! END NO, 3FF
1 I
1) If no device ia specified,comments of all I
devices are printed. #( ) DATA ( )
2) The device specificationis valid both for
contact and coil comments at the same time. I s~ \ PRINT

When specifyinga device and the range of the


numbers of the specifieddevice, specify the
start and end rmmbera.

PRINT OUTPUT
2
1. LADDER PROGRAN 11. PRINT FORN
2. COt4t4RNT i (O: ELITE.1: CONDENSED)O
3. CON.W,NT+ CROSS O 12.LINE sPACING 1
4. ALAKi NL?SSAGE (2.0:3./6 1: 1/8 INCH)
5. OPRRATOR MESSAGE I3. START STEP o
6, PLC SWITCH I 14.END STEP 12345
7. CONTACT CONMENT 0 15.START PAGE 1
L) If both parameter are O, the comments for
the entire range are printed. 8. COIL COMllSNT 0 16.NACHJ.NENANING o
9. COtitfRNT 0 17.SPECIFIEDDEVICE X
P:ess PRINT and press INPUT .
1- 10. PORT 1
I8. START NO.
I9. END NO.
o
3FF
1) The
system starts printing the ladder
program and diaplaya RXECUTION on the
screen. 3 ( ) DATA ( ,
2) When printing is completed, COl@LETED ia
displayed.
SEX 1 PRINT 1

- 185 -
7-3-8 Interrupting Printing

Operate as follows to interrupt printing.

Press -l key. PRINT OUTPUT


#
1.LADDFR
PROGM 1 Il.
PRINT FORN
1) Printing is interrupted. 2. COMMENT o (O: ELITE.1: CONDRNSED)O
2) Message EXIT is displayed. 3.COWT + CROSS O 12.LINE SPACING 1
4. ALARN NESSAGE (10: 1/6 1: 1/8 INCH)
5. OPERATOR NRSSAGE 13.START STEP o
6. PLC SWITCH 1 14.RND STEP 12345
7. CONTACT CONNENT O 15.START PAGE I
8. COIL CONMENT O 16.MACHINE NAMING o
9. CONMSNT O 17.SPECIFIED DEVICE X
18.START NO. o
10.PORT I 19.END NO. 3FF
EXIT
#( ) DATA ( )
b J
SET PRINT

7-4 Messages

Message Meaning Operator response

EXECUTION Data is being printed. ---

COMPLETED Printing is completed. ---

EXIT Printing is interrupted. ---

SETTING ERROR The set value is outside the Set the correct value with-
range. in the range.

NO PROGlW4 FOUND The specified program is not Create the program or spe-
in memory. cify an existing program.

- 186 -
7-5 Example of Printout

7-5-1 Example of Printout of Ladder Program in Elite Mode

The numbers in circles indicate the following:

Step number
Device
Contact comment (up to six characters printed)
Contact cross
Coil comment (up to 18 characters printed)
Coil crosspoints (up to four points printed per line)

Example 1-1 (ladder + comment + cross), Elite, 1/6 inch

FILE PRT5

EXTERNAL COIL YO1


9 14 22 31
32 33 34 35
36 37 42 51
I 111 138
I

777
L 11

I
I FO EXTERNAL COIL Y04
20 40

I 103 38 9 141
Yo Yo Yo Yo Yo Yo M8 1NTERNAL COIL MO08
w v v
21 I-q+{ I /1 AI x Ar 29 39 %2
xl {I
\ SETF2 SETY1 SETYO SETYO SETYO SETYO SETYO SETYO ‘5
,_J ;4 9 38 3a 38 38 38 38
EXTERNAL COIL YOO
1’30 ~ Itil ~ @T&~y~,yHTyH,,&O 13 23 24 25
SETXO SETY1 SETY1 26 27 28 3B
-t 59 96 100 105
123 135
;~’ ‘ 9 9 ‘ ‘ ‘
\
I 6
I I
PLC TIMER TOO

3’ ‘~TM~ ‘0 ’33
I
58 73 116

- 187 -
7* PRINT-OUT FUNCTION

7-5 Example of Printout

Example 1-2 (ladder i-comment + cross), Elite, 1/8 inch

FILE PRT5

11

EXTERNAL COIL Y04


20 40

INTERNAL COIL MO08


29 39

I EXTERNAL COIL YOO


13 23 24 25
26 27 28 38

I 59
123
96
135
100 105

I
I ~~
46~++1---(= DO D4 +Ty_++$*Tl D15
ISETX6 , SETY3
9 141
I I PLC COUNTER CDO
i-
I
L
, )-+ ~co
SETYO
K37 1 64 75 121

I 44 38
PLC COUNTER CO1
~ &u~~\M%TM~Tj_++TM~ c1 D16 76 122

61 139 142 I
I
k!” INTERNAL COIL M077
73:1 #--+--+~;Qi ] I 77
COUNT1 1
44 55 61 71 I
I
i- ~CJ P250 JUMP P250
I 79 158
I
I INTERNAL COIL M079
~ 80

I I

- 188 -
1 7. PRINT-OUT FUNCTION

I 7-5 Example of Printout


I
7-5-2 Example of Printout of Ladder Program in Condensed

The numbers in circles indicate the following:

Step number
Device
Contact comment (up to six characters printed)
Contact cross
Coil comment (up to 18 characters printed)
Coil crosspoints (up to 11 points printed per line)

Example 2-1 (ladder + comment + cross), Condensed, 1/6 inch

FILE PRT5

I ExTERNAL co!L Yol


o;p-+d!#l&-+dilaHy’ )f 9 14 22 31 33 34 35 36 37 42
SETXO 1 SETX1 SETX2 SETX3 SETX4 SETX5 SETX6 SETX7 51 111 138
I I
I Y77 I
l-- ~)j 11
I
1 FO Y4 I EXTERNAL COIL Y04
121--’A;:IGAN AHAH ~ ’20 40
1 ~[:FO SETYO SETY1 SETY2 SETY3 SETY5 SETY6 SETY7
3a 9 141 I
I F2 I INTERNAL Col L MO08
21 t—; <1 ~ti29 39
I SETF2 SETYI SETYO SETYO SETYO SETYO SETYO SETYO I
I
2 & 9 38 38 38 38 38 38 A-%----5
I EXTERNAL COIL YOO
\
w3fiAtdd-G-a#i#iHy0 H 13 23 24 25 26 27 28 38 59 96 100
SETXO SETY1 SETYI SETYI SETYI SETY1 SETYI SETY1 105 123 135
,-lcJgcJ~lJgQ >6
1
I M8
~
PLC TIMER TOO
39H~ TO K33 58 73 116
4< .SJTM6 i SETY1
19
IY4 ‘
H~
, ;yY4 ,

IY5
I---Id
‘SETY5 I
I
I x6 PLC TIMER TO1
46 t--i ~~= 00 04 #i##+l T1 o15 i 74 117 120
SETX6 [ SETY1 SETY2 SETY3
1, 9 141
I
I
PLC COUNTER COO
l-- L4 ~ co K37 ; 64 75 121
[TIMERO SETYO

PLC COUNTER CO1


76 122

- 189 -
Example 2-2 (ladder + comment + cross), Condensed, 1/8 inch

FILE PRT5
1 Xo EXTERNAL COIL YO1
Ot ;; ,x’j~ ‘~; ‘3;/ X4;; X5;: x6:i x7ii ~’ j 9 14 22 31 32 33 34 35 36 37 42
SETXO SETXI SETX2 SETX3 SETX4 SETX5 SETX6 SETX7 ~ 51 111 138
1! I
i Y77 ‘
t
11

I I
Y4 EXTERNAL COIL Y04
12p& AA-%%ddh 28 40
SETFO ;;TYO SETY1 SETY2 SETY3 SETY5 SETY6 SETY7
I103 9 141 I
INTERNAL COIL MO08
21 M+ ~M8 29 39
SETF2 ;ETY1 SETYO SETYO ;;TYO j;TYO ;;TYO SETYO
I 104
. 38 38 38 1

Soyo:i y’;; Y’li !; Y’ll Y’l; Vi Y’il (


Yo EXTERNAL COIL YOO
13 23 24 25 26 27 28 38 59 96 100
,SETXO SETY1 SETY1 SETY1 SETYI ;ETYI SETYI SETYI 105 123 135
9 I
9999 9
..-
IMR Y1 PLC TIMER TOO
39y ‘“’w ( TO K33 58 73 116
,~T18 $Efh
I

fiH I
I

I
I

I
PLC TIMER TDI
46%+= 00 D4 #+~~ TI D15 j 74 117 120
,SETX6 , SETY1 SETY2 SETY3
9 141
i To
I
t w~~
1jjMERO j;TYO
CO K37
PLC COUNTER COO
64 75 121

Ico PLC COUNTER COI


i- +&Odti &#!+ Cl 016 76 122
COUNTO SETMO SETM1 SETM2 SETM3 SETM4
I
$!77 INTERNAL COIL M077
731-% AJu!t 77
l;jMERO ~~MER1~;uNTo;;uNTl \ I
I I
t ~ CJ P25 }; JUMP P250
I 79 158
I
I
k ~M79 I ;!TERNALco’L ’079
1
I
IX3 I
81 41 ~‘2J~ PLS M17)j PULS COMMAND M017
1SETX3 ISETX2 SETXI ;&l ;j~MD SETY4 , 92 95
I
1M,7 Y34 I EXTERNAL COIL Y34
‘p! t-l HtdF-t)l 97
,SETM1l1 ETM17 $;TYO
I:2
1M12 \ IFo Yo Y52 ; EXTERNAL COIL Y52
,., ,Y
&TMj 41 41 { 101
SETFO SETYO
103 38 I
;Mlf: / I

jSETi14 I

I I

- 190 -
7. PRINT-OUT FUNCTION

7-5 Example of Printout

7-5-3 Example of Printout of Alarm Messages

FILE MSGCK1
NO COMMENT
o O ALMROO
1 1 ALMRO1
2 2 ALMR02
3 3 ALMR03
4 4 ALMR04
5 5 ALMR05
6 6 ALMR06
7 7 ALMR07
8 8 ALMR08
9 9 ALMR09
10 10 ALMR1O
11 11 ALMRII
12 12 ALMR12
13 13 ALMR13
14 14 ALMR14
15 15 ALMR15
16 16 ALMR16
17 17 ALMR17
18 18 ALMR18
19 19 ALMR19
20 20 ALMR20
21 21 ALMR21
22 22 ALMR22
23 23 ALMR23
24 24 ALMR24
25 25 ALMR25
26 26 ALMR26
27 27 ALMR27
28 28 ALMR28
29 29 ALMR29
30 30 ALMR30
31 31 ALMR31
32 32 ALMR32
33 33 ALMR33
34 34 ALMR34
35 35 ALMR35
36 36 ALMR36
37 37 ALMR37
38 38 ALMR38
39 39 ALMR39
40 40 ALMR40
41 41 ALMR41
42 42 ALMR42
43 43 ALMR43
44 44 ALMR44
45 45 ALMR45
46 46 ALMR46
47 47 ALMR47
48 48 ALMR48
49 49 ALMR49

- 191 -
I 7. PRINT-OUT FUNCTION
I

I 7-5 Example of Printout I


7-5-4 Example of Printout of Operator Messages

FILE MSGCK1
NO COMMENT
0 O OPEAOO
1 1 OPEAO1
2 2 0PEA02
3 3 0PEA03
4 4 0PEA04
5 5 0PEA05
6 6 0PEA06
7 7 0PEA07
8 8 0PEA08
9 9 0PEA09
10 10 OPEA1O
11 11 OPEA1l
12 12 0PEA12
13 13 0PEA13
14 14 0PEA14
15 15 0PEA15
16 16 0PEA16
17 17 0PEA17
18 18 0PEA18
19 19 0PEA19
20 20 0PEA20
21 21 0PEA21
22 22 0PEA22
23 23 0PEA23
24 24 0PEA24
25 25 0PEA25
26 26 0PEA26
27 27 0PEA27
28 28 0PEA28
29 29 0PEA29
30 30 0PEA30
31 31 0PEA31
32 32 0PEA32
33 33 0PEA33
34 34 0PEA34
35 35 0PEA35
36 36 0PEA36
37 37 0PEA37
38 38 0PEA38
39 39 0PEA39
40 40 0PEA40
41 41 0PEA41
42 42 0PEA42
43 43 0PEA43
44 44 0PEA44
45 45 0PEA45
46 46 0PEA46
47 47 0PEA47
48 48 0PEA48
49 49 0PEA49

- 192 -
I 7, PRINT-OUT FUNCTION

7-5 Example of Printout

7-5-5 Example of Printout of PLC Switches

FILE MSGCK1
COMMENT
O PLCSWAOO
1 PLCSWAO1
2 PLCSWA02
3 PLCSWA03
4 PLCSWA04
5 PLCSWA05
6 PLCSWA06
7 PLCSWA07
8 PLCSWA08
9 PLCSWA09
10 PLCSWA1O
11 PLCSWA1l
12 PLCSWA12
13 PLCSWA13
14 PLCSWA14
15 PLCSWA15
16 PLCSWA16
17 PLCSWA17
18 PLCSWA18
19 PLCSWA19
20 PLCSWA20
21 PLCSWA21
22 PLCSWA22
23 PLCSWA23
24 PLCSWA24
25 PLCSWA25
26 PLCSWA26
27 PLCSWA27
28 PLCSWA28
29 PLCSWA29
30 PLCSWA30
31 PLCSWA31

- 193 -
I 7. PRINT-OUT FUNCTION
I
I 7-5 Example of Printout I
7-5-6 Example of Printout of Contact Comments

FILE MSSGPRT
COMMENT
Xo SETXO X2B X56
xl SETX1 X2C x57
x2 SETX2 X2D X58
x3 SETX3 X2E x59
x4 SETX4 X2F X5A
x5 SETX5 X30 X5B
X6 SETX6 X31 X5C
x7 SETX7 X32 X5D
X8 SETXB x33 X5E
x9 x34 X5F
XA x35 X60
XB X36 X61
xc x37 X62
XD X38 X63
XE x39 X64
XF X3A X65
Xlo X3B x66
xl1 X3C X67
X12 X3D x68
X13 X3E X69
X14 X3F X6A
X15 X40 X6B
X16 X41 X6C
X17 X42 X6D
X18 x43 X6E
X19 x44 X6F
XIA x45 X70
XIB X46 X71
Xlc x47 X72
XID X48 x73
XIE x49 x74
XIF X4A x75
X20 X4B X76
X21 X4C x77
x22 X4D X78
X23 X4E x79
X24 X4F X7A
X25 X50 X7B
X26 X51 X7C
X27 X52 X7D
X28 x53 X7E
X29 x54 X7F
X2A x55

- 194 -
I 7. PRINT-OUT FUNCTION

7-5 Example of Printout

7-5-7 Example of Printout of Coil Comments


FILE MSSGPRT

COMMENT LIST

DEVICE COMMENT LIST DEVICE COMMENT LIST DEVICE COMMENT LIST


Yo EXTERNAL COIL YOO Y2B Y56
Y1 EXTERNAL COIL YO1 Y2C Y57
Y2 Y2D Y58
Y3 Y2E Y59
Y4 EXTERNAL COIL Y04 Y2F Y5A
Y5 Y30 Y5B
Y6 Y31 Y5C
Y7 Y32 Y5D
Y8 Y33 Y5E
Y9 Y34 EXTERNAL COIL Y34 Y5F
YA x35 Y60
YB Y36 Y61
Yc Y37 Y62
YD Y38 Y63
YE Y39 Y64
YF Y3A Y65
Ylo EXTERNAL COIL YOIO Y3B Y66
Y11 Y3C Y67
Y12 Y3D Y68
YI3 Y3E Y69
Y14 Y3F Y6A
Y15 Y40 Y6B
Y16 Y41 Y6C
X17 Y42 Y6D
Y18 Y43 Y6E
Y19 Y44 Y6F
YIA Y45 Y70
XIB Y46 Y71
Y1c Y47 ‘i72
Y1D Y48 Y73
YIE Y49 x74
YIF Y4A Y75
Y20 Y4B Y76
Y21 Y4C Y77
Y22 Y4D Y78
Y23 Y4E Y79
Y24 Y4F Y7A
Y25 Y50 Y7B
Y26 Y51 Y7C
Y27 Y52 EXTERNAL COIL Y52 Y7D
X28 Y53 Y7E
Y29 Y54 Y7F
Y2A Y55

- 195 -
7. PRINT-OUT FUNCTION

7-5 Example of Printout

7-5-8 Example of Printout of Comments


FILE MSG

COMMENT
01 0 SYUJIKU
11 0 TAIKI
21 0 GENZAITI
32 0 SYUJIKU o ?0 100 120
420’ % ‘—~—;—i—;—’—;—;—;—:—:—~—:
52 0 SPINDLE o 50 100
620’ % ‘—;—;—;—;—;—;—;—;—;—’
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

- 196 -
8. MESSAGES

8. MESSAGES

During operation on board, messages are displayed on the CRT display


terminal.

There are two types of messages: error messages and function messages.

(1) Error messages

An errormessage is displayed when the operator operates the E3 unit


incorrectly or defines invalid data.

Error message Meaning Action to be taken

OPERATION ERROR The unit is operated incorrectly. Operate the unit correctly.

SETTING ERROR Invalid data is input in the data Input correct data.
setting field.

PROG NOT FOUND @~en an aitempt was made to @Specify a device,


search a device, instruction> instruction, or coil used
or coil in read mode, the spe- in the ladder circuit.
cified device, instruction, or
coil was not found.

@Whenan attempt was made to @Specify an existing


print a ladder or mes~age, the program.
specified ladder or message
data was not found.

COMMAND CODE In write mode, the specified Specify the sequence


ERROR sequence instruction is invalid. instruction correctly.

DEVICE NO. In write mode, an invalid device Specify a valid device


ERROR number is specified. number.

COIL ALREADY In write mode, the same name as Although the message is
USED the existing coil is specified. displayed, the specified
data is written.

LADDER ERROR There is a circuit that cannot be Delete or recreate .the


converted in convert mode. circuit. .

PROGRAM SIZE In convert mode, the circuit size Using the file function,
OVER exceeds the registered size. increase the registered size,

PLC RUN An attempt is made to edit the Stop the user PLC by setting
user PLC program while it is system selection switch
running. (An attempt is made to No. 2 to on or by CRT
perform some operation inhibited operation as described
while the user PLC is running.) under section 3-1-2.

WRITE PROTECT An attempt is made to edit the The program in ROM cannot
user PLC program in ROM. be edited.

- 197 -
18. MESSAGES
I

Error message Meaning Action to be taken

NOT WRITE An attempt is made to write data Perform a necessary read


without a read operation such as operation.
a step search or coil search.
ROM CARD ERROR No card or a ROM card (MC411 or Enstall the RAM card or
MC413) is installed for the PLC. replace the ROM card with
the RAM card.

UIRCUIT When an attempt is made to create :hange the ladder circuit


30NTINUAT.IVE a ladder circuit with six or more :0 up to six returns.
SIZE OVER returns.

LADDER OVER When the created circuit exceeds :hange the circuit to up to
FLOW 18 stages after return. L8 stages after return.

UIRCUIT @ When a vertical line exists @ Place a vertical line


CONTINUATION at the return start position at a position after
ERROR in an extended circuit. return.
@ When anattemptis made to @ Extensio. operation
perform two or more returns cannot be performed.
in a circuit having two or Create a new circuit by
more extended lines. write operation, etc.

PARAMETER System copy function parameter Set bit selection parameter


ERROR is not set. k51 bit 1 to 1.

SETTING 1 Invalid key data is entered. Enter valid key data.


ERROR 82 An attempt is made to read
messages exceeding the number
of registered messages.

MESSAGE LINK Message size cannot be judged legister it on message


ERROR correctly. initial.

FILE NOT FOUND The specified file does not exist Specify the correct file
on the floppy disk. name.

NO MFD WRITE The floppy disk does not have Replace the floppy disk.
AREA enough space to store more data.

MFD FORMAT ERRO1 @ No floppy disk is inserted Insert the floppy disk
into the drive. into the drive.
@ The floppy disk is formatted Initialize (format) the
differently, floppy disk.

FILE ENTRY OVER There are already 30 files Replace the floppy disk.
(maximum value) cataloged on
the floppy disk.

- 198 -
8. MESSAGES I

(2) Function messages

The function messages are displayed to give operation instructions or


report processing states.

Function message Description

SELECT FUNCTION Displayed when function selection is needed.

DISPLAY OVER FLOW Displayed when an attempt is made to move the cursor two
screens or more with the down cursor key ~ . Pressing
0
the ~ key cannot scroll the screen any more.
o

IADDER END Displayed when the last program is read in read mode.

DELETE 1-CIRCUIT Displayed when deletion of one circuit is specified in


delete mode.

COMPLETED Displayed when execution of the specified command ends.

PRESS <CNV> Displayed when an attempt is made to read the user PLC
Program after editing (writing, inserting, or deleting) it
but before conversion.

DELETE l-CIRCUIT Displayed when deletion of a circuit block in the


(DISP) buffer (not yet converted) of the screen is specified
in delete mode.

EXECUTION Displayed while the specified command is being


executed.

ERASE CHECK ERROR Displayed when ROM data is not completely erased as a
result of verification test in the ROM writing function
operation.

ROM WRITE ERROR Displayed when data is not written in ROM correctly in the
ROM writing function operation.

EXIT @Displayed when the ROM writing is interrupted by


pressing the
@ ‘r Bkey”
@Displayed when printing is interrupted by pressing the
~~~~,
key during printout operation.
c1

- 199 -
I 8. MESSAGES

Error message Meaning

COMPARE ERROR @ Displayed when amismatch occurs asthe result of


comparison of the contents between the ROM card (MC411
or MC413) and RAM card (MC941 or MC942).

@ Displayed when amismatch occurs asthe result of


comparison of the contents between the MFD file data
and RAM card (MC941 or MC942).

SELECT FILE: Displayed when an attempt is made to write ladder circuit


or perform message operation without registering edit file,

SELECT INIT! Displayed when an attempt is made to perform message


operation without setting the number of messages or the
data length on message initial.

- 200 -
Revision History Table

Sub-
Revi.siondate Revision contents
number
* Feb. 1990 This manual has been prepared (common to M300/300-V
series).

- 201 -

You might also like