Troubleshootingflow
Flow chart used when "POWER" LED of the A2CCPU has turned off9 - 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 on9 - 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 on9 - 10
MaKunetion in program downloadto PC
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.1General
1.1.1ON/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 AJ35PTFR2 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
dimensions : 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 cablesI
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 moduleA2CI/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
~
VerticalHorizontal
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 controlI
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.
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/2503C-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.1Repeated 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 numberSequence 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
END0
II
IVvA(V''vI--1-----f/V'/V'.,N--
ITimer
present value updatedI
the
timer times out.
END0
I
AAAA
Iv 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.5Counter 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.
END01/END0END
II
~ND
processingThe A2C stopsprogram
dog
timer (WDT) keeps timing while the operation is at a
the
.Power recovery
"\
iIII
-+-----+-
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.
END0j
II•
'--cE'ND
Fig.
Momentary
processing
4.5
Momentary
Power
Failure
Power failure (Initial start)
within
the
RUN key switch operation.
20
msec
/0
'iI1===11--
~Sequence
IL Initialprogram
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.8Watch 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
END0END
==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
oEND
1I
LWDT 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 accordingt
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 ~ RUNStarted
~
PAUSE
RUN
PAUSE ~ RUNStarted
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
PAUSEExecutedExecuted
ExecutedExecutedExecuted
Executed
Executed
--
--
ExecutedEnableExecutedExecuted
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
~
oEND0END
~
program
END
processing
II'III
50
msec
I
I
Scan time - constant scan function Is fixed to 70 msec
END
I
Sequence
~
oEND/0END
I'
50
msec
70
I'~
Wait
msec
program
END
- ' II
~
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
END0
. 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
II
10 20 30 40
0
IIII
I
END0
H-I
35 msec
40 msee
I
I
10 20
I
5 mseo
30 40
III
53
msec
END
H
longer
10 20
II
0
than
30 40 10 20
35 msee
37 msec
MELSEC·A
than
the
constant
the
constant scan timeI
the
maximum scan
than
the constantscan
IIII
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 poweredI
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
operationI
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
0END
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 allI
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
A2CCPUGPP/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, CContact and coil ON/OFF data and present
D, W, A, Z, V: Stored data
2) File register (R)
l,
S, F, BON/OFF data
Status
value
Latch
Sequence
the
the
status latch area when
device
that
will execute
data
when at
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
1010
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
A2CCPUGPP/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
,,
iI
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
III
Total
is used to end the sampling trace and latch the sam-
sTotal number of sampling timess
1STRA
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)
isI
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 execution3
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
tob4
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
6432
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 stations64
Automatic online return
providednot provided
Defaull
5e"lng
1064
1
0:
Automatic online return
provided
Automatic online return
1 :
RangeSpecial 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 6109021 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
1010
A2C
CPU
X01F
(Slalion
(4 stations)(4 stations)
17)
AY51CA68AOC
X080
10
XOOF
[Initial Setting Program)
CM9038 (fixed)
M9
o
~8
~
/
MOV I 1(20 I 09036
MOV I K9I 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 KlI
IJ
09173
~
I-
Selling
for Ihe
mode
To
end
a program wilh a4
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 correctly.
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 correctly.
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 number
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 errorOFF
• Communication error due to
line
MINI-S3
link line
errors
S.~-
diagnosis
errorOPE. CIRCUIT ERRORON
(OperationWDT 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
LitLit
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 methodPhotocoupler insulation
Rated load voltage24 VAC
Operating load voltage range10.2 to 31.2 VDC
Maximum load current50 rnA
leak
current at OFF0.1 rnA
Maximum
voltage
drop
at ON1.5V (50 rnA)
Speclflcetlon
-
External connection
~~~
ERR+
9
ER,~-
"
24VDC
4-41
4.A2CCPU
--------------------
4.3
Fault
Detection
4.3.1Self-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 continuously execute
error
the
is
detected.
following manner.
outputs
. EC Mode
(y) of
sequence
the
-
OFFOutput
ONOFF
-
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
StatusStatus
Flash
RunLit
7
Run
~
MELSEC·A
ERROR
LEDLED
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
5Receive
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 stations64 stations
of remote terminal stations0
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
~
ItemOutput 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.
DisconnectionLine 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 LPower 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