Omron FQM1-MMA21, FQM1-CM001 Programming, Appendix A, Instructions Not Allowed in Subroutines

Models: FQM1-MMP21 FQM1-MMA21 FQM1-CM001

1 414
Download 414 pages 44.52 Kb
Page 310
Image 310
Instructions Not Allowed in Subroutines

Programming

Appendix A

Instructions Not Allowed in Subroutines

The following instructions cannot be placed in a subroutine.

Function

Mnemonic

Instruction

 

 

 

Ladder Step Control

STEP(008)

Define step ladder section

 

 

 

 

SNXT(009)

Step through the step ladder

 

 

 

Note Block Program Sections

A subroutine can include a block program section.

Instructions Not Allowed in Step Ladder Program Sections

Function

Mnemonic

Instruction

 

 

 

Sequence Con-

END(001)

END

trol

 

 

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

 

 

 

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.

Classification by

Mnemonic

Instruction

Function

 

 

 

 

 

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

 

 

 

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.

287

Page 310
Image 310
Omron FQM1-MMA21, FQM1-CM001 Programming, Appendix A, Instructions Not Allowed in Subroutines, Note Block Program Sections