Model Code - Mitsubishi Electric FX3G User Manual

Hide thumbs Also See for FX3G:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
FX
-2AD-BD (2-channel Analog Input)
3G
4.7

Model Code

When the 2AD-BD is connected, model code "3" is stored in the corresponding special data register.
The following table shows the special data registers that store the model code:
• FX
Series PLC
3S
Special data register
D8269
• FX
Series PLC
3G
Special data register
Board A
D8269
Use the special data registers above to check whether a 2AD-BD is connected or not.
1. Program Example (For FX
FNC224
D8269
LD=
4.8
Basic Program Example
Create the following basic program example to read out analog conversion (A/D conversion) data.
• For FX
Series PLC
3G
The following program will set the board A to voltage input mode and channel 2 to current input mode, and
will store the converted A/D value of channel-1 data into D100 and that of channel-2 data into D101.
M8001
Normally
OFF
M8000
Normally
ON
M8000
Normally
ON
M8002
Initial
pulse
M8000
Normally
ON
M8000
Normally
ON
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 a PID instruction.
PLC User's Manual - Analog Control Edition
Model code
Board B
D8279
Model code
Series PLC)
3G
K3
M8260
M8261
FNC 12
D8268
K4M0
MOV
RST
M6
RST
M7
FNC 12
K4M0
D8268
MOV
FNC 12
K5
D8264
MOV
FNC 12
K5
D8265
MOV
FNC 12
D8260
D100
MOV
FNC 12
D8261
D101
MOV
Description
Description
Checks the model code of the
Y007
board A
Sets the input mode of the channel 1
to the voltage input mode
(0 V to 10 V).
Sets the input mode of the channel 2
to the current input mode
(4 mA to 20 mA).
Error status: b6 = OFF
Error status: b7 = OFF
Sets the averaging time to "5"
for channel-1 data.
Sets the averaging time to "5"
for channel-2 data.
Stores the A/D converted
channel-1 digital data into D100.
Stores the A/D converted
channel-2 digital data into D101.
4 Programming
4.7 Model Code
Initial value: K3
Numeric data type: Decimal (K)
D-21
A
B
C
D
E
F
G
H
I
J

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3sFx3gcFx3uFx3uc

Table of Contents