Mitsubishi Electric MELSEC-A, MELSEC-A A2CCPU, MELSEC-A A2CCPUP21, MELSEC-A A6DIN3C, MELSEC-A A2CCPUR21 User Manual

...
User's
Manual
_
type
A2CCPU (P21/R21)
MITSUBISHI
ELECTRIC
I
REVISIONS
*The manual number is given on the bottom left of the back cover.
I
Print Date
Nov, 1990
*Manual Number
IB (NA) 66267-A First edition
Revision
INTRODUCTION
Thank you
I
lers. Please read this manual carefully so that the equipment is used to its optimum. A manual should be forwarded to the end user.
for
choosing the Mitsubishi MELSEC-A Series of General Purpose Programmable Control-
copy
of this
1
INTRODUCTION
1.1 General Description of Operation
1.1.1 ON/OFF data communication between the A2C and the remote I/O module • . . ...1 - 2
1.1.2
1.2
Features.
1.3
General Terms and Abbreviations 1 - 9 Reference Manuals
1.4
•...••...•••••....••.•••••••••••....•••••.•••••••••••••
Data communication between the A2CCPU and the remote terminal module
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
.........................................................•

CONTENTS

1-1
.....
-1-11 1-2
1 - 4
..
1 - 5
1- 11
I
2 SYSTEM CONFIGURATION
2.1 Overall Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 - 1
2.2
Notes on System Construction 2 - 3
2.3
System Equipment 2 - 8 4
2.3.1 Modules which can be connectedto the A2CCPU 2 - 8
2.3.2
3 GENERALSPECIFICATIONS
4 A2CCPU
4.1 Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . •. ...4 - 1
4.1.1 Repeated operation processing 4 - 4
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6 Operation processing at momentary powerfailure 4 - 9
4.1.7
4.1.8 Watch
4.1.9
4.2 Functions 4 - 18
4.2.1
4.2.2
4.2.3 Running and stoppingthe A2C from external devices
4.2.4
4.2.5
4.2.6
4.2.7
4.2.8 Setting priority for ERRORLED indication 4 -
4.2.9 Control functions of remote I/O modules and remote terminal modules 4 - 37
4.2.10
Peripheral devices 2 - 15
••••••...••••....••••••••••••..••....••••••.•...••••...••••.
In~ial
processing 4 - 4
END processing 4 - 5 Timerprocessing and accuracy 4 - 6 Counterprocessing and maximum counting speed 4 - 8
Scantime 4
dog
timer
(WDl)
RUN.STOP. PAUSE operation processing
Constant scan 4 - 19 Power failure compensation for device data in the A2C
(LATCHfunction) 4 - 22
(Remote RUN/STOP function) Stoppingthe sequence program operation retaining outputs (PAUSEfunction) Status latch Samplingtrace 4 - 30 Offline
Outputfrom the ERRterminals 4 - 41
.......................................................•..
sw~ch
function 4 - 33
2-1
4-1
-2-16
-
4-94
4 - 11
4-13
4 - 24
..
4 - 26 4 - 28
3-1
-10
35
-i-
I
4.3 FaultDetection 4 - 42
4.3.1
4.3.2 Faultdetection with annunciator
4.4 ParameterSetting Range 4 - 49
4.4.1
4.4.2 Operation mode at an occurrence
4.4.3 STOP
4.4.4 Entry code registration 4 - 57
4.4.5 Printtitle registration .
4.5 Devices 4 - 58
4.5.1 INSTRUCTIONS
4.6
4.6.1
4.6.2 Basicinstructions 4 - 62
4.6.3 Application instructions 4 - 68
4.7 I/ONumbers and Station Number Setting 4 - 74
4.8 Precautionson Handling 4- 76
4.9 PartIdentification 4 -
4.10 PartIdentification 4- 84
4.10.1
4.10.2 Setting for MELSECNET Data Link 4 - 92
4.10.3 Selecting test mode 4 - 93
4.10.4 SeR-loopbacktest
SeR-diagnosis 4- 42
(F)
Memorycapacity setting 4 - 53
of error 4 - 55
-+
RUN
output mode 4- 56
.. ........ .. ........ . .......... .....
Devicelist 4 - 58
Sequence instructions 4 - 60
. .......... 4- 57
4 - 47
4 - 60
n
Externalviewof
A2CCPUP21/R21
4 - 84
4-94
5 MEMORYICa, BATTERY, CABLESAND DIN ADAPTER 5
5.1
MemoryICs 5- 1
5.1.1
5.1.2 Handling instructions 5- 1
5.2 Battery. . . .. . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . .. . . .. . . . . . . . . . . . . . . . . . . . . . 5 - 3
5.2.1
5.2.2 Handling instructions 5- 3
5.2.3
5.3 Cables 5 - 5
5.4 DINAdapter 5- 7
5.4.1
5.4.2 Handling instructions 5- 7
5.4.3 Fixinga
5.4.4 Mountingto the DIN rail 5- 10
Specifications 5- 1
Installation............................................................
Specifications..
Installation............................................................
Specifications.....
DIN
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...5- 3
. . .......
adapter to a module 5- 9
.. .. ........
. .... ....
.. ..
. .... ..........
-1
- 5
-10
5- 2
5- 4
5- 7
-ii-
6 LOADING AND INSTALLATION 6
-1
- 6
-11
6.1 Fail-safe Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2 Installation Environment 6 - 1 ,
6.3
Calculation of Heat Generated by the A2C System 6 - 2
6.4
Wiring.
6.4.1
6.4.2
6.5 InstallingThe A2CCPU 6 - 11
7
TEST RUN
7.1 Check Points before Test Run 7 - 1
7.2 Test Run Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...7 - 3
8 MAINTENANCE AND INSPECTION 8 - 1 - 8 - 4
8.1 Daily Inspection
Periodic Inspection
8.2
8.3
Replacement of Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.3.1
8.3.2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...6 - 4
Wiring instructions 6 - 4 Connection between
••••••••••••••••••••••.•••••••.....••••••••••••...••••••••••
...........................................................•..
..........................................................•
Battery Replacing procedures 8 - 4
IKe
modules.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-
1 - 7 - 4
..
6 - 1 t
..
6 - 8
8 - 1 8 - 2
..
8 - 3 8 - 3
9 TROUBLESHOOTING
9.1 Basic Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...9 - 1
9.2
Troubleshooting 9 - 2
9.2.1
9.2.2
9.2.3
9.2.4
9.2.5
9.2.6
9.2.7
9.2.8
9.2.9
9.3
APPENDICES
APPENDIX1 Outside Dimensions APP- 1 APPENDIX2 Ust APPENDIX3 List of Special Registers APP ­APPENDIX4 Instructionsfor Use with Peripheral Devices APP- 20
APPENDIX5 Cautions on Editing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Code Ust 9 - 12
9.3.1
Troubleshootingflow Flow chart used when "POWER" LED of the A2CCPU has turned off 9 - 3
Flow chart used when "RUN" LEDof the A2CCPU has turned off... . . . . . . . . . .
Flow chart used when "RUN" LEDof the A2CCPU flickers Flow chart used when "ERROR" LEDhas turned on 9 - 6 Flow chart used when "ERROR" LED of the A2CCPUflickers Flow chart used when "RD/SD" LEOs of Flow chart used when outputload of output module does not turn on 9 - 10 MaKunetion in program downloadto PC
Error code list 9
•••••••••.••••••••••..•••....••••....•••.•.•••••..•••••
.•••••....••••••••••••••••.•••......•.......••••..
charts.
of Special Relays APP- 6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
..................•..
...............•..
the
A2CCPUdonot flicker 9 - 9
............................•.....
9 - 1 - 9 - 15
APP - 1 - APP - 28
..
..
9 - 2
..
9 - 4 9 - 5
9 - 8
9 - 11
-12
10
APP- 28
-iii-

1. INTRODUCTION

--------------------
INTRODUCTION
1.
This manual gives the system, specifications and handling of the A2CCPU,
A2CCPUP21 and A2CCPUR21 General-purpose Programmable Controller
The A2C is a building block type CPU module which can construct a system
MELSEC·A
(referred to as A2C in this manual).
including remote I/O modules (I/O modules) and remote terminal modules
(special-function modules)
The A2C uses the MELSECNET/MINI-S3 data link system
MINI-53 in this manual) in place of a base unit for data communication with
remote I/O module and the remote terminal module
the
cables or twtsted-pair cables. Using s-core flat cables,
the
other just as the building block type CPU is used.
without using a base unit.
(*')
(referred to as
(*2)
through
s-core flat
system modules can be arranged close to each
Using twisted-pair cables, the system modules can be separated up to 100
This feature makes it possible
meters (328.1 to install
the
away from each other
It)
remote I/O module and the remote terminal module to conform
(*1.
with the arrangement of equipment to be controlled.
IREMARKsl
"Remote I/O module" and "remote terminal module" are general terms for the
.1...
(1)
(2)
(3)
mcdulee
Remote I/O
Remote terminal
See Section
terminal modules. The MELSECNET/MINI-S3 data link system has been designed to reduce the amount
.,.
*2
of wiring between the PC and equipment to be controlled. Since the PC, the remote I/O module and the remote terminal module are connected with twisted-pair cables or optical fiber cables, it is possible to install the remote I/O module and the remote
terminal module to suit with the arrangement of equipment to be controlled.
Distance allowed when twisted-pair cables of
*3...
The maximum allowable distance is 50 meters (164.1
0.3
mentioned below.
module:
module:
for names and types of the remote I/O modules and the remote
2.3
2
(22 AWG) or thinner are used.
mm
Input/output modules connectable to the A2C. Mitsubishl
general-purpose
series programmable controllers
Special function modules connectable to the A2C, RS-
interface
232C
inverter
modules
0.5
FR~Z200
2
(20 AWG) or thicker are used.
mm
when twisted-pair cables of
tt)
series,
MELSEC-F
-1
1
1. INTRODUCTION
--------------------
1.1 General
1.1.1 ON/OFF data communication between the A2C and the remote I/O module
DescriptionofOperation
Thissection describesthe datacommunication between
I/O module and See Section 4.2
ON/OFF data communication is performed using inputs (X) and outputs
(1) Input/output number assignment of
input/output
The to X/y1FFin I/O module.
Data communication with a remote I/O module is performed using ..
inputs (X) and outputs
See Section 4.7 for numbers.
the
remote terminal module.
for
the A2C functions.
the
remote I/O module
numbers of the A2C system are assignedfrom x/yOOO
the
order of the station number(1to 64) set
(Y)
assigned
the
relationship between station numbers and i/O
for
each module.
MELSEC·A
the
A2C,
for
each remote
the
remote
(Y).
'Ill
(2) ON/OFF data communication with
The ON/OFF data communication with the remote I/O module is per-
formed in the refresh mode.
Fig. 1.1 shows the data communication between the A2C and the remote I/O modules. ,
(a) Sequence program execution
X
o ,
H
?
,
,
,
,
~_r,l
n '-'
I
Y20
Y21
~
The sequence
outputMnumberstocontrol
modules.
When
the
(a) The sequence program is executed from
ON/OFF
(b)
ON/OFF
(c)
A2C is
data data
program
running,
of an fromaninput
uses
output
input
remote
operations
(Y) in
moduleistaken
(X) and
I/O
(a), (b)
the
sequenca
-:
and
(0)
mentioned
step
0 to END (FEND).
programisoutput
In by
the
Station:
MINI-S3
the
(b)
ON/OFF
A2C
I
CPU
/'
(c)
ON/OFF
input
MINI-S3Iink
0------
I/O
n
below
are
executed
by the MINI-S3 link.
link.
remote I/O module
dataofoutput
data
(x)
module
repeatedly.
I/O
from
Is taken in.
I/O
Station:
(Y) is
Station:
the
Station:
5
9
~
output.
1
41
I/O
Fig. 1.1 ON/OFF Data
Communication
between
1-2
the
A2C and
the
Remote I/O
Modules
1. INTRODUCTION
--------------------
(3)
Input/output
data
The remote I/O modules is as described below.
(a) To take in an ON/OFF change from
maximum is required.
response time
communication response time between the A2C
the
MELSEC·A
module, 1 scan at
input
and
the
(b) When an output ON/OFF is changed by the sequence program, 1
scan at maximum is required to module.
(c) When ON/OFF control of the
input
the
of ON/OFF status of the output module changes after an ON/OFF changed.
module, 2 scans at maximum are required till the
output
output
the change to
moduleis done by ON/OFF data
the
output
input
1-3
1. INTRODUCTION
--------------------
1.1.2
Data communication betweenthe A2CCPUand the remote terminal module
MELSEC·A
(1) Maximum
A maximum of 14 remote terminal modules (a maximum of 7 AJ35PTF­R2 RS-232C modules) can be connectedto
(2) Data communication with remote terminal modules
(a) Perform the following initial setting.
1)
2) Protocol
(b) Execute data communication with the FROM/TO instruction.
See the ACPU Programming Manual (Common Instructions) details of the FROM/TO instruction.
number
of remote terminal modules to be connected
The first station
See Section 4.2.9
number
for
of
the
remote terminal module
details of initial setting.
(b)Transmission of
I
the
A2C. (See Section 2.2.)
executing TO instruction
designated
data
by
for
4
(a) Sequence
HXf
0
n
!=:i?
..!.-
program
I
execution
TopIH91KOIooIK11-
,
,
,
cOmPI~ignal
@[]
Data
communication (a)The FROMITO and PRC (b)The request to
1)
At FROM
2)
TO
instruction
(c) The remote terminal
Cd)
The A2C turns ON terminal
Fig.
module.
1.2
with the remote terminal
send
designated
instruction
module
the
Data
Communication
I
PRCIM1IYOI-
Y21
instructions
data
execution
sends the
complete
signal
A2C
Station:
of
data
A2C
CPU
MINI-S3Iink
I/O
1------
n
described
by
executing
send or receive to
complete
and
the
Remote
-:
module
are executed by the sequence program.
or the data is transmitted
: Data
: Data
completion when it received the send/receive
between
is executed as
send
request
sending
signal
the
I/O
I/O
Station:
below.
the FROMITO instruction.
the
A2C.
signal
TermInal
Station:
Station:
5
from
the
9
(c)
remote
Module
1
Remote
terminal
module
Tra~mission
of
complete
signal
(3) Response time
Communication of
8
data with one FROM/TO instruction requires
proximately 400 msec (when scan time is 100 msec).
1-4
ap-
...
1. INTRODUCTION
--------------------
1.2
Features
MELSEC-A
I
A2CCPU
The A2C has
(1)
Compact (a)
(b) The A2CCPUP21/R21
(c) The A2CI/O
80
mm
(3.15
170
mm
(6.69
in)
the
following features.
size
The
A2C
has
compact
outside
dimensions:
170
mm
(6.69
in)(height) x 100 mm (3.94 in)(width) x 80 mm (3.15 in) (length)
data
link
module
has
compact
outside
dimen­sions : 170 mm (6.69 in)(height) x 170 mm (6.69 in)(width) x 80 mm (3.15 in)(length).
module
in)
A2CCPUP21/R21
has a short
80
(3.15
170
mm
(6.69
in)
width
mm
in)
of 64 mm (2.5 in).
170
mrn
(6.69
A2CI/O
module
in)
80
(3.15
mm
in)
Fig.
1.3
A2C
Outside
(2) 512 points of
input/output
The A2C is capable of controlling
specified between
X/YO
Dimensions
control
input/output
and X/Y1FF.
operation at 512 points
170
mm
(6.69
in)
(3) A maximum of 8K steps can be contained in one program.
With sequence instructions, basic tions, a maximum of 8K
program. Also,
the
user can be run in combination with a
microcomputer
steps
instructions
can be
programs
and contained and utility
sequence
application
in one
programs
program.
(4) Data link modules usable as master stations or local stations
The A2CCPUP21/R21 can be used as either station in
the
MELSECNET link system.
The A2CCPUP21/R21 cannot be used as
a master station or a local
the
masterstation for
tier.
instruc-
sequence
made by
the
third
1-5
1. INTRODUCTION
--------------------
When
the
-
A2C
0
0
I/O
--
modules
l
I
(5) Cable connection between modules
Cables designed exclusively for
are used
between
are
arranged
for
connection between the A2C and
the
A2CI/O modules.
sidebyside
A2CI/O module
the
\
Cable
MELSEC·A
A2C or twisted-pair shield cables I
the
A2CI/O module
and
When
the
I/O
A2C
-
0
modules
0
-
are
arranged
/
Twisted-pair cable
Fig.
1.4
apart
Connectionofthe
I
A2CI/O module A2CI/O module
A2CI/O module
A2C
System
1-6
1. INTRODUCTION
--------------------
Remote terminal
1
A2CI/O
II
(6) Connection with
minal modules is possible. The A2C can be connected with the MINI-53 link remote I/O modules,
remote terminal modules. (See Section 2.3.1.) The
A2CI/0
modules can be used together.
A2CCPU
module
Fig.
"
Remote
1.5
I
11
Use
module
MELSEC.A
the
MINI-53 link remote I/O modules and remote ter-
modules, MINI-53 link remote I/O modules, remoteterminal
I/O
with
II
module
the
]1
MINI·53
A2CI/O
~
module
Link
Twisted-pair cable
JI
Modules
(7) Vertical and horizontal positions and mounting on a flat base are
possible. The A2C and
tions.
0
-
-
=
r-'-
A2CI/0
= 0
0
~
Vertical Horizontal
Fig.
1.6
Installing Positions of
modules can be installed in three different posi-
Front
1
111111
~
the
A2C and A2CI/O
;:;
~
FI~t
b'-sO///
Modules
~
1-7
1. INTRODUCTION
--------------------
HOOKfor removing the
module from the DIN
-.
\
Fig.
MELSEC·A
(8) Can be mounted to
The A2C and A2CI/O modules are usually mounted directly
panel or equipment to be controlled using screws. Using adapter, however, the A2C modules can be mounted to
(A clearance of 4 mm (0.16 in) between modules is obtained when DIN adapters are mounted side by side without leaving clearance between them. (See App. 1.)
A2C
0
-
=
-
-
=
t
A2CI/O
r---
r----f
the
module
DIN rail.
/Nrall
\
the
DIN rail adapter
V-;;;N
1[1
V
tr
0
1.7
~
A2C
and
A2CI/O
~
Modules
Mountedtothe
DIN Rail
to
a control I
the
DIN rail
DIN rail.
the
rail
1-8
1. INTRODUCTION
I
--------------------
1.3
General
Terms
MELSEC-A
and
Abbreviations
General terms and abbreviations used in this manual are explained below.
(1) A2C
the
An abbreviation of troller.
In case A2C is described as A2CCPU or A2CCPUP21/R21.
A2CI/0
(2)
A general term for as
(a) 32-point (b) 32-point (c) 32-point I/O modules
the
A2CCPU.
the
A2CCPU
module
output
input
A2CCPU general-purpose programmable con-
should
the
modules
modules
be discriminatedfrom
following I/O modules which are of
the
A2CCPUP21/R21,
the
same
type
for
See Section 2.3
(3) A2C special function module
A general term for
the
same
typeasthe (a) High speed (b) Analog-digital conversion module (c) Digital-analog conversion module
See Section 2.3 for modules.
(4) MINI-S3 link
An abbreviation of
(5) Peripheral devices
A general term
type classification of
the
following special function modules which are of
A2CCPU.
counter
for
module
type
classification of
the
MELSECNET/MINI-S3
A6GPP, A6PHP, A6HGP and A7PU.
the
A2CI/0
the
data
modules.
A2C special function
link system.
1-9
1. INTRODUCTION
--------------------
(6) Remote I/O module
MELSEC·A
A general term (a)
A2CI/0
(b) MINI-53 link remote I/O modules
1) Out-of-panel
2) Compact
3) AJ72PT35 type link module
4) MELSEC-F series programmable controllers
5) Mitsubishi general-purpose inverters See Section 2.3
applicable MINI-53 link remote I/O modules.
(7) Remote module
A general term
(8) Remote terminal module
A general term link remote terminal modules.
for
the
modules
type
for
for
following modules.
type
remote I/O modules
remote I/O modules
for
remote I/O modules and remote terminal modules.
the
A2C special function modules
type
classification of
A2CI/0
and
modules
the
MINI-53
I
and
See Section 2.3 for and
applicable MINI-53 link remote terminal modules.
type
classification of A2C special function modules
41
1
-10
1. INTRODUCTION
--------------------
1.4
Reference
I
Manuals
Refer to
(1) ACPU Programming Manual (Fundamentals) : IB(NA)-66249
(2) ACPU Programming Manual (Common instructions) : IB(NA)-66250
(3)
(4) MELSECNET/MINI-S3 Batch Refresh
the
manuals listed below to use
For details of of program necessary for
For details of operation by tions
and application instructions feasible with the A2C.
A2CI/0
For specifications and outside dimensions of
Manual:
the
programming method, devices, parameters and kind
Module User's
IB(NA)-66215
the
the
Manual:
the
A2C.
programming for
sequence instructions, common instruc-
IB(NA)-66236
Type
MELSEC·A
the
A2C.
the
A2CI/0
Remote I/O Module User's
modules.
For specifications and modules.
(5) MELSECNET(II) Data Link Reference
For specifications functions, and programming of data
link system.
(6) AJ35PTF-R2
66219
For specifications and using
the
(7) Special Function Modules Manual
specifications,
For modules used.
(8) MELSEC-F Series Programmable Controllers Manual
For specifications, handling and programming for PCs.
Type
RS-232C interface module.
handlingofthe
RS-232C Interface Module User's
handling
handling
and
batch refresh
Manual:
for communication with calculators
programming
IB(NA)-66263
the
for
the
type
remote I/O
MELSECNET(II)
Manual:
special
MELSEC-F series
IB(NA)-
function
(9) FR-Z200 Series General-Purpose Inverters Manual
the
For specifications and handling of inverters.
1- 11
FR-Z200 series general-purpose

