LSIS MASTER-K200S Instructions & Programming page 165

Table of Contents

Advertisement

Chapter 5. Application instructions
2)
Program example
-
Program which stores the division result of D0001 and D0002 at D0010, D0011 while P020 is on.
P020
D0001
h78AB
Program which stores the division result of D0001, D0002 and D0003,D0004 at D0010 ~ D0013
-
when P020 is switched on.
P020
D0001
hF904
DIV D0001 D0002 D0010
D0002
÷
=
h0678
DDIVP D0001 D0003 D0010
D0002
D0003
÷
h5678
h0021
D0013
D0012
=
h0009
hED77
Remainder
5-53
D0011
D0010
h017D
h002D
Remainder
Quoti e nt
D0004
h8765
D0011
D0010
h0000
h076D
Quotient

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MASTER-K200S and is the answer not in the manual?

Table of Contents