E-63
8 Examples of Practical Programs
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
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX3U-4DA (4-channel Analog Output)
8.4 Program to Initialize FX3U-4DA (Factory Default)
8.4 Program to Initialize FX3U-4DA (Factory Default)
To initialize FX3U-4DA, execute the following program.
This will return the output mode (BFM#0), the offset data (BFM#10 to #13) and the gain data (BFM#14 to #17)
will be to the factory default status state.
1. Conditions
The sequence program described in this section is under the following conditions.
1) System configuration
FX
3U-4DA (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 regarding initializing
• During initialization, output is stopped, and H0000 is automatically written in the output status (BFM#6).
At the completion of initialization, the output status (BFM#6) will automatically change to H1111, and the
output will be restarted.
• It takes approximately 5 seconds to complete initialization. Do not set (write) data in the buffer memory
during the period.
• Priority is given to the setting of the change prohibition mode (BFM#19).
• Once initialization is completed, the value in BFM#20 will automatically change to "K0".
Device Description
X000 4DA initialization command
Completion of table output from channel 1
Output to Y000
Y001
M30
Y000
Readout table output completion flag and table
output error
M1
FNC228
LD<>
K0 D102
Output to Y001 when table output error occurs
FNC 78
FROM
K89 K2K0 D101
FNC 12
MOV
D101 K4M30
X000
FNC 12
MOV
K1 U0\G20
P
The 4DA will be initialized.
(BFM#0 to #3098 will be cleared.)
4DA initialization command
X000
The 4DA will be initialized.
(BFM#0 to #3098 will be cleared.)
4DA initialization command
FNC 79
TO
K20 K1
P
K0 K1