2. SYSTEM CONFIGURATION

--------------------
2.
SYSTEM
2.1
Overall
~
Memory
Type[jKROM
~
DIN
Type
adapter
A6DIN2C
CONFIGURATION
Configuration
+
I-
~
~
CPU
module A2CCPU
Type
(P21/R21)
+
s.ccre
flat
(A2C-005)
Twlsted-pafr shield
cable
cable
.....
....
...
~
...
...
...
~
A2CI/O
module
lIJ
A2C
special
function module
MELSEC·A
I
....
.....
~
.....
DIN rail
..
DIN
Type
~
adapter
A6
DIN[
jC
For
24 VDC
power
supply
...
..
...
...
MINI-53
remote
AJ35PTF-R2
link
I/O
module
RS-232C interface
module
~-nl
~.!
"I
I
I I
lL5
Power
Type
pose
~
supply
module
A66PC
eral
power
supply
[]
•e
,
I
~
....
~
....
.
~
....
5-core
flat
(A2C-005)
Twisted-pair
shield
cable
cable
t
Fig. 2.1
Overall
2-1
Configuration
i
2. SYSTEM CONFIGURATION
I
MELSEC-A
AC30R4
cable
...
JI'
...
JI'
...
...,.
...
...,.
A7PU
programming
unit
A6WU
P-ROM
writer
unit
A6HGPE
handy
graphic
erccrernmer
t
SW3-HGPAEE
system
disk
A6PHPE
plasma handy
programmer
SW4GP-
GPPAEE
system
disk
.1
......
.2
.3
~
~
....
.-
...
....
cassette(J-1)
..
Cable
for
audio
AC03WU
cable
for
A6WU
AC30R2
RS-232C
cable
SWO·GPPU
user
disk
--~
-~
Audio
cassette
recorder
A6WU
P-ROM
unit
Printers :
KSPR,
K6PR-K,
K7PR, A7PR, GT-10,
generaJ-
purpose
printer
.5
writer
t
...
IREMARKSI
(1) See (2) See (3) A
A6GPPE
intelligent
GPP
App.4for Section
maximum
i+
~
"'l[
restrictions
5.3
for
of 7 AJ35PTF-R2 RS-232C
for
use of
specificationsofs-core
I
I
cleaning
'*
1to.5.
interface
SWO-FDC
AC10MD
composite
video
cable
EP-ROM
flat
cables
modules
disk
cables
CRT
*.
-~IL..--_
and
twisted-pair
can be
connected.
2-2
2. SYSTEM CONFIGURATION
--------------------
2.2
Notes
on
System
MELSEC-A
Construction
(1) Connection of remote I/O modules and remote terminal modules
A maximum of 64 stations of remote I/O modules and remote terminal modules can be connected to the A2C.
Also,
the
MINI-S3Iink disclosedevices can be connected. (See Section
2.3.)
(2) Applicable remote terminal modules
A maximum of 14 remote terminal modules among those mentioned
below can be connected RS-232C interface module is used, up to 7 modules can be connected.
(a) A68ADC A/D conversion module (b) A64DAVC D/A conversion module • (c) A64DAIC D/A conversion module (d) AD61C high speed
to
the
counter
A2C. However, when
module
the
AJ35PTF-R2
I
(e) AJ35PTF-R2 RS-232C interface module (no-protocol mode only)
(3) Use of the MINI-S3 link modules
The following restrictions are applied when the MINI-S3 link remote I/O
modules (a) Twisted-pair data link
(b) Optical/twisted-pair data link
(c) Optical
and
remote terminal modules are used.
module:
No restriction is applied.
module:
When twisted-pair shield cables are used, no restriction is ap-
plied.
When an optical data link module is used, use switch the twisted-pair shield cable data link with cable
Usable when the
data
link.
data
link
module:
the
optical/twisted-pair data link module is used as
optical data link module.
this
the
..
..
module to fiber-optic
2-3
2. SYSTEM CONFIGURATION
--------------------
I
Twisted-pair shield cable
-.
(8)
\
Optical fiber cable
Fig.
2.2
(4) Power
modules
supply
A2CCPU
(C)
(8)
/
Connectionofthe
for
the
A2CI/0
Twisted-pair shield cable
/
(A)
Twisted-pair
.>:
(A) : Twisted-pair data link (8) : Optical/twisted-pair
(C) : Optical data link module
MELSECNET/MINI-S3
module and
shield
the
A2C special function
MELSEC-A
cable
module
data
link
module
Modules
The
A2CI/0
VDC power supply. Use
purpose
(5) Both remote I/O modules and remote terminal modules, when used with
the
A2C, need station
If
two
or more different modules are set incorrect modules which are set for one same station
turned
See Section 4.7 for details of station setting.
modules and
24 VDC power supply.
input
and
ON.
the
the
number
output
A2C special function modules require 24
A66PC
will occur. Make sure
power
setting.
supply
for
module
one same station number,
number
or a general-
that
there
when
the
are no
power
is
2-4
2. SYSTEM CONFIGURATION
--------------------
(6) To eliminate incorrect
system considering the following. (a) Measures on turning ON and OFF
1) When turning ON the power,
first, and then, turn ON
remote I/O modules
2) When turn OFF the same time.
IREMARKSI
Power supply for the remote I/O modules indicates the following.
(1)
I/O
module power
5 VDC inside the system and used in the internal circuit of the (2) Input external power (3) Output external power
See the following manual for details.
A2CI/0
Module User's Manual
turning
the
supply:
supply:
inputatthe
together
OFF
the
remote I/O modules. Or,
Power supplied to the
Power supply for input modules
supply:
Power supply for output modules
remote I/O modules, design
the
A2C. Or, turn ON
power, turn OFF the A2C first, and then,
the
power
turn
ON
at the same time.
turn
I/O
module power supply Is converted to
MELSEC-A
the
remote I/O modules
the
A2C and the
them OFF
I/O
module.
together
the
A2C
I
at
(b) Measures against momentary power failure
Momentary power failure of the cause incorrect input.
1) Cause
The I/O module hardware converts the I/O module (24 VDC) to 5 VDC inside the module.
If momentary power failure input below OFF to turning OFF of internal 5VDC)
time of
Externalsupply 24 VDC (for I/O module power supply
and
input
Inside5VDC
Input (Xn)
for
occurs
because:
input
external
incorrect input due to momentary powerfailure
if I/O refresh is executed within duration (A) shown
(Time from occurrence of external
module).
power
supply)
power
occursinthe
ON
ON
ON
supply of
-
Whenthe input input(Xn)turnsoffafterthe ON-OFF responsetime
ofthe
input
external
module.
for
the
I/O module
the
I/O module may
power
I/O module, incorrect
power
supply
supply
> (ON to OFF response
(A)
-
powersupplyisturnedoff,
OFF
OFF
OFF
2-5
2. SYSTEM CONFIGURATION
--------------------
I
When
DC is
used
2) Prevention of incorrect Connect
the
to one same power supply.
L-
input
input
A2C, A66PC, stabilized
A2CCPU
",J
/TWisted.pai'
, / I/O
Stabilized
power supply
A66PC
A2CCPU
24 VDC
power
L-
__
MELSEC-A
supply
cable
I/O module power supply
-----'I
and
module
I Input external
AC
input
power supply
When input
used
AC
is
Stabilized
'-----
Fig.
power supply
2.3
A66PC
Power
Supply
24 VOC
Wiring
VOmodule power supply
------'1
Example
I
Input external power supply
2-6
2. SYSTEM CONFIGURATION
--------------------
MELSEC-A
(7) If two or more I/O modules are connected to one power supply, choose
drop
cables and wiring route considering voltage
the
The figure below explains
0---)
Stabilized
power supply
voltage
/
11
I
+ 12
\
Rl
drop
1/
caused by cables.
\
/
1/
caused by cables.
V2
R2
I
12
I
I
-,
,
I I
I,
I/O module 1
V1
Voltage drop between stabilized power supply and I/O module 1
V2 VoRage drop between I/O module 1 and I/O module 2
R1
Resistancebetween stabilized power supply and
R2 Resistance between
h Current consumption of I/O module 1
12
Current consumption of I/O module 2
I/O
module 1 and I/O module 2
110
12
I/O module
module 1
2
I
!Voltage
VI = Rl x
V2 = R2X
I
Receiving
(Receiving port voltage of I/O module 1)
(Receiving port voltage of I/O module 2)
drop
calculation
(11+12)
12
port
voltage
= (Voltage of stabilized power supply) - VI
of
I
I/O
module
I
=(Voltage of stabilized power supply) - VI - V2
An I/O module can be connected if the receiving portvoltage of I/O module
the
is higher than
rated voltage of the I/O moduletobe used.
2-7
2. SYSTEM CONFIGURATION
--------------------
System
2.3
2.3.1
Modules whIch can be connected to
Table
Module Type
CPU
module
Equipment
2.1
Remote
P2.C
CPU
Program steps
1/0
T : 256 points, C : 256 points, D:
User (Program
Comment
bytes)
MELSEC·A
In this section,
with
the
A2C are listed.
The remote I/O modules and remote terminal modules which can be con­nectedtothe
I/O
Modules
Description
capacity:
points:
1024 points, M,L,S : 2048
512
memory
area:8Ksteps
and
area:
file
the
I/O modules and peripheral devices which can be used
the
A2CCPU
A2CCPU are listed in Table 2.1.
and
Maximum
points
32K
registers:
Remote
8K
points
bytes
12K
Terminal
OCCupied
S1atlons Point. sumptlon
- -
Modules
OCCupied
Operable
Power
Con-
fYA)
110
Current
Con·
sumption
24VDC
(A)
-
with
Appllcol-
0
the
lion
A2C
Remar""
Built-In
power
supply
EP-ROM
I/O
module
power
=
VO
module
supply
Input module
4K
For 2K
ROM
8K
For 6K
ROM 16K
For 8K
ROM
A66
PC
PJ(
11C
PJ(
41C
PJ(
81C
Input
Output
AC
Input
100-120 VAC, 32 points
DC
input
12/24 VDC, 32
DC
input
(source/sink
12/24 VDC, 32
IREMARKsl
(1)
steps
steps
steps
:
100/200VAC
: 24 VDC, 0.6 A
module
module
module
Symbols
(sink
points
loading)
points
0,~and
o Applicable.
A
Applicable
I
loading)
I
x in
with
I
the
"Application"
restrictions.
- - -
-
4
eta-
tions
-
32 0.056
points
column
(See
indicate
Section
-
110
-
0.056
-
0.100
applicabilityofmoduleasfollows.
2.2.)
0
0
0
x
Not
(2) * :EP-ROM is
be
used.
applicable.
used
for
EEP-ROM
running
cannotbeused
thePCusingaprogram
2-8
for
the A2C.
stored
in ROM;
one
EP-ROM
can
2. SYSTEM CONFIGURATION
--------------------
Table
A2C
VO
module
A2C
VO
module module
2.1 Remote I/O (Continued)
Module
Output module
VOoom-
posile
Type Descrlp1lon
AY (sink loading) 51C
AY
23C
AY 13C
AY 81C
fIJ(
lOY lOC
fIJ(
40X 0.116 lOC
fIJ(
40Y
SOC
fIJ(
lOY
22C
Modules
Transistor
12/24 VDC, 0.3 A, 32
Triac
100-240 VAC, 0.3 A, 32 Relay 24 VDC, 0.5A 110 VAC, 0.5A,
32
Transistor
(source type) 24 VDC, 0.5A 32 points
AC input,
Input
Output : 24 VDC, 0.5 A, 110 VAC,
DC sink input, relay
Input : 2/24 VDC (sink loading)
Output : 4 VDC, 0.5 A, 100 VAC,
DC sink input, transistor
output
Input
Output
AC input, triac output
Input
Output : 100-240 VAC, 0.3 A,
sink
output
output
points
output
relay
: 100-120 V, 16 points
0.5
16
0.5
module
: 12/24 VDC (sink loading)
16
: 12/24 VDC (sink loading)
0.3A.16
100-120 VAC, 16 points
:
16
and Remote TermInal
output
module
points
module
module
module
output
A, 16 points
points
A, 16 points
points
points
module
output
points
module
I
points
I
module
sink
OCCupied
Stations
4 sta-
tions
4 sta- 32
tions
Modules
OCCupied
Point. sumptlon
32
points
points
Power
Con-
(VA)
-
-
Operable
Current
Con-
8umptlon
24VDC
(A)
0.09
0.18
0.093
0.055
0.074
0.072
0.074
MELSEC-A
with
the
Appllca-
tlon
0
0
A2C
Remerks
I
.emN
DIN Used to
adapter
lC A6DIN
(optional)
2C
IREMARKSI
(1)
(2) * : EP-ROM is
mount
to DIN rail
Symbols0,Ii.
o
Applicable.
Ii.
Applicable
x
Not
applicable.
used.
be
and
x in
with
used
for
EEP-ROM
-
the
"Application"
restrictions.
running cannotbeused
thePCusingaprogram
2-9
- -
column
(See
for
Section
the
A2C.
indicate
2.2.)
0
For
A2C1/0
-
0
applicabilityofmoduleasfollows.
stored
in ROM;
one
For
A2CCPU
EP-ROM can
2. SYSTEM CONFIGURATION
--------------------
Table
MINI­S3
remote
I/O
module
Module
Oul-of-
panel
typa
2.1
Remote (Continued)
MINI-53
Twl
Opll-
CIII
0
ted-
pair
I/O
Unk
..
Modules
Optl-
cal/
twl
..
ted-
pair
and
Remote
Input
VDC, 0.1
VDC, 0.5
points
Description
module
output
(sink
output
(sink loading)
Type
AC
A.l35P
J.8A
100-120 VAC, 8 DC input module (sink loading)
AJ35P
J-8D
12/24 VDC, 8
Contact output module I
AJ35P
24 VDC, 2 A, 240 VAC, 2 A,
J-8R
8 points
Transistor
module
AJ35P
J-8T1
12/24
S points
Transistor
module
AJ35P
J-8T2
12/24
8
Terminal
points
points
loading)
A/point,
A/point,
Modules
oe-
cupIed cupIed
StatIons PoInts tlon
I
I
I
1 sta-
tion points
Operable
oe-
8
with
Power
Con-
sump- sump-
(VA) 24VDC
-
Cur·
rent
Con-
tlon
(A)
0.04
0.04
0.13
0.08
0.03
MELSEC-A
the
A2C
Ap-
pll
..
lion
-
I'J.
Transistor
module (sink loading)
AJ35P
J-8T3
12/24
8
points
Triac
AJ35P
100/240
J-8S1
8
points
Triac
AJ35P
100/240
J-8S2
S
points
IREMARKSI
Symbols0,A and x in
o Applicable.
A
Applicable
x Not
applicable.
VDC, 2
output
VAC,
output
VAC, 2
the
with
output
A/point,
module
0.6
Alpoint,
module
A/point,
"Application"
restrictions.
I
I
I
column
(See
indicate
Section
0.065
0.065
0.08
applicabilityofmodule
2.2.)
as follows.
2-10
2. SYSTEM CONFIGURATION
--------------------
Table
MIN~
S3
remote
VO
module
2.1 Remote
Module
Out-of-
panel
type
(Continued)
MINI-S3Unk
Twls-
Optl-
ted-
cal
pair
0
I/O
Opll-
cal/
twIs-
ted­pair
Modules
Type
AC
AJ35T
J-8A
100-120 VAC,a
DC
AJ35T
(sink loading)
J-8D
12/24
Contact output module
AJ35T
24 VDC, 2 A,
J-8R
S
Transistor
(sink loading)
AJ35T
J-8T1
12/24
a
Transistor
(sink loading)
AJ35T
J-8T2
12/24 VDC, 0.5 AJpoint,
8
and
Remote
DescrIption
input
module
input
module
VDC, a
points
points
points
240
output
VDC, 0.1 A/point,
output
Terminal
Modules
oe- oe-
...-
SlatIons PoInta
T
points
points
T
VAC,2 A,
module
module I tion points
I
1 sta-
Operable
...-
a
MELSEC·A
with
the
Current
Power
Con- Ap-
sump-
-
tlon
(VA)
Con-
sump-
lion
24VDC
(A)
0.05
0.05
0.13
0.09
0.03
plica-
Ii.
tlon
A2C
Rerrwt<s
I
Transistor output module
AJ35T
J-8T3
12/24
Triac
AJ35T
J-8S1
100/240
8
Triac
AJ35T
100/240 VAC,2 AJpoint,
J-8S2
8
IREMARKSI
Symbols0,A
o Applicable.
Ii.
Applicable
x Not applicable.
(sink
loading)
VDC, 2 AJpoint, 8
output
VAC,
points
output
points
and
x in
I
points
module
0.6
AJpoint,
module
the
"Application" column Indicate
with restrictions.
1 1
(See
Section
0.065
0.065
0.09
applicabilityofmodule
2.2.)
as follows.
2-11
2. SYSTEM CONFIGURATION
____________________
MELSEC-A
Table
Module
MINI-
S3
remote
VO
modul
Com-
pact
type
2.1
MINI-S3
Optl-
cal
Remote
I/O
(Continued)
Link
OpU-
wls-
call
twls-
ted-
ted-
pair
pair
0
Modules
Type
AJ35
PTF-
32A
AJ35
PTF-
32D
AJ35
PTF-
24R
AJ35
PTF-
248
AJ35
PTF-
24T
AJ35
PTF-
28AR
AJ35
PTF-
28AS
AJ35
PTF-
28DR
AJ35
PTF-
2805
and
Remote
Description
AC input
100-120 VAC, 32 DC
12/24
Contact
24VDC,2
Triac
100/240 VAC,
24
Transistor
module
12/24 VDC, 0.5
AC
module
Input
Output:
AC input, triac
Input
Output:
DC input,
output
Input
Output:
DC Input
Output:
module
input
module
VDC, 32
output
A,240 VAC,2 A,24 points
output
module
points
output
(sink
loading)
input
contact
:
100-120
24 VDC, 2 A, 2 A, 12
: 100-120 VAC, 16
100-240 VAC, 0.6 AI
point,12points
contact
module
: Sink
loading,
12/24
24 VDC, 2 A, 2 A, 12
input,
triac
:
Sink
loading,
12/24 VDC, 16 100-240 VAC, 0.6 AI
point,12points
points (sink
points
module
0.6
Npoint,
Npoint,
output
V, 16
points
output
VDC, 16
points
output
Terminal
I
loading)
I
I
I
24 points
I
points
240
VAC,
module
points
I
points
240
VAC,
module
points
Modules
oe-
cupied
Stations
4stB- 32
tions points
oe-
cupled
Points
Operable
Current
Power
Con-
sump-
tlon
(VA)
Con-
sump-
24VDC
0.11
0.11
0.12
0.20
0.13
0.12
-
0.14
0.12
0.15
lion
(A)
with
Ap-
pllca-
tlon
0
the
Remarks
A2C
DC
output
AJ35
PTF-
28DT
Input:12/24 Output:
IREMARKSI
Symbols
0,
6.
o Applicable.
/!
Applicable
x Not
input,
module
(sink
12/24 VDC
(sink
0.5
and
x in
applicable.
transistor
VDC
loading)16points
loading)
Npoint,12points
the
"Application"
with
restrictions.
2-12
I
column
(See
indicate
Section
0.11
applicabilityofmoduleasfollows.
2.2.)
2. SYSTEM CONFIGURATION
--------------------
.
Table
'-IN-
53
"'""*'
va
module
Module
Com­poet
type
2.1
MINI-S3 Link
Optl.
cII
Remote (Continued)
iTwl
ted-
pol,
l•
I/O
Opll-
CIl/
\wll-
ted-
pol'
0
Modules
Type
AJ35
PTF-
56AR
AJ35
PTF-
56AS
AJ35
PTF-
56DR
AJ35
PTF·
5608
and
Remote
Delc,lptlon
AC
Input
output Input
Output:
AC Input,
Input : 100-120 VAC,32 Output:
DC input,
output
Input
Output:
DC input, triac output
Input Output:
contact
module
: 100-120 V,32points
24 VDC, 2 A, 2 A, 24 points
triac
100-240 VAC, 0.6 AI
point,
contact
module
: Sink
loading, 12/24 24 VDC, 2 A, 2 A, 24
: Sink
loading, 12/24 100-240 VAC,
point,
output
24
points
VDC, 32
point.
VDC, 32
24
points
240
module
240
module
0.6
Terminal
I
VAC,
point.
I
points
VAC,
points
AI
Modules
Oc- Oc-
copied copied
Statlono
8s1a-
lion.
PoInto
64
points
Operable
CUrrent
Power
Con-
lump-
tlon
(VA)
con-
lUmp-
24VDC
0.15
0.23
0.15
-
0.23
MELSEC·A
with
Ap·
pllce.
lion
lion
(AI
0
the
Remorb
A2C
I
AJ35
PTF-
56DT
0lIa r!< AI12
mcdJo
PT35 left.
IREMARKSI
Symbols0,11
x Not applicable.
DC input, transistor
output
module
Input
:
Output:
Used when the
type
I/O module is used as the
remote I/O module.
• Max. of I/O
• Max. I/O
• Occup.ied
16
(selecteble)
and x in the
o Applicable.
Ii.
Applicable
I
12/24
VDC
(sink loading) 32
12/24
VDC
(sink loading)
0.5 Alpoint, 24 points
building
modules:
points:
stations:
"Application"
with restrictions. (See Section 2.2.)
128
points
block
8
4, 8, 12,
column indicate
see
see
left.
applicability
0.16
-
-
of module as follows.
2-13
2. SYSTEM CONFIGURATION
I
--------------------
Table
Remote
terinal
module
'2
Inter-
face
module
2.1 Remote I/O (Continued)
MINI-53
Module
Optl-
cal
NO
module V)12·bitdigital output
"""""'"'"
DlA
converter 4sla- 32
module
High
speed
counter
module
RSZl2C
interface
module
(opticaV
twisted·
pairdala link)
Forcon-
rec&1g
foIEI.SEC.
series
F
Pes
For
necting
FR-Z2lO
general-
purpose to
inverters
0
ron-
0
"'wlo-
ted-
pal,
0
0
Link
Optl-
cal/
twls-
ted-
pal'
0
Modules
Type
MIl
ADC
A64
DAVC
A64
DAIC
AD61C
A.l35P
TF-R2
F-16
NP
F-16
NT
FR­ZDL
MELSEC-A
and
Remote
Description
8 channels, 12-bit
input
(4 to 20 m
4 channels, Con-
12-bit digital input
Analog
output
4
channels,
12-bit
digital
Analog
2 channels, binary 24 bits,
1/2 reversible
kpps
Connecting external
of RS-232C interface specifications
Used
the A2C.
Used Mitsubishi general-purpose
output
phase
module
MELSEC-F
the
for
devices
for
for
A2C.
input, counter,
connecting
series
connecting
FR-Z200
Terminal
analog
NO
to
±10
0 to
±10
V 1he
input
4 - 20 rnA ...d
50
No­plctoooI
Bar 4sla-
code tions
Modules
00-
cupled cupled
Stations
tions points
00-
Points
32
poirrts
Operable
Cunenl
Power
Con-
Bump-
tlon
(VA)
Cor>-
oump-
lion
24VDC
0.3
0.23
-
0.34
0.15
-
0.20
with
Ap-
plica-
tlon
(A)
0
0
x
read...
1Jpil*>
pes
to
the
series
inverters
2sla-
tions
4sla- 32
tions points
16
points
-
-
*1
*1
x
l!.
0
l!.
the
Remarka
Iormsto
MiIsu-
bishi
Stand-
Protocol.
A2C
IREMARKSI
(1)
Symbols0,A follows. o
Applicable.
A :
Applicable Not
x :
(2)*1
:For
current
(3)*2:Amaximum
A
maximum
and
with
applicable.
consumption,
of 14
remote
of 7 RS-232C
x in
the
restrictions.
see
terminal
interface
2-14
"Application"
(See
Section
the
manualsofinterface
modules
modules
column
can be used.
2.2.)
can be
indicate
used.
applicabilityofmodule
modules.
as
2. SYSTEM CONFIGURATION
-------------------
2.3.2
Peripheral devices
Unit
Programming
unit
with
CRT
Description
Intelligent
GPP
Composite
video
cable
Table
Type
A6GPPE­SET
*1
AC10MD
2.2
LIstofPerIpheral
Consistsofthe
Type
A6GPPE
SW[
jGP-GPPAEE A
SW[
jGP·GPPKEE
SWO-GPPU User
AC30R4
Cable
for
It
length.
• Consists of
connection
the
Devices
following
• Programming
Equipped
interface series
K series system
Cable
3
m/9.84
of GPP and
following
Remarks
models:
unit
with
ROM writer, FOD
functions.
system
disk
for
models:
disk disk
(3.5 inch, formatted)
connection
It
length
expanded
MELSEC-A
Remark
with CRT
and
of CPU and A6GPPE
monitor
display.
printer
1
m/3.28
I
Programming
unit
with
LCD
Programming unit
with
plasma
display
Hendy graphic programmer
Plasma
hendy
programmer
A6HGPE· SET
*2
A6PHPE-
SET *3
Type
Programming
A6HGPE
SW[
IGP-HGPAEE A
SW[
jGP-HGPKEE
SWO-GPPU User
AC30R4
• Consists of
A6PHPE
SW[
IGP-HGPAEE A series system
SW[
IGP-HGPKEE K series system
SWO-GPPU User
AC30R4
the
Type
Equipped
memory card interface functions.
series
K
series
Cable
3
m/9.84
following
Programming
Equipped memory
Cable
3
m/9.84
unit
with
FDD,
system
disk
system
disk
disk
(3.5 inch, formatted)
for
connection
It
length
models:
unit
with
FOD,
card
interface
disk disk
disk
(3.5 inch, formatted)
for
connection
It
length
Remarks
with
LCD
printer
Interface
of CPU
Remarks
with
of CPU and A6PHPE
plasma
printer
functions.
and
A6HGPE
display
interface
and
and
2-15
2. SYSTEM CONFIGURATION
I
-------------------
Unit
Common
programming
unit
and LCO
Programming unit
P-ROM
unit
to
with CRT
writer
Description
RS-422
cable
User
Cleaning
disk
Programming
unit
RS-422 cable
P-ROM
writer unit
RS-422
cable
disk
Table
2.2
LIstofPeripheral
Type
AC30R4
AC300R4
SWO-GPPU
SWO-FOC
A7PU
AC30R4 3
AC300R4
A6WU
AC30R4
AC300R4 30
Cable
for
A6GPP/A6HGP/A6PHP
User
disk
Cleaning
• -Connected to the CPU
*4
.5
programs.
The
A7PU is
audio
cassette
Cable
for
Usedtostore
the CPU.
Connection
Cable
for
Devices
connection
(3.5
inch,1ormatted)
disk
for
disk
Equipped
supplied
recorder.
connection
programs
by RS·422
connection
(Continued)
Remarks
of CPU
of CPU
of CPU and A6WU.
and
for
storing
drive
directlyofvia
withMTfunction.
with a cable
and
A7PU.
onto
ROM
cable
for
and
programs
cable
to read and
connection
read
programs
MELSEC·A
3
m/9.84
It
30
m/98.4
fllength
write
of the A7PU and
m/9.84
It
30 m/98.4 It
from
3
m/9.84
It
m/98.4
It
length
length
length
ROM
length
length
to
POINTI
(1)
.1:
Use
the
SW4GP-GPPA system
disk
upgraded
for
the
If SW[ IGPPA or SW3GP-GPPA is used, operate following
The system disk is not used, operate
the
cautions given in App. 4.
upgraded
the
A6HGP following
for
the
A2C. If SW[ IHGPAis
the
cautions
given in App.
4.
Use
the
SW4GP-GPPA system
If SW3-GPPA is used, operate
disk
upgraded
the
A6PHP following
for
the
given in App. 4. The A7PU is not
the
A7PU following
the
Use
A6WU
upgraded are applicable to A6WU of versions
upgraded
the
the
"0"
for
the
A2C. If A7PU is used, operate
cautions given in App. 4.
for
the
A2C. (Versions "E" and later
A2C.) Those EP-ROMs written by
and older
cannot
be installed to
(Only one ROM can be installed in A2C. However, regards tempted,
the
A2C as "A2', and if writing to
the
ROM is divided to
the
"even' and
the
EP-ROM is at-
"odd"
address areas.)
A2C.
the
A6GPP
A2C.
the
cautions
the
the
A6WU
numbered
the
A2C.
2-16

3. GENERAL SPECIFICATIONS

--------------------
3. GENERAL SPECIFICATIONS
Table 3.1 shows
Table
Item
Operating
ambient o
temperature
Storage ambient
temperature
Operating
ambient
Storage ambient humidity
Vibration
resistance
Shock
Noise
Dielectric
withstand
voltage
humidity
resistance
durability By
to
55°C
-20to75°C
10 to 90% RH,
10
to 90% RH, non-condensing
Conforms to
*JIS
C 0911
ConformstoJIS C
noise
1500
VAC
500 VAC
non-condensing
9012
simulator of
for1minute
for1minute
Frequency Acceleration
10 10
5510150
1500
across
across
the
common specification of various modules used.
3.1 General
55Hz
Hz
(10 9 x 3
times
Vpp
noise
AC externals
DC external
SpecificatIons
Specification
-
1 9
in 3
directions)
voltage,1ps
and
ground
terminals
noise
and
AmplRude
0.075
mm
(0.003 in) 10 times
-
width
and
25 to 60 Hz noise
ground
MELSEC-A
Sweep Count
*(1 octave/minute)
frequency
I
Insulation
resistance Grounding Operating
ambient Cooling
method
5Meof AC
Class3grounding:
Free of
Self-cooling
larger
external
corrosive
by 400 VOC
terminals
IREMARKSI
(1)
One
octave frequency. 40 Hzto20 Hz,
(2)
Sinceavaristorisprovided
between
(3)
Disconnect A66PC.00not since
they
Note:
insulation
and
ground
groundingisnot
gases.
Oust
marked*indicatesachange
For
example,
and
AC and LG.
grounding
connect
are
shortedinthe
resistance
required
shouldbeminimal.
any of
20 Hz to
between
of FG
andLGbefore
leadstoFG and LG
when
the
changes
10Hz
are referred to as
AC and LG, do
module.
tester
across
it is
impossible
from from
applying
when
10Hz
applying
*JIS : Japanese Industria/ Standard
the
initial
frequencytodoubleorhalf
to 20 Hz,
one
not
applyavoltageof400Vor
the
maximum
octave.
the
maximum
from
allowable
20 Hzto40 Hz,
voltagetothe
allowable
voltage
from
higher
3-1
4.A2CCPU

4. A2CCPU

Performance
4.1
MELSEC-A
I
(1) Performance specifications
Item
Control system I/O control method
Programming language
Sequence instruction
Number of
instructions
Processing speed (sequence instruction) (p sec/step)
110
points Watch dog timer Memory capacity
Program capacity
Internal Latch
Number of step relays (8) (point)
Link
relay
relay (L)
relay
(WOn
(B)
Basic instruction
Application
instruction
(msec)
.1
(M) (point)
(point)
(point)
Number of points
Table 4.1
Repeated operation (using stored program)
Refresh mode
Language dedicated to sequence control (Combined use of relay symbol
type and logic symbolic language)
22
131
97
1.25
512 10 to
32 K byte built-in RAM for user
Max. 16K (8K step) 1000 (MOto 999) 1048
ListofPerformance
2000
(L1000 to 2047)
Performance
The number of Ms + Ls + 55 =
(set in parameters)
2048
o (Defaults to no value)
1024 (BOto 3FF)
256
Device
Timer
en
Specifications
Counter
Data register (D) (points) 1024 (DO to 1023)
Link
Annunciator (F) (points) Index register (V, Z) (points)
Nesting
(C)
register
(N)
Numberofpoints
Specifications
0"1)
(points) 1024 0"10to 3FF)
(points)
*1 •
Total memory capacity for parameters, TIC set values, program capacity, file registers,
comment points, sampling trace and status latch. See Section 4.4 for memory capacity calculation.
100 msec
10 msec 100 msec retentive
(setting time 0.1 to 3276.7sec)
256 Selling
256 (FOto255) Max. 4096 (AO to 4095) 8 (NOto 7)
timer:
timer:
range
1 to 32767 (COto 255)
4-1
selling
time
0.1 to 3276.7sec
setting time 0.01 to 327.67sec (T200 to 255) parameters
timer:
depending on setting
(TO
to 199)
]-
Set
in
4.A2CCPU
-------------------
Table
Item
Pointer (P) (points)
Device
Special Special
Comment (points)
Self·diagnostlc functions
Operation mode at the time of error STOP/CONTINUE
STOP
~ RUN
A2C
internal
supply
Weight
kg (Ib)
relay (M) (points) register (D) (points)
.2
output
mode
Input power
Input frequency 50/60 Hz ± 3 Hz
Maximum
power
input apparent 110 VA or less
power
Input current 20 AP/20 AP or less Efficiency
Allowable
momentary
power failure
4.1
ListofPerformance
256 (POto 255) 256 (M9000 to 9255) 256 (09000to 9255)
Max.
1600
(Specify in batches of 64 points)
Watch dog error monitor (watch dog timer 200 msec), Memory error detection, CPU error detection,
etc.
Output
dataattimeofSTOP
100to
120 VAC/200 to 240 VAC
(85 to 132 VAC/170 to 264 VAC)
65% or over
20 msee or
A2CCPU : 1.1 (2.41) A2CCPUP21 A2CCPUR21 : 1.5 (3.28)
less
1.5 (3.28)
:
MELSEC·A
(Continued)
Performance
I/O
error detection, battery error detection,
restored/data output after operation execution
:;:1~~
I
.2.
With GPP/PHP/HGP, comments up to 4032 points can be used. Note that the maximum
of storage capacity of the A2C is 1600 points.
4-2
4.A2CCPU MELSEC-A
(2) Data link module performance specifications
I
Table
Maximum
-------------
Max. usable link
points per station
Max.
link
1
system
Max. Allowable Communication Communication Synchronous
Transmission path
Overall loop
Numberofconnected Demodulation Transmission Error
RAS
Connector
Cable
numberofI/O
number
points
of
number
numberoflink
of
in
momentary
method
distance
method
format
control
function
system
used
Input Output Link
Link
points
power
speed method
method
*1
stations
points
(X)
(y)
reley register
in 1
failure
4.2
(B)
station
rt'/)
Data
time
Link
Module
512 512
points
512
points
1024
(1/8
1024(2bytes/points, Y + B + W s Within
20 msee
1.25
MBPS
Half
duplex
Frame
synchronous
Duplex
Max. 10 km (32810 It) Max. 10 km (32810 It) (1 km (3281 It)
Max. 65 CMI
method
ConformstoHOLe
Optical
A2CCPUP2t
(64 (64
byte/point,
1024
bit
loop
method
units/loop
Performance
Data
bytes) bytes)
serial method
station
(1 master station, 64 local/remote I/O stations)
Retrydue to CRC (generating polynomial X
Loopback
diagnostic 2-core
(CA9003) 81-200/250 3C-2V, 5C-2V
function
function
optical
duetoerror
connector
Link
128
bytes)
2048
bytes)
bytes
method
interval)
(frame
method)
suchashost
plug
Specifications
Coaxial
A2CCPUR2t
(500 m (1640.5 It)
16
+X12+
detection
link
line
BNC-P-5, BNC-P-3-NI (DDK)
equivalent
and
x.s
cable
Data
Link
station
intervaQ
+ 1) and time over
breakage,
equivalent
IREMARKSI
The
overall
the
receiving
10 km (32,810 tt) in
loop
distanceisthe
port
of the
Overall
both
loop
master
optical
distance
4-3
distance
station
via
and coaxial
from
slave
the
cable
sending
stations.
loop.
portofthe
The
maximum
master
loop
station
distance
to
is
4.A2CCPU
------------------
4.1.1 Repeated operation processing
Sequence programs are written by the peripheral device and stored to the
A2C user program area (maximum 8K steps). The A2C reads
area and performs
the [END)(FEND) instruction.
(1) Stored program system
Sequentially reads and operates the program stored in gram area.
(2) Scanning
Operates
[END)(FEND).
Step number Sequence program
Flg.4.1
the
required program sequentially from the
the
repeated operation processing in
the
program in
0
1
2
3
+
Sequence
LD
OR
ANI
OUT
orderofstep
XOOO YOlO XOO1 YOlO
to
END
Program
Operation
numbers from
n
,
,
J
Processing
MELSEC-A
user
program
orderofstep
the
user pro-
step
0 to the
I
0 to
I
4.1.2
Initial processing
Initial processing initiates
following initial processing is executed when
by
the
RUN key switch.
Initial processing time is 2 to 3 seconds
figuration
(1) I/O modules initialization
Resets and initializes
(2) Data memory clear
Clears the
(3) Link parameter setting
In
the
a data link module before starting data link.
data
case of a MELSECNET link station, link parameter data is set to
the
sequence program operation processing. The
though
the
I/O modules.
memory which is not latched by
the
A2C is turned ON or reset
it varies with system con-
the
peripheral.
411
4-4
4. A2CCPU
--------------------
MELSEC-A
(4) Self-diagnosis
I
4.1.3
END processing
The PC CPU further
END processing returns the A2C to step 0 after execution to allow repeated operation processing.
(1) CPU error check
Checks battery power, etc.. See Section 4.3.1 for details.
(2) Timer/counter processing
Updates timer/counter present values and details, see Section 4.1.4 and 4.1.5.
(3) Sampling trace processing
Stores
sampling trace is executed every scan (after END execution)
conducts
details, see Section 4.3.1.
the
specified device status to
self-checks when it is powered up or reset. For
the
the
END (FEND) instruction
contact
sampling
status. For further
trace
area when
the
(4) Operation state check
Checks operation state of the A2C and switches to PAUSE state. For transition processing to states, see Section 4.1.9.
(5) Constant scan processing
the
Allows
specified constant scan time (set to special
reached.
(6) Link refresh processing
After receiving a link refresh request signal from
link, link refresh processing is executed.
The A2CCPUP21/R21 can set link refresh enable/disable by M9053 and
DI/EI instructions.
repeated
operation
processing
the
to be
the
RUN, STOP or
RUN, STOP and PAUSE
initiated
data
register D9020) is
the
MELSECNET
after
the
data
4-5
4.A2CCPU
-------------------
4.1.4
Timer processing and accuracy
MELSEC·A
The A2C uses up-timing timers which increase present value as measuring time increases. Three kinds of timers are provided; 100 msec timer, 10 msec timer and 100 msec retentive timer.
• 100 msec timers ... setting
0.1 to 3276.7
• 10 msec timers ... setting
0.01 to 327.67
• 100 msec retentive timers ... setting
0.1 to 3276.7
Processing when the coil is turned off differs from msec timers.
The following paragraphs explain timer processing.
(1) Timer present value and contact status update
With continuity in front of a timer coil, the timer present value
contact status are updated after instruction and
sec
in 100 msec increments
sec
in 10 msec increments
sec
in 100 msec increments
the
range:
range:
range:
the
execution of
timer contacts close after
the
the
timer has
processing of 100
the
END (of FEND)
timed
out.
and
I
(a) 100 msec
When present value is reset to 0 and
(b) 100 msec retentive timer
When the continuity is removed from in front of the
present value update is stopped
(2) RST
T[
) instruction executed
When
reset to 0 and
present value
instruction.
the
and
the
continuity is removed from in front of the
timer is reset by the RSTT[) instruction,
the
and
10 msec timers
timer
coil,
the
the
timer contacts open.
timer
coil, the
but
the present value is retained.
the
present value is
timer contacts open. The retentive timers retain their
contact status, and are reset using
the
RSTT[)
4-6
4.A2CCPU
--------------------
MELSEC-A
(3) OUT T[ I jumped
If
the
OUT T[ I instruction is jumped after the timer has started timing,
it continues to time. The contacts are closedwhen
o
I
f-------y
I
END 0
I I
IVvA(V''vI--1-----f/V'/V'.,N--
ITimer
present value updated I
the
timer times out.
END 0
I
AAAA
I v v '1
L
ITimer contact status updated
FIg. 4.2
JREMARKsl
Accuracy of timers when external inputs are used is within 0 to+2from the scan time. For timer timing and accuracy, read the ACPU Programming Manual (Fundamentals).
Timer
Processing
4-7
4.A2CCPU
--------------------
4.1.5 Counter processing and maximum counting speed
The A2C uses up-timing counterswhich increase leading edge of an
Counters are used by incorporating in routine programs.
(1) Counter present value and contact status update
Counter coil Is switched on and off by counter
after
the
close after
presentvalue and contact status even ifthe countercoil is switched off.
(2) RST C[
I instruction executed
When the counter is reset by the RST C[
is reset to 0 and the counter contacts open.
input
signal.
present value is
updatedonthe
END (FEND) instruction is executed. The counter contacts
the
counter has counted out. The counters retain their
... MELSEC·A
their
presentvalues on
the
main routine programs or
the
OUT C[ I instruction. The
leading
I instruction, the present value
edgeofthe
the
sub
coil signal
I
o
END
Counter present value updated
Counter contact status updated
Fig. 4.3
o
Counter
Processing
END
o
IREMARKSI
The maximum counting speed of the counter depends on the scan time. Counting Is only
possible if the input condition is on for more than one scan time. For further details, see the ACPU Programming Manual.
Maximum counting speed Cmax
where. n =
duty
(%)
Duty is the ratio of the input signal's on time to off
Count input signal
ON OFF
=
1~Ox~
(times/sec)
time
as a percentage.
If T1 s T2
lin>
T2
ts : Program scan time (sec)
n = n =
4-8
T1
Tf+T2X
T2
Tf+T2x
100 (%) 100 (%)
4.A2CCPU
--------------------
MELSEC-A
4.1.6
Operation processing at momentary powerfailure
The A2C detects momentary power failure when
power supply module falls below
The A2C performs two different kinds of operation processing the
length of momentary power failure time across 20 msec allowable value.
(1) Momentary power failure within 20 msec
(a) The operation processing is (b) The operation processing resumed where normal status is restored. (c) The watch
stop. For instance, if and 190 msec respectively, an momentary power failure of 20 msec will result is a WDT error.
Momentary power failure occurs.
END 0 1 / END 0 END
I I
~ND
processing The A2C stops program
dog
timer (WDT) keeps timing while the operation is at a
the
. Power recovery
"\
i I I I
-+-----+-
operation. operation
WDTtiming
the
input
line voltage to the
the
defined range.
depending
stopped
WDT and scan time settings are 200 msec
(Sequence program continues.)
with the
output
retained.
on
o
I
'-------y'
Sequence
Fig. 4.4
(2) Momentary power failure over 20 msec
The A2C is reset. The A2C performs the initial start processing as it does when it is turned on or reset by
Momentary power failure occurs.
END 0 j
I I
'--cE'ND
Fig.
Momentary
processing
4.5
Momentary
Power
Failure
Power failure (Initial start)
within
the
RUN key switch operation.
20
msec
/0
'i I 1===11--
~Sequence
I L Initial program
processing
The A2C stops operation.
Power
Failure
. operation
over
20
msec
oEND
4-9
4.A2CCPU
--------------------
4.1.7
Scan time
(1) Scan time
the
Scan time is executed.
o
period in which PC one scan [0 to END (FEND)) is
Scan time
T--~T_-
----------oi[
(2) Scan time confirmation
--
----_-_-
__
Fig.
4.6
sequence
Processing of counters and timers
Self-diagnosis check
Scan Time
program
MELSEC·A
I
The A2CCPU counts the scan time between an END (FEND) instruction
to
the
next END (FEND) instruction and registers
in special registers D9017 to D9019.
(a) Special register data (D9017 to D9019)
• D9017 : The minimum scan time
• D9018 : Present scan time
• D9019 : The maximum scan time
(b) Accuracy of scan time
The accurate to scan time counted by the programmable controller
is accurate to
Therefore, if the data in D9017 to D9019 is 5, actual scan time is in the
range of 40 to 60 msec.
(c) The datain D9017 to D9019 is not cleared when
is executed; the scan time between an END (FEND) instruction and
the next END (FEND) instruction is registered.
IREMARKsl
(1) The scan time can be confirmed by the circuit monitoring operation using a peripheral
device.
* Scan time of 0 to 20 msec : 10 msec is displayed
±10 msec.
the
the
counted
WDT instruction
scan time
'*Scan time of 10 to 30 msec: 20 msec is displayed
(2)
The
constant scan function allows the scan time of every scan to be fixed to 8 constant
value. For more details on the constant scan function, see Section 4.2.1.
4-10
4, A2CCPU
--------------------
4.1.8 Watch dog timer (WDT)
The watch
repeated operation function. It also monitors sequence program.
(1) Watch
The watch This setting can be changed to between 10 and 2000 msec (in intervals
of 10 msec) using a parameter.
(2) Watch
(a) The watch
(b) A watch
dog
timer
is an internal timer used to
dog
timer setting
dog
timer default value is 200 msec.
dog
timer
operation
dog
timer is reset after
tion
as
long
as PC operation is normal (scan time is within
setting).
dog
timer
error
will
occurifprocessingisnot within scan time or faulty hardware. In
the
predetermined time due to a long sequence program
detect
the
the
execution of
this
case, operation stops.
errors in
time of one scan of a
MELSEC-A
the
the
END instruc-
completed
PC's
the
(3) Response to watch
After
the
watch
(a) Infinite
1) The A2C stops communication with a remote
2) The A2CCPU can be monitored with a peripheral.
3) Error
(b) END instruction executed after
1) The A2C
2) After
loop
However, sequence program operation continues RUN key switch is set
STOP is to be
Test operation of
program using
code
Only sequence program operation continues (even when RUN switch is set in
the
communicate with a peripheral.
dog
dog
timer counts up,
done
the
"25'
is stored in 09008.
stops
communication with a remote
execution of
timer
errors
the
following
for
STOP because swltchinq from RUN to
after
the
execution of
the
A2CCPU or read/write/verify of a sequence
peripheral is not possible.
the
watch
the
STOP position).
the
END instruction,
the
dog
processing
module.*
though
END instruction.
timer
setting expires
module.*
the
A2CCPU can
occurs.
the
the
3) After
the
execution of
stored in 09008.
the
4) The scan time required until
is stored in 09019 and 09018.
4
-11
END instruction, error
the
execution of
the
ENO instruction
code
"25'
is
4.A2CCPU
--------------------
MELSEC·A
Scan time (WDT counting value)
Sequence program
operat1ion
~ND
END 0 END
==1.-I=======I-t=======-
(4) Watch
Do one of the following if than
(a) Change
(b) Change the watch
dog
timer error processing
the
watch
the
the
watch dog timer setting.
Setting
range:
Fig. 4.7
dog
sequence program so
Resetting
the
scan time of a sequence program is greater
timer setting.
dog
timer setting.
0 to 2000 msec
I
I
1
pro6eSsing time
o END
1 I
L WDT reset
Watch
that
WDT error occurs If the WOT counter value exceeds
the
.etting
(WDT
Is reset
when END is executed)
Dog
Timer
the operation time is within
I
(c) Reset
The watch
executed and it begins counting again from "0·. Note
reset when
POINT I
(1) The watch dog timer setting must be as indicated below if constant
scan (see Section 4.2.1) is set.
IConstant scan setting + 10 msec s Watch
(2) When the A2C stops communication with a remote terminal module.
the output state of the remote module is as
(a) A2C I/O module : all turns OFF
(b) Remote I/O module
the
program.
that
watch
the
dog
timerwith
dog
timer is reset at the time the WOT instruction is
scan time values registered in
the
WOT instruction is executed.
for
MINI-53:
the
worinstruction in
09017to09019
dog
timer setting I
follows:
depends
on EC mode setting
the
sequence
are not
4-12
4. A2CCPU
--------------------
I
IREMARKSI
(1)":An
infinite
loop
maybecaused
step number because of a CJ instruction.
Example:
if a
program
execution
MELSEC-A
sequenceisjumpedtoa
smaller
4.1.9
xo
(1) Data
a)
b)
c)
xo
storedinspecial
09017:
09018:
09019:
OJ
Smallest
Present
Largest
registers
valueofscan
valueofscan
valueofscan
RUN, STOP, PAUSE operation processing
The A2CCPU operates in one of the following
(a) RUN state
The PC CPU operates to
the
END (FEND) instruction.
(b) STOP state
All
outputs
(Y) are
not executed.
An
infinite
struction step
CJ POto
thereby
PO,
END instruction.
09017to9019
time
time
time
the
sequence program repeatedly from step
turned
off and sequence program operation is
loop
calling
between
precluding
is caused if
forajump
pointPOand
the
three
there
is no
step
jump
beyond
step
to a
executionofthe
states:
in-
CJ
(c) PAUSE state
Execution of a sequence program is suspended. The status of all outputs
The
PC
described
(Y) before entering
CPU's
operation
below.
the
PAUSE state are saved.
processing
in
each
operation
state
is
4-13
4.A2CCPU _-------------------
MELSEC-A
(1) Operation processing in RUN state
(a) The RUN state indicates the state in which
sequence program repeatedly from instruction.
(b) The
(c) In the RUN state,
output varies according to the 'STOP parameter.
1) Output of operation state before STOP After
are output,
2) Output after operation Outputs The time required before starting sequence program operation
after to seconds.
until
the
status of the
the
outputs (y) saved before the entry to
the
PC CPU executes the sequence program.
(Y) are
the
changing
the
system
operation state is changed from RUN to STOP or PAUSE.
output
configuration;
the
outputs
after one scan of
the
switch from STOPto RUNvaries according t
processing illustrated in Fig. 4.8 is repeated
....
(V)
it is
step
at
RUN
the
usually
the
PC CPU operates a
0 to
the
entry to
output"
the
the
mode
the
sequence program.
between 1
END (FEND) I
RUN state
set with a
STOP state
and
3
RUN
Is the output
mode at STOP-to-RUN
switch before
operation'?
YES (Before operation)
The
status of the outputs M
which have
before entering the STOP
state is
I/O modules are refreshed
Sequence program operation processing
END (FEND) instruction
END
Operation state check
been
set
to the
Step 0
to
processing
I
I
saved
device
area.
)
NO (After 1 scan)
I
I
Fig. 4.8 RUN
IREMARKSI
For details on individual processing in Fig. 4.8, refer to Section 4.1.1 to Section
4-14
Operation
Processing
4.1.3.
4.A2CCPU
--------------------
I
MELSEC-A
(2) STOP operation processing
(a) The STOP state indicates the state in which sequence program
operation has been STOP switch.
(b) When the PCCPU entersthe
before other than
(c) In the STOP state,
until the operation state is changed from STOP to RUN or PAUSE.
turning
the
stopped
off all
outputs
outputs
(Y)
the
processing illustrated in Fig.
(
Output state is saved and all
outputs are turned off
I/O modules are refreshed
using
stop
(Y).
is retained.
STOP
I
the
RUN switch or the remote
state, it saves
Note
that
)
the
output
the
status of devices
4.9
is repeated
I
CPU error check
statuses
I
Operation state check
I
Fig. 4.9 STOP
IREMARKSI
(1) To set the PC CPU in the stop state, use one of the following
a) RUN
b) Remote STOP contact
c) Peripheral device
d) STOP
switch
J-For details, refer to 4,2,3.
command:
For details on individual processing, refer to the ACPU Programming Manual (common
instructions).
Operation
Processing
methods:
4-15
4.A2CCPU
--------------------
(3) PAUSE operation processing
(a) The PAUSE state indicates
processing is stopped by the remote PAUSE signal. The status of
the outputs
(b) In
the
repeated until the operation state is
or STOP.
(V)
and the data memory are retained.
PAUSE state,
(
I I
I
the
I/O modules refreshed
CPU error check
Operation state check
MELSEC-A
the
state in which sequence operation
processing
PAUSE
j
illustrated
changed
)
in Fig. 4.10 is
from PAUSE to RUN
I
1
I
1
I
I
I
Fig. 4.10 PAUSE
IREMARKSI
To set the PC CPU in the pause state, use one of the following
a) Remote PAUSE contact b) Peripheral device For details, refer to Section 4.2.4.
Operation
Processing
methods:
4-16
4. A2CCPU MELSEC-A
(4) The relationship between the A2CCPU operation state and operation
processing is indicated in Table 4.3.
I
~
A2C
A2C
Operation
Processing
State
RUN~STOP
STOP ~ RUN Started
~
PAUSE
RUN
PAUSE ~ RUN Started
Sequence
<,
Stopped
Stoppad
(5) Processing while sequence program operation processing is stopped
Table
Processing
I/O
Refresh
A2C
State
Table
Operation
4.3 A2C
Program
Output status is savedbythe
and all outputs switched off. retained.
Depends on the
output mode set in the parameter. at the
Output status is retained.
Operation resumes In the PAUSE output status.
is indicated in Table 4.4.
4.4
CPU
Check
Error
Processing
Timer!
Counter
Present
Value
Contact
Statu.
Update
During
and
Operation
External
Output
STOP..RUN
Program
Constant
Scan
Processing
(with
constant
scan
Processing
as
Operation
Refresh
Processing
set)
Data
Memory
(M,l,S, T, C, D)
Statusatthe
Operation is resumed in the status
tima
Status at retained.
Operation resumes in the status at the time of PAUSE.
time
of STOP.
the
timeofPAUSE
of
Stop
Link
Sampling
Trace
Processing
Operation
State
STOP
Check
is
is
RUN (END
processing)
STOP PAUSE Executed Executed
Executed Executed Executed
Executed
Executed
- -
- -
Executed Enable Executed Executed
Enable Enable
-
-
Executed Executed
4-17
4. A2CCPU
--------------------
4.2
Functions
Function
Constant scan
Latch (power failure
compensation)
Remote RUN/STOP
Pause
Status
latch
Sampling
trace
MELSEC-A
Functions of
Execute pendentlyofthe
Setting
allowed
• Retains
powerfailure
• L, B, T, C, 0 and W can be latched.
Allows
remote
external
Stops
operation
• Pause
function
• Remote
Peripheral
Stores
all
status
latch
The
stored
Samples intervals
the A2C. Section 4.2.6
the
CPU module are listed in Table 4.5.
the
sequence
device
Table
4.5
programatthe
scan
time.
between10and
dataifthe
occurs20msec
run/stop
input,
computer)
with
output
maybeswitched
pause
contact
device
datainthe
conditionisswitched
data
can be
the and
specified
stores
device
the
ListofFunctions
Description
predetermined
2000
msec.
PC Is
switched
01 longer.
from
external
with
(Y)
status
monitoredbythe
sampling
device
RUN/STOP
status
on by any of
latch
on.
operating
resultinthe
retained.
intervals
off
or reset or
(e.g.
switchinRUN
the
areainthe
peripheral.
statusatpredetermined
sampling
momentary
peripheral,
position.
following
A2C
when
trace
ways:
inde-
the
area
Ref~r
Section
Section
Section
Section
Seetion
in
I
to:
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
Offline
switch
Priority
ERROR LED
setting
The
Allows be
disconnected
Sets
stored
data
the
device
on/offofthe
can be
monitoredbythe
(Y, M, L, S, F, B)
from
the
sequence
ERROR LED in
used
with
program
the
caseoferror.
peripheral.
the
OUT
operation
instruction
processing.
to
Section 4.2.7
Section
4.2.8
4-18
4.A2CCPU
--------------------
MELSEC-A
4.2.1
Constant scan
Because the processing time of each individual instruction in a sequence program differs depending on whether or not the instruction is executed, the scan time differs accordingly for each scan.
The constant scan function sets such varying scan times to a fixed value regardless of the sequence program processing time.
Scantime - constant scan function Is not used
END
Sequence
~
o END 0 END
~
program
END
processing
I I' I I I
50
msec
I
I
Scan time - constant scan function Is fixed to 70 msec
END
I
Sequence
~
o END / 0 END
I'
50
msec
70
I'~
Wait
msec
program
END
- ' I I
~
20 rnsec
60
processing
60
msec
70
msec
msec
I
0
I
~
--
10
I
I
0
+------1
mslec
50
70
I
T
50
msec
END
mS80
msec
END 0
. I
~--+-
20 m
f-----
I
0
ec
Fig. 4.11
(1) Setting range
(a) Constant scantime can be set in
Enter the required constant scan time to special register D9020 in units of 10 msec (setting value between 10 and 2000).
If D9020 is set outside scan time will be set as indicated below.
-32768 1 to
200
201 to
Setting
32767
to 0
for
D9020
Constant
the
Scan
Function
the
range of 10 msec to 2000 msec.
range of 1 msec to 200 msec, the constant
Constant Scan Time
Not
set
10
msec
to
2000
msee
2000
msec
4-19
4.A2CCPU
--------------------
(b) The watch
time setting.
If
the
setting, a WOT error might occur. The relationship between
watch
dog
timersetting must be greater
watch
dog
timer setting is smaller than
the
dog
timer setting is indicated below.
constant scan time setting
o< Constant scan time setting < WOT setting -1
(c) The set constant scan time must be greater
time of the sequence program. If the sequenceprogram scan time is
time, the constant scan function is not performed correctly.
Constant scan setting
Constant
scan
Sequence
program
I I
10 20 30 40
0
I I I I
I
END 0
H-I
35 msec
40 msee
I
I
10 20
I
5 mseo
30 40
I I I
53
msec
END
H
longer
10 20
I I
0
than
30 40 10 20
35 msee 37 msec
MELSEC·A
than
the
constant
the
constant scan time I
the
maximum scan
than
the constantscan
I I I I
HI
34 msee
2
eo 40
meec
and
Hf-
I
scan
8m
the
sec
Scan
in which c10nstant scan is
not executed correctly
Fig.
4.12
Scan Time
(2) Setting for constant scan execution
(a) Constant scan execution
A constant scantime setting is written to program or
(b) Constant scan not executed
The value the
peripheral device.
the
peripheral device.
"0'
is written to 09020 using
Larger
than
Constant
09020
the
Scan
Setting
using
the
sequence
sequence program or
4-20
4. A2CCPU
--------------------
MELSEC-A
(3) Caution
(a) The constant scan time setting value stored in D9020 is cleared to
the
zero (0) when
switch.
Therefore, it is necessary to write
scan is required from is started or reset.
Normally ON contact
A2CCPU is powered up or reset using
the
following program if constant
the
first scan immediately after
the
.>
~0~16~__-[~~
(b) If a momentary power failure of less
constant scan time is lengthened accordingly. In constant scan function is not executed correctly.
I MOVP
K [ J[ J
___
I
D9020
I
Constant scan time setting value
than
H
20 msec has occurred,
this
the
RUN
A2CCPU
case,
the the
(c) If a peripheral device is connected to
is lengthened by between
the
the
time (0.2 msec) required
A2CCPU and
the
peripheral device.
the
A2CCPU,
the
set scan time
for
communication
4-21
4.A2CCPU
--------------------
4.2.2
Power failure compensation
MELSEC·A
for
device data In the A2C (LATCH function)
Each individualdevice of the A2CCPU is reset when
up. Device will be cleared when a momentary power failure than 20 msec. After being reset or cleared, all device data is reset default values (OFF
The latch function retains reset by momentary power failure occurs
Sequence program operation is
(1) Applications
(2) Latch devices and latch range setting
turning
The latch function is used to continue the control by retaining as
the
number
products,
for
more than 20 msec.
(a) The devices whose data can be latched are listed
for
bit devices and 0
the
device data in
on
the power or pressing using the RUN switch or a
for
the
of
completed
and
the addresses should a momentary power failure
for
word devices).
more
than
same whether
products,
the
event
20 msec.
the
the
the
A2CCPU is powered I
occurs
that
the
A2CCPU is
data is latched or not.
data
number
of
below:
defective
for
more
to
the
such
occur
1) Latch relay
2) Link relay
3) Timer
4) Counter
5) Data register
6) Link register
(b) The latch range is set in
POINTI
Device date within the latch range is backed by installed on the A2C.
(1) The battery is required even when the operation is performed using a
ROM which stores the sequence program.
(2) Device data within the latch range is destroyed if
is disengaged from the A2C when
(TO
(CO
(LO
to L2047)
(BO
to B3FF)
to T255)
to C255)
(DO
to 01023)
(WOtoW3FF)
the
peripheral parameters
the
A2C is
being
per
the
battery (A6BAT)
the
battery turned off.
device.
connector
4-22
4. A2CCPU
--------------------
(3) Clearing the latched data
(a) To clear the latched data to
formed. tioned below.
After the latch clear operation, the data in the
"latch
following:
clear" also clears unlatched device data, as men-
1) Y, MIllS, F, B
Turned off
2) Special relays Data is retained
3) T, C
Contacts and coils are turned off; present value is set to O•
4) 0, Z, V, W, A
Data is set to zero.
5) R
MELSEC·A
the
initial value, "latch clear" is per-
the
each device is set to
Data is retained.
6) Special registers
Data is retained.
(b)
latched
1) Using the RUN switch
POINi'T
To cancel
or RESET position while the latch clear operation is being attempted. (1) RUN position
The A2CCPU starts operation in the same manner as when the RUN
switch is placed in the RUN position from the STOP position.
data can be cleared in either of the following
QTurn
iQ
iiQ
the
the
RUN switch from
position three times.
The RUN
data is ready to be cleared.
Turn the RUN switch from position while the RUN
cleared.
data latch clear operation, turn the RUN switch to
lED
starts flashing. This indicates
the
the
lED
STOP position to
STOP position to
is flashing;
two
that
the
the
latched data is
methods.
the
latched
the
the
L.ClR
L.ClR
RUN
(2) RESET
2) Using GPP/PHP/HGP
position:
"All
be used for latch clear. (For details, read Operating Manual.)
The A2CCPU is reset.
DEVICE CLEAR" of the test functions in
4-23
the
PC
the
GPP/PHP/HGP
mode
can
4.A2CCPU
--------------------
MELSEC·A
4.2.3
Running and stopping the A2C from external devices (Remote RUN/STOPfunction)
The
RUN switch is used "remote RUN/STOP" means controlling A2CCPU nals (peripheral devices, remote RUN contact) with in
the
RUN position.
(1) Application of remote RUN/STOP
Remote RUN/STOP control is possible in
(a) The A2CCPU is out of reach.
(b) The A2CCPU is located in a control box.
(2) Operation
Execution of sequence program operation is controlled as indicated
below in response to
(a) Remote
The A2CCPU
END (FEND) instruction.
stop
stops
for
A2CCPU
the
remote RUN/STOP operation.
after
the
run/stop
run/stop
the
following cases.
sequence program is executed to
control.
the
The
with external sig-
RUN switch placed
operation I
the
(b) Remote RUN
The sequence program is executed again from
RUN operation after the A2CCPU has been STOP operation.
(3) Executing remote RUN/STOP
Remote
methods:
(a) Remote RUN contacts
RUN/STOP
Remote RUN/STOP control is possible by remote RUN contacts which are set with parameters.
1) When remote RUN contacts are turned ON. RUN state.
operation
is
possible
step
0 by
stoppedbythe
through
turning
the
on
the
A2C is set to
and
the
remote
remote
following
off
..
..
the
the
4-24
4.A2CCPU
--------------------
I
2) When remote RUN STOP state.
Switching between RUN and STOP is executed after END(FEND)
execution.
Remote RUN contacts
RUN/STOP state
Fig.
4.13
Remote RUN/STOP
(b) Peripheral device
Remote RUN/STOP control is command from a peripheral device.
StepO_
RUN
contacts
END
ON
STOP
f--------
'-------v----"
Stop
Timing
are
turned
StepO_
state
Using
possible
OFF,
the
using
MELSEC·A
the
A2C is
END
0
Remote
the
RUN
remote RUN/STOP
setto
the
Contacts
Peripheral
Flg.4.14
{ Bern
device
A2C : RUN/STOP state
Remote Peripheral
cte
command Remote
command
RUN/STOP
Device
(4) Caution
(a) Note
STOP command.
2) To set
Step
0 END
ON
~O'
RUN
OFF
OFF
RUN
Timing
the
Using
the
following points because
1) The A2CCPU is set to the
is given from
the
A2CCPU from
remote RUN
STOP
,
Remote
the
___
----
v
STOP
state
RUN/STOP
the
A2CCPU gives
STOP state when
contact
the
STOP state back to
or a peripheral device.
Step
0
ON
5
.
Command
the
STOP command
END
0
from
prioritytothe
the
RUN state, it is necessary to set all external factors (remote RUN contact, peripheral device) which caused
the
remote STOP to
the
state.
a
RUN
IREMARKI
For details on A2CCPU operation processing in a RUN or STOP state, reter te Section 4.1.9.
4-25
4.A2CCPU
-------------------
MELSEC-A
4:2.4
Stollplng
the
sequence program operation retaining outputs (PAUSEfunction)
The pause function outputs
(1) Application
(2) Using remote PAUSE
(Y).
process
In
(Y)
when
(a) The PAUSE state
END(FEND) instructionof contacts
When
is executed,
(b) By
opening on a peripheral device, program operation resumes from
stops
A2CCPU operation while retaining
control, it is often required to retain
the
A2CCPU
close and
the
END(FEND) instruction of
the
the
stops
contacts
contacts
A2C is set to PAUSE and
remote
operating.
(M9041) close after
the
scan
during
the
PAUSE permission flag (M9040) is set.
the
PAUSE the
contacts
PAUSE state is canceled,
step
scan
or by switching
O.
the
statusof all I
the
status of
the
which
the
after M9041 has set
its
operation
the
execution of
remote PAUSE
stops.
and
outputs
the
off
M9040
sequence
Remole PAUSE
contact
M9040
M9041
RUN/STOP state
Fig.
4.15
0---
OFF
OFF
OFF
RUN
PAUSE
END
o
----END
ON
I
ON
I
ON
~edOnWhen
conditions to set the CPU module In the pause state are
satisfied
Timingbythe
Remote
PAUSE
PAUSE state
PAUSE
-
O-END
--
--
--
Contact
0-
4-26
4.A2CCPU
--------------------
(3) Peripheral device
(a) The PAUSE state contacts (M9041) close after the execution of
END(FEND) instruction of the scan
during
which
the
command from a peripheral device is received. When the END(FEND) instruction of the scan after M9041 has set
is executed, the A2C is set to PAUSE and its operation stops.
(b) When
received,
operation resumes from step
Remote PAUSE
contact
Remote RUN
command
M9041
RUN/STOP
state
the
remote
the
0---
OFF
OFF
OFF
RUN
RUN
command
PAUSE state is canceled,
o
----END
END
ON
ON
~edonwhen
conditions
CPU module In the
pause
satisfied
state
to set
are
O.
fromaperipheral
and
the
PAUSE
~
PAUSE
state
sequence program
----END
o
-r
-
-
MELSEC·A
the
remote PAUSE
device
0-
is
Fig.
4.16
PAUSE
POINT
To switch on or off the output
PAUSE state contacts (M9041).
M20
f------{Y70
M9041
1-+t------{V71
MO
Timing
(V)
the
In
determines
Switches to OFF in
Switches
by
a
Peripheral
Device
in the PAUSE state, interlock with
PAUSE state,
status
to ON in
statusofM20
of Y70.
the
PAUSE
the
PAUSE
state.
state.
the
4-27
4.A2CCPU
--------------------
4.2.5
Status latch
MELSEC-A
The monitoring function of a peripheral cannot confirm the status of each
device all data to the status latch area when the sequence program.
The GPP/PHP/HGP to monitor it.
the
time. The status latch function transfers
device
~-------------------------------,
Device
memory
area
File
register
area
data
saved
A2CCPU GPP/PHP/HGP
Transfer
by
Instruction :in the PC: ISP't
SlT
using
Status
latch
area
theSlT
I,
:Reading: 0"
mode :
+i,:
and
saves
SlT
instruction is executed in the
instruction
can
the
be read by
r-----------------------------,
If:
ay
. or :
mom
onng :
~~~~~s
area
, ,
, ,
, ,
, ,
, ,
, ,
, ,
, ,
L
...
<J~,:
device
the
I
~
I
Fig. 4.17
(1) Application
The status latch function can be used to check fault condition exists during debugging. ,
It is also used to find causes when a fault condition exists sequence program execution by making a program
Sl
T instruction if such a condition exists.
(2) Processing
(a) The following data is stored in
instruction is executed.
1) Device memory X, Y, M, T, C Contact and coil ON/OFF data and present
D, W, A, Z, V : Stored data
2) File register (R)
l,
S, F, B ON/OFF data
Status
value
Latch
Sequence
the
the
status latch area when
device
that
will execute
data
when a t
during
the
theSlT
41
Stored data
4-28
4. A2CCPU
--------------------
MELSEC-A
(b) Data is stored to
executed.
With devices which
the
tion,
after
Example: If a devicewhich
and after before and after
[Circuit example] [Monitor display of status latch data]
the
I"
(3) Caution
data
the
execution of
turns
SLT instruction in a program,
the
10 10
Y11
the
status latch area when
turn
on/off or store
to be stored in
the
on and off with
execution of
I'
data
the
status latch area differs before and
SLT instruction.
the
same
condition
the
the
SLT instruction.
When the SLT instruction is
executed, Y10 is ON; ON is
displayed for the monitor.
When
Y11
executed, Y11 is OFF; OFF is
displayed for the monitor.
ON/OFF state will differ
the
SLT instruction is
using
the
same condi-
is present before
the
SLT instruction is
(a) Execution of
creased by
Therefore,
dog
timer setting and constant scan time setting for
taking
Processing time
--------
(msec)
these
Table
the
SLT instruction causes
the
value indicated below.
take
this in consideration when determining
into
consideration.
4.6
SLT
Device
11 msec
Instruction
Memory
Only
Execution
Device
meec
31
the
Memory
scan time to be in-
the
watch
the
A2CCPU
Time
and File Register
4-29
4.A2CCPU
--------------------
:
MELSEC-A
4.2.6
Sampling trace
A2CCPU GPP/PHP/HGP
It is
not
possible to check
and
the
datainthe
The sampling trace function samples fixed intervals and stores
Upon execution of
trace
area is sampled
data is latched. It is possibleto monitorthe
it with
the
GPP/PHP/HGP.
r-------------------------------------------,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
Device
area
File
register
area
Data of the
designated
device
~2
~:
Sampling trace
*
Data in the first
1
second
Data in the third
fourth sample
Data in the fifth
Data in
, ,
~6
, ,
Data In the
n-l
n
time sample
Data
time
sample
Data in the
sample
Data in the
sample
sample
I
sample
the
sixth
(n-l)
in the n
sample
area
the
transition of the ON/OFF state
word devices with a peripheral device
data
from
the
designated
the
the
STRA instruction,
for
the
data
,
,
,
,
,
,
,
,
,
,
,
Reading
to
PHP/
GP
:H
,
,
~
r--------------------------------------,
1
2
GPP/
3
4
,
5
,
,
,
, ,
6
, ,
i I
in:
, ,
~--------------------------------------~
sample data to
designated
stored in
Sample
1 I
trace
the
sampling
the
data stored in
numberoftimes
the
samplingtrace area by reading
area
Display of
sampling trace
data
the
designated
number
times
-(]
I
I
monitor
trace area.
for
of
for
bit devices
devices at
the
and
the
Monitoring
-sampling
trace data
,
,
,
,
,
,
,
,
,
,
,
,
function.
I
sampling
device
After
the
:next
,
:sample.
~-------------------------------------------~
dataissampled
data
sample
-----------I
overwrites the first
*
n times, the
After the execution of the STRA instruction, device
designated
(1) Application
data
number
By ging intervals
of times
Fig.
using
the sampling trace function, it is possible to shorten
time by confirming
during
and
the
4.18
Sampling
debugging.
4-30
data
data
in the sampling trace area Is latched.
Trace
the
data of
sampling is carried out for the
the
designated devices in defined
debug-
4. A2CCPU
--------------------
MELSEC·A
(2) Devices which can be sampled
I
It
Devices and below.
(a) Bit devices (X, Y, M, L, S, F, B,
Max. 8 points
(b) Word devices
Max. 3 points
(3) Number of sampling times
The number of sampling times involves the following two
number of sampling times and the number of sampling times after
execution of
(a) Total number of sampling times
This sets the area where the sampling data is stored. Selling
times).
(b) Number of sampling times after the execution of
tion
the
number of pointswhich can be sampled are indicated
TIC coil, TIC contact) :
(TIC present value, D, W, R, A, Z, V) :
the
STRA instruction.
is possible in
the
range of 0 to
1024
times (in units of
the
cases:
STRA instruc-
total
the
128
This
selling
pling trace data after the execution of the STRA instruction.
Setting is possible in the range of times.
The
number after the execution of the STRA instruction
of sampling times
I I I
Total
is used to end the sampling trace and latch the sam-
s Total number of sampling times s
1 STRA
Number of sampling times after
the execution of STRA instruction
number
of sampling times
~
Fig.
4.19
instruction
Device
number of sample times after the execution
of the STRA instruction
NumberofSampling
0 to
executed
dataislatched
1024
times in units of
allar
tha
Times
1024
dasignatad
128
times
4-31
4. A2CCPU
--------------------
(4)
Sampling
Sampling execution of END
(a) After
Sampling sequence
(b) In
Sampling
(n:
[
After execution of END Instruction
~-------r-------...,_--_j
NO
intervals
intervals are
execution
trace
program
defined
Oto
In this setting, sampling trace data is even taken during the execution of
sequence program. J
intervals
trace
199).
Step
0
set
instruction
of END
dataistaken
is executed.
dataistakenindefined
NO
in one of
or in
defined
instruction
each
the
time
following
intervals.
the
intervals, 10 x n
methods:
END
Sequence program
execution
MELSEC·A
after
the
instructionofthe
msec
al
I
In defined Intervals
END
Step
0
Fig.
4.20
ExecutionofSampling
Sampling trace execution
Sampling trace
execution
Trace
4-32
4. A2CCPU
--------------------
MELSEC-A
I
4.2.7
Offline switch function
While possible to turn the sequence program OUT instruction devices on and off
with a peripheral device test function.
The offline switch function allows these devices to be turned on and off while the
A2CCPU is running with a peripheral device as the test function.
It is possible to check operation of OUT instruction devices, which are turned on/off by the sequence program, the
output module and an external device with the offline switch function.
the
A2CCPU is running (sequence program being executed), it is
and
f-------------<c:)()
to check
Offline switch closed
OUT
......
.....Offline state
the
wiring between
instruction
Online state
.1
.2
not
~
.'
: The online state is established when the offline switch is closed. The
instruction device is controlled (turned on/off) by the sequence program.
*2
: The offline state is established when the offline switch is opened.
instruction is isolated from the sequence program. In the offline state, it is not possible to control the
(1) Devices which can be used by the offline switch function
The devices which can be used by the offline switch function are indicated
(a) Outputs
(b) Internal relays (M)
(c) Latch relays (L)
(d) Step relays (S)
(e) Link relays (B)
below:
(V)
OUT
Fig. 4.21
devices by the sequence program.
Offline
and
Offline
Online
switch
State
opened
The
OUT
OUT
(f) Annunciators (F)
4-33
4.A2CCPU
--------------------
(2) Status of devices in
The
device
described below. (a) The ON/OFF state
established is retained.
(b) When a forced set/reset is conducted
offline state, the reset/set state afterthe forced set/reset is retained.
(3) Operation procedure
(a) To set the A2CCPU in
peripheral device.
(b) To return the A2CCPU back from
use either of the following two methods.
1) Reset
2) Reset the A2CCPU with the
POINTI
status
the
the
offline state
in
the
offline
that
exists before just before the offline state is
the
offline state, set
offline switch setting with a peripheral device.
MELSEC-A
state
RUN key-switch.
(offline
using
the
offline state to the onlinestate,
switch
a peripheral in
the
offline switch with a
opened)
is I
the
(1) Devices set in the offline state
sequence program.
The devices set in the offline state the
online state by resetting
test operation.
(2) The devices returned from
turned
Before returning these devices to conditions of an OUT instruction. Return to the online state after making sure
to
ON/OFF with a peripheral device.
that
no problems will arise when
the
online state.
the
cannot
during
the
offline switch after
offline state to
the
be
turned
testing must be returned to
the
online state, check
the
ON/OFF with a
the
completion of
online state can be
the
devices are returned
input
4-34
4. A2CCPU
--------------------
4.2.8
Setting priority
for
ERRORLED Indication
Priority of A2C ERROR LED lighting is
(1)
Priority
Hi9h
Low
Changing
Table
Error which causes the A2CCPU to
stop
unconditionally.
1/0
module
Fuse
blown
Special
Link
parameter
Operation
CHK instruction execution 3
Annunciator
Battery
priority
4.7
Error Contents
verify
error
module
error
error
(F)
error
error
turning
Error
error
indicated
Indication
ON
in Table 4.7.
Priority
Error Item
Number
-
1
2
4
6
MELSEC-A
ERR LED
Lit
Flashes Lit
(a) ERROR LEO lighting priority can be
ting
for
the
error which permit sequence program operation to be
continued after an occurrence of an error.
Notethat
the
priority level of
operation unconditionally cannot be changed.
(b) Error indication priority can be
priority
storing
registers).
Priority in
orderin09038
09038
and
and
09039
lustrated in Fig. 4.22.
Priorityin09038
I
Default
valueof09038
I
b15
b15
and
09039
09039
to b4
L
19nor.~
to
and
09039
b4
b3tobO
09039
b3to
bO
b15tob12b11tob6
b15to
changed
the
error
which causes A2CCPU to
changedbychanging
09039
L
b12
and
Error
b11 to b8
(LEO
indication
the
error setting items are il-
09039
b7tob4
item
setting
09038
b7to
from
area
b4
the
default
the
priority
b3tobO
b3 to bO
set-
stop
required
order
Fig.
~
4.22
Error
PriorityIn09038
6 4 3 2
and
09039
4-35
and
Error
Setting
I
Items
4.A2CCPU
___________________
MELSEC·A
(c) The ERROR LEO is not lit if an error,
priority and error of error item numbers
In corresponding error
(2) Relationship between priority
(a) If an annunciator (F[ ]) is turned ON, the
is stored in 09009 and 09125 to 09132.
Once the annunciator number is set in cannot be reset using for
ON.
To reset the set annunciator
error, set a priority for the annunciator error item number.
POINTI
(1) The priority
reset becomes effective. Changing is ignored unless the CPU is reset or then back on again.
order
has not been set, occurs. If all
09039,
this
which highererror indication priority is set than the annunciator
for
example, the ERROR LEO will
case, however,
order
active when the power is turned ON or
the
code
is stored in
order
the
RST F[ I or LEOR instruction if an error
for
which
1 to 6 occurs.
M9008 (CPU error flag) is set and the
09008
and annunciator resetting
numberofthat
the
registers,
number
the
at an occurrence of another
priority simply in
the
power is turned off once and
error
bits
are
not
be lit when any
(CPU
error
the
indication
·0'in09038
register).
annunciator
the
number
the
CPU is
registers
I
4
(2) Set the error item number set at
ERROR LEO keeps on Table 4.7. ,
Example: The error item setting area of error item
the
ERROR LEO turning OFF when an annunciator turns ON.
turning
09038or09039
off at
the
error occurrence shown in
number
to 0 so
4 is set to 0 to keep
that
the
~
4-36
4.A2CCPU
--------------------
MELSEC-A
I
4.2.9
Total
Mode
Control functions of remote I/O modules and remote terminal modules
The following functions and settings are provided for the A2C to control
remote I/O modules and remote terminal modules.
To use only remote I/O modules, set the total
mode. When remote terminal modules are used in combination with remote I/O
modules, execute setting for remote terminal modules in addition to the total number of stations and the mode.
For these settings, use either of the following
methods:
(a) Set with special registers (D9021 to 09036, 09173) by a sequence
program when system FO prior to SW3GP-GPAA is used.
(b) Use parameter remote terminal setting when SW4GP-GPPA system
FO is used.
Setting Item
number
of stations 64
Automatic online return
provided not provided
Defaull
5e"lng
1064
1 0:
Automatic online return
provided
Automatic online return
1 :
Range Special Register Number
number
09036
09173
of stations and the
Remote
terminal
setting
Station number
Protocol
2:
Transmission stop at an
occurrence of online error
None
Mitsubishi standard
protocol
(MINI
protocol)
1 to 61 09021 to
0:
Mitsubishi standard
protocol
1 : No-protocol
09035
09034
POINTI
If
anyone
the MINI-S3 line error and following processing
All the settings are reset to defaults to execute
of the settings is outside the allowable setting range, it causes
occurs:
the
control.
The M9061 (communication error flag) is set and "1· is stored in 09061 (communication error cause storing register).
I
Setting
for
Remote
Terminals
Using
Parameters
I
When using the SW4GP-GPPA system floppy disk, use a parameter to perform remote terminal setting.
For the procedure of initial setting of the A2C using parameters provided by the
GPP/PHP, refer to
the
A6GPP/A6PHP(SW4GP-GPPA) Operating Manual.
4-37
4.A2CCPU
-------------------
MELSEC-A
Ilnltial
When using the SW3GP-GPPA system to perform initial setting.
The following gives an example of programming setting with a sequence program.
(1) Start programming from
(2) Begin with designation of "LO M9038' instruction.
(3) The program should
(4) Use an MOV instruction to store data to 09021 to
A program which does not follow these rules stated above is not regarded as an initial setting program.
---------.-
Example:
Setting
09036
Using
Sequence
end
and 09173 is used.
_--------
step
Program
O.
I
floppy
disk, use a sequence program
for
executing A2C initial
at a step where a device other
09036
__
_-------
----_._--_
than
and
_---_
09021
09173.
_---~
to
I
~
An example initial setting program below.
(Slation 1)
AXllC
(4stations) (4stations)
XOOO
10 10
A2C CPU
X01F
(Slalion
(4 stations) (4 stations)
17)
AY51C A68AOC
X080
10
XOOF
[Initial Setting Program)
C M9038 (fixed)
M9
o
~8
~
/
MOV I 1(20 I 09036
MOV I K9 I 09021
MOV I K13 I 09022 I-
for
the following network is indicated
(Slalion 5)
AXllC
X020 X03F
(Slalion 13)
X060
10
X07F
MOV (fixed)
I-
I-
Selling numberofstallons
(20
}
for
Ihelolal
slslions)
Setting for remote
terminal modules
(Slall
A061C
(4stations)
on
040
05F
9)
10
MOV I Kl I
I J
09173
~
I-
Selling
for Ihe
mode
To
end
a program wilh a 4
device other than 09021 to
09036
and
09173.
4-38
4.A2CCPU
--------------------
(5) Total number of stations
(a) The total number of stations is set to determine the range
refresh. Set the last station number of remote I/O modules or remote ter-
minal modules connected to the A2C. If
the
last station (remote I/O module or remote terminal module) occupies two or more stations, this taken into account. If the setting is required for station remote I/O module which occupies 4 stations, for example, the setting for the total number of stations is "13'.
(b) I/O refresh is executed
the station numberwhich is set as the total If
the
setting for the total number of stations is "20', I/O refresh is executed for remote I/O modules modules whose station number is in the range of 1 to 20. With this setting, remote station
(c) If
the
setting
the
setting is replaced with a default.
number
1/0 modules and remoteterminal modules having a
larger than 20 is not refreshed.
forthe
for
up to
total number of stations is
number
the
remote module assigned with
of stations must be
number
and
"0',or"65'
MELSEC·A
for
I/O
number
of stations.
for
remote terminal
or greater,
"10'
example,
(d) Setting of a number which is larger than the
actually connected to the A2C, a communication error
the
stations
(6) Mode
The mode setting is used for data communications between and a remote
The set mode becomes effective when the A2C is turned on, it is reset, or its operation status changes from STOP/PAUSE to RUN.
(a) Automatic online return provided
In this mode, data communication is executed between the A2C and a remote I/O module and remote terminal module.
If a communication error occurs with any of the modules in the link, data communication is executed only with modules operating cor­rectly.
Data communication with the faulty station will restart automatically when it recovers normal operating state.
that
are not actually connected.
1/0 module or remote terminal module.
number
of stations
occurs
the
with
A2C
4-39
4.A2CCPU
--------------------
MELSEC·A
(b) Automatic online return
In this mode, data communication is executed between a remote I/O module
II a communication error occurs with any data communication is executed only with modules operating cor­rectly.
Once a module is disconnected communications when it recovers normal operating state.
To restart data communication with a module disconnected the
link,
turn
off
the
reset it with the RUN key switch.
(c) Transmission
1) II data communication error in the link, data communication stops over
To restart data communication in the link, A2C
and
switch.
stop
then turn it back on again or reset it with
not
provided
and
remote terminal module.
01
the
modules in
Irom
the
link, it cannot restart data
powerto A2C
at an occurrence01online error
and
occurs
then
turn
with
anyone01the
the
turn
it back on again or
the
entire link.
off
the
the
A2C and
the
link,
Irom
stations
power to RUN key
I
2) The setting station modules connected to the A2C.
If a
number
is regarded as the
(7) Remote terminal
The
remote terminal modules (up to and attribute.
(a) First station
The head station number (station number set with the station num­ber
setting switch)
should be set
(b) Protocol
Set attribute
1) Mitsubishi standard protocol (MINI protocol) Setting
lace protocol.
lor
module (AJ35PTF-R2) should be
lor
the total
number
14
number
lor
01
is greaterthan
laulty
setting
modules); the setting includes
01
lor
the
station number.
each remote terminal module.
remote terminal modules other
number
remote I/O
the
station precluding data communication.
is necessary
the remote terminal modules to be used
01 stations should be
modules
last station number, such a station
and
remote terminal
to
use remote terminals
the
station
than
RS-232C inter-
the
Mitsubishi standard
the
last
number
2) No-protocol Setting
be
lor
the
no-protocol.
an RS-232C interlace module (AJ35PTF-R2) should
..
4-40
4. A2CCPU
--------------------
4.2.10 Output from the ERRterminals
The ERRterminals are used to output and self-diagnosis errors (at operation stop) mentioned below. Output of
I
these signals is enabled even when the A2C has sequence program. (When turned ON.)
Output of error signals other than those mentioned below is also enabled from ERRterminals by turning ON M9089 by use of
the
the
ERRterminals are turned ON. M9090 is also
Error.
Initial setting circuit error OFF
• Communication error due to
line
MINI-S3
link line
errors
S.~-
diagnosis error OPE. CIRCUIT ERROR ON
(Operation WDT ERROR
slop)
breakage
• Station error in the stop at
faulty station detection mode
Send
under
error
Receive
INSTRUCT CODE ERROR PARAMETER ERROR
MISSING END INS, CAN'T EXECUTE (P) CHK FORMAT ERROR RAM ERROR
END NOT exECUTE UNIT VERIFY ERROR (Stop) FUSE BRERN OFF (Slop) SP. UNIT ERROR (Slop)
ROM ERROR
overrun error
terminals
ON
MELSEC·A
signals of MINI-53 link line errors
ERR
stopped
Error
Lit Lit
Lit
operation with the
the
sequence program.
RUN
LED
LED
Flicker
MIOIO
OFF
ON
ON
Specification and external connection of the ERR terminals
Item
Insulation method Photocoupler insulation
Rated load voltage 24 VAC
Operating load voltage range 10.2 to 31.2 VDC
Maximum load current 50 rnA
leak
current at OFF 0.1 rnA
Maximum
voltage
drop
at ON 1.5V (50 rnA)
Speclflcetlon
-
External connection
~~~
ERR+
9
ER,~-
"
24VDC
4-41
4.A2CCPU
--------------------
4.3
Fault
Detection
4.3.1 Self-dlagnosls
MELSEC-A
The self-diagnosis function checks occurrence of errors and faults by A2C itself.
The A2C self-diagnosis function includes the
(a) CPU error (b) MINI link line error (c) Remote terminal error
(1) CPU error
CPU error includesfaulty A2C, battery error, If a CPU error is detected,
corresponding error code (see Table 4.8.) is set in register (09008).
(a) Operation at detecting CPU error
the
CPU error flag (M9008) is set and
following:
and
operation check error.
the
CPU error
the
the
I
If a CPU processed in
1) Stop Sequence program operation stops if an error is detected.
At this time, the
terminal module are as indicated below.
Remole
A2C I/O module
Remote I/O module for
MINIS-3 link
Remote terminal module
I/O
Module
2) Continue Sequence program operation continues if an error is detected. If an operation error is detected while a sequence program is
executed, an instruction causing the error is skipped to con­tinuously execute
error
the
is
detected.
following manner.
outputs
. EC Mode
(y) of
sequence
the
-
OFF Output ON OFF
-
the
program.
program
remote I/O module and remote
ON/OFF
OFF
OFF
Slelu.ofOutpul
ON/OFF
operation
(y)
state Is retained
is
4-42
4. A2CCPU
--------------------
Diagnosis
Memory
error
CPU
error
error
I/O
Battery
Operation
Contents
Instruction
check
Parameter
check
No END
Instruction
instruction
executable
RAM
check
Operation
check
Watchdog END instruction not
executed Infinite
loop
I/O
module
Fuse
blown
Low battery voltage
check
error
code
setting
not
circuit
timer
execution
verify
* 1
*3
error
*1
Table
Error Code
(09008)
10
4.8
Self-diagnosis
Diagnosing
• At an
executionofeach
instruction
When
poweristurned
Timing
is reset.
11
12
• When A2C status is
STOP/PAUSE to RUN.
When
A2C
statusischanged
to
STOP/PAUSE
• When
following
RUN.
instructions are
changed
executed:
[CJj,
[SCJ],
[JMPj,
13
20
21
22 • At an execution of EN0 instruction
24
25
31
32
*2
70
50
[FOR-NEXT]
When
A2C
• STOP/PAUSE to RUN.
When
statusischanged
poweristurned
is reset.
When
poweristurned
is reset.
• At an
• At END
• At END
• At an execution of each
execution
Always
When ON,
When M9084 or M9094 is ON,
Always
instruction
M9084 or M9094 is
this
checkisnot
instruction
this
checkisnot
instruction
[CALL(P)],
of END
execution
execution
List
individual
ON or
A2C
from
from
ON or
A2C
ON or A2C
instruction
turned
executed.
turned
executed.
individual
from
A2C
Status
Stop
%
Run
IX
RUN
Status Status
Flash
Run Lit
7
Run
~
MELSEC·A
ERROR
LED LED
Lit
-
Lit
Lit
Lit
Lit
IREMARKSI
(1) If
two
status are
can be
selected
(2) *1 •••
(3) *2
(4)
*3
Only I/O
...
Low
battery
For
...
The
operation
09011), For
Appendix
giveninthe
by the
a remote I/O
modules.
battery
flag
the
low
operation
error
the
the
operation
3.
setting
station
voltage
(M9006) or
battery
flag
check
flag
number
error
4-43
"A2C Status" and "RUN LED Status"
on a
peripheral
module
state can be
low
and
error can be
(M9010, M9011). By
of the
flag,
battery
low
step
see
using
battery
causing
device.
the AJ72P25/R25
detectedbyreading
latch
flag
(M9007).
latch
flag,
detectedbyreading
reading
the
operation
Appendix
2 and
columns,
data
link
modules
the
set/reset
see
Appendix
the
error
error
for
the
2.
the set/reset status of the
step
registers
can be
confirmed.
error
step
status
setting
can
state of the
(09010,
register, see
verify
low
4. A2CCPU MELSEC·A
(2) MINi-53 link line error
Error
Number
1
Cause
Initial setting error
MINI-53 link error indicates a communication errorcaused by breakage of the cable connecting a remote
moduletothe
A2C or by
turning
off
the power to a remote module. if a MiNI-53 link line erroroccurs, the M9061 (communication errorflag)
is set
and
the error cause number is stored in the D9061 (communica-
tion error cause storing register).
Error
Contents
• The
Initial
outside the allowable
setting
In this case, communlca-
tioniscontrolled
default settings.
• Broken
setting
range.
cable
data
by the
• Correct the initial settings.
• Follow
is
indicated below to execute communications according to the
corrected
Turn turnitback
• Reset
• Change the operation mode from
STOP 10 RUN.
Change
data
module
lit
ActiontoTake
anyofthe
initial
OFF
the
the
A2C.
the
cable
receive
for
which
operations
setting
data.
powertothe
ON.
connectedtothe
terminal
of the remote
the RUN LED is not
A2C
and
I
2
3
4
5 Receive
Disconnected
Faulty (Set
mode:
stop
at an
online
Transmission error
line
remote
error) Is
module
transmission
occurrence
underrun
overrun
error
of
• Loose
Power module
There with
stopped
The
of connectedtothe
During data
discontinued
• Before the
cable
supplytothe
turned
is a remote
which
communication
duetoa fault.
set
numberofstations
greater
received pleted, received.
stations
data
being
than
actually
transmission,
transmitted
processing
dataiscom-
the
halfway.
next
connection
remote
OFF
module
the
number
A2C.
Is
data
is
Check
the
cable
data
receive
module
lit.
Check data station
which TurnONthe
remote
OFF.
• Read
is
storing station;
Change set as
Execute
anyofthe
of
• If
the
for
the
send
preceding
RUN LED is
module
09196to09199
registers) to
remove
the
the
communication
Turn
OFF
turnitback
Reselthe
Change
STOP 10 RUN.
the
same
A2C.
connection
terminal
which
the RUN LED is not
cable
connection
terminalofthe
the
not
power
supply
for
which
findafaulty
the
cause
total
numberofstations
initial
setting.
following
the
A2C.
the
error
operations:
powertothe
ON.
operation
reoccurs,
at the
of the remote
at the
remote
station
for
lit.
for
the
the
power
(faulty
station
of fault.
again
using
A2C
mode
from
replace
is
and
~
4-44
4.A2CCPU
--------------------
I
MELSEC-A
(a) Initial setting error
1)
If an initial setting error occurs,
defaults (see below) to execute communications with a remote I/O module.
Item
Total
number
Number
Mode
2) After correcting the initial setting data, reset the A2C using RUN key switch or change the operation status from STOP to RUN.
modules and remote terminal modules
set initial setting data.
(b) Processing at an occurrence of disconnected line error
1) When a disconnected line error occurs, according processing at an occurrence of communication error.
of stations 64 stations
of remote terminal stations 0
Communications
to
the
communication
are
the
settings are reset to the
DefaUlt
Automatic online return supported
executed
with
the
accordingtothe
outputs
mode
and
are determined
the
remote
setting
the
I/O
newly
for
Line Error due to
Cable
I A2C
(
I
No.2
I
~
Item Output Processing at an Occurrence of Communication Error
Communication mode (M9069)
No.1
Automatic online return provided
No.2
The output state varies between the stations preceding and
succeeding the cable disconnection station.
Disconnection Line Error due to
I
No.2
Depends
~
-r-.
Output
OFF
• A2C I/O
• Remote
I
No.1
I
j
Cable
disconnection
OFF (M9069 : OFF)
module:
I/O
module for MINI-S3 :
OFF
(
I
~
Output by
(M9069 : ON)
Results of
are output
point
Remote
I A2C
~
r L Power OFF
sequence
sequence
on EC
mode
or power OFF remote
Station
Power OFF
No.1
I
I
j
program
program operation
Automatic online return not provided
Communication stop
No.1
No.2
No.1
No.2
• A2C I/O
• Remote I/O module for
• A2C I/O
• Remote I/O module for MINlwS3 : Depends on EC
module:
module:
OFF
MINI-S3:Depends
OFF
4-45
on EC mode
mode
4.A2CCPU
-------------------
(c) Processing at
1) If
communicationisstopped
outputsofthe
oA2C I/O
iO
Remote I/O
2)
The
output is restored by removing by resetting operation status of
(d) Processing at an
1) If
the stops. In below.
oA2C I/O
iO
Remote I/O
2) Communications out.
detection
module:
state as
transmission
this
module:
of faulty remote
due
to a
modules
module
the
A2C with
occurrenceoftransmission
case,
module
start
are as
OFF
for
obtainedbyrunning
the
the
A2C from STOPtoRUN.
underrun
outputs
OFF
for
when
follows:
MINI-53:
error
the
RUN key
error
of
MINI-53:
the
Depends
cause in
occurs,
the
Depends
following
MELSEC-A
module
faulty
the
switchorchanging
module
remote module,
on EC
sequence
the
underrun
data
on EC
operationiscarried
mode
faulty
station
error
communication
are as
mode
I
program
and
the
indicated
o
Turn
OFF
iO
Reset
iii)
Change
(e) Processing at an
1) If receive
ecuted
2) Communications out.
at an
oTurn OFF
iO
Reset
iiO
Change
(3) Remote terminal
The
remote terminal between be
of
the
is
storedin09180to09193.
the
A2C
executed
initial setting error, occurs,
correctly. If
the
powertothe
the
A2C.
the
operation
occurrence
underrun
occurrenceofdisconnected
the
the
A2C.
the
error
error
and
error
start
when
powertothe
operation
indicatesanerrorinwhich
a remote terminal
the
remote terminal error,
A2C
mode from STOPtoRUN.
of receive
occurs,
the
A2C
mode from STOPtoRUN.
the
and
turnitback
underrun
the
same
line
following
and
connectedtothe
M9060 is
operation
turnitback
set
ON.
error
processing
error
ON.
communications
withanexception
and
the
as ex-
is executed.
is carried
A2C
cannot
error
code
Remove
the
cause of
4-46
the
error
for
the
faulty
terminal
module.
4.A2CCPU
--------------------
4.3.2
Fault detection with annunciator (F)
I
MELSEC-A
An annunciator (F) is used in a user's fault detection program. If the annunciator is turned ON, associated control differs from
executed when an internal relay (M) or latch relay (L) is turned ON.
(a) If
the
annunciator is turned ON by
special relay (M9009) is turned ON with the
the
sequence program, the
number
which is turned ON stored in the special register (09009).
(b) Registers
09124to09132
store
the
number
of annunciators which
have been turned ON and those annunciator numbers.
The annunciator number stored in 09125
and
thatin09009
same number. By monitoring M9009 and 09009 with an annunciator used in a fault
detection program. it is possible to check whether or
has occurred and contents of
-E;;~~;;I;;~--------····-----------······------------····--------
In
the
sequence program shown below, M9009 is turned ON when F5 is
the
error.
turned ON and "5· is stored in 09009.
the
control
of annunciator
are the
not
an error
-----~
[Fault detection program]
L.
f--------1
M9OO9
._
••• ••• •••
SET
M9009 09009 09124 09125
09126
09132
IOFF
O~5
o
~
O~5
0
0
~
(AnnunciatorONdetactlon)
ON I
(Number of annunciator
turned ON)
1
(Number of annunciators
turnad
ON)
(Annunciator numbers are stored In order that annunciators are turned
ON. (up to 8))
• __
••••••
(1) Turning ON an annunciator
An OUT instruction (OUT F[ ]) or SET instruction (SET F[ ]) is used to turn ON an annunciator.
(a) An annunciator can be turned ON/OFF by
turning
ON/OFF
conditions when an OUT instruction is used. The OUT instruction
is executed each scan. Contents in M9009, 09009, and
09124to09132
do not change if
the annunciator is turned OFF using an OUT instruction.
• __
••••••••••
the
J
input
4-47
4. A2CCPU
--------------------
MELSEC·A
(b) A SET instruction is executed only at the leading edge of an input
condition to turn ON an annunciator. The annunciator stays ON when When a number of annunciators are used, a SET instruction rather
than an OUT instruction is recommended
(2) Turning OFF an annunciator
An RST instruction (RST F[ ]) or LEOR instruction is used to turn OFF an annunciator.
(a) To turn OFF (reset) the annunciatorwhich has been turned ON, use
an RST instruction (RST F[ ]).
(b) To turn OFF the annunciator which is stored in
use an LEOR instruction. An example program used to turn OFF an annunciator using an
LEOR instruction is shown in Fig. 4.23.
the
input
condition is
to
reduce scan time.
09009
turned
and
off.
I
09125,
I
",'
~
~ar
~a~i,
,---
L~:-:-:-----:--....!------{J~'I~~
, SET I F255
ro.ollnput
reset input
I'
L.':j90,L2:.:.0
I I I > I D9124 I
r------1
- ID9124 I
*
M9020
POINTI
When an annunciator(F) is turned ON using an instruction other and SET instructions, the annunciator has the same function as an internal relay.
In
this
case, M9009 is not set; annunciator number is
09124 to 09132, either.
KO
is used as the timing clock; ON for 1 scan and
Fig.
~---{~~
DUTYI Kl I Kl I M9020
-c~~~D~O
DUTY I
4.23
ProgramtoTurn
KO
KO
SET I
I Kl I09020
FO
LEDR
LEDR
OFF
I--} I--
I--
I--
} Circunto rosotall
I--
I--
OFF
Annunciator
Circuit to turn ON an
annunciator
Circuit to turn OFF the first one point
annunciators
Timing clock is turned
OFF
for the next 1 scan
not
which
areON
than
stored in 09009,
OUT
IREMARKI
Setting is possible whether the ERROR LED should be litor blink when an annunciator Is turned
ON. For details, see Section 4.2.8.
4-48
4. A2CCPU
--------------------
MELSEC·A
I
4.4
Parameter
Setting
Range
Parameters are used to allocate user memory area or
the
use range of the
functions. The parameter data is stored in
the
first 3K bytes in the user memory area.
(1) Default values
Each parameter has a default value as indicated in Table
4.9.
It is not necessaryto change parameter data; programs can be run with default settings.
(2) Changing parameter setting
Parameter settings can be changed in
the
range as indicated in Table
4.9 to meet specific operation needs. A peripheral device should be
used to change the setting. See the Operation Manual
for
the
peripheral device to be used
for
the
procedure to set the parameter data.
IREMARKl
(1) Conversion of main sequence program capacity, file register capacity and comment
capacity from "steps" and "points" to "bytes" is
described
below.
Item
Main
sequence
File register capacity 1K points 2K bytes Comment
(2) When comment capacity is set with a peripheral device, 1K byte area is automatically taken
in
additiontothe
the set
Table
~t.
Item PU
Main sequence program capacity 6K steps
File register capacity
Comment
Status latch
capacity None
Memory Data File register Nerves (2 to BK bytes)
capacity 0/8 to 12K bytes
memory
program capacity 1K
capacity 64 points 1K byte
value
setting;
.
4.9
Default
Value
None
None
the
comment capacity
Parameter
1 to 8K steps
(1K step increments)
1 to 4K points (1K point increments)
o to
(64 point increments)
NolYes
Setting
Setting Range Ref.r to
4032
Setting
steps
Range
points *1
Unit.
displayed
Peripheral
0
0 0 0 0
-
-
NumberofByte.
2K bytes
is, therefore, 1K byte larger than
Device.
GPP HGP
0 0
0 0
0 0
PHP
0
0
0
4.4.1
4-49
4. A2CCPU
MELSEC·A
Table
~t.
Item PU GPP HGP PHP
Sampling
trace
Remote
terminal
setting
Memory
Device setting
Execution
Set time Intervals Set
Numberof samplings
Total number of slave stations
Protocol
First station number 0
Mode
capacity O/SKbytes
conditions
setting 0 not provided
4.9
Parameter
Default
Value
None
64 1 to 64
MINI
standard
Setting
Device
Each scan
oto
(128
MINI standard/no-protocol
1 to 61
Automatic
0:
provided
Automatic
1 :
Transmission stop at an
2:
occurrence of
error
time
1024
time
Range
Setting
number
intervals
times
increments)
(Continued)
Range
online
online
online
return
return
PerIpheral
0
-
0
-
.2
Devlc
0
-
••
0
0
.2
Refer
4.4.t
-
to
I
Latch
range
setting
Link
range
setting
I/O assignment
Link relay (B)
Timer
(T)
Counter
Data
Link register (W)
Numbercllink
Input
Output
Link relay (B)
Link register
(e)
reg ister
(0)
stations 1 to 64
(X)
(y)
~)
SO
to B3FF
(1 point increments)
TOto T255
(1 point increment)
LtOOO to 0 0 l2047
None
None
COto C255
(1 point increment)
DO
to 01023
(1 point increment)
WO
to W3FF
(t
point
Increment)
XO
to X1FF
(in units of 16 points)
YOtoY1FF
(in units of 16 points) SO
to B3FF
(in units of 16 points)
WO
to W3FF
(in units of 1 point)
X/YOto X/YlFF
(in units of 64 points)
-
0 4.2.2
0
0
0
0
-
-
4-50
4.A2CCPU
--------------------
~I.
Item
I
Setting for internal relay (M), latch
relay (L)
Watchdog timer setting
Timer setting
Remote
Operation
mode
occurrence
error
and
RUN/PAUSE
stan
of
Table
step
relay (S) L2047
contact setting None
Fuse blown Continue I/O verify error Operation error Continue
Special
module
function check
4.9
error
Parameter
Default
Value
MOlo M999 Ll000to
NoneforS
200
msec
100 msec : 256 points
TOto T199 (8 points increments) for 100
10 msee :
T200 to T255 Must be consecutive numbers
Stop
Setting
M/LJSO102047
Must for M, L, and S
10 msec to
(10 msec increment)
msec timers, 10 msee timers,
and 100 msec retentive
timers.
XO
to Xl FF
(1
point
setting not possible for
PAUSE contact)
Range
Selling
be consecutive numbers
2000
each
Range
msec
for
RUN/PAUSE
(Continued)
Stop/continue 0 4.4.2
Stop
Peripheral Devlc
PU
GPP
HGP
0 0
0
0 0
0
0 0
0
-
-
0
0 0
0
MELSEC·A
•• Refer to
PHP
0
-
4.1.8
0
0 4.1.4
4.2.3
4.2.4
0
Operation
STOP
....
RUN display mode before the before/after execution of
Print title registration
Entry code registration None
state just Output of operation state
STOP
output
None
is operation
128 characters using all
MELSAP keys
Hexadecimal (0 to 9, A to F) Maximum 6 digits
0 0
-
-
0 0
0 0
0
4.4.3
0
4.4.4
0
4.4.5
0
4-51
4.A2CCPU
--------------------
System Example
A2CCPU
P21/R21
'-
II
PW
AJ72
P25/R25
132
MELSEC-A
IREMARKSI
(1)
I/O
allocation of
AJ72P25/R25 data link module.
For an
I/O
AOJ2P25/R25 data link module, it is
allocation.
(2) For the number of used points, vacant area, MIL area (for communications between master
and local stations) of an A2CCPUP21/R21 and an I/Omodule connected to AOJ2P25/R25,
set these assuming that an arbitrary input modules and output modules are
vacant
slots are provided.
With the following system configuration, the used
is allocated to "4 modules x vacant 32 points. n
AXl1C>-AXllC
Master station
Vacant
points)
(16
Remote
AXl0 J
points)I(16
I/Ostatlon
A2CCPUP21/R2l
module connected to A2CCPUP21/R21 and a remote
AY51C'-AY13C
AY10
Vacant Vacant
points)
is possible only for the remote I/O station which
not
allowed to change the number of I/O points by I/O
I/O
points
(XIYO
Allocation Range
o
Number
10
points used by
7F
80
X/Y used
to
remote stations
SF
F
IF
of I/O
host station
by
I/O
station connected to
loadedorthat
to 7F) of the host station
I/O Allocalion
Slot
Module
No.
0
S32
1
S32
2
S32
3
S32
4 S32
5
X16
6
Y16
U88S
the
POINTI
(1) Do
not
set
the
following with a peripheral device. a) Link range b) Interruption counter c) I/O number assignment
1
(2)
*
Up to 4032 comments can be created with a peripheral device.
:
(3)
*2:
Setting is possible with a system FD later SW4GP-GPPA. Use a sequence program when a system FD of SW3GP-GPPA or
earlier version.
4-52
4.A2CCPU
--------------------
4.4.1
Memory capacity setting
(1) The A2C provides 32K byte user memory area.
The following data can be stored in
this
user memory area.
(a) Parameters
(b)
Main programs
Sequence programs
Microcomputer programs (c) File registers (d) Comments (e) Status latch
(I) Sampling trace
Allocation of user memory area sets
the
areas where each data should
be stored.
MELSEC-A
Parameter area
TIC
setting value area
Main program area
Sampling trace
Status latch I Data area
area
File register area
Comment
area
IFile register
area
Fig. 4.24
4K
bytes
2 to
16K
(1toBK steps)
26
- [main program
(K
bytes)]Kbytes
User
Memory
bytes
area
Area
IUser memory area I
32K
Allocation
bytes
(2) The first 20K bytes in the user memory area is write protected.
If the memory protect switch will be set
ON
for
operation, file register
area and status latch area must not be within the write-protectarea (first
20K bytes).
I
Memory
protected
20K
bytes
j
12K
bytes
Fig. 4.25
4-53
Memory
Protect
Areas
4.A2CCPU
--------------------
MELSEC-A
POINT
(1)
(2)
(3)
I
The
maximum
area,
status
program
The
main area, with
The ages.
Utility SWO·AD57P SWI
GP·AD57P
SWOC·PID SW1GHP·PID
SWOC·UTLp·FNO SWOGHp·UTLPC·FNO SWOC·UTLp·FNl SWOGHP·UTLPC·FNI SWOGHP·UTLP·FDI
areaof1K
areas
program
status
ROM
stored
microcomputer
Package
area
that
can
be
latch
area,
and
sampling
steps).
allocatedtoparameter
area
cannot
latch
area,orsampling
programs.
program
UaabllltyIn x x
t>.
t>.
0 • Utility programs can be stored in
0
0
0
0
be
area
used
A2C
used
for
file
register
trace
areais26K
area, TIC
for
trace
can
store
• PIO operation status display is
setting
file
register
area
even
when
the
following
Rem.rk
Not
usable because no
AD57/AD58
A2C.
not
possible
can be connected to A2C.
the microcomputer program
(msximum
sequence program occupies 1K
steps.
can be connected to
becausenoAD57
14K
area,
bytes
value
area,
bytes)
(with
area,
the
utility
when
comment
main
and comment A2C
runs
pack-
area
a
I
For
detailsofutility
(4)
The
file A2Cisreset executed.
register
packages,
areaisnot
with
the
refertoeach
cleared
RUN key
when
switch,
utility
package
the
poweristurned
or
latch
clear
manual.
ON,
operation
the
is
4-54
4. A2CCPU
--------------------
4.4.2
0peraIi0n
error
I/O module status
module
verify error
Operation mode at an occurrence of error
Error
Contents
An error in a sequence
program; a value outside
the range of 0 to 9999 Continue ON ON/OFF 50
(or 0 to 99999999) is
converted into BCD data.
The I/O module status
differentfrom the I/O
recognized when the
power
was turned ON is
detected. (removal/locating of a
32-point module,
Whether
occurrence
Table
etc}
4.10
Opera-
Stop
the
sequence program operation is
of an error is set.
A2C
Status
Default
RUN ERR
tlon LED LED tlon
Flash ON
at an
OccurrenceofError
Opera-
Continue!
Stop
cpu
Setting
RUN
ON/
Flash
.1
Status
LED
continued
ERR
LED
ONO'F
.-
MELSEC-A
or
stopped
Special
Relays
to be
Turned
ON
M9010
M9011 D9011
M9002
Dsta SolI-
Storing diagnosis
Special EnorNo.
Register (09008)
D9010
D9002 31
at an
Fuse blown error
Function
module error
Output
module
blown is
A FROM - TO instruction
is
executed
whereaspecial
moduleisnot
detected
for a
loaded
fuse
slot
function
.' .
.2.
.
The
Continue
Stop
RUN LED is Continue Stop The
ERROR LED is
details,
..... ON
see
ON
Flash ON
lit
or
Flash
litornot
Section
ON/OFF
flashes
4.2.8.
accordingtothe
lit
accordingtothe
setting
setting
M9000
M9010 M9011 D9011
for
operation
for
ERROR LED
D9000 32
D9010
(continueorstop).
display
46
order.
For
4-55
4.A2CCPU
--------------------
4.4.3
STOP-+RUN output mode
MELSEC-A
The status of outputs
position to the RUN position is set. ,
(1) Status before operation.
The output status
(2) Status after operation execution
Sequence program is executed one scan with
at
the
time
, _------------------------.-- __
Example: How the
a sample circuit shown below.
~XO'I
output
r--o<-
(Y)
at the time the RUN key switch is set from
just
before the operation is output.
the
A2C was in
status varies according to
the
STOP state;
~I
~
the
output
the
resulting status is output.
the
setting is explained using
status (OFF)
._----------_.~
the
STOP t
~
XO is turned ON during RUN ON
RUN ~ STOP
XO is
turned
OFF
STOP~RUN
-------------------.-
ON/OFF
Status before
Operation Operation Execution
OFF
ON OFF
_-----
status
of
Y20
Status
ON
OFF
------------_._--------..
after
·
·
·
_----~
4-56
4. A2CCPU
--------------------
4.4.4
Entry code registration
MELSEC·A
The entry code is used to prohibit programs and comments in
from being read or rewritten with a peripheral device.
(1) Read/write from the PC CPU to which
In case the entry
and comments can not be read or written from peripheral device unless the entry device.
(2) Registration and cancellation of the entry code
A maximum of 6
set the entry code .
The entry code is registered or canceled with parameter setting.
POINT
In case an entry registered to the A2C, perform PC memory all clear by use of a peripheral device. communicate with a peripheral device.
I
If all memories of the A2C are
code
is registered, parameters, main/sub-programs
digits
in hexadecimal (0 to 9, A to F) can be used to
code
is forgotten or in case an unknown entry
the
code
not
entry
code
the
is entered to
cleared, the A2C cannot
the
PC CPU
is registered
PC CPU to a
the
peripheral
code
is
4.4.5
When PC memory all clear is executed, all of parameters and sequence programs stored in the A2C are cleared.
Printtitle registration
Print title is a comment such as machine name and program name which is printed with a sequence program.
The print title set by the GPP/PHP/HGP is stored in The maximum length of a print title is 128 characters.
the
A2C parameter area.
4-57
4.A2CCPU
---------------------
4.5
Devices
4.5.1 Device
Device
Input
X
Y
Output
list
MELSEC·A
Devices indicate contacts, coils, timers, etc. used in
tion.
Table 4.11 shows the devices
and
their ranges to be used with
Devices indicated with an asterisk (*) can be set as appropriate by setting
the
ranges with parameters using a peripheral device.
For details of parameter setting, see Section
Table
Application
X, YOto 1FF (Number of X + Y = 512)
Range
4.11
Device
(Numberofpointe)
List
Provides
device, e.g. pushbutton,
digital switch.
Provides program control
e.g.
solenoid,
display.
PC
4.4.
command
magnetic
the
PC program opera- I
Explanat.lon
and
select
resultto
switch,
the
PC.
data
from
switch, limitswitch,
aignallight,
external
external device,
digital
Special
f--
M
Internal relay MOto 999 (1000)
Latch relay
L
S Step relay
B Link relay BOto 3FF (1024) May be used as an internal relay if not set
F
Annunciator
100 msec 10 msec
T
*
100 msec retentive
C
Counter
-
Data register
0
Special
register
W
Link
relay M9000 to 9255 (256)
Ll000to2047
Can be used by setting
the
parameter (0)
FOto 255 (256)
timer
timer
timer
register WOto 3FF (1024)
TOto 199 (200) T200 to 255 (56) Can be used by setting
paramater. (0)
COto 255 (256)
DO
to 1023 (1024) Memory for storing PC data.
09000 to 9255 (256)
(1048)
Number
Ms + Ls + directly. Backed up S.
=2048
the
Predefined auxiliary relay
for
use in
the
PC.
Auxiliary relay in
directly.
of
Auxiliary
Used in e.g. as a relay
step-by-step process operation program.
Internal relay parameter. Used to detect a fault. When
RUN by a corresponding
Up timers available in 100 msec, 10 rnsec msec retentive types.
Up
type
Predefined
Data register
relayinthePCwhich
the
fault
counters
e.
thePCwhich
same manner as an Internal relay (M),
indicating
for
data link
detection program, stores a
number
availableinnormal
data
memory
for
use with
for
special purpose and
during
power failure.
the stage
which
switchedonduring
in special register D.
for
special purpose.
data
cannotbeoutput
cannotbeoutput
number
cannot
be output.
for
and
and
interrupt
link.
of a
link
100
R File register
Can be used by setting the parameter. (0)
4-58
Used for by link parameters, data registers
data
link. In
the
ranger
file
registers can be used as
whichInnot
set
4. A2CCPU
I
--------------------
Device
A
Accumulator
Z
Index register
V
Nesting
N
Pointer
P
Decimal
K
constant
Hexadecimal
H
constant
Table
Application
(2)
AO,
Al
Z (1) V (1)
NO
to 7 (8 levels)
PO
to 255 (256)
K-32768 to
K-2147483648 to 2147483647
(32-bit HOto FFFF (16-bit instruction) HO
to FFFFFFFF (32-bit instruction)
32767
instruction)
4.11
Range
(Numberofpoints)
(16-bit
Device
instruction)
IREMARKSI
The
step
relay
(8) may be
step
relay
comesinuseful
the
step
relay
canbeused
pendentlyofthe
internal
relay.
List
(Continued)
Data register for storing the operation results of
basic
and
Used to
(X,
Y, M,l,8, F, T, C, D, W, R, K, H, Pl.
Indicates Indicates
(CJ, SCJ, CALL, JMP).
Used to specify
pointer
numberofbit
application instruction
Usedtospecify instruction
usedinthe
when
specificallyinaccordance
same
mannerasthe
writingaprogram
application
modify
devices
the
nestingofmaster
the
destinationofthe
the
number,
values.
which
interrupt
device
the
internal has
with
MELSEC-A
Explanation
instructions.
controls.
branch
timer/counter
pointer
digits,
values.
basic
and
relay
two
functionorapplication,
the
functionorapplication,
set
number,
and
basic and
application
(M).
value,
For
Instruction
the
Instance,
Inde-
the
l.e.
4-59
4.A2CCPU
-------------------
4.6 INSTRUCTIONS
Refer to the ACPU Programming Manual (Common Instructions) of each instruction.
4.6.1 Sequence Instructions
CI
...
lllcotlon
Contact instructions
Connection instructions
Symbol
--
LD
I
LDI
I
AND
I
ANI
I
OR
I
ORI
I
ANB
I
ORB
I
MPS
I
MAD
I
MPP
I
Table
I I I I I
I I I
4.12
Symbol
I
I
II
Jr Logical NOT operation start (NC contact operation start)
II
.r
I I
-,--l~-.--,--ll-
L .....
T
-If-
-If-
j}_.J
II
Jr
L..~I-...J
I I
~~
I
Sequence
I
I
r-
-If-y
-If-
MELSEC-A
for
Instructions
Contents ot Proc••slng
Logical
Logical
Logical product NOT (NC contact series connection)
logical
Logical add NOT (NC contact parallel connection)
ANOs
DRs logical blocks. (Parallel
Stores the
Reads the operation result from MPS.
Reads
result.
operation
product
add (NO
logical
blocks.
operation
the
operation result
start
(NO
contact
contact
result.
(NO
contact
parallel connection)
(Series
from
operation
series
connection)
connectionofblocka)
connection
MPS and clears
8tart)
of blocks)
the
details I
OUT instructions
Shift
Instructions
Master
control
instructions
I I I
I I
I I I I
OUT
SET RST
PLS
PLF
SFT
SFTP
MC
MCR
Device
I
~
I
~
I
~
I
~
I
~
I
~
I
~
I
~
I
(D)
0-l
H
output Device set Device reset
Generates one-program cycle pulses on edgeofinput
Generates one-program cycle pulses on edgeofinput
Shifts
Master control start
Master control reset
signal.
signal.
device1bit
the
the
leading
trailing
41
4-60
4.A2CCPU
--------------------
Classification
I
Program
branch
instructions
[FOR] to [NEX1]
Refresh
instructions
Termination
instructions end
Jump
Subroutine
call
Micro-
computer
program
call
Repetition
Unk
refresh
Link
refresh enable, disable
Program
Table
InatruclIon
Symbcl
CJ
I
SCJ
I
JMP
I
CALL
I ICALLP I
RET
I
SUB
I
SUBP
I
FOR
I
NEXT
I I
COM
I
EI
I
DI
I
FEND
I
END
I I
4.12
Sequence
Symbol
CJ
SCJ
JMP
CALL
CALLP I
RET
SUB
SUBP
FOR
NEXT
COM
FEND
-
I
I
I
I
I
I H
I
EI
DI
H
I
H
I
H
I
--j
I
--j
H
I
--j
I
I
-
H
I
H H H
I
H
I
H
I
H
I
p
••
p
••
p
••
p
••
p
••
n n n
Instructions
Jumpstop**
H
Jumpstop**
H
input condition is
Unconditionally
H H
Executes
condition is
H
Returns
H
sequence
H
Executes
H
Execute
lin"
times.
Executes
H
Enables
H
Disables
H
Always
H
terminate Always
return to
(Continued)
ContentsofProcessing
after
beginning
jumpstoP**.
the
subroutine
enabled.
execution
program.
the
microcomputer
the
program
link
refresh,
link
refresh.
link
refresh.
usedatthe
processing.
usedatthe
step
O.
the
input
enabled.
from
the
area
general
Valid
Valid
end of
end of
conditionisenabled.
with
the
next
scan
programatp**
subroutine
program
between
data
when
when
the
main
the
sequence
programtothe
specified
[FOR] and [NEXT]
processing.
M9053
M9053
routine
MELSEC·A
after
the
after
the
input
by n.
is on.
is on.
program
program
to
to
STOP
Other is
Stop
instructions
No
operation
STOP
I I
NOP
--j
I
I
-
H
Resets
output
stops
the
resumedbysetting
No
operation
For
program
after
sequence
erasureorspace
input
conditionisenabled,
program.
the
RUN
The
keyswitch
sequence
to RUN.
and
program
4-61
2. A2CCPU
------------------
4.6.2
Comparison instructions comparison
BasicInstructions
Cla.slflcatlon
te-bft
data
InsbuclIon
Symbol
LD-
I
AND~
I
OR-
I
LD<>
I I
AND<>
OR<>
I
LD>
I
AND>
I
OR>
I
LD<-
I
AND<=
OR<=
LD<
AND<
OR<
LD>-
AND>=
OR>-
I
I
Table
LD_
H
AND""
-1
OA-
Y
LD<>
H
-1
AND<>
OR<>
y
LO>
H
AND>
--!
OA>
Y
LO<
H
-l
ANO<-I(Sl)
OR<=
Y
LD<
H
AND<
--!
OA<
y
LD>z=
H
-lAND>""
Y
OA>.
4.13
Basic Instructions
Symbol
I(81) I
(82)~
~
I
(Sl)
I(82)
Continuity when (81) = (82) Non-continuity when (81)
f-J
~
1(81) j(S2)
l(sl)
§i}l
1(81)
1(82)f-
l~
I(S1)1(S2)~
S2
(SI)
II
I
I(82)
Continuity when (81)'"(82)
r-
Non-continuity when (81) = (82)
Continuity when (81) > (82) Non-continuity when (81) s (82)
f-
1
Continuity
f-
Non-continuity
~
~
~
Continuity when (81) < (82) Non-continuity when (81)
~
~
~
I
(Sl)
I(82)
Continuity when (81) >: (82) Non-continuity when (81) < (82)
fJ
Contents of Proce.slng
'"
(82)
when (81) S (82)
when (81) > (82)
>: (82)
MELSEC-A
I
4-62
2. A2CCPU
-------------------
Classillcalion
Comparison
instructions
32-bit data
comparison
Table
Instruction
Symbcl
LDD
I
ANDD-
I
ORD-
I
LDD<>
I IANDD<>
ORD<>
I
LDD>
I
ANDD>
I
ORD>
I
LDD<=
I I
ANDD<~
ORD<-
I
LDD<
I
ANDD<
I
ORD<
I
LDD>-
I I
ANDD>-I
I
ORD>-
4.13
BasIc Instructions (ContInued)
Symbol
LOC_
I
H
I
-1
ANOO'I~
I
yaRD.
I
H
lOD<>
I
-1
ANOD<
I
yORD<>
I
~lDD>
I
-1
ANOD>
I
yaRD>
I
~DD<=
I
-1ANOD<=~
I
YORD<=I~
I
H
I
-1
ANOD< I
I
y ORD<
I
H
LOO>·
I
~
ANDO
-1
Y
ORO>.
I
(s'iI
~
~
> I
(81)
~
I
I(Sl)
~
~
lDD<
~
(Sl)
I
(S')
I
(Sl)I(S2>f-
> = 1(81) §i]--
I
(Sl)
(S2)
1(52)
(S')I(S2>f-
§i]--
I(S2)
I(S2)
I(S2)
Contents of Proce••lng
f-
Continuity when (81 + 1, Non-continuity when (81 +
Continuity when (81 + 1, 81)
r-
Non-continuity when (81 +
Continuity when (81 + Non-continuity when (81 +
Continuity when (81 + Non-continuity when (81 + 1, 81) > (82 + 1, 82)
Continuity when (81 + 1, 81) <
f-
Non-continuity when (81 + 1,
f-J
Continuity when (81 + Non-continuity when (81 +
f-J
81)~(82+1,82) 1,81)
..
..
(82 + 1, 82)
1,81)
= (82 +
1,81)>(82+1,82)
1,81)
s (82 + 1, 82)
1,81)S(82+1,82)
(82+1,82)
81)
" (82 + 1, 82)
1,81)"(82+1,82)
1,81)
< (82 +
MELSEC-A
(82 +
1,82)
1,82)
1,82)
4-63
2.A2CCPU
--------------------
Claaailleatlon
BIN
16-blt
addition!
subtraction
Arithmetio BIN16-bit
operation Instructions
addnionl
subtraction
Bin
16-bit
addition!
subtraction
32-bit
BIN additlonl
subtraction
Table 4.13 Basic Instructions (Continued)
Symbol
--
+
+P
+
+P
-P
-
-P
D+
D+P
I
D+
D+P
D-
D-P
D-
D-P
*
*p
I
IP
D*
D*P
DI
I
DIP
I
---1
---1
----Q (S1)
---1
---1
I
---1
I
~
I
~
I
---1
I
---1
I
---1
I
~
I
---1
I
---1
I
---1
I
~
I
~
I
~(S2)I(D)H
I
~
I
~
I
~
I
~
I
~
I
~
I
Symbol
+
~
+P
~
IIS211
(D) H
+P I
(Sl)
IIS21
~
-
~
-P
~
0+
~
D+P
~
S11
0+
II
I(S2)
~
0-
~
o-P
~
o-l(Sl)l~
(D) + (5)
(51) + (52) ~ (D)
(D) - (5) ~ (D)
(51) - (52)~(D)
(D + 1, D) + (5 +I,5)~(D + 1, D)
(51 +
(D + 1,
(51 +
(51) x (52) ~ (D + 1, D)
(51) + (52)~Quotient (D), Remainder (D + 1)
(51 + + 1,D)
(51 + (D + 1, D), Remainder (D + 3, D + 2)
Contents of Processing
-e,
(D)
1,5)+(52+
D)-(5+
1,51)-(52
1,51)
x (52 + 1, 52) ~ (D + 3, D + 2, D
1,51)
+ (52 +
1, 52) ~ (D +
1,5)~(D+
+
1,52)~(D+
I,
52) ~ Quotient
l,D)
MELSEC·A
I
l,D)
1, D)
4-64
Loading...