Mitsubishi FX3U-4AD User Manual page 170

Fx3g series fx3u series fx3uc series
Hide thumbs Also See for FX3U-4AD:
Table of Contents

Advertisement

FX
/FX
/FX
PLC User's Manual - Analog Control Edition
3G
3U
3UC
FX
-4AD-ADP (4-channel analog Input)
3U
3. Example of program 2 (For FX
• For example, create the following program to change the digital input data (D110) of the 1st analog special
adapter:
M8001
M8000
M8002
M8000
M8000
FNC 230
LD>=
M10
4. Cautions regarding programming
• GX Developer version 8.13P or later supports scaling instruction (SCL/FNC 259).
• If the A/D converted digital value is out of the data table range specified by the scaling instruction (SCL/
FNC 259), the FX Series PLC will detect an operation error (error code: K6706).
C-28
Series PLC)
3G
FNC 12
MOV
FNC 12
FNC 12
FNC 12
FNC 237
D110 K400
AND<=
FNC 21
SUB
FNC 22
MUL
FNC 23
DDIV
5.1 Example: Changing of Voltage Input Characteristics
M8280
D8288
K4M0
RST
M6
RST
M7
K4M0
D8288
MOV
K1
D8284
MOV
D8280
D110
MOV
D110 K2000
M10
D110
K400
D111
D111 K10000 D112
D112
K1600
D100
5 Changing of Input Characteristics
Sets the input mode of channel 1 to the
voltage input mode
(0V to 10V).
Error status: b6 = OFF
Error status: b7 = OFF
Sets the averaging scaling to "1"
for the channel-1 data.
Check to make sure the digital
value (D110) is in range.
Calculation for changing input
characteristics.
Stores the operation result in D100.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents