*
- 95 -
Execution conditions
The execution conditions for * are as shown below.
Multiplication command OFF
*
ON
Executed per scan
Executed per scan
Program example
(1) Program to multiply the D0 data and BIN 5678 when X5 turns ON and output the results to D3, 4.
Coding
No. of
steps
Com-
mand
Device
10 LD X5
11 * D0 K5678 D3
*
K5678D0
D3
X5
10
15
(2) Program to multiple the D0 BIN data and D10 BIN data, and output the results to D20.
Coding
No. of
steps
Com-
mand
Device
10 LD M0
11 * D0 D10 D20
*
D10
D0 D20
M0
(ON)
10
15