Mitsubishi MELSEC-A Series Operating Manual page 113

Programmable controller
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

6.
HOW T,O
USE EACH FUNCTION
"
.IUELSEGA
6.7
TEST (T) Mode
Operations
This
mode
performs test operatlorrs of ACPU programs. The following are
enabted:
(1) Testing
by
list monitoring
(a) Setting/resetting bit devices X, Y ,
M, L,
6, and F
Example of setting device "M110"
of
the cursor position
Before
executing
After
executing
T
32
OUT
O M 1 0 1
T
32
OUT
OM101
'M110' has now
3 4 OUT
OM200
3 4
OUT l M 2 0 0
been set (ON).
(b) Changing the current value of word devices T, C, D,
W, R ,
A, 2 and
V
(21
to 26 and V1 to V6: only when A2ACPU
or
A3ACPU is used)
Example of changing the current value of designated device "D20"
to "K200"
Before
executing
After executing
r T
3 9
MOV
1
I T
3 9
MOV
1
I
3 9
0 2 0
:
3 9 ) D l 0
-
I
3 9
DZO
7
3 9 ) D l 0
2 0 0
1
The current value
DPO
X 2 0 0
I
1
4 4
LD
OM100
has now been
changed to
'K200".
(2) Testing
by device monitoring
(a) Settinghesetting bit devices X,
Y,
M, L, 6, and
F
Example of resetting device "M110" at the cursor position
Before
executing
After executing
"M110' has now
been reset
(OFF).
Changing the current value of word devices T, C, D, W, R, A, 2, and
V (21 to 26 and V1 to V6: only when APACPU
or A3ACPU is used)
Example of changing the current value of designated device "D21"
to "K500"
Before
executing
After
executing
ID
2 2
A current value has
now been changed
D 2 1
X 5 0 0
to
'K500".
(c) Settinghanceling an offline switch of bit devices Y, M , L, B, and F
Example of setting an offline switch
of device "Y21" at the cursor
position
Before
executing
After
executing
T Y
0 2 0 0
su
a
O P l l
8 1
: , Y
0 2 l l
8 1
0
Offline switch
The offline switch has
Cancellation state
,now been set.
6-46

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-a8pue

Table of Contents