hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 279

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
• When a digit (K1 to K8) is specified for [
A digit can be specified ranging from K1 to K8.
For example, when K2 is specified, only the low-order 8 bits can be obtained out of the product (32 bits).
Command
input
FNC 22
MUL
S1
S2
Sign bit (0: Positive, 1: Negative)
Y027 Y026 Y025
D
0
2. 32-bit operation (DMUL and DMULP)
The contents of [
transferred to 64-bit [
Command
input
FNC 22
DMUL
BIN
[
S1
+1,
32 bits
• The most significant bit of each data indicates the sign (positive: 0 or negative: 1), and data is multiplied
algebraically.
5500 × (−8540) = −46,970,000
• When a constant (K) is specified in [
binary format.
• When a digit (K1 to K8) is specified for [
The result is obtained only for low-order 32 bits, and is not obtained for high-order 32 bits.
Transfer the data to word devices once, then execute the operation.
Command
input
FNC 22
DMUL
Related devices
1. Relationship between flag operation and numeric value
Device
M8304*1
*1.
Available in all FX
D
S1
S2
K53
K15
K2Y000
...
Y013 Y012 Y011 Y010 Y007 Y006 Y005 Y004 Y003 Y002 Y001 Y000
...
0
0
0
0
Not output
S
+1,
S
] are multiplied by [
1
1
D
+3,
D
+2,
D
D
S1
S2
BIN
] × [
S1
S2
+1,
S2
]
32 bits
S
+1,
1
D
S1
S2
D50
K150
FNC 12
D100
K8Y000
DMOV
FNC 12
D102
K8Y040
DMOV
Name
ON: When the operation result is 0.
Zero
OFF: When the operation result is a number other than 0.
PLCs and FX
/FX
3G
3U
10 Arithmetic and Logical Operation (+, −, ×, ÷) – FNC 20 to FNC 29
+1,
D
]
D
K53(H0035)
×
K15(H000F)
When command contact turns ON
K795(H031B)
1
1
0
0
0
Operation result is output to K2Y000.
S
+1,
S
] in binary format, and the multiplication result is
2
2
+1,
D
] (four word devices).
BIN
→ [
D
+3,
D
+2,
D
+1,
64 bits
S
] or [
S
+1,
S
1
2
2
+3,
D
+2,
D
+1,
D
D
(D51,D50)
(D103,D102,D101,D100)
D100
K100 × K150 → K15000
D100 is output to Y017 to Y000
D101 is output to Y037 to Y020
D102 is output to Y057 to Y040
D103 is output to Y077 to Y060
Description
PLCs Ver. 2.30 or later.
3UC
10.3 FNC 22 – MUL / Multiplication
1
1
0
1
1
D
]
], it is automatically converted into
]
1
2
3
4
5
6
7
8
9
10
277

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents