Mitsubishi Electric MELSEC iQ-R Series User Manual page 495

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

Advertisement

When using the MCFB of the CPU module side, the following memory areas are used. The number of available MCFB
instances must not exceed the size of each area.
Memory location
Name
CPU module
Label memory
Motion module
Buffer memory (Area for MCFB)
Memory for PLCopen motion control basic
add-on
• The buffer memory (area for the MCFB) and the memory for PLCopen motion control basic add-on are hold
when the MCFB is called for the first time after the CPU module is set to RUN. If the free space is in short,
the error "Insufficient memory capacity" (error code: 349AH) will occur when the MCFB is called for the first
time, and the MCFB will not be executed.
• Even if the MCFB of the CPU module side is deleted, the memory on the Motion module side is not
released. Therefore, if the MCFB is added or deleted repeatedly by writing during RUN, the memory area of
the Motion module side will be in short and the error "Memory shortage" (error code: 349AH) may occur. In
this case, reset the CPU module once.
Operating MCFB
• Operation conditions
The conditions (available conditions) to operate the MCFB of the CPU module side are shown below.
CPU module
Motion module
RUN
RUN
Available
Other than RUN
Unavailable
MCFB in execution is stopped
*1 This state occurs when the "Output Hold/Clear Setting during CPU STOP" and "Output Mode upon CPU Error" of the module parameter
are "Hold".
• Processing order
The processing order of the operation cycle in the Motion module corresponding to the MCFB instance of the CPU module
side is the order when the MCFB is called for the first time.
• Mix of the MCFB of CPU module side and the MCFB of the Motion module side.
When the MCFB of the CPU module side and the MCFB of the Motion module side are simultaneously executed to the same
axis or axes group, the specifications of the buffer mode and the single axis synchronous control are applied.
Even if the global instance names are the same between the MCFB of the CPU module side and the MCFB of the Motion
module side, these are treated as different control FBs in the Motion module.
Occupied size
Page 591 List of FBs
Other than RUN
Unavailable
MCFB in execution is stopped
*1
18 HOW TO CONTROL FROM CPU MODULE
How to check the available size
Check by using the engineering tool
System.Md.BuffermemoryFreeMcfbArea
System.PrConst.AddonMotionControl_General.Ra
mSizeMax
System.Md.AddonMotionControl_General.RamSiz
e
18.2 Using MCFB
18
493

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents