Mitsubishi MELSEC-A, MELSEC-A8PUE Operating Manual

1
GENERAL DESCRIPTION

CONTENTS

.................................................................................................
1 . 1 . 1
.
3
1.1 Features
1.2 Included Items
2
.
LET'S TRY USING THE A8PUE
2.1 Before Inputting asequence Program
2.1.1 Let's try connecting the A8PUE
2.1
2.2 Let's Try Inputting a Sequence Program
2.2.1 Let's try writing a new sequence program
2.2.2 Let's try reading the sequence program
2.2.3 Let's try changing (overwriting) an instruction
2.2.4 Let's try insetting (adding) of an instruction
2.2.5 Let's try deMting an instruction
2.3 Let's Try Monitoring the Sequence Program
2.3.1 Let's try monitoring the execution status of a program
2.4 Let's Try Testing the Sequence Program
2.4.1 Forcibly turning a bit device ON/OFF
2.4.2 Changing the current value of a word device
2.4.3 Changing the set value of a timer when the CPU
2.5 Let's Try Using Help
2.5.1 Reading anfnstruction in a sequence program
2.5.2 Changing of the display format of a current value
....................................................................................................................................
..........................................................................................................................
[BASICS]
.....................................................................................
.
2 Let's try clearing all the memory contents of an ACPU
..............................................................................................................
1 . 1 1 - 3
2
-
1
.
2
.................................................................................
to
an
ACPU
..........................................................
........................................
.............................................................................
...............................................................
..................................................................
........................................................
...........................................................
...............................................................................
.....................................................................
.......................................
..........................................................................
....................................................................
.......................................................
is
in the RUN state
..............
....................................................
...............................................
2 . 3
2
2 - 4 2 2 - 5
2
2
2 2 - 10 2 - 11 2 - 12 2 - 14 2 - 14 2 - 16 2 2 - 19 2 2 - 20
.
-
-
20
.
-
-
-
-
3
5
7
8
9
18
19
[DETAILS]
3
.
..
SPECIFICATIONS
3.1 General Specifications
3.2 Performance Specifications
3.3 System Configuration
3.3.1 System configuration
3.3.2 Connectable ACPUs
3.3.3 System equipment
3.4 Lists of Functions
3.4.1 List of functions
3.4.2 List of help functions
4
.
HANDLING AND NOMENCLATURE
4.1 Precautions When Handling the A8PUE
4.2 Nomenclature
4.3 Layout of the Keyboard and List of Key Functions
...............................................................................................................
............................................................................................................
...................................................................................................
..............................................................................................................
..................................................................................................
...................................................................................................
.......................................................................................................
....................................................................................................................
...........................................................................................................
I
...................................................................................................
................................................................................
..............................................................................
...........................................................................................................................
.............................................................
I
3
-
1
4 - 1
.
3
3 . 1
3
3 . 2
3 - 2 3 - 3 3 - 3 3 - 4 3 - 4 3 - 6
.
4
4 . 1
4 . 2 4 . 3
-
.
-
7
1
6
4.4 Maintenance
5
.
OPERATING PROCEDURES
.............................................................................................................................
..........................................................................................
5
- 1 -
4 . 6
5
-
21
5.1 Procedure From the Beginning
.
1 Connecting the A8PUE
5.1
5.1.2 A8PUE software version and CPU model name display
5.1
.
3 Key word input
5.1,.4 Mode selection and operation
5.1.5 Disconnecting the A8PUE from an ACPU
5.2 How
5.3 Display Adjustments and Display Format
5.4 Basic Key Operations
5.5
6
.
HOW
6.1 How
6.2 WRITE
6.3 READ Mode
6.4 INSERT
6.5 DELETE (D) Mode Operations
to
Reset the A8PUE
to
5.3.1 How
5.3.2 Display backlight ON/OFF states
5.3.3 Display format
5.4.1 Valid key switching (top/bottom)
5.4.2 How
5.4.3 Corrective action when a wrong key has been pressed Functions of
TO
USE EACH FUNCTION
to
Understand the Operation Explanations
Mode
6.2.1 Setting a designated range in the program by using NOP
(Continuous writing
6.2.2 Writing new programs and modifying existing programs
6.2.3 Displaying/selecting an instruction
6.2.4 Comment display
6.3.1 Reading the instruction of the step number designated in the program
(Instruction read by designating the step number) 6
6.3.2 Reading an instruction designated in the program
(Instruction read by designating an instruction)
6.3.3 Reading an instruction by designating a used device in
(Instruction read by designating a device)
6.3.4 Automatic scrolling
6.4.1 Inserting an instruction in a program (Program insertion)
6.4.2 Batch moving a program
6.4.3 Copying a program
6.5.1 Deleting an instruction in a program (Program deletion)
6.5.2 Deletion by designating a range
6.5.3 Batch deletion of NOP in the program
adjust
to
input instructions
the
(W)
(R)
(I)
Mode Operations
.............................................................................................................
the
............................................................................................................
...........................................................................................................
A8PUE on a MELSECNET(/B) Data Link System
Operations
.........................................................................................................
Operations
to
to
.......................................................................................................
brightness
...................................................................................
................................................................................................
of
NOP)
.................................................................................................
of
a program
...............................................................................................
....................................................................................................
............................................................................................
the End of the Operation
an ACPU
.........................................................................
.............................................
.......................................
...................................................................................
...............................................................
..........................................................................
...................................................................................
............................................................................
5 - 10 5 - 10 5 - 10
5 5
............................................................................. 5 -
..........................................................................................
......................................
...............................
6
5 - 15 5 - 19 5 - 20
. 1 . 6 .
.................................................................
......................................................................................
......................................
...........................................................................
6 - 10
..............................................
...................................................
the
program
............................................................
............................................................................
..................................
..........................................................................................
....................................
.............................................................................
...................................................................
6 - 12
6 - 16 6 - 19 6 - 21 6 - 21 6 - 23 6 - 25 6 - 27 6 - 27 6 - 29 6 - 31
5 . 1 5
-2
5
-4
5 -5 5
-7
5
-8
5
-9
-
1 1
-
14 14
95
6 . 1 6 . 2
6 - 2 6 - 4 6 - 6 6
-
8
-
IO
n
b
rn
i.
.
^.
6.6
MONITOR (M) Mode Operations
6.6.1
6.6.2
6.6.3
6.6.4
6.6.5
TEST (T) Mode Operations
6.7
6.7.1
6.7.2
6.7.3
6.7.4
.
6.7.5
Parameter Setting
6.8
6.8.1
6.8.2
6.9
OTHERS
6.9.1
6.9.2
6.9.3
6.9.4
6.9.5
6.9.6
6.9.7
6.9.8
6.9.9
6.9.10
6.9.1 1 Switching main/sub-programs
6.9.12
6.9.13
6.9.14
6.9.1
6.9.16
Confirming the operating state by displaying a program (List monitoring) Searching a coil from the contact (Monitoring search) Device monitoring Changing the display format of a current value Setting theffoffline switch YEWNO display (Offline switch display)
Settinghesetting (Setheset of a bit device) Changing the current values of T, C, D, W, (Changing current values of word devices) Settinghesetting (Bit device setheset) Changing the current value of T, C, D, W, (Current value change of a word device) Settingkanceling an offline switch of Y, M, L, B, or F by device monitoring (Setting/cancellation of an offline switch)
..................................................................................................................
All clearing of parameters Parameter setting
(0)
Mod@ Operations Changing the T/C set values when the ACPU is in the RUN state Checking an error step/error code When an error occurs (Error check) Checking a program Monitoring the MELSECNET(II)/B link state (link monitoring) Monitoring the buffer memory of a special-function module (Buffer memory batch monitoring) Monitoring the clock data of an ACPU (clock monitoring) All clearing Clearing sequence programs, microcomputer programs.
T/C
and Clearing the device memory of an ACPU (Device memory all clear) Setting the PC number
Executing remote RUN/STOP Readinglwritgg memory contents by using machine language
Setting write enabled/disabled when the CPU is in the RUN state and setting only MONITORTTEST mode enabled (Program mode selection)
5
Setting conductivity display YES/NO
Setting the buzzer ON/OFF when a key is pressed (Buzzer setting)
fie
set value areas (Program all clear)
.....................................................................................................
X,
X,
......................................................................................................
memory contents of an ACPU (PC memory all clear)
.........................................................................................
........................................
....................................................
...................
..................................................................................................
Y, M, L, B, and F by list monitoring
........................................................................................
R,
A,
Z,
or V by list monitoring
...........................................................
Y, M, L, B, or F by device monitoring
.................................................................................................
R,
A,
Z,
or V by device monitoring
..............................................................
.............................................................
........................................................................................
...........................................................................................
...................
..................................................................................................
..........................
..........................................................................
..................................
..............
.........................................................
................
.............................................................................................
.................................................................................
.................................................................................
.........................
.....................................................................
................
......
..........
..........
6 . 32 6 - 33 6 - 36 6
-
6 - 42 6 - 44 6 - 46
6 - 47
6 - 49
6 - 51
6 - 53
6 - 55
6 - 57
6
-
6 - 60 6 - 67 6 - 68 6 - 70 6 - 72 6 - 74
6 - 79 6 - 81 6 - 82
6
-
6 - 84 6
-
6 - 86 6 - 87 6
-
6 - 91 6 - 94
6
-
38
58
83
85
88
95
7
.
LISTS
7.1
7.2
7.3
OF
ERROR
Errors Detected by PC CPU Errors Errors When Using the A8PUE in a Link System
MESSAGES
the
.........................................................................................................................
........................................................................................
A8PUE
8'
..............................................................................................
7
-
1
.
7 - 6
7
-
1
7 - 4
...............................................................
.
iii
.
7
-
5
APPENDICES..
...................................................................................
....
...
1
......................
APP
-
1
-
APP
-
7
APPENDIX 1 COMPARING THE MPUE WITH THE A7PU/A7PUS APPENDIX 2 A8PUE OUTSIDE DIMENSIONS APPENDIX 3 ACPU PARAMETER SETTING SHEET APPENDIX 4 ASCII DISPLAY CHARACTER CODE
............................................................................
.................................................................
....................................................................
.........................................
APP
-
APP
-
4
APP
-
5
APP - 7
1
IBM, IBM-DOS(PC-DOS) are registered trademark Machines Corporation.
-
iv
-
of
the International Business
How
to
use
this
manual
This manual is structured as follows:
General descriDtion
of
The features are explained.
Basics
4
Operations are explained by using examples, A8PUE for the first time can easily understand
1)
Connection methods
2) Inputting, modifying, monitoring, and testing of sequence programs
Details
the A8PUE programming unit (hereafter called the A8PUE)
so
that somebody using the
the
operations.
MELSEGA
The details of the functions and the operating methods explained. Use this as a dictionary.
In
addition, the following manuals give details about the instructions explained
in this manual.
ACPU Programming Manual (Fundamental) ACPU Programming Manual (Common Instructions) 18-66250
of
the A8PUE are
I
B-66249
1
-
.sskNEVL
1.
GENERAL
1.1

Features

DESCRIPTION
DESCRIPTION
This manual explains specifications, handling, and operations of the A8PUE.
is
The A8PUE is a peripheral device that general-purpose programmable controtters. It can -read from and write to sequence programs
in
a
MELSEC-A
The A8PUE is also used for monitoring and Wsting devices. Follow the procedures in this manual when using the A7PUS to perform program well as inspection and maintenance.
(1) A2A(S1) and A3ACPU are supported
All
A2A(S1) and A3ACPU devices are supported.
(2) Expanded display area
The display area was expanded by using a back-lit LCD of character. Therefore,
inputting/editing/monitoring/testing
programs can be easily executed.
(3) Easy key operations
Key operations are easier thanks to the Long key stroke.
used with the MELSEC-A series of
series PC
CPU.
4
of sequence
I/O,
lines
x
as
20
(4)
Accessing another station's PC CPU is enabled Writing, monitoring, and testing from the station
to
which A8PUE is connected to another station (master
of
sequence programs can be executed
station/local station) on MELSECNET(II)/B.
(5)
Writing when the CPU is
If
the number of steps
program can be changed when the CPU is
(6)
Extensive help functions
Help functions for
in
the RUN state is enabled
in
a sequence program changes, the sequence
in
the RUN state.
reading/writing/inserting/deleting/monitoring/testing
operations in the menu selection format using dialog are supported.
(7)
Easier control of parameters and sequence programs Checking, revising, changing, inserting, and monitoring of PC CPU parameters and sequence programs is now easier.
1) Example of changing a sequence program instruction
LD
x0
Change
Y20
-
X1
of
changing the T/C set value
2)
OUT LD
I
Example The TIC set value can be changed
LD
X0
MOV DO Dl
LD
X1
1
in
the menu format when the CPU
is in the RUN state.
T/C SET
VAL.
CEO
1-1
The
set
value
before
Input the
Input the device (timer
will
be
changed.
set
value
changing is displayed.
to
be
changed.
or
counter) whose set value
1.
G-ENERAL DESCRIPTION
3)
T
15B
1000
500
Displays the current value Displays the set value
I
Devlce name
(8) Comments of each device can be displayed
The comment of the device where the cursor a help function.
10)
PRBSBNT
MELSEGA
Device memory monitoring example
The device memory of a PC CPU can be easily checked.
T12: Set value = 2000, Current value = 1015,
:OFF
;ON
Dl
the
c.
VALUE
Contact
T13:
Set
Contact = ON
T14: Set value = 200, Current value = 200,
Contact
'Iate
Dl comment is displayed.
T15: Set value = 1000, Current value
Contact
=
OFF
value = 23456, Current value = 23456,
=
ON
=
OFF
is
can be displayed by using
=
500,
[Add-on method] Connects the A8PUE directly
-
(9) Clock display
is
enabled Clock data in the PC CPU can be displayed. (The A8PUE turns the clock data read request M9028
I..
ga/04/01
10.50.00
(10)
Connections using the add-on or hand-held methods are enabled There are
to
a PC CPU.
2
[Hand-held method]
Connect the A8PUE to a PC CPU via an AC20R4-A8PU or AC30R4-PUS cable,
Back
ways
of
the A8PUE
I
to
ON
and
OFF
automatically.)
Displays the year, month, and day. Displays the hour, min, and sec.
connect A8PUE
Connection site AC30R4-PUS
to
a PC CPU.
RS-422 connector part
nnection site when using
AC20R4-A8PUE cable
1-2
1.2
Included
Items
After buying the A8PUE, make sure the following items are included:
I
Model
Namo
I
ABPUE
1
The following abbreviations are used in this manual: (1) A8PUE
A8PUE Programming Unit
(2) ACPU
A-series PC CPUs to which the A8PUE can be connected (see Section 3.3.2).
:-;cpu
(3)
Including PC CPUs with the MELSECNET(I1) link function. (Also including AlCPU
(4)
Peripheral devices
All
peripheral devices equipped with usable GPP functions in the
MELSEC-A series
I
I
Programming unit Protective caps
422
Items
connectors
1
Amount
Ill
for
the
RS-
121
+
AlCPUP21/R21.)
I
Placed
the
factory
Ram#ks
on
the
connectors
at
1-3
[BASICS]
2.
LET’S TRY USING THE A8PUE
2.
LET’S TRY
USING
THE
ASPUE
It
is possible creation and monitoring of actual programs. be created and its operations can be checked by using the monitoring’test function.
A
simple example
with the example.
I
System
.
Connections
PC CPU
Memory all clear
Sequence program
to
See
configuration
See
See
See
Writing
understand
is
shown below.
Section
Section
Section
Section
2
I
..........
2.1.1
..........
2.1.2
..........
2.2.1
..........
‘MUSEGA
A8PUE
Explanation of the system configuration used for practice
How
To
(memory
A training sequence program A8PUE.
operations quickly by practicing the
A
very basic training
Try
to
operate
to connect the A8PUE and an ACPU.
input a new sequence program, all memory contents
cassette) of an ACPU are cleared.
the A8PUE
is
input by using the
program
in accordance
can
See
Sections
Sequence Program
I
Since this section explains only the basic operations of the Section
*
Correcting ing, inserting, and deleting.
I
See
Section
Completion
See
Section
~ ~ ~ ~~~~~
Help
6
for greater details about operations and the contents of each mode.
2.2.2
..........
2.3
..........
2.5
1
..........
to
2.2.5
The input sequence program can be corrected by chang-
Bit devices and word devices of the training sequence programs can be monitored.
Forcible of word devices during monitoring can be changed.
Explanation of how to
ONlOFF
of bit devices and the current values
use
the help functions
A8PUE,
see
2-1
The system configuration
to
actually perform basic operations is shown below.
[System
configutetion]
Power supply module
CPU
modulo
I
Input module
I
Output module
I
I
'1
:
CPUs
other
'2:
Either install
a simulation switch
than
an
an
actual switch
A3ACPU can
on
(A6SW16).
be
used.
the outside
or
use
2-2
2.1

Before Inputting a Sequence Program

2.1
.l
This section exdains how the entire memory (memory ACPU.
Let’s
tv connecting the A8PUE to an ACPU
1)
Connect the A8PUE
Tighten the anchor screws
2)
Put the ACPU in the STOP state.
to
connect the A8PUE
all
clear) to write a new sequence program
to
an ACPU as follows:
of
the A8PUE.
to
an
ACPU and how
to
clear
to
the
3)
Turn
ON
the power supply.
The display area of A8PUE can be switched as shown below.
COPYRIQHT(C)
MITSWISEI BLBCTRIC
1991
Displays
the A8PUE software version
c-
I
Then, key operations in all modes can be done.
so
Let’s try executing a memory all clear in the CPU
sequence program
to
the ACPU.
that we can write a new
When a
key
word is set, operate as shown in Section
2-3
5.1.3.
2.1.2
Let's
try clearing all the
[Sample operation]
@
[After the
power
is
This.
write
turned
memory
section
a
new
ON]
contents
shows
how
sequence
of
an
to
dear
program
ACPU
aH
memory
to
an
ACPU.
contents
[MODE SELECT] is displayed.
(memory
cassette) to
Q
[SHIFT
l-4
PARAMJOTHERS
1
Select the OTHERS mode.
Select
Select
Select
'1
Memory clear completion size
All
have been cleared.
I
Now,
the input preparation for a sequence program have been ting
a
sequence program.
done,
so
let's try input-
'3
PLC SYSTEM'.
"2
ALL CLEAR'.
'1
PLC
MEM.
CLEAR".
PLC
MI"
CLEAR' is executed.
memory contents in the PC CPU
2-4
2.
LET’S
TRY
USING
THE
A8PUE
MELSEC-A
2.2 Let’s
2.2.1
Let’s
Try
Inputting a Sequence Program
This section explains how quence programs.
try
writing a new sequence
Input the following sequence program:
0
LD
1
OR
2 ANI
3
OUT
4
OUT
5
LD TO
6
ANI
7
+P
14
END
t
Step Number: Displayed automatically when input
program
X000
YO10
X001 YO10 TO
K10
MO K80
K5
to
write, read, change, insert
020
in,
and delete se-
How
to correct a wrong input:
Either see the operations
clear (see Section
2.1.2)
in
Sections
2.2.2
to
2.2.5
or execute a memory all
and input from the beginning.
2-5
2.
LET’S
j4.s
1
,.
TRY
,.
USING THE
[Sample operatlon]
A8PUE
ClrlmibSEGA
\SHIFT
-. ...
0
Q
ISTEP NUMBER
@[OR
0
I
ANI
READMRITE
I
H
Y
GO
0
GO
I
I
I
1
GO
1
Select the WRITE mode.
Read step
0.
@]ID
@
IAN1
M
GO
]
GO]
:
Both the
are valid.
15)BOP
191
I
The sequence program has now been input.
Now,
let’s try reading the input sequence pro-
gram from a PC CPU to the ABPUE.
and
keys
2-6
2.
LET’S
TRY
USING
THE
A8PUE
-.
.
MEr..,cEC-A
2.2.2
Let’s
try reading
[Sample operation]
Q
[STEP
NUMBER
H
the
sequence
program
This section shows how
to
check
0
H
it.
GO
R
A
A
]
Use
Now,
the
to
read
7
D10
14
BUD
3
om
4
K10
I
the
[GO]
let’s
sequence
the
sequence program written in Section
Select
the
READ
mode.
YO10
key
to
try
scroll.
moditying
program.
(change/insert/delete)
2.2.1
2-7
2.
LET,'S
,TRY
USING
THE
ASPUE
MWGA
2.2.3
Let's
try changing (ovemritlng) an instruction
1
[Sample operation]
01
--
SHIFT
READ/WRITE
I
This
section shows
2.2.1.
Before changing
3
OUT
YOlO
4
OUT TO
1
I
I
After changing
3
OUT
YOlO
4
OUT TO
I
I
I
r--1
$1-01
I
how to change the
1
0
The
changed from
W
7
K8O
A
4
7)
K5
timer set value has now been
sequence
K10
to
K100.
program written
Change the timer
sot
vatue from
to
K100.
Select the WRITE mode.
in
Section
KI
o
:?
Y
Q
I
STEP
NUMBER~GO
I
Read the 4th step whose set value
will
be
4
41
KlO
K10
I
changed.
Move the cursor
"K10'
of TO.
to
the
1
The set value of timer TO was written and changed from
'K10"
to Now, let's try inserting an instruction in the quence program.
"K100'.
se-
set
value
2-8
2.
LET'S
TRY
USING THE ASPUE
.MELSEC-A
2.2.4
Let's
try
insertlng (adding)
[Sample operation]
@
1
INSERTIDELETE
of
an instruction
This section shows
2.2.1.
I
Before insertina
7
+
14
END
I
1
K80 K5 D20
1
how
to
insert an instruction
TO
MO
5
A
MOV
instruction has
now been inserted.
to
the program input in Section
Select
the INSERT mode.
Q
I
STEP
IMOV-
NUMBER
KH2-
SP
8
t-l
6
MI1
no
15
nop
16
I
GO
1
BOP
19)PW
I
I
The
'MOV
added to the fourteenth step. Now, let's try deleting an instruction from the quence program.
020 K2Y018" instruction has now been
Read the 14th step in which an in­struction will be inserted.
se-
2-9
2.,44T:S
TRY
USING
THE
A8PUE
,.
aElls€GA
2.2.5
[Sample operation]
Let's
try
deleting an InstNctlon
This
section
Section
I
Before deleting
I
After deleting
shows
2.2.1.
5
LD TO
6
+P K80
how
I
I
I
I
K5
I
to
delete.
D20
an
instruction from the program written in
TO
The ANI
Delete an ANI instruction.
MO
instruction.
MO
@[SHIFT
@I
HINSERT/DELETE~
STEP
NUMBER
Select the DELETE mode.
6
GO
I
$i'f:'
7
KO0
6
KSO
struction Read the will 6th be step deleted. from which an in-
The cursor position instruction is de-
leted by using numbers move up accordingly.
the
[GO]
key and step
I
The 'ANI
Now,
.
monitoring it by using the ABPUE.
MO"
let's try executing the sequence program and
instruction has now been deleted.
2-
10
2.
2.3
LET’S
Let’s
Try
TRY
USING
THE
A8PUE
Monltorlng the Sequence Program
ELSECIA
The sequence program written
to
[General description
of
2.2.5
is
shown
This section shows how
below.
to
device and a word device.
0
LD
X000
1
OR
YO10
2
ANI
X001
3
OUT
YO10
4
OUT
TO
KlOO
5
LD
TO
6
+
K80 K5 020
13
MOV
D20 K2Y018
18 END
the operations]
The program is
TO
Timer go
ON
goes
after
as
ON
10
sec. (The
follows: when
X0
Y18, YlA, YlC,
module all light.)
in
Section
2.2.1
and modified
in
Sections
2.2.3
execute the sequence program and monitor a bit
5
is turned
ON.
And then,
and
Y1E LEDs
Y18, YlA, YlC,
of
the
and
AY40’s
Y1E
output
Now, let’s Section
try
2.3.1.
executing and monitoring the sequence program written in
2-11
Pm
l&T:q
TRY
USING
THE
A8PUE
.
MElSEGA
2.3.1
Let’s
tty
monltorlng the exewtbn
[Sample operation]
@
Set the RUN keyswitch to RUN.
status
This section shows and how
to
check the current
how
d
a
to
monitor
Bragraar
the execution state
values
of
the
ON/OFF
word devices.
1
1
OR
YO10
2
ANI
X001
3
OUT YO10 YO1
4
OUT TO KlOO
1
(1)
Monitoring operation by using step number designation
0
of
a sequence program,
states
of
bit devices and
STEP
NUMBER
@
Turn ON the
@
[About 10 sec. after
X0
external switch.
X0
is turned ON]
GO
1
Select
the
MONITOR mode.
El
8
1
MI1
3)OUT
8
The monitoring operation has now been checked by using step number designation. switch
Turn OFF the
Now, let’s try checking the monitoring operation by
using device designation.
0x001 111010
a
MI
0x001
3)OUT
1YOlO
4
OUT
IT0
100
I
1
of
the CPU to STOP and
X0
external switch.
The current value of a timer is displayed.
I
:
A
bit device goes ON.
0
:
A
bit device goes OFF.
After the timer times out, the current value becomes
Set
the RUN key-
RESET.
‘100’.
2-
12
2.
LET’S
TRY
USING
(2)
@Set the RUN keyswitch to RUN.
1
MON./TEST
@
Turn
@
[About
ON
10
1
o
the
X0
external switch.
sec. after
HGO]
X0
is turned ON]
THE A8PUE
Checking the monitoring operation
HID
v v
D20
4
OUT
10
OTO
85
4
Monitoring device:
I
The monitoring operation has now been checked by using device designation.
OFF
the
X0
Turn Now, let’s program by using the ASPUE.
extemal
try
testing a device in the sequence
by
using device designation
The
current value of a word device
is displayed.
‘85”
is
stored in
switch.
D20.
MELSEC-A
2-
13
1.
2.
*AI,*
LET'S,TRY
USING
THE
A8PUE
2.4 Let's

2.4.1 Forcibly turning a bit device ONlOFF

[Sample operation]
Try
Testing the Sequence Program
This section shows how to execute and test the sequence program written in
2.2.1
Section
This section shows how to check that the current value of TO became
0
LD
x000
2
1
OR
ANI YO10 X001
3
OUT
[y@3l
4
OUT
TO
(1)
Testing operation by using step number designation (list monitoring)
and
KlOO ON forcibly.
f
modified
Turn Y10
in
Sections
'100"
2.2.3
Y
10
after
to
2.2.5.
was turned
10
sec.
or*Dd
ON
forcibly, and that
Y10 has now
KlOO been turned
ON
forcibly.
1
0
Set the RUN keyswitch to RUN.
I
MON.TEST
I
o
1
@
ITk[After about 10 sec.]
SP
MSHIFT~
Select the TEST mode.
rn
u
4
x100
Set Y10 to be turned ON forcibly.
I10
#ET
g
3
om
x100
polo
FO
100
4)Om
4
The testing operation of forcibly turning a bit de-
vice ON has now been checked by using step
number designation.
Set the RUN keyswitch of the CPU to STOP and
RESET. Now, let's try checking the testing operation by
using device designation.
Y10 has now been turned ON forci­bly, and the current value has now been changed to
'0'
of
"100".
TO
2-
14
2.
,LET'S TRY USING THE A8PUE
(2)
Checking the testing operation
(device monitoring)
@
Set
the
RUN
I
MON./TEST
Q
IY
@
I
SHIFT
@
(GO]
keyswitch
I
t.lo
H
SET
I
to
RUN.
HGOHSHIFT~
]
by
using device designation
4
K100
v
-
TIY
010
0
'TIY
010
v v
The
vice checked.
The
current value
I
testing operation of forcibly turning a
ON
by using device designation has now been
Keep the
CPU
in
the
following checks testing operation to which
RUN
of
a word device
Turn
Set
Y10
ON
state.
is
OFF
Y10
has now been turne'd
forcibly.
changed.
Y10.
ON
MELSEC-A
(0)
forcibly.
bit
de-
the
2-
15
2.
LET'S
r
i..
TRY
USING
THE
ASPUE
MElsEGA
2.4.2
Changlng
[Sample
the
operation]
NUMBER
current
value
of a word
devke
This section shows how to perform the test which changes the current value
of
D20
when the C-PU is in the RUN state.
1
5
LD
TO
6
+P K80 K5 020
I
13
MOV
I
END
(1)
Change the current value.
Testing operation by using step number designation (list monitoring)
(Change the current value
3
KPYOl8
G,O,h
5
I
I
"85"
of
020
to
VSW.)
Current value of 020
13
b
D10
13
K2TOlS
FL
13
1
010
*''
is
displayed for a bit device
where a digit was designated.
Move the cursor position to 020,
and set 'K15' at D20.
The current value has ngw been changed.
C
3
P
6
D10
v
v
13
YOV
13 b 010
13
K1TO18
I
The testing operation of changing the current
of
value designation has now been checked.
Keep
Now, let's try checking the test operation by using device designation.
a word device by using step number
the CPU in the RUN state.
15
15
The current value
4
has now been changed to "1 A display of output unit AY40
changes as follows:
"ON"
E
Y1
-
"85"
Y1
B
of D20
5".
'ON"
J
2-
16
2.
LET'S
TRY
USING-THE
(2)
Checking the toring) (Change
0
HGO]
ASPUE
test
the
current
"'I
$'"
TbD
:,
,-,I.
operation
value
"15"
10
10
1
by
using device designation (device moni-
of
D20
to
"240".)
Current value
Set
'K240"
at the cursor position
UE~SEC-A
of
D20
D20
The current value has now been changed to
A display changes as follows:
Y181 Y1C
I
The testing operation
of
a
value has
Keep
Now,
which the set value the CPU is
word
now
been checked. the CPU in the RUN state. let's try checking the testing operation in
in
the RUN state.
of
device
changing the current
by
deitiice
of
a timer is changed when
designation
"15'
of
of
output unit AY40
020
'240".
I
2-
17
2.43,
.-
.ChanQlng.the
set
value
of
a.tImer when
the
CPU
Is
In the
RUN state
0
1
2
3
4
[Sample operatlon]
0
1
SHIFT
PARAM.?OTH€RS
I
This section programs in the Change the set
CPU
is
in the
LD
X000
OR
YO10
ANI
X001
OUT
YO10
OUT
TO
LRiiio7
---A
I
}
shows
RUN
value
RUN
Change set value
to
"K50'.
tiow
to
state.
"K100"
state.
'K100"
SET
I
forcibly change the set.value of a timer of sequence
of
timer "TO" in
VALWBI
I
the
program
Select the OTHERS mode.
Switched to the menu display.
to
"K50"
when the
The set value been changed to
"K50'.
I
0
T/C BET D8vIC8IT SET
VALWIK
1
PLC
3
PLC
VAL.
OIK
CEBCK SYBTBI
CEO
501
50
I
Change a set value to
"50".
I
The set value of a timer could be changed. Check that the set value of timer been changed into Section This completes the basic operations of the
ASPUE.
Now, let's try using the help functions. The basic operations explained in Section
2.2.2).
'KSO'(see
of
the help function are
2.5.
"TO"
the operation in
has now
2-
18
Loading...
+ 147 hidden pages