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

Controller module
Table of Contents

Advertisement

CCPU_DedicatedDInst

This function executes dedicated instructions categorized as 'D' or 'DP'.
Format
short CCPU_DedicatedDInst (char* pcInstName, short sCPUNo, short* psArg1, short sArg1Size, short* psArg2, short
sArg2Size, short* psArg3, short sArg3Size, short* psArg4, short sArg4Size, short* psArg5, short sArg5Size, short* psArg6,
short sArg6Size, short* psArg7, short sArg7Size, short* psArg8, short sArg8Size, short* psArg9, short sArg9Size)
Argument
Argument
Name
pcInstName
Instruction name
sCPUNo
Start input/output number of the
target CPU
psArg1
Setting data (1st)
sArg1Size
Setting data size (1st)
psArg2
Setting data (2nd)
sArg2Size
Setting data size (2nd)
psArg3
Setting data (3rd)
sArg3Size
Setting data size (3rd)
psArg4
Setting data (4th)
sArg4Size
Setting data size (4th)
psArg5
Setting data (5th)
sArg5Size
Setting data size (5th)
psArg6
Setting data (6th)
sArg6Size
Setting data size (6th)
psArg7
Setting data (7th)
sArg7Size
Setting data size (7th)
psArg8
Setting data (8th)
sArg8Size
Setting data size (8th)
psArg9
Setting data (9th)
sArg9Size
Setting data size (9th)
Description
Specify the instruction name of the dedicated instruction to be executed.
Start input/output number of the target CPU divided by 16
• CPU No.1 to 4: 3E0H to 3E3H
*1
Specify the first setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the first setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
*1
Specify the second setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the second setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
*1
Specify the third setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the third setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
*1
Specify the fourth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the fourth setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
*1
Specify the fifth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the fifth setting data for the dedicated instruction to be executed in word
units.
Specify '0' if there is no setting data.
*1
Specify the sixth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the sixth setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
*1
Specify the seventh setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the seventh setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
*1
Specify the eighth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the eighth setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
*1
Specify the ninth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
*1
Specify the size of the ninth setting data for the dedicated instruction to be executed in
word units.
Specify '0' if there is no setting data.
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
3
IN/OUT
IN
IN
IN/OUT
IN
IN/OUT
IN
IN/OUT
IN
IN/OUT
IN
IN/OUT
IN
IN/OUT
IN
IN/OUT
IN
IN/OUT
IN
IN/OUT
IN
73

Advertisement

Table of Contents
loading

Table of Contents