B-60
7 Examples of Practical Programs
7.4 Initialization Program for 4AD (Factory Default)
FX
3S
/FX
3G
/FX
3GC
/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/FX3GC/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