283
Programming
Appendix A
Example:
The following example will move #0200 to D00200 if D00100 contains #0010 and move #0300
to D00300 if D00100 does not contain #0010.
The Equals Flag will turn ON if D00100 in the rung above contains #0010. #0200 will be moved to D00200
for instruction (1), but then the Equals Flag will be turned OFF because the #0200 source data is not 0000
hex. The MOV instruction at (2) will then be executed and #0300 will be moved to D00300. A rung will
therefore have to be inserted as shown below to prevent execution results for the first MOVE instruction
from being picked up.
CMP
䋤
0010
D00100
MOV
䋤
0200
D00200
MOV
䋤
0300
D00300
=
=
Incorrect
Use
(1)
(2)
Reflects MOV execution results.
Reflects CMP execution results.
CMP
#0010
D00100
MOV
#0200
D00200
MOV
#0300
D00300
B
A
A
B
=
=
Correct
Use
Summary of Contents for HOME SECURITY SYSTEM - MOTION SENSOR FQM1-CM001
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x TABLE OF CONTENTS...
Page 11: ...xii...
Page 23: ...xxiv Data Backup 5...
Page 53: ...30 Function Tables Arranged by Purpose Section 1 7...
Page 71: ...48 Memory Block Diagram Section 2 7...
Page 254: ...231 Analog Outputs Section 7 10...
Page 255: ...232 Analog Outputs Section 7 10...
Page 263: ...240 Connecting the CX Programmer Section 8 2...
Page 285: ...262 Inspections Section 10 1...
Page 397: ...374 Auxiliary Area Allocations Appendix D...
Page 409: ...386 Index...
Page 411: ...388...