Mitsubishi Electronics MELSEC-F Home Theater Server User Manual


 
B-61
7 Examples of Practical Programs
7.4 Initialization Program for 4AD (Factory Default)
A
Common Items
B
FX
3U
-4AD
FX
3UC
-4AD
C
FX
3U
-4AD-ADP
D
FX
3G
-2AD-BD
E
FX
3U
-4DA
F
FX
3U
-4DA-ADP
G
FX
3G
-1DA-BD
H
FX
3U
-3A-ADP
I
FX
3U
-4AD-PT
-ADP
J
FX
3U
-4AD-PTW
-ADP
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX3U-4AD/FX3UC-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 FX3U Series PLC.
2) Device assignment
2. Example of sequence program
•For FX3U, FX3UC Series PLCs
•For FX
3G, FX3U, FX3UC 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