User Program Execution Function From Cpu Module - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

Accessible CPU modules
The following table shows the accessible CPU modules.
Product name
Programmable controller CPU
Process CPU
Label types which can be referred to
The following table shows the label types that can be referred to from a C intelligent function module.
: Available, : Not available, : Not applicable
Label type
Global label
Local label
System label
*1 The availability of the label differs depending on the device type assigned to the label.
For the device type, refer to the following:
MELSEC iQ-R C Intelligent Function Module Programming Manual
For referring to a label, select "Access from External Device" in GX Works3.
(GX Works3 Operating Manual)

User program execution function from CPU module

A routine (user program) registered with the C intelligent function module dedicated function (CITL_EntryDedicatedInstFunc)
can be executed in a CPU module by using the dedicated instruction (G(P).CEXECUTE).
Function list
The following table shows the function used for executing a routine (user program) from a CPU module.
Function name
CITL_EntryDedicatedInstFunc
Execution procedure
This section explains the procedure for executing the user program.
1.
Register a routine (user program) to be executed by C intelligent function module dedicated function
(CITL_EntryDedicatedInstFunc).
2.
Execute the dedicated function (G(P).CEXECUTE) on the CPU module.
3.
A registered routine (user program) is executed.
Dedicated instructions
For the dedicated instructions, refer to the following:
Page 99 Dedicated Instructions
Model name
R00CPU, R01CPU, R02CPU, R04CPU, R08CPU, R16CPU, R32CPU, R120CPU
R08PCPU, R16PCPU, R32PCPU, R120PCPU
"Access from External Device" is selected or not selected.
Selected
Unselected
Description
To register a routine to be executed using the dedicated instruction (G(P).CEXECUTE).
*1
Availability
1 FUNCTION
1.1 Program Related Function
1
17

Advertisement

Table of Contents
loading

Table of Contents