Motion Module Dedicated Class; Program Processing - Mitsubishi Electric MELSEC iQ-R C Series Programming Manual

Controller module
Table of Contents

Advertisement

1.4

Motion Module Dedicated Class

This library is an interface for executing MCFBs of a motion module.
Before using this library, make sure to fully understand MCFB specifications.
For specifications of MCFBs, refer to the following:
MELSEC iQ-R Motion Module User's Manual (Application)

Program processing

The following shows the user program processing using a motion module dedicated class.
Turn ON the PLC READY of motion module
Flow of executing a class for the
first time in the same instance
Set I/O variables and input variables in a
Set I/O variables and input variables in a
motion module and execute the MCFB
(execute the MCFB setting function)
Refresh I/O variables, output variables, and
(execute the MCFB::RefreshLabels function)
(Check the execution status with I/O
1 COMMON ITEMS
52
1.4 Motion Module Dedicated Class
Start a task
Generate an MCFB instance
Is the motion module ready?
member variable
public variables
Is the execution
of the MCFB completed?
variables, output variables,
and public variables)
Is the MCFB executed
again after I/O variables
and input variables are
changed?
Flow of executing a class for the second
time or after in the same instance
Set I/O variables and input variables
of a member variable
Set I/O variables and input variables in a
(execute the MCFB setting function)
·Execute the MCFB using I/O variables and
input variables set by the MCFB setting
·Refresh I/O variables, output variables, and
(execute the MCFB::RefreshLabels function)
of the MCFB completed?
(Check the execution status with I/O
variables, output variables,
and public variables)
Is the MCFB executed
again after I/O variables
and input variables are
motion module
function
public variables
Is the execution
changed?
End a task

Advertisement

Table of Contents
loading

Table of Contents