Signal Flow Memory; Sd Memory Card - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
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, HOURM, DHOURM, PID, XCALL, SCJ

SD memory card

This memory is used to store the folder/file created by a function using the SD memory card as well as the user's folder/file.
The folder configuration is the same as the data memory. However, in the case of the SD memory card, the "$MELPRJ$"
folder will be created when the SD memory card becomes available (when the SD memory card is mounted).
Signal flow memory
Executed
Not executed
3 MEMORY CONFIGURATION OF THE CPU MODULE
3.1 Memory Configuration
3
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents