Mitsubishi Electronics FX3UC ユーザーズマニュアル
665
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.2 FNC257 – BAND / Dead Band Control
21
FNC160
-F
NC1
69
69
R
eal
T
T
ime C
lock
C
ontrol
22
FNC17
0-F
NC
179
179
E
xternal D
evice
23
FNC
180
Alternate
Instructions
24
FN
C181-
FNC18
9
O
thers
25
FNC190
-F
NC1
99
99
Bl
oc
k D
ata
ata
Op
er
er
ation
26
FNC20
0-F
NC209
C
har
ac
te
r S
trin
g
Con
tro
tro
l
27
FNC2
10-
FNC21
10-
FNC21
9
Dat
a
a
Operati
on 3
28
FNC220
-F
NC2
49
49
Da
ta
C
omp
ari
ari
son
29
FNC25
0-F
N
C
269
D
ata T
abl
e
e
Operation
30
FNC2
70-
FNC276
FNC276
Ex
-Dev
ice
2. 32-bit operation (DBAND and DBANDP)
Depending on how the input value (32-bit binary value) specified by [
+1,
] compares to the dead band
range between [
+1,
] and [
+1,
], the output value [
+1,
] is controlled.
The output value is controlled as shown below:
Caution
• When the output value overflows, it is handled as follows:
- In the 16-bit operation
The output value is a 16-bit binary value with sign. Accordingly, if the operation result is outside the range from -
32768 to +32767, it is handled as follows:
32768 to +32767, it is handled as follows:
- In the 32-bit operation
The output value is a 32-bit binary value with sign. Accordingly, if the operation result is outside the range from -
2,147,483,648 to +2,147,483,647, it is handled as follows:
2,147,483,648 to +2,147,483,647, it is handled as follows:
Error
An operation error is caused when the instruction is executed in the setting status shown below; The error flag M8067
turns ON, and the error code (K6706) is stored in D8067.
turns ON, and the error code (K6706) is stored in D8067.
Relationship
16-bit operation
>
32-bit operation
[
+1,
]
> [
+1,
]
S
3
S
3
S
1
S
1
S
2
S
2
D
D
FNC257
DBAND
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
[
]
[
]
S
1
S
2
S
3
D
Command
input
In the case of “Lower limit value > Input value” ...............Input value
− Lower limit value → Output value
In the case of “Upper limit value < Input value” ..............Input value
− Upper limit value → Output value
In the case of “Lower limit value
≤ Input value ≤ Upper limit value” ................................ 0 → Output value
+1,
D
D
+1,
S
3
S
3
Output value
Input
value
value
Output
value
Input value
S
1
S
1
S
3
S
3
S
2
S
2
S
3
S
3
S
3
S
3
S
1
S
1
S
2
S
2
S
3
S
3
S
3
S
3
S
1
S
1
S
2
S
2
D
D
D
D
D
D
Output
Output
Lower limit value of
dead band
dead band
Output value = 0
Upper limit value of
dead band [
dead band [
]
+1,
S
2
S
2
[
]
+1,
S
1
S
1
Lower limit value of dead band = 10
Input value = -32768
Output value = -32768-10
= 8000H-AH
= 7FF6H
= 32758
= 8000H-AH
= 7FF6H
= 32758
S
1
S
3
Lower limit value of dead band [ +1, ] = 1000
Input value [ +1, ] = -2,147,483,648
Output value = -2,147,483,648-1000
= 80000000H-000003E8H
= 7FFFFC18H
= 2,147,482,648
= 80000000H-000003E8H
= 7FFFFC18H
= 2,147,482,648
S
1
S
3
S
1
S
3
S
1
S
2
S
1
S
1
S
2
S
2