56
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
CCPU_DedicatedJInst
This function executes dedicated instructions categorized as 'J' or 'JP'.
■
Format
short CCPU_DedicatedJInst (char* pcInstName, short sNetNo, 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
*1 Out of the setting data for the dedicated instruction to be executed, setting the "network number of the own station" is not required.
Argument
Name
Description
IN/OUT
pcInstName
Instruction name
Specify the instruction name of the dedicated instruction to be executed.
IN
sNetNo
Network number of the own
station
Specify the network number of own station. (1 to 239)
IN
psArg1
Setting data (1st)
Specify the first setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg1Size
Setting data size (1st)
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.
IN
psArg2
Setting data (2nd)
Specify the second setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg2Size
Setting data size (2nd)
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.
IN
psArg3
Setting data (3rd)
Specify the third setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg3Size
Setting data size (3rd)
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.
IN
psArg4
Setting data (4th)
Specify the fourth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg4Size
Setting data size (4th)
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.
IN
psArg5
Setting data (5th)
Specify the fifth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg5Size
Setting data size (5th)
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.
IN
psArg6
Setting data (6th)
Specify the sixth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg6Size
Setting data size (6th)
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.
IN
psArg7
Setting data (7th)
Specify the seventh setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg7Size
Setting data size (7th)
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.
IN
psArg8
Setting data (8th)
Specify the eighth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg8Size
Setting data size (8th)
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.
IN
psArg9
Setting data (9th)
Specify the ninth setting data for the dedicated instruction to be executed.
Specify 'NULL' if there is no setting data.
IN/OUT
sArg9Size
Setting data size (9th)
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.
IN
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: ......