Add-On Function - Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual

Melsec iq-r series motion controller
Hide thumbs Also See for MELSEC iQ-R16MTCPU:
Table of Contents

Advertisement

8.5

Add-on Function

Functions of the Motion CPU module can be expanded by installing files supplied as add-on libraries to the Motion CPU
module.
Install with
MT Developer2/SD memory card
The add-on modules inside the add-on library are executed by the following methods.
Automatically execute at a selected timing
The add-on module is automatically executed at one of the selected timings below.
Refer to the instruction manual of the add-on library installed for details of execution timing.
• At initialization of Motion CPU
• At the switching between OFF/ON of "[Rq.1120] PLC ready flag (R: M30000/Q: M2000)"
• Every operation cycle
• Every main cycle
Call from the user program
With the Motion SFC program MCFUN instruction, the add-on module can be called from the user program.
When calling from the user program, specify the add-on module with the module name that is registered when the add-on
module is installed, and deliver the input value and output value by device.
Ex.
Calling the add-on module with the module name "AddonFunc1" with the MCFUN instruction
MCFUN "AddonFunc1",D5000,D5100,M0
Refer to the following for details of the MCFUN instruction.
MELSEC iQ-R Motion Controller Programming Manual (Program Design)
Refer to the instruction manual of the add-on library installed for details of the MCFUN instruction for each add-on module.
Motion CPU
Operating
Add-on library
system
processing
Motion SFC
Add-on library
Add-on module
8 MOTION CPU MEMORY STRUCTURE
8.5 Add-on Function
8
357

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r32mtcpu melsec iq-r64mtcpu

Table of Contents