Signal Flow Memory - Mitsubishi Electric MELSEC iQ-R Series User Manual

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Signal flow memory

This memory is used to memorize the execution status of the instruction in the last scan. The CPU module judges whether to
execute a rising/falling edge execution instruction by referring to the signal flow memory.
INCP wCount1
INCP wCount2
The execution status of the last instruction is stored in the signal flow memory in two ways: executed or not executed. The
instructions that refer to the signal flow memory judge whether to execute a rising/falling edge execution instruction depending
on the input condition of the instruction and the execution status of the last instruction stored in the signal flow memory.
• For a program, the same number of areas as steps of the program are assigned to the signal flow memory (for program).
• For a function, the signal flow memory is not assigned since the instructions that refer to the last execution status of the signal flow memory cannot be used in
the function.
• For a subroutine type function block, the same number of areas as instructions that refer to the signal flow memory in the function block are assigned to the
signal flow memory (for FB). Different areas are assigned to each instance. When the macro type function block is called from the subroutine type function
block, the areas including the ones used for the macro type function block are assigned.
• For a macro type function block, the same number of areas as the number of steps of the macro type function block are assigned to the signal flow memory
(for program).
For instances of the function block, refer to the following.
 MELSEC iQ-R Programming Manual (Program Design)
The following shows the instructions that refer to the last execution status of the signal flow memory.
• Contact instruction: LDP, LDF, ANDP, ANDF, ORP, ORF, LDPI, LDFI, ANDPI, ANDFI, ORPI, and ORFI
• Association instruction: MEP, MEF
• Output instruction: SET F, RST F, PLS, PLF, FF
• Rising edge execution instruction: P (such as INCP and MOVP), SP., ZP., GP., JP., DP., MP.,
UDCNT1, UDCNT2, TTMR, STMR, RAMPQ, SPD, PLSY, PWM, MTR, SORTD(_U), DSORTD(_U), LEDR,
DUTY, LOGTRG, LOGTRGR, TIMCHK, XCALL, SCJ
10 MEMORY CONFIGURATION OF THE CPU MODULE
146
10.1 Memory Configuration
Signal flow memory
Executed
Not executed

Advertisement

Table of Contents
loading

Table of Contents