70
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
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
■
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.
*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
■
Relevant function
Argument
Name
Description
IN/OUT
pusStatusBuf
Fixed cycle processing status
storage destination
Specify the fixed cycle processing status storage destination.
OUT
ulBufSize
Fixed cycle processing status
storage destination size
Specify the fixed cycle processing status storage destination size in word units.
(When '0' is specified, this function ends normally without processing.)
IN
pusStatusBuf
Description
pusStatusBuf[0]
Fixed cycle processing cycle [ms] (setting value)
pusStatusBuf[1]
Current fixed cycle processing time [ms]
pusStatusBuf[2]
Current fixed cycle processing time [
μ
s]
pusStatusBuf[3]
Minimum fixed cycle processing time [ms]
pusStatusBuf[4]
Minimum fixed cycle processing time [
μ
s]
pusStatusBuf[5]
Maximum fixed cycle processing time [ms]
pusStatusBuf[6]
Maximum fixed cycle processing time [
μ
s]
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: ......