/
- 99 -
Execution conditions
The execution conditions for / are as shown below.
Division command OFF
/
ON
Executed per scan
Executed per scan
Program example
(1) Program to divide the D10 data by 3.14 when X3 turns ON, and output the value (quotient) to D5.
Coding
No. of
steps
Com-
mand
Device
10 LD X3
11 * D10 K100 D0
15 / D0 K314 D5
*
K100D10 D0
X3
10
/
K314D0 D5
20
Point
The source and destination sides of the above program are as follow.
*
K100
D10
D0
/
K314
D0
D5
Possesses D0, D1
Possesses D
5 , D6
Possesses D0
Quotient
Redundant