User Function Execution Instruction - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

11.2

User Function Execution Instruction

G(P).CEXECUTE
These instructions instruct the execution of processing in the Motion module.
ST
ENO:=G_CEXECUTE(EN,U,s1,s2,d1,d2);
ENO:=GP_CEXECUTE(EN,U,s1,s2,d1,d2);
■Execution condition
Instruction
G.CEXECUTE
GP.CEXECUTE
Setting data
■Description, range, data type
Operand
Description
(U)
Start I/O number (first three digits in four-digit hexadecimal
representation) of a module
(s1)
Start device where control data is stored
(s2)
Start device where request data is stored
(d1)
Start device for storing response data
(d2)
Device that turns on for one scan upon completion of the instruction
When the instruction completes with an error, (d2)+1 also turns on.
EN
Execution condition
ENO
Execution result
*1 The maximum size of response data and request data will be 8K words.
■Applicable devices/labels
Operand
Bit
SB
(U)
(s1)
(s2)
(d1)
(d2)
■Control data
Operand: (s1)
Device
Item
+0
Allowable number of
response data
+1
Completion status
■Request data
Operand: (s2)
Device
Item
+0
Request data length
+1 to +
Request data
Execution condition
Word
RX, RY, LB
SW
Description
Sets the allowable number of words of response data that can be stored in (d1).
The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
Description
Specify the request data length. (Number of words)
Specify the request data.
Range
00H to FEH
Page 119 Control data
*1
*1
G, RWw, RWr, LW
Setting range
1 to 8192
Setting range
1 to 8192
11 MOTION DEDICATED INSTRUCTIONS
11.2 User Function Execution Instruction
11
Data type
ANY16
ANY16
ANY16
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
Constant
K, H
Set by
User
System
Set by
User
User
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents