Mitsubishi Electric MELSEC iQ-R C Programming Manual page 72

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

CCPU_GetConstantProcessStatus
This function acquires the fixed cycle processing status of C Controller module.
■Format
short CCPU_GetConstantProcessStatus(unsigned short * pusStatusBuf, unsigned long ulBufSize)
■Argument
Argument
Name
pusStatusBuf
Fixed cycle processing status
storage destination
ulBufSize
Fixed cycle processing status
storage destination size
■Description
• This function acquires the fixed cycle processing status of C Controller module and stores it in the fixed cycle processing
status storage destination (pusStatusBuf).
• It also acquires the information for the size specified to the fixed cycle processing status storage destination size
(ulBufSize).
• The information to be stored in the fixed cycle processing status storage destination (pusStatusBuf) is as follows.
pusStatusBuf
pusStatusBuf[0]
pusStatusBuf[1]
pusStatusBuf[2]
pusStatusBuf[3]
pusStatusBuf[4]
pusStatusBuf[5]
pusStatusBuf[6]
*1 The fixed cycle processing includes the refresh processing with network modules, the reset processing of watchdog timer, and the self-
diagnostic processing. For more details on the functions, refer to the following manual.
MELSEC iQ-R C Controller Module User's Manual (Application)
■Return value
Return value
0 (0000H)
Other than 0
■Relevant function
• Page 75 CCPU_GetErrInfo
3 DETAILS OF FUNCTION
70
3.1 C Controller Module Dedicated Functions
Description
Specify the fixed cycle processing status storage destination.
Specify the fixed cycle processing status storage destination size in word units.
(When '0' is specified, this function ends normally without processing.)
Description
Fixed cycle processing cycle [ms] (setting value)
Current fixed cycle processing time [ms]
Current fixed cycle processing time [μs]
Minimum fixed cycle processing time [ms]
Minimum fixed cycle processing time [μs]
Maximum fixed cycle processing time [ms]
Maximum fixed cycle processing time [μs]
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 174 ERROR CODE LIST
*1
IN/OUT
OUT
IN

Advertisement

Table of Contents
loading

Table of Contents