Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual
Page 310

287
Programming
Appendix A
Instructions Not Allowed in Subroutines
The following instructions cannot be placed in a subroutine.
Note Block Program Sections
A subroutine can include a block program section.
Instructions Not Allowed in Step Ladder Program Sections
Note A step ladder program section can be used in an interlock section (between IL(002) and ILC(003)). The
step ladder section will be completely reset when the interlock is ON.
Instructions Not Allowed in Block Program Sections
The following instructions cannot be placed in block program sections.
Note
(1) Block programs can be used in a step ladder program section.
(2) A block program can be used in an interlock section (between IL(002) and ILC(003)). The block pro-
gram section will not be executed when the interlock is ON.
(3) A JUMP instruction (JMP(004)) can be used in a block program section, but the JUMP (JMP(004))
and JUMP END (JME(005)) instructions must be used in a pair within the block program section.
The program will not execute properly unless these instructions are paired.
Function
Mnemonic
Instruction
Ladder Step Control
STEP(008)
Define step ladder section
SNXT(009)
Step through the step ladder
Function
Mnemonic
Instruction
Sequence Con-
trol
END(001)
END
IL(002) and ILC(003)
INTERLOCK and INTERLOCK CLEAR
JMP(004) and JME(005)
JUMP and JUMP END
Subroutines
SBN(092) and RET(093)
SUBROUTINE ENTRY and SUBROUTINE RETURN
Block Programs
IF(802) (NOT), ELSE(803), and IEND(804)
Branching instructions
BPRG(096) and BEND(801)
BLOCK PROGRAM BEGIN/END
Classification by
Function
Mnemonic
Instruction
Sequence Control
IL(002) and ILC(003)
INTERLOCK and INTERLOCK CLEAR
END(001)
END
Sequence Output
DIFU(013)
DIFFERENTIATE UP
DIFD(014)
DIFFERENTIATE DOWN
KEEP(011)
KEEP
OUT
OUTPUT
OUT NOT
OUTPUT NOT
Timer/Counter
TIM
TIMER
TIMH
HIGH-SPEED TIMER
TMHH(540)
ONE-MS TIMER
CNT
COUNTER
CNTR
REVERSIBLE COUNTER
Subroutines
SBN(092) and RET(093)
SUBROUTINE ENTRY and SUBROUTINE RETURN
Data Shift
SFT(010)
SHIFT
Ladder Step Control
STEP(008) and SNXT(009)
STEP DEFINE and STEP START
Block Program
BPRG(096)
BLOCK PROGRAM BEGIN