663
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.3 FNC258 – ZONE / Zone Control
21
FN
C
160-FN
C
169
R
eal
Ti
m
e
C
loc
k
C
ont
ro
l
22
FN
C
170
-F
N
C
17
9
E
xt
e
rnal
D
evi
ce
23
FN
C
180
Su
b
st.
I
n
str
. I
n
fo
24
FN
C
181-FN
C
189
O
ther
s
25
FN
C
190-FN
C
19
9
B
loc
k D
a
ta
O
per
at
io
n
26
FN
C
200-FN
C
209
C
har
act
e
r St
ring
C
ont
ro
l
27
F
N
C2
10
-F
NC
21
9
Da
ta
O
per
at
ion 3
28
FN
C
220-FN
C
24
9
Da
ta
Co
m
p
a
ris
o
n
29
FN
C
250-FN
C
269
Da
ta
T
a
b
le
O
per
at
io
n
30
FN
C
27
0-F
N
C
274
Ex
-D
ev
ic
e
In
ve
rte
r C
o
mm
s
2. 32-bit operation (DZONE and DZONEP)
The bias value specified by [
+1,
] or [
+1,
] is added to the input value specified by
[
+1,
], and output to the device specified by [
+1,
].
The bias value is added as shown below:
Caution
• When the output value overflows, it is handled as follows:
- In the 16-bit operation
The operation result is a 16-bit binary value with sign. Accordingly, if the output value is outside the
range from -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:
S
1
S
1
S
2
S
2
S
3
S
3
D
D
In the case of “Input value < 0” ..................................Input value + Negative bias value
→
Output value
In the case of “Input value = 0” ...........................................................................................0
→
Output value
In the case of “Input value > 0” ..................................Input value + Positive bias value
→
Output value
FNC258
DZONE
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
+1,
0
+1,
[
]
+1,
[
]
Command
input
S
1
S
2
D
S
3
S
3
S
3
S
3
S
3
S
3
S
3
S
3
S
3
S
3
S
3
S
1
S
1
S
2
S
2
D
D
D
D
D
D
Output
value
Input
value
Positive bias value
Negative bias value
Input value
Output value
D
D
S
3
S
3
+1,
[
]
S
1
S
1
+1,
[
]
S
2
S
2
Negative bias value = -100
Input value = -32768
Output value = -32768+(-100)
= 8000H+FF9CH
= 7F9CH
= 32668
S
1
S
3
Negative bias value ( +1, ) = -1000
Input value ( +1, ) = -2,147,483,648
Output value = -2,147,483,648+(-1000)
= 80FFFF
= 7FFFFC18
= 2,147,482,648
S
1
S
3
S
1
S
3