286
Programming
Appendix A
Special Program Sections
FQM1 programs have special program sections that will control instruction conditions.
The following special program sections are available.
Instruction Combinations
The following table shows which of the special instructions can be used inside other program sections.
Note
Instructions that specify program areas cannot be used between two different tasks.
Subroutines
Place all the subroutines together just before the END(001) instruction in all programs but after programming
other than subroutines. A subroutine cannot be placed in a step ladder, block program, or other subroutine. If
instructions other than a subroutine program are placed after a subroutine program (SBN(092) to RET(093)),
those instructions will not be executed.
Program section
Instructions
Instruction condition
Status
Subroutine
SBS(091), JSB(982),
SBN(092), and RET(093)
instructions
Subroutine program
being executed.
The subroutine program section
between SBN(092) and RET(093)
instructions is being executed.
IL(002) - ILC(003) section IL(002) and ILC(003)
instructions
Section is interlocked
The output bits are turned OFF and
timers are reset. Other instructions will
not be executed and previous status
will be maintained.
Step Ladder section
STEP(008) instruction
Block program section
BPRG(096) instructions and
BEND(801) instructions
Block program being
executing.
The block program listed in mnemonics
between the BPRG(096) and
BEND(801) instructions is being exe-
cuted.
Subroutine
IL(002) -
ILC(003)
section
Step ladder
section
Block program
section
Subroutine
Not possible.
Not possible.
Not possible.
Not possible.
IL(002) - ILC(003)
OK
Not possible.
Not possible.
Not possible.
Step ladder section
Not possible.
OK
Not possible.
Not possible.
Block program section OK
OK
OK
Not possible.
Subroutine
Subroutine
Program
Program
Содержание HOME SECURITY SYSTEM - MOTION SENSOR FQM1-CM001
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ...x TABLE OF CONTENTS...
Страница 11: ...xii...
Страница 23: ...xxiv Data Backup 5...
Страница 53: ...30 Function Tables Arranged by Purpose Section 1 7...
Страница 71: ...48 Memory Block Diagram Section 2 7...
Страница 254: ...231 Analog Outputs Section 7 10...
Страница 255: ...232 Analog Outputs Section 7 10...
Страница 263: ...240 Connecting the CX Programmer Section 8 2...
Страница 285: ...262 Inspections Section 10 1...
Страница 397: ...374 Auxiliary Area Allocations Appendix D...
Страница 409: ...386 Index...
Страница 411: ...388...