Mitsubishi Electronics FX3U-CF-ADP ユーザーズマニュアル

ページ / 124
9 Program Examples
9.2 Program Example 1
85
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
 
Configurati
o
n
4
Ins
tal
lation
5
Wi
rin
g
6
Functi
o
n
s
7
Bef
o
re
 
Programm
ing
8
C
F
-AD
P
 Appl
ied 
Ins
tructi
ons
 
Explanati
o
n
9
Program 
Examples
10
T
roubl
esho
oti
n
g
*1.
When 
 is "K7" or "K8", 00H, which indicates the end of the string, must be added to the end of
the character string. In addition, in sequence example, it is written in such a way that "00H" is placed
in a blank area of a character string. When a character string is modified, it is necessary ensure that
"00H" is placed at the end of the character string.
Time stamp setting.
D11
K3
D12
K1000
FNC 12
 MOV
Data type  setting.
Processing when the maximum
line value is reached.
File create.
Maximum line value setting.
D0
"DWORD_01"
FNC209
$MOV
M8405
CF card
is
mounted
M60
M8404
CF-ADP
unit ready
Remains
ON while a
new 32-bit
decimal
type file is
being
created
The file name is set to
"DWORD_01".
FNC 12
 MOV
D10
K1
 FNC 12
 MOV
D13
K0
FNC 12
 MOV
K1
D10
D0
FNC305
FLCRT
K1
Remains ON while a new 32-bit
decimal type file is being
created.
D102
D8418
D103
D8417
FNC 12
 MOV
The error code is stored.
Remains ON while a new 32-bit
decimal type file is being
created.
The error code details are
stored.
FNC 12
 MOV
M61
SET
M60
RST
M60
RST
M8029
M8329
D200
"Device1"
FNC209
$MOV
M8405
CF card
is
mounted
M61
M8404
CF-ADP
unit ready
Remains
ON while
data
names are
being
written to
the 32-bit
decimal
type file
Data name in the 1st column
*1
*1
*1
*1
*1
*1
D204
"Device2"
FNC209
$MOV
Data name in the 2nd column
D208
"Device3"
FNC209
$MOV
Data name in the 3rd column
D228
"Device8"
FNC209
$MOV
D232
"Device9"
FNC209
$MOV
D236
"Device10"
FNC209
$MOV
Data name in the 8th column
Data name in the 9th column
Data name in the 10th column
A 32-bit decimal type file is created
Data names are written to the 32-bit decimal type file
To next page
To next page
From previous page
From previous page
Execution
completion
Abnormal
end
Remains ON while data names
are being written to the 32-bit
decimal type file.
  
S
2