Considerations - Mitsubishi Electric MELSEC iQ-R C Series Programming Manual

Controller module
Table of Contents

Advertisement

Considerations

Initial execution of the MCFB setting function.
A C Controller module creates an internal instance for sending/receiving data to/from a motion module at the initial execution
of the MCFB setting function. Since the C Controller module communicates with the motion module when creating the
instance, it may take longer time for the function to be executed. Therefore, the initial execution time for the function becomes
longer. Ensure to execute the MCFB setting function once by executing the dummy MCFB setting function (by setting 'false'
for the argument) in each MCFB class.
Considerations for executing MCFBs
Note the following when initially executing the MCFB setting function or executing an MCFB with the MCFB::RefreshLabels
function.
• Ensure to execute the MCFB with the MCFB::RefreshLabels function after setting I/O variables and input variables by the
MCFB setting function.
• Before executing the MCFB, check that the 'ready' signal of motion module is turned ON. The MCFB will not be run if the
signal does not turn ON.
The 'motion module not-ready error' occurs at the initial execution of the MCFB setting function. However, the error will be
detected only at the initial execution of the setting function.
• Check that the MCFB which corresponds to each instruction class is in the executable status and execute it.
For the executable status of MCFBs, check specifications of each MCFB. (MELSEC iQ-R Motion Module User's Manual
(Application))
• Depending on motion module specifications, the MCFB::RefreshLabels function needs to be executed for multiple times to
start processing on the motion module side. After executing an MCFB, make sure to check values of I/O variables, output
variables, and public variables by executing the MCFB::RefreshLabels function repeatedly until the processing of the
MCFB is completed.
For the completion status of MCFBs, check specifications of each MCFB. (MELSEC iQ-R Motion Module User's Manual
(Application))
Processing at refresh
Check that the 'ready' signal of the motion module is turned ON before executing the function. The function will be completed
normally even if the 'ready' signal does not turn ON. However, I/O variables, output variables, and public variables will not be
updated because the processing of the motion module side does not operate.
1 COMMON ITEMS
62
1.4 Motion Module Dedicated Class

Advertisement

Table of Contents
loading

Table of Contents