EasyManuals Logo

Mitsubishi MELSEC-F FX3U Series User Manual

Mitsubishi MELSEC-F FX3U Series
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #133 background imageLoading...
Page #133 background image
C-19
4 Programming
4.7 Model Code
FX
3U
/FX
3UC
Series PLC User's Manual - Analog Control Edition
FX3U-4AD-ADP (4-channel analog Input)
A
Common Items
B
FX
3UC
-4AD
C
FX
3U
-4AD-ADP
D
FX
3U
-4DA-ADP
E
FX
3U
-4AD-PT
-ADP
F
FX
3U
-4AD-TC
-ADP
G
PID Instruction
(FNC 88)
4.7 Model Code
Initial value: K1
Numeric data type: Decimal (K)
When 4AD-ADP is connected, model code "1" is stored in the special data register.
The following table shows the special data registers that store the model code:
Use the above special data registers to check whether 4AD-ADP is connected or not.
1. Example of program
4.8 Example of Basic Program
Create the basic example program to read out analog conversion (A/D conversion) data.
The following program will set the channel 1 of the 1st adapter to the voltage input mode and channel 2 to
current input mode, and will store the A/D converted value of channel-1 data into D100 and that of channel-2
data into D101.
Even if the input data is not stored into D100 or D101, the data registers D8260 or D8261 can be directly used
in the timer/counter setting value or in PID instruction.
Special data register
Description
1st 2nd 3rd 4th
D8269 D8279 D8289 D8299 Model code
Checks the model code of the 1st
analog special adapter
FNC224
LD =
D8269 K1 Y007
M8001
M8260
M8000
M8261
Sets the input mode of channel
1 to the voltage input mode
(0 V to 10 V).
Sets the input mode of channel
2 to the current input mode
(4 mA to 20 mA).
M8002
RST D8268.6
RST D8268.7
Error status: b6 = OFF
Error status: b7 = OFF
M8000
FNC 12
MOV
K5 D8264
FNC 12
MOV
K5 D8265
Sets the number of averaging
time to "5" for channel-1 data.
Sets the number of averaging
time to "5" for channel-2 data.
M8000
FNC 12
MOV
D8260 D100
FNC 12
MOV
D8261 D101
Stores the A/D converted
channel-1 digital data into D100.
Stores the A/D converted
channel-2 digital data into D101.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-F FX3U Series and is the answer not in the manual?

Mitsubishi MELSEC-F FX3U Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-F FX3U Series
CategoryController
LanguageEnglish

Related product manuals