Error Codes - Siemens SIMATIC FM 450-1 Manual

Counter function module installation and parameter assignment
Table of Contents

Advertisement

12.23 Error Codes

Return Value
The success or failure of a function is indicated by the return value. The re-
turn value is of the M7ERR_CODE data type. The function supplies the fol-
lowing return values:
M7CNT_DONE:
!=M7CNT_DONE:
If an error occurs, the return value will not equal 0. The cause of the error
can be limited with the help of this value. Definitions for the error codes are
stored in the header file M7CNT.H.
0
1 to 99
200 to 400
–1 to –999
–1000 to –1100
Table 12-2
Operator Errors
Error Code
M7CNTE_FS_NO_START
M7CNTE_FS_NO_STOP
FM 450-1 Counter Function Module
C79000-G7076-C450-01
www.gkbpx.com
Return Value
No error
Operator error
Parameterization error
M7API function error (e.g. I/O configuration error)
Error in the counter function (e.g. invalid channel number)
No.
Meaning
1
The counter cannot be started in
this operating mode
2
The counter cannot be stopped in
this operating mode
M7 Reference Counter Function Library
Function completed successfully
Error in execution
Meaning
Remedy
Select an operating mode with
software gate control
Select an operating mode with
software gate control
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
12
12-29

Advertisement

Table of Contents
loading

Table of Contents