Mitsubishi Electric A173UHCPU Programming Manual page 361

Motion controller
Hide thumbs Also See for A173UHCPU:
Table of Contents

Advertisement

APPENDICES
Number
Name
CPU operating
D9015
states
Program
D9016
number
D9017
Scan time
D9018
Scan time
D9019
Scan time
D9020
Constant scan
(Note-2)
D9021
Scan time
D9022
Time
D9025
Clock data
(Note-2)
Table 3.2 Special Register List (Continued)
Stored Data
Operating states of CPU
Sequence program in execution is
stored in BIN.
Minimum scan time (10 ms units)
Scan time (10 ms units)
Maximum scan time (10 ms units)
Constant scan time
(user-specified in 10 ms units)
Scan time (1 ms units)
Time
Clock data
(year, month)
!
The CPU operation states indicated in the figure below are stored in D9015.
B15
B12B11
B8 B7
*: When the CPU is in the RUN status and M9040 is OFF, the CPU remains
in RUN mode even if set to PAUSE.
!
Stores the currently executed sequence program with any of the following code
numbers.
0 : ROM main
3 : RAM sub 2
1 : RAM main
4 : RAM sub 3
2 : RAM sub 1
5 : ROM sub 1
!
At each END instruction, if the scan time is shorter than the contents of D9017,
the new value is stored in this register. In other words, the minimum value for
scan time is stored in D9017, in BIN code.
!
The scan time is stored in BIN code at each END instruction and is always
rewritten.
!
At each END instruction, if the scan time is longer than the contents of D9019, the
new value is stored in this register. In other words, the maximum value for scan
time is stored in D9019, in BIN code.
!
When user programs are executed at fixed intervals, used to set the execution
intervals, in 10 ms units.
0
: Constant scan function not used
1 to 200 : Constant scan function used
program executed at intervals of (set value)×10 ms.
!
The scan time is stored in BIN code at each END instruction and is always
rewritten.
!
Incremented by 1 per second.
!
The year (last two digits) and month are stored in BCD code in D9025 as shown
below.
B15
B12B11
B8 B7
Year
APP − 44
Explanation
B4 B3
B0
Remains unchanged in
CPU key switch
remote run/stop mode
RUN
0
STOP
1
PAUSE *
2
STEP RUN
3
Remote RUN/STOP by parameter setting
0
RUN
1
STOP
2
PAUSE*
Status in program
0
Other than below
1
STOP instruction execution
Remote RUN/STOP by computer
0
RUN
1
STOP
2
PAUSE*
6 : ROM sub 2
9 : EEP-ROM sub 1
7 : ROM sub 3
A : EEP-ROM sub 2
8 : EEP-ROM main
B : EEP-ROM sub 3
B4 B3
B0
Example
: July, 1993
H9307
Month

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A273uhcpu

Table of Contents