Mitsubishi Electronics FX3UC Garage Door Opener User Manual


 
668
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.3 FNC258 – ZONE / Zone Control
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)
= 80000000H+FFFFFC18H
= 7FFFFC18H
= 2,147,482,648
S
1
S
3
S
1
S
3