1790
24 C INTELLIGENT FUNCTION MODULE INSTRUCTIONS
24.1 User Function Execution Instruction
■
Program example
The following shows an example of a program that receives response data from D20 after the request data is set from D10 to
D12.
Precautions
• Before executing the G(P).CEXECUTE instruction, the user function must be registered using the C intelligent function
module dedicated function (CITL_EntryDedicatedInstFunc). If the user function is unregistered, a 'user function
unregistered error' (1800H) will be returned. In addition, 1 user function can be executed by the G(P).CEXECUTE
instruction. If you want to run multiple functions, prepare the data for identifying functions in request data, then call the
functions distinctly using the conditional branches in user function.
• The G(P).CEXECUTE instruction cannot be executed additionally while another G(P).CEXECUTE instruction is being
executed. (If attempted, the instruction is not processed.)
• The local device and the file register for each program are not available for setting data.
• Operand must be specified even when request data and response data are not required.
Operation error
When the instruction completes with an error, the completion status indication device (d2)+1 turns on and an error code is
stored in the completion status (s1)+1.
Error code
((s1)+1)
Description
1000H to 3FFFH
MELSEC iQ-R C Intelligent Function Module User's Manual (Application)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......