3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
57
3
■
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 of each module.
*1 The error code is stored in SW0080 to SW009F instead of the completion status.
Acquire the error codes stored in SW0080 to SW009F by using the CCPU_ReadLinkDevice function.
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 of 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.
■
Return value
■
Relevant functions
• Page 52 CCPU_DedicatedDInst
• Page 54 CCPU_DedicatedGInst
• Page 58 CCPU_DedicatedMInst
Instruction name
Description
Instruction
SEND
Sends data to other station programmable controller.
JP.SEND
RECV
Receives data from other station programmable controller.
JP.RECV
REMTO
Writes data to the buffer memory of intelligent device station/remote device station.
JP.REMTO
REMFR
Reads data from the buffer memory of intelligent device station/remote device station.
JP.REMFR
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Summary of Contents for MELSEC iQ-R C
Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Page 2: ......
Page 201: ...I 199 MEMO ...
Page 203: ...I 201 MEMO ...
Page 207: ......