54
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
CCPU_DedicatedGInst
This function executes dedicated instructions categorized as 'G' or 'GP'.
■
Format
short CCPU_DedicatedGInst (char* pcInstName, short sIoNo, 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 "start input/output 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
sIoNo
Start input/output number of the
own station
Specify the start input/output number of the own station divided by 16. (00H to FEH)
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
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......