Справочник Пользователя для Mitsubishi Electronics MELSEC-F

Скачать
Страница из 504
B-61
7 Examples of Practical Programs
7.4 Initialization Program for 4AD (Factory Default)
A
Comm
on I
te
ms
B
FX
3U
-4AD
FX
3UC
-4
A
D
C
FX
3U
-4A
D
-A
D
P
D
FX
3G
-2A
D
-BD
E
FX
3U
-4DA
F
FX
3U
-4D
A
-AD
P
G
FX
3G
-1D
A
-BD
H
FX
3U
-3
A-
ADP
I
FX
3U
-4
A
D
-P
T
       
         
   -
A
D
P
J
FX
3U
-4A
D
-P
TW
     
        
      -
A
D
P
FX
3G
/FX
3U
/FX
3UC
 PLC User's Manual - Analog Control Edition
FX
3U
-4AD/FX
3UC
-4AD (4-channel Analog Input)
7.4
Initialization Program for 4AD (Factory Default)
Execution of the following program will reset the input mode (BFM #0), offset data (BFM #41 to #44), gain
data (BFM #51 to #54), etc. to the factory default status.
1. Conditions
The sequence program described in this section runs under the following conditions.
1) System configuration
The FX
3U
-4AD (unit No.0) should be connected to the FX
3U
 Series PLC.
2) Device assignment
2. Example of sequence program
• For  FX
3U
, FX
3UC
 Series PLCs
• For  FX
3G
, FX
3U
, FX
3UC
 Series PLCs
3. Cautions
• It takes approximately 5 seconds to complete initialization.
Do not write any data to the buffer memory in this time.
• When initialization is complete, the value of BFM #20 will be reset to "K0".
• Priority is given to the data change disable (BFM #19). To initialize, write K2080 to BFM #19.
Device
Description
X000
4AD initialization command
X000
  FNC 12
  MOV
K1
U0\G20
P
The 4AD will be initialized.
(BFM #0 to #6999 will be cleared.)
4AD initialization command
X000
The 4AD will be initialized.
(BFM #0 to #6999 will be cleared.)
4AD initialization command
  FNC 79
  TO
K20
K1
P
K0
K1