Mitsubishi Electric MELSEC iQ-R C Series Programming Manual page 80

Controller module
Table of Contents

Advertisement

Description
The dedicated instructions that can be specified to the instruction name (pcInstName) are as shown below.
For the specifications of each dedicated function and the completion status, refer to the programming manual for each
module.
Instruction name
SEND
RECV
CCPASET
CEXECUTE
REMFRIP
REMFRDIP
REMTOIP
REMTODIP
CCPASETX
UINI
Precautions
• To execute this function, make sure to reserve an area to store the completion device of the dedicated instruction and
specify it to the argument. If the area and its size are not specified to the argument, an error occurs. (The instruction is not
executed properly.)
• Depending on the type of dedicated instruction, the return value of this function may be normal even if wrong argument or
size is specified. Make sure to check the completion status by referring to the manual for the dedicated instruction.
• Specifying an incorrect argument may result in unexpected operation. Make sure to refer to the manual for dedicated
instruction to specify the argument.
• The completion processing of the dedicated instruction is performed in the fixed cycle processing. To reduce the processing
time of the function, set a small value for the refresh cycle.
• The operation varies depending on the firmware version of C Controller module. Ensure to check the supported firmware
version of the C Controller module.
Return value
Return value
0 (0000H)
Other than 0
Relevant functions
• Page 73 CCPU_DedicatedDInst
• Page 79 CCPU_DedicatedJInst
• Page 81 CCPU_DedicatedMInst
3 DETAILS OF FUNCTION
78
3.1 C Controller Module Dedicated Functions
Description
Sends data to other station programmable controller.
Receives data from other station programmable controller.
Sets parameters of a mater station, a submaster station, and local
stations of CC-Link IE Field Network module and CC-Link IE TSN.
Sends a command to execute processing in a motion module.
Reads data from the buffer memory of remote station in word units
(target station IP address specified) (16-bit address specified).
Reads data from the buffer memory of remote station in word units
(target station IP address specified) (32-bit address specified).
Writes data to the buffer memory of remote station in word units (target
station IP address specified) (16-bit address specified).
Writes data to the buffer memory of remote station in word units (target
station IP address specified) (32-bit address specified).
Sets parameters to the RJ71GN11-T2.
Sets the station number and IP address to the own station where these
are not set yet.
Description
Normal
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
Instruction
Supported firmware
version of C Controller
module
GP.SEND
'01' or later
GP.RECV
G.CCPASET,
GP.CCPASET
G.CEXECUTE,
'15' or later
GP.CEXECUTE
GP.REMFRIP
GP.REMFRDIP
GP.REMTOIP
GP.REMTODIP
G.CCPASETX,
GP.CCPASETX
G.UINI, GP.UINI

Advertisement

Table of Contents
loading

Table of Contents