Mitsubishi Electronics MELSEC-F Manuel D’Utilisation
F-23
4 Programming
4.7 Model Code
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Analog Control Edition
FX
3U
-4DA-ADP (4-channel analog Output)
A
Comm
on I
te
te
ms
B
FX
3U
-4AD
FX
3UC
-4
A
D
C
FX
3U
-4A
D
D
-A
D
P
D
FX
3G
-2A
D
D
-BD
E
FX
3U
-4DA
F
FX
3U
-4D
A
A
-AD
P
P
G
FX
3G
-1D
A
A
-BD
H
FX
3U
-3
A-
ADP
I
FX
3U
-4
A
D
-P
T
-
A
D
P
J
FX
3U
-4A
D
D
-P
TW
-
A
A
D
P
4.7
Model Code
Initial value: K2
Numeric data type: Decimal (K)
1. Description of setting
When the 4DA-ADP is connected, model code "2" is stored in the corresponding special data register.
The following table shows the special data registers that store the model code:
• FX
The following table shows the special data registers that store the model code:
• FX
3U
, FX
3UC
Series PLC
• FX
3G
Series PLC
Use the special data registers above to check whether 4DA-ADP is connected or not.
2. Program Example (For FX
3U
, FX
3UC
Series PLC)
4.8
Basic Program Example
Create the following basic program example to output D/A converted analog data.
• For FX
• For FX
3G
, FX
3U
, FX
3UC
Series PLC
The following program will set channel 1 of the 3rd
*1
adapter to the voltage output mode and channel 2 to
current output mode, and will set digital data in D100 and D101 for D/A conversion.
Using the indicator or the sequence program, input the digital data to be subject to D/A conversion (to be
output as analog data) in D100 and D101.
output as analog data) in D100 and D101.
*1.
"1st" for the FX
3G
PLC.
1st
2nd
3rd
4th
Description
D8269
D8279
D8289
D8299
Model code
1st
2nd
Description
D8289
D8299
Model code
FNC 224
LD =
D8269
K2
Checks the model code
of the 1st analog special
adapter.
Y007
M8001
M8280
M8000
M8281
Sets the output mode of channel 1 to the voltage
output mode (0 V to 10 V).
output mode (0 V to 10 V).
Sets the output mode of channel 2 to the current
output mode (4 mA to 20 mA).
output mode (4 mA to 20 mA).
M8000
FNC 12
MOV
D100
D8280
FNC 12
MOV
D101
D8281
Performs D/A conversion with the digital data stored
in D100 for channel 1.
in D100 for channel 1.
Performs D/A conversion with the digital data stored
in D101 for channel 2.
in D101 for channel 2.
M8284
Sets the output holding function for channel 1.
M8285
Cancels the output holding function for channel 2.