Mitsubishi Electric FX3G SERIES Programming Manual page 672

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. 32-bit operation (DZONE and DZONEP)
The bias value specified by [
], and output to the device specified by [
S
3
The bias value is added as shown below:
Command
input
In the case of "Input value < 0" ..................................Input value
In the case of "Input value = 0" ...........................................................................................0 → Output value
In the case of "Input value > 0" ..................................Input value
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:
Negative bias value
Input value
- 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:
Negative bias value [
Input value [
670
S
+1,
S
1
1
FNC258
S
S
1
2
DZONE
S
S
+1,
3
3
S
+1,
S
3
3
S
S
+1,
3
3
Output
value
Input
value
S
1
= -100
S
3
= -32768
S
S
1
+1,
1
] = -1000
S
S
3
+1,
3
] = -2,147,483,648
29 Data Table Operation – FNC250 to FNC269
] or [
S
+1,
S
] is added to the input value specified by [
2
2
+1,
].
D
D
S
D
3
S
S
+1,
S
3
3
1
Negative bias value → Output value
+
S
S
+1,
S
3
3
2
Positive bias value → Output value
+
Output value
Positive bias value
[
]
+1,
S
S
2
2
Output value = -32768+(-100)
= 8000H+FF9CH
= 7F9CH
= 32668
Output value = -2,147,483,648+(-1000)
29.3 FNC258 – ZONE / Zone Control
+1,
S
D
+1,
1
D
+1,
+1,
S
D
+1,
2
[
+1,
]
D
D
0
Input value
[
S
3
Negative bias value
[
]
S
+1,
S
1
1
= 80000000H+FFFFFC18H
= 7FFFFC18H
= 2,147,482,648
S
+1,
3
D
D
D
]
+1,
S
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents