268
Programming
Appendix A
Execution with Subroutine Input Condition Flags
Main Program
JSB
0
D00000
D01000
a
c
SBN
0
A000.00
@ACC
#0000
#0000
,IR0
@INI
#0000
#0003
0000
W000.00
W000.00
W000.00
.
D00000
D00000
D00000
b
Results of logic
for input condition
Subroutine called
Subroutine 0
Subroutine 0
Input Condition Flag
Acceleration
Accessed
Stopping
Address
Data
Acceleration/deceleration rate
Target
frequency
Subroutine 0 is called and
executed regardless of the
status of the input condition.
The logic results of a, b, c is
stored in A000.00 as the input
condition. The actual memory
address of D00000 (10000 hex)
is stored in IR0 and the actual
memory address of D00100
(10064 hex) is stored in IR1
Either ACC or INI is executed
depending on the staus of
A000.00. If ACC is executed, the
parameters (e.g., rate of
acceleration) starting at D00000
are accessed using the actual
memory address stored in IR0 to
execute acceleration.
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...