3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
53
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 arguments to issue an interrupt from a C Controller module by using the CCPU_DedicatedDInst function are the same as those to
issue an interrupt to a C Controller module by using the CCPU_DedicatedMInst function.
For details on the arguments, refer to the following section.
Precautions
• To execute this function, 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 54 CCPU_DedicatedGInst
• Page 56 CCPU_DedicatedJInst
• Page 58 CCPU_DedicatedMInst
Instruction name
Description
Instruction
CHGA
To request a motion CPU to change the current value.
D.CHGA, DP.CHGA
CHGAS
To request a motion CPU to change the current value.
D.CHGAS, DP.CHGAS
CHGV
To request a motion CPU to change the speed value.
D.CHGV, DP.CHGV
CHGVS
To request a motion CPU to change the speed value.
D.CHGVS, DP.CHGVS
CHGT
To request a motion CPU to change the torque limit value.
D.CHGT, DP.CHGT
DDRD
To read data from the device of a motion CPU.
D.DDRD, DP.DDRD
GINT
To issue an interrupt to a motion CPU or a C Controller module.
D.GINT, DP.GINT
SFCS
To request a motion CPU to start a motion SFC program.
D.SFCS, DP.SFCS
SVST
To request a motion CPU to start a servo program.
D.SVST, DP.SVST
DDWR
To write data to the device of a motion CPU.
D.DDWR, DP.DDWR
MCNST
To request a motion CPU to start a machine program operation.
D.MCNST, DP.MCNST
BITWR
To write data to the bit device of a motion CPU.
D.BITWR, DP.BITWR
SVSTD
To issue a direct positioning start request to a motion CPU.
D.SVSTD, DP.SVSTD
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......