Program Example - Mitsubishi FX2N-2DA User Manual

Special functionblock
Table of Contents

Advertisement

8. PROGRAM EXAMPLE

The following program examples (8.1 and 8.2) are formula circuits.
The device numbers that have been underlined can be assigned by the user during programming.
8.1 At connection to FX
X000
0
X001
61
Digital to analog conversion execution input of CH1 :X000
Digital to analog conversion execution input of CH2 :X001
D/A output data CH1:D100 (Replace with auxiliary relay M100 to M131. Assign these numbers only one
D/A output data CH2:D101 (Replace with auxiliary relay M100 to M131. Assign these numbers only one
Processing time:Time until FX
4mS / 1 channel
8.2 At connection to FX
X000
0
X001
51
Digital to analog conversion execution input of CH1 :X000
Digital to analog conversion execution input of CH2 :X001
D/A output data CH1:D100 (Replace with auxiliary relay M100 to M115. Assign these numbers only one
D/A output data CH2 :D101 (Replace with auxiliary relay M100 to M115. Assign these numbers only one
Processing time:Time until FX
4ms / 1 channel
8.3 At connect to FX
Please use FNC 177 (WR3A).
series PLC
0N
[M0V
[M0V
[T0
K0
K16
[T0
K0
K17
[T0
K0
K17
[M0V
[T0
K0
K16
[T0
K0
K17
[T0
K0
K17
[M0V
[M0V
[T0
K0
K16
[T0
K0
K17
[T0
K0
K17
[M0V
[T0
K0
K16
[T0
K0
K17
[T0
K0
K17
time)
time)
-2DA outputs analog value after turning on X000 and X001.
2N
, FX
or FX
1N
2N
[M 0V
[T0
K 0
K 16
[T0
K 0
K 17
[T0
K 0
K 17
[T0
K 0
K 16
[T0
K 0
K 17
[T0
K 0
K 17
[M 0V
[T0
K 0
K 16
[T0
K 0
K 17
[T0
K 0
K 17
[T0
K 0
K 16
[T0
K 0
K 17
[T0
K 0
K 17
time)
time)
-2DA outputs analog value after turning on X000 and X001.
2N
(V3.00 or later) or FX
2N
D100
K4M100 ]
a
K2M100 K2M116 ]
b
K4M116 K1
]
c
H0004
K1
]
d
H0000
K1
]
K2M108 K2M116 ]
e
K4M116 K1
]
H0002
K1
]
g
H0000
K1
]
D101
K4M100 ]
h
K2M100 K2M116 ]
K4M116 K1
]
H0004
K1
]
k
H0000
K1
]
K2M108 K2M116 ]
K4M116 K1
]
m
H0001
K1
]
n
H0000
K1
]
series PLC
2N
D100
K 4M 100 ]
K 2M 100 K 1
]
H0004
K 1
]
H0000
K 1
]
K 1M 108 K 1
]
H0002
K 1
]
H0000
K 1
]
D101
K 4M 100 ]
K 2M 100 K 1
]
H0004
K 1
]
H0000
K 1
]
K 1M 108 K 1
]
H0001
K 1
]
H0000
K 1
]
(V3.00 or later) series PLC
2N
a)Digital data (D100) is progressed to
supplementary relay (M100-M115).
b)The subordinate position 8 bit data
is moved.
c) The subordinate position 8 bit data is
written.
d)The subordinate position 8 bit data is
held.
e)The high rank 4 bit data is moved.
f
f) The high rank 4 bit data is written.
g)The D/A conversion of CH1 is
executed.
h) Digital data (D101) is progressed to
supplementary relay (M100-M115).
i
i) The subordinate position 8 bit data is
moved.
j
j) The subordinate position 8 bit data is
written.
k)The subordinate position 8 bit data is
l
held.
l) The high rank 4 bit data is moved.
m)The high rank 4 bit data is written.
n ) T h e D / A c o nve r s i o n o f C H 2 i s
executed.
a)Digital data (D100) is progressed to
a
supplementary relay (M100-M115).
b
b)The subordinate position 8 bit data
is written.
c
c)The subordinate position 8 bit data
is held.
d
d)The high rank 4 bit data is written.
e
e )The D/A conversion of CH1 is
executed.
f) Digital data (D101) is progressed to
f
supplementary relay (M100-M115).
g
g)The subordinate position 8 bit data
is written.
h
h)The subordinate position 8 bit data
is held.
i
i) The high rank 4 bit data is written.
j
j) The D/A conversion of CH2 is
executed.

Advertisement

Table of Contents
loading

Table of Contents