Ib 1500179 A
Ib 1500179 A
Ib 1500179 A
Other company and product names that appear in this manual are trademarks or registered
trademarks of the respective companies.
DANGER
WARNING
CAUTION
DANGER
There are no "Danger" items in this manual.
WARNING
There are no "Warning" items in this manual.
CAUTION
1. Items related to product and manual
The manual issued by the machine maker has a priority over this manual regarding the
items described as "restrictions" and "usable state".
Please interpret items not listed in this manual as "not possible".
This manual assumes that all option functions are provided. Confirm the specifications
issued by the machine maker before using this unit.
Some screens and functions may differ or may not be usable depending on the NC system
version.
Setting incorrect value may cause machines illegal operation or driving out of control.
Pay enough attention at programming.
CAUTION
2. Items related to programming
If 5 CONVT and INPUT are not pressed after creating, correcting, adding or inserting a ladder
circuit, the created ladder circuit will be lost.
When using this function, the PLC can be put into a STOP status by setting the rotary switch
NCSYS on the lower part of the control unit to No. 1 (STOP).
An emergency stop will result when the user PLC is stopped with this function, in the same manner
as the method using the rotary switch NCSYS. First carry out an emergency stop using the
dedicated emergency stop button, etc., then put the user PLC in an emergency stop status.
CONTENTS
1 Outline...............................................................................................................................1
2 System Configuration .....................................................................................................2
2.1 PLC Development Tool...............................................................................................2
2.2 General Configuration.................................................................................................3
2.3 Setting and Display Unit .............................................................................................4
2.4 System Selection ........................................................................................................5
2.4.1 Parameter setting................................................................................................5
3 Creating Ladder Circuit and Monitor Operation.........................................................16
3.1 Creating the File........................................................................................................23
3.1.1 Registering the edit file......................................................................................23
3.1.2 User PLC RUN/STOP by setting and display unit operation............................24
3.2 Writing the Circuit......................................................................................................25
3.2.1 Creating the circuit ............................................................................................25
3.2.2 Modifying the existing circuit .............................................................................26
3.2.3 Adding the circuit block .....................................................................................27
3.3 Reading the Circuit ...................................................................................................29
3.3.1 Reading the circuit by step number ..................................................................29
3.3.2 Reading the circuit by device number ..............................................................32
3.3.3 Reading the circuit by contact or coil number...................................................33
3.3.4 Reading the circuit by instruction......................................................................34
3.3.5 Reading the circuit by END instruction .............................................................36
3.3.6 Circuit read function ..........................................................................................37
3.4 Inserting the Circuit ...................................................................................................38
3.4.1 Inserting the circuit symbol ...............................................................................38
3.5 Deleting the Circuit....................................................................................................42
3.5.1 Deleting the circuit block ...................................................................................42
3.5.2 Deleting the circuit symbol ................................................................................45
3.6 Circuit Extension Function ........................................................................................48
3.6.1 Extension circuit operation examples ...............................................................49
3.6.2 Error message...................................................................................................57
3.6.3 Relationship between number of returns and circuit length .............................59
3.7 Monitoring the Ladder Circuit....................................................................................60
3.7.1 Monitoring the circuit .........................................................................................62
3.7.2 Freezing the screen at monitor stop trigger point.............................................64
3.7.3 Monitoring the registered device.......................................................................66
3.7.4 Monitoring the current value in decimal hexadecimal notation ........................68
4 Precautions for PLC Development Environment of GX Developer .........................69
4.1 Starting......................................................................................................................69
4.2 Onboard Initial Menu.................................................................................................69
4.3 PLC File Information + RUN/STOP Changeover Screen ........................................70
4.4 Restrictions for Circuit Display..................................................................................71
5 Messages.........................................................................................................................72
6 Alarm Messages Related to PLC ..................................................................................74
1. Outline
1. Outline
This manual is created for development of user PLC on the control unit. PLC operation performed on the
control unit is called onboard operation. The main functions of the onboard operation are listed below.
(1) Creation of new ladder files
(2) Edit of existing ladder circuits (read, write, insertion, and deletion)
(3) Ladder circuit monitor
User PLC can also be developed by using a personal computer without using the onboard unit.
(Optional software will be required.)
Mitsubishi Integrated FA Software MELSOFT GX Series "GX Developer"
The related documents are listed below.
EZMotion-NC E60/E68 Series PLC Interface Manual
IB-1500176(ENG)
EZMotion-NC E60/E68 Series PLC Programming Manual (Ladder section with MELSEC tool)
IB-1500178(ENG)
EZMotion-NC E60/E68 Series PLC Development Software Manual (MELSEC Tool Section)
IB-1500177(ENG)
Note) PLC : Programmable Logic Controller
-1-
2. System Configuration
2.1 PLC Development Tool
2. System Configuration
2.1
In addition to the onboard, the user PLC can be developed using the development tool operated with
the personal computer.
(1) MELSEC PLC Development Tool "GX Developer"
The GX Developer is a programming software package for the Programmable Controller MELSEC
Series produced by Mitsubishi Electric Corporation. The User PLC Ladder for EZMotion-NC
E60/E68 can be developed with the same operation as the MELSEC Series. Note that some of the
MELSEC Series specific functions cannot be used. For the details, refer to the "PLC Development
Software Manual (MELSEC Tool Section) (IB-1500177(ENG))".
When creating the user PLC using the GX Developer and editing that with the onboard operation, it
is necessary to set the parameter in the CNC side. For the details, refer to "2.4 System Selection".
-2-
2. System Configuration
2.2 General Configuration
2.2
General Configuration
Setting
and
Display
Setting and
Display
Unit Unit
Ladder editing, ladder monitor
and PLC RUN/STOP, etc.
BaseI/OI/O
Unit
Base
Unit
To connector RS-232C
RS-232C
RS232C
Up/downloading is carried out with
the personal computer's development
tool.
Personal computer
General printer
Note) Refer to this manual for editing using the setting and display unit (onboard editing), and refer
to the "PLC Development Software Manual (MELSEC Tool Section) (IB-1500177(ENG))" for
development using the personal computer.
-3-
2. System Configuration
2.3 Setting and Display Unit
2.3
The following is a representative example of a setting and display unit used onboard.
Alphabetic character,
numerical character,
and symbol keys
READY LED
Setting keys
READY
MONITOR
TOOL
PARAM
EDIT
MDI
DIAGN
IN/OUT
SFG
F0
SP
EOB
DELETE
C.B
INS
CAN
SHIFT
INPUT
CALC
RESET
Menu keys
Shift key
Reset key
Page keys
Cursor keys
Data correction keys
Input key (calculation)
(Note 1) To input the alphabetic characters or symbols on the lower right of the alphabetic character
and symbol keys, press SHIFT , then press the corresponding key.
(Example) "A" is input by pressing
-4-
SHIFT
O
A
2. System Configuration
2.4 System Selection
2.4
2.4.1
System Selection
Parameter setting
The parameters for user PLC development with the control unit and to operate the user PLC are
explained.
The parameters are set in "SETUP PARAMETER" on the BIT SELECTION screen. Refer to the control
unit instruction manual for information about the BIT SELECTION screen handling method.
(1) PLC environment selection
[BIT SELECTION PARAMETER screen]
# (6451)
Data
7 6 5 4 3 2 1 0 <(0 0 0 0 0 0 0 0 )
Bit
(Note)
Turn the CNC power OFF after the parameter setting. Parameters are valid after the
power is turned ON again.
Depending on the setting of the bit selection #6451 bits, the operation is performed below.
(a) PLC environment selection
Choose the GX Developer mode (bit4=1).
(Note) The onboard will not start if the ladder format stored in the CNC is other than the GX
Developer.
Bit 4 = 0
Not used for EZMotion-NC E60/E68.
Bit 4 = 1
The PLC development environment of the GX Developer.
(b) GX Developer communication usage selection
Choose to use the serial port in GX Developer or in the other functions.
Bit 5 = 0
The serial port is not used for the communication with the GX Developer.
Bit 5 = 1
The serial port is used for the communication with the GX Developer.
Note that the onboard will not start regardless of the bit 4 setting.
(c) Operation state depending on each bit selection
Bit 4
0
1
Bit 5
0
Operation state
Onboard does not starts.
PLC environment for GX Developer (When using the onboard)
PLC environment for GX Developer (When using communication)
Onboard does not starts.
-5-
2. System Configuration
2.4 System Selection
# ( 6451 )
Data
76543210
Bit
(00000001)
Use of parameter
#6451
Operation is performed depending on how bit selection parameter # 6451 bits are set:
(a) Onboard operation on
Bit 0 = 0 : Onboard operation is off. Nothing will display even if
F0
is on.
Bit 0 = 1 : Screen is displayed for user PLC development, ladder monitor and ROM
write, etc.
(b) Onboard editing validity
Bit 2 = 0 : Onboard ladder editing is possible.
Bit 2 = 1 : Onboard ladder editing is not possible. Note that ladder monitoring is
possible.
-6-
2. System Configuration
2.4 System Selection
76543210
# ( 6449 )
Data
Use of parameter
#6449
(000000)
0 : Timer (T) setup value screen on
1 : Timer (T) setup value program on
0 : Counter (C) setup value screen on
1 : Counter (C) setup value program on
Operation is performed depending on how bit selection parameter #6449 bits 0 and 1 are set:
Bits 0 and 1 = 0
The values set in the PLC TIMER and PLC COUNTER screens SETUP PARAMETERS are
used as the timer and counter setup values.
Bits 0 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 setup parameters.
Thus, even if bits 0 and 1 are set to 11, the valid setup values can be checked on the screens
in the PLC-RUN state.
However, no values can be set. If a value is set, the message "E05 NOT ACCEPTABLE" is
displayed.
When bits 0 and 1 are set to 0, the constant K values are ignored and the values set on the
screens become valid. However, since K* cannot be omitted in programming, any numeric
value must be entered in K* for programming.
-7-
2. System Configuration
2.4 System Selection
# ( 6449 )
Data
Integrated timer
(T232 to T239) and
counter (C0 to C23)
use #6449.
# ( 6452 )
Data
Integrated timer
(T240 to T255) and
counter (C24 to
C127) use #6452.
76543210
Bit
(00001100)
0 : Integrated timer (T232 to T239) retention off (no
retention)
1 I t
t d ti
(T232 t T239) t ti
0 : Counter (C0 to C23) retention off (no retention)
1 : Counter (C0 to C23) retention on
76543210
Bit
(00001100)
0 : Integrated timer (T240 to T255) retention off (not retention)
1 : Integrated timer (T240 to T255) retention on
0 : Counter (C24 to C127) retention off (no retention)
1 : Counter (C24 to C127) retention on
Bits 2 and 3 = 0
The current values of the integrated timer and the counter are reset to 0 when the NC power is
turned off.
Bits 2 and 3 = 1
The current values of the integrated timer and the counter are not reset to 0 even if the NC
power is turned off. The values before the power is turned off are retained.
-8-
2. System Configuration
2.4 System Selection
# ( 6449 )
76543210
Bit
(10000000)
Data
Use of parameter
#6449
0 : Control unit thermal alarm detection off
1 : Control unit thermal alarm detection on
File register
R57
0
Bit 0: Controller overheat
-9-
2. System Configuration
2.4 System Selection
76543210
# ( 6450 )
Data
(0000001)
0 : Alarm message off
1 : Alarm message on
Use of parameter
#6450
0 : F method interface
1 : R method interface
For the details on the alarm message display method, refer to the "PLC Programming Manual
(Ladder section with MELSEC tool) (IB-1500178(ENG))".
# ( 6450 )
Data
Use of parameter
#6450
76543210
(00000100
Bit
)
0 : Operator message off
1: Operator message on
For the details on the operator message display method, refer to the "PLC Programming Manual
(Ladder section with MELSEC tool) (IB-1500178(ENG))".
- 10 -
2. System Configuration
2.4 System Selection
76543210
# ( 6450 )
Data
(0010000)
Use of parameter
#6450
Depending on the settings of bits 4 and 5 of bit selection parameter #6450, the CNC operates as
follows:
Bit 4 = 0
Alarm and operator messages are displayed only on the alarm diagnostic screen but not on all
screens.
Bit 4 = 1
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 in #6450.
Regardless of the setting of this parameter, the alarm diagnostic screen displays alarm and
operator messages in full.
Bit 5 = 0
Alarm messages are displayed when "message display on all screens" is selected.
Bit 5 = 1
Operator messages are displayed when "message display on all screens" is selected.
<Example of parameter setting>
7
0/1
0/1
0/1
0/1
- 11 -
Bit
2. System Configuration
2.4 System Selection
Depending on the setting of bit selection #6450 bits, the operation is performed below.
Bit 6 = 0
The PLC alarm message in the user PLC is displayed.
Bit 6 = 1
The external alarm message input with the text format is displayed.
(10) Message language change code
This parameter is set to change display language (message division) when message data is
displayed on the screen.
[BIT SELECTION PARAMETER screen]
# ( 6453 )
Data
76543210
Bit
(00000000)
No.
#6453
Bit
Remarks
Language 1 is displayed.
Language 2 is displayed.
Language 3 is displayed.
Language 4 is displayed.
Language 5 is displayed.
Language 6 is displayed.
Language 7 is displayed.
Language 8 is displayed.
2. System Configuration
2.4 System Selection
# ( 6469 )
Data
Use of parameter
#6469
76543210
Bit
(00000001)
0 : Include NC alarm 4 in alarm output
1: Do not include NC alarm 4 in alarm output
Bit 0 = 0
When using the standard PLC specifications without the additional remote IO, there is no
output point for the NC alarms 2, 3 and 4. Thus, when the additional DIO card is not used, the
logical sum of NC alarm 1, 2, 3 and 4 are output in NC alarm 1 output. This parameter selects
whether the NC alarm 4 that indicates an operation alarm is included at that time. (Bit 0 = 0
includes the NC alarm 4.)
Bit 0 = 1
The operation error NC alarm 4 is not included in the NC alarm 1 output explained in Bit 0 = 0.
- 13 -
2. System Configuration
2.4 System Selection
name
#6449
0
R2924
Controller
thermal
alarm on
R2924 H
R2925
R2925 H
R2926
R2926 H
R2927
Reserved
External
alarm
message
display
#6450
1
#6451
L
3
Counter C
retention
Alarm/
operator
change
Full screen
display of
message
GX
Developer
communication on
PLC
development
environment
selection
#6452
Integrated
timer T
retention
1
PLC counter
program on
0
PLC counter
program on
1
0
R
F
Operator
Alarm
message on method method message on
Onboard
editing not
possible
Counter
(fixed)
retention
Integrated
timer
(fixed)
retention
Onboard on
#6453
L
R2927 H
R2928
R2928 H
R2929
(Spare)
R2929 H
(Spare)
R2930
R2930 H
R2931
(Spare)
R2931 H
(Spare)
#6454
#6455
#6456
#6457
#6458
#6459
#6460
#6461
#6462
#6463
#6464
- 14 -
2. System Configuration
2.4 System Selection
Symbol
name
#6465
R2932 L
#6466
R2932 H
#6467
R2933 L
#6468
R2933 H
#6469
R2934 L
NC alarm 4
output off
#6470
R2934 H
#6471
R2935 L
#6472
R2935 H
#6473
R2936 L
#6474
R2936 H
#6475
R2937 L
#6476
R2937 H
#6477
R2938 L
#6478
R2938 H
#6479
R2939 L
#6480
R2939 H
Standard PLC
parameter
- 15 -
<
>
Note :
To edit or create ladder circuits, stop the
user PLC. For the operation procedure,
see the section "3.1.2 User PLC
RUN/STOP by setting and display unit
operation."
Built-in
memory
Mode
File
specifica-tion
mode
- 16 -
MESSG.
LADDER
MENU
FILE
Press menu key
MENU
MENU
4 LADDER
(Submenu)
2 CIRCUT
Press menu key
2 CIRCUT
(Operation menu)
1 READ
2 WRITE
5 COMVT
1
5
3 INSERT
4 DELETE
MENU
6 MONIT
2
3
7
MENU
MENU
MENU
9 SET
MEM (
MENU
4002 STEP )
- 17 -
MENU
Circuit
symbol
+ device number
(Example)
2)
Circuit
symbol
(Example)
3)
Circuit
symbol
(Example)
4)
Circuit
symbol
(Example)
5)
Circuit
symbol
(Example)
- 18 -
INPUT
key is
INPUT
CALC
, but is shown as
INPUT
in this manual.
Basic key
operation
D+
Alternative key
operation
A
Instruction
Basic key
operation
Alternative key
operation
LD>
>
AND>
>
OR>
>
LDD>
>
ANDD>
>
ORD>
>
LD<
<
AND<
<
D/
LD=
OR<
<
AND=
LDD<
<
OR=
ANDD<
<
LDD=
ORD<
<
ANDD=
SPACE
SP
ORD=
(Example) To program
[
SP
SP
INPUT
It is displayed in the setting area as the key sequence is entered during operation.
However, when INPUT is pressed, the program (circuit) is displayed in the ladder display
area as
- 19 -
(4) Terms
(a) Device and device No.
The device is the address signal used to classify the signals handled by the PLC, and the
device No. is a serial No. assigned to that device. The device Nos. for device X, Y, M and H are
hexadecimal, and all others are decimals.
(b) Device list
Device
X
Device number
X0 to XABF
(2752)
Unit
1 bit
Contents
Input signal to PLC, such as machine input
Y0 to YDFF
(3584)
1 bit
M0 to M8191
(8192)
1 bit
Temporary storage
F0 to F127
(128)
1 bit
L0 to L255
(256)
1 bit
SM0 to SM127
(128)
1 bit
Special relay
T0 to T15
(16)
1 bit/16 bits
10 ms unit timer
T16 to T55
(40)
1 bit/16 bits
T56 to T135
(80)
1 bit/16 bits
T136 to T231
(96)
1 bit/16 bits
SM
T232 to T239
(8)
1 bit/16 bits
T240 to T255
(16)
1 bit/16 bits
C0 to C23
(24)
1 bit/16 bits
Counter
C24 to C127
(104)
1 bit/16 bits
D0 to D1023
(1024)
16 bits/32 bits
R0 to R8191
(8192)
16 bits/32 bits
Z0 to Z1
(2)
16 bits
Z
N
P
N0 to N7
(8)
P0 to P255
(256)
H0 to HFFFF
H0 to HFFFFFFFF
K-32768 to K32767
K
K-2147483648 to
K2147483647
Contents
Used in the A-contact circuit.
Used in the B-contact circuit.
Used in the A-contact OR circuit.
Used in the B-contact OR circuit.
Used for a coil, (Y, M, F, L, SM, T, C)
Used for programming a functional instruction.
Used to connect circuit symbols.
Used to connect circuit symbols.
- 20 -
- 21 -
or
symbol.
- 22 -
MESSG.
MENU
FILE
Press function menu
3 FILE
.
(Submenu)
2 WRITE
4 RUN/SP
- 23 -
[Operation procedure]
(1) Press F0 and
3 FILE
(2) Press 4 RUN/SP to display the setting area. The message display area display "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
INPUT
INPUT
CAUTION
(1) The PLC can be put into a STOP status by setting the rotary switch NCSYS on the lower part
of the control unit to No. 1 (STOP).
(2) An emergency stop will result when the user PLC is stopped with this function, in the same
manner as the method using the rotary switch NCSYS. First carry out an emergency stop
using the dedicated emergency stop button, etc., then put the user PLC in an emergency
stop status.
- 24 -
- 25 -
[Operation procedure]
(1) According to the read operation, read the circuit block to be modified.
(2) Pressing 2 W RITE erases all circuit blocks from the screen, only leaving the circuit block at the
cursor position.
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 2 W RITE : the specified circuit block
moves to the top of the screen and the other blocks disappear.
Point
(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.
- 26 -
[Operation procedure]
(1) According to the read operation, read the circuit steps where a circuit block is to be added to.
(2) Pressing 2 W RITE erases all circuit blocks from the screen, only leaving the circuit block at the
cursor position.
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 2 W RITE : the specified circuit
block moves to the top of the screen and the other blocks disappear.
(3) Pressing + and INPUT erases the circuit block on the top of the screen and 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 5 CONVT and INPUT after adding the circuit.
(Example) Add the circuit block containing devices X5 and Y15 to step No.50.
- 27 -
Point
(1)
Inserting or adding a circuit block automatically changes the succeeding program step
numbers and CJ destination labels.
- 28 -
[Operation procedure]
(1) Press 2 CIRCUIT , 1 READ , and
9 SET
, enter the step number, then press INPUT . This
displays the circuit blocks starting from the one whose step number is specified on the screen.
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.
and
INPUT
displays the circuit on the previous screen (scrolling one screen up) while
pressing + and
INPUT
displays the circuit on the next screen (scrolling one screen down).
(2) Pressing
Pressing INPUT successively scrolls another screen down. when the screen is scrolled down to the
last circuit block, LADDER END is displayed in the message display area.
Pressing
after pressing INPUT and INPUT works the same as above.
Note) It takes time to display another screen by pressing
pressing + and
INPUT
and
INPUT
(3) If one circuit block is divided in two screens, use the cursor key or to move the cursor to
the top or bottom of the screen and further press the cursor key to scroll 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 the screen. Note that, however, pressing the cursor key can scroll the screen but cannot
display the next circuit.
(Example 1) Read the program with step No.100.
- 29 -
(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 four times.
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.
Pressing the cursor key further cannot display the next circuit block.
Similarly, pressing the cursor key cannot display the circuit blocks before the step read
out, step No. 100 in the above example.
- 30 -
(Example 3) After reading the program with step No.100, operate the + ,
and then
INPUT
keys.
100
- 31 -
INPUT
INPUT
INPUT
[Operation procedure]
(1) Press 2 CIRCUIT and 1 READ , enter the device number, then press INPUT .
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 INPUT , displays the circuit with the second smallest step number
under the circuit block currently displayed.
When the screen is full of circuit blocks, pressing INPUT pushes the first 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)
- 32 -
[Operation procedure]
(1) Press
2 CIRCUIT
1 READ
, or 5 < > ), enter the device number, then press INPUT . 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 INPUT displays the circuit with the second smallest
step number under the circuit block currently displayed. When the screen is full of circuit blocks,
pressing INPUT pushes the first circuit block out of the screen and adds another circuit block on the
bottom.
4
(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
contact A while pressing
(5) Pressing
<>
(Example) Read the circuit block containing contact A with device No. X10.
- 33 -
[Operation procedure]
(1) Press 2 CIRCUIT , 1 READ , and 6 [ ] , specify the instruction, and then press INPUT . The
circuit block containing the specified instruction is 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 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 INPUT pushes the first circuit block out of the screen
and adds another circuit block on the bottom. (See example 2.)
(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.
(Example 1)
insignificant.)
- 34 -
(here, M80 is
4023
- 35 -
[Operation procedure]
(1) Press 2 CIRCUIT , 1 READ , and 6 [ ] , type E N D , and then press
block immediately before the one containing the END instruction is displayed.
(Example) Read the last circuit block.
MEMORY (
4002 STEP)
- 36 -
INPUT
. The circuit
Example of displayed
circuit
Example of operation
2
9 SET
INPUT
Step number
Remarks
INPUT
INPUT
INPUT
Device number
T
Circuit symbol
and device.
INPUT
INPUT
INPUT
INPUT
<>
INPUT
<>
INPUT
INPUT
Circuit symbol
with instruction code.
6
INPUT
- 37 -
[Operation procedure]
(1) According to the circuit read operation, display the circuit block into which a circuit symbol is to be
inserted.
(2) Pressing
3 INSERT
erases all circuit blocks except for the one at the cursor position.
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 3 INSERT : the
specified circuit block 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
5 CONVT
and
INPUT
When INPUT is pressed, COMPLETED is displayed in the message display area and the updated
circuit is displayed.
Point
Inserting or adding a circuit changes automatically the succeeding program step numbers and CJ
destination labels.
- 38 -
(Example) Read step No.18 and insert contact B with device No.X8 as an AND circuit after the
contact with device No. Y15.
- 39 -
(ii)
- 40 -
- 41 -
[Operation procedure]
(1) According to the circuit read operation, display the circuit block to be deleted.
(2) Pressing 4 DELETE erases all circuit blocks except for the one at the cursor position.
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 4 DELETE : the specified circuit block
moves to the top of the screen.
(3) Press
<>
Pressing the
INPUT
or
Even when the target circuit block contains the data instruction for the output device, pressing
or 6 [ ] , and INPUT can delete the block.
4 DELETE and 5 < >
Note) After deleting the circuit block, there is no need to press
5 CONVT
and
INPUT
Point
Deleting a circuit changes automatically the succeeding program step numbers and CJ destination
labels.
- 42 -
(Example) Read step No.25 and delete the circuit block containing it.
- 43 -
(Example) When an attempt to press 5 CONVT and INPUT after creating the circuit causes a
LADDER ERROR, delete the faulty circuit block. Or, delete a circuit block before
pressing 5 CONVT and INPUT .
When a normal circuit block is deleted, DELETE 1-CIRCUIT is displayed in the message display
area. when a circuit block with no step number assigned is deleted, DELETE 1-CIRCUIT (DISP) is
displayed.
- 44 -
[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 position.
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 4 DELETE : the specified circuit block
moves to the top of the screen.
(3) Using the cursor keys, move the cursor to the circuit symbol to be deleted, and press
2
, or
5 CONVT
and
then press
INPUT
INPUT
to delete it.
When the INPUT key is pressed, COMPLETED is displayed in the message display area and the
updated circuit is displayed.
Point
Deleting a circuit symbol and conversion change automatically the succeeding program step
numbers and CJ destination labels.
- 45 -
(i)
(ii)
(iii)
- 46 -
(i)
- 47 -
3 INSERT
Ladder circuit display buffers consist of 18 stages long and nine contacts (containing a coil) wide. Six
stages are displayed on the screen. The section not displayed on the screens displayed by using
- 48 -
M11
Write
M21
Write
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
- 49 -
INPUT
is pressed.
X1
Write
X2
Write
- 50 -
Write
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.
- 51 -
F1
Insert
F2
Insert
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.
Circuit symbols to enable an extension during insertion
- 52 -
INPUT
is pressed.
(5) Insertion example 2 of a single extended line (when more than one coil exists)
F3
Insert
- 53 -
F3
Insert
F4
Insert
F5
Insert
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.
Insert
- 54 -
F1
Insert
- 55 -
F5
Insert
F6
Insert
M17
M18
M27
M28
- 56 -
Insert
F1
Insert
F1
Insert
F1
Insert
"LADDER OVER FLOW" occurs. The maximum number of stages as a result of extension is 18.
- 58 -
18
11
- 59 -
MEM (
4002 STEP )
- 60 -
(b) 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), counter (C), 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 to right in the monitor display section.
(Example)
Note 1) The set and current values of the timer and counter are monitored disregarding whether the
,
) or coils (
). If the set value is not a
circuit symbols are contacts (
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 "SETUP PARAMETERS" on the PLC TIMER
screen and PLC COUNTER screen 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.
BIT SELECT Parameter
#6449
OFF
BIT0
ON
OFF
BIT1
ON
Setting method
The timer value set in PLC TIMER screen is valid.
The timer value set in program is valid.
The counter value set in PLC COUNTER screen is valid.
The counter value set in program is valid.
- 61 -
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 0 to 65535 to decimal number. Therefore, if the contents
are BCD data, different figures are displayed.
(Example)
When D0 in the
When D0 in the
(c) The MCR instruction and function instructions are always displayed in the form of
regardless of the operation states. These are never displayed in
.
[Operation procedure]
(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 set and current
values of the timer, counter, data register, and file register for monitoring.
Successively pressing the + and
INPUT
To monitor the circuit preceding the one currently displayed, press the
and
INPUT
keys.
After this, the circuit preceding the current one can be monitored sequentially each time
pressed.
After pressing the
and
INPUT
INPUT
is
circuit. After this, the succeeding circuit can be monitored sequentially each time
- 62 -
INPUT
INPUT
is pressed.
MEM (
4002 STEP )
5.CONVT
6.MONIT
MENU
(b) Read the target circuit block by contact, coil number, or instruction, and then enter monitor
mode. (Note 1)
2
0
- 63 -
(c) After entering monitor mode, read the target circuit block by step number and then monitor it.
(d) After entering monitor mode, read the target circuit by contact, coil number, or instruction and
then monitor it. (Note 1)
Note 1) When monitor mode is entered in this way, the screen cannot be switched by pressing
and INPUT keys.
the + or
- 64 -
[Operation procedure]
(1) According to the circuit monitor operation, monitor the screen to be stopped at the trigger point.
(2) Press the
0~2
INPUT
Circuit
Symbol
, or
or
<>
device number, and then press INPUT . when the specified device changes, the monitor screen is
frozen with the current display kept.
(3) To release the frozen screen, press 6 MONIT 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.
MEM (
5.CONVT
4002 STEP )
6.MONIT
MENU
- 65 -
[Operation procedure]
(1) Enter monitor mode with circuit monitor operation.
(2) To monitor devices other than those displayed on the current monitor screen, press
register the target device, then press
monitor display area.
INPUT
INPUT
, the target
When several devices are registered, they are displayed sequentially from the right to left in the
monitor display area.
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),
counter (C), data register (D), or file register (R), the former is given priority.
For devices T, C, D, R, and index register (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 6 MONIT again, or display the previous or next
screen to change the display in the ladder display area.
- 66 -
(Example) According to the circuit monitor operation, display the screen to monitor, and register T5
and Y30 for registration monitoring.
5.CONVT
6.MONIT
MENU
- 67 -
[Operation procedure]
(1) According to the circuit monitor operation, display the circuit to be monitored.
(2) Press H , and INPUT : the decimal values of T, C, D, R and Z 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
INPUT
, or 6 MONIT .
(Example) Reading data register D10 and displaying the contents in hexadecimal number.
X1
- 68 -
Conditions
1: ON
1: ON (Note1)
0: OFF (Note1)
0: OFF
Note1) If the contents are changed, the power must be turned ON again.
When the conditions described above are not satisfied, the other function screen is displayed following
to the priority below, or a blank screen is displayed.
Sarvo waveform screen
High
> Onboard
Priority
Low
L AD D ER
FILE
MENU
The PLC file infomation + RUN/STOP
changeover screen is diaplayed.
- 69 -
)(
)(
)(
)(
)(
SIZE
28K BYTE)
K BYTE)
K BYTE)
K BYTE)
K BYTE)
RU N/ SP
RUN/STOP changeover screen
By pressing the "RUN/SP" menu, the current PLC state and data setting area are displayed on the lower
part of the screen.
PLC STOP
0:RUN 1:STOP ( )
PLC state
- 70 -
Onboard
8 contacts, 1 coil
GX Developer
11 contacts, 1 coil
9 stages
(Note) For the relationship between the number of the returns and the number of stages of the circuit,
refer to the section "3.6.3 Relationship between number of returns and circuit length".
(2) Process of circuit over restriction specification
When the circuit over the onboard circuit restriction specification is created in the GX Developer side,
the following messages are displayed.
Operation
The circuit is displayed
with the "READ" or
"MONIT" function.
The "WRITE", "INSERT
"DELETE" or "CONVT"
function is selected.
Message
"DISPLAY OVER FLOW"
Process
The circuit is not displayed.
(Only mother line is displayed.)
"NOT WRITE"
- 71 -
5. Messages
5. Messages
During operation onboard, messages are displayed on the screen.
There are two types of messages: error messages and function messages.
(1) Error messages
An error message is displayed when the operator operates the E3 unit incorrectly or defines invalid
data.
Error message
Meaning
Action to be taken
OPERATION ERROR
SETTING ERROR
COMMAND CODE
ERROR
COIL ALREADY
USED
LADDER ERROR
PROGRAM SIZE
OVER
PLC RUN
NOT WRITE
CIRCUIT
CONTINUATIVE SIZE
OVER
LADDER OVER
FLOW
- 72 -
5. Messages
Error message
Meaning
Action to be taken
SETTING ERROR
MESSAGE LINK
ERROR
CIRCUIT
CONTINUATION
ERROR
Description
SELECT FUNCTION
LADDER END
DELETE 1-CIRCUIT
COMPLETED
PRESS <CNV>
EXECUTION
SELECT FILE!
- 73 -
U10
Illegal
PLC
Sub-status
1
2
State
Remedy
EMG will
be
applied.
Only
alarm
display
EMG will
be
applied.
0x0080
GX Developer ladder
code error
0x008
EMG will
be
applied.
EMG will
be
applied.
0x0010
0x0040
U50
Stop
PLC
0x0400
Number
of
ladder
steps
0x800
Number
of
ladder
steps
Details
Software exceptional
interrupt
The ladder process
stopped abnormally
due to a S/W command
code illegal, etc.
Software exceptional
interrupt
The ladder process
stopped abnormally
due to a bus error, etc.
Bit 0: BIN command
operation error
Bit 1: BCD command
operation error
Bit6: CALL/CALLS/RET
command error
Bit7: IRET command
execution error
The ladder is stopped.
(The user ladder does
not run.)
- 74 -
EMG will
be
applied.
BIN and
BCD
error
Only
alarm
display
EMG will
be
applied
for other
than BIN
and
BCD.
Revision History
Date of revision
Manual No.
June.2008
IB(NA)1500179-A
Revision details
First edition created.
CHINA FA Center
EUROPEAN FA Center
KOREAN FA Center
ASEAN FA Center
HONG KONG FA Center
TAIWAN FA Center
Notice
Every effort has been made to keep up with software and hardware revisions in the
contents described in this manual. However, please understand that in some
unavoidable cases simultaneous revision is not possible.
Please contact your Mitsubishi Electric dealer with any questions or comments
regarding the use of this product.
Duplication Prohibited
This manual may not be reproduced in any form, in part or in whole, without written
permission from Mitsubishi Electric Corporation.