![Siemens SIMOCODE pro Скачать руководство пользователя страница 77](http://html.mh-extra.com/html/siemens/simocode-pro/simocode-pro_programming-and-operating-manual_1265395077.webp)
Description of the blocks
4.1 Functions for all blocks
SIMOCODE pro PCS 7 Library V9.0
Programming and Operating Manual, 06/2017, A5E40899442002A/RS-AA/001
77
4.1.5
Error numbers
The SIMOCODE pro PCS 7 Library blocks have an output parameter ErrorNum that can be
used to output internal error states of the block as error numbers. Each error number is
assigned to a specific error. The routine always displays the error number of the error most
recently detected in a block cycle.
Table 4- 5
Error numbers per block
Error
code
Error type
Description
MMDiag
MMMeas MMStat
MMRevDhl MMOprtn
-1
–
Predefined value when inserting
the block; the block is not pro-
cessed.
X
X
X
X
X
0
–
No error
X
X
X
X
X
1
System error Rack failure
X
X
X
–
X
2
System error The module has been removed.
–
–
–
–
X
3
System error The module does not respond.
X
X
X
–
X
4
System error Subnet 1 or subnet 2 error
X
–
–
–
–
5
System error Module inserted, but invalid mod-
ule type
–
–
–
–
X
41
Program-
ming error
The value for LocalSetting I/O is
not within the permissible limits of
0 to 4.
–
–
–
X
–
42
Program-
ming error
LocalSetting = 0 or
LocalSetting = 3 or
LocalSetting = 4 and
LocalLi = 1
–
–
–
X
–
51
Program-
ming error
Error number for invalid signal
state
e.g. FwdLocal = 1 and StopLocal
= 1
FwdAut = 1 and StopAut = 1
AutModLi = 1 and ManModLi = 1
FwdForce = 1 and RevForce = 1
–
–
–
X
X
52
Program-
ming error
LocalAct = 1 and
LocalSetting = 2 or 4 and
SimOn = 1
–
–
–
X
–
"X" = Error occurs in this block, "–" = Error does not occur in this block
Reference
IO station failure (PROFIBUS DP or PROFINET IO) (Page 98)
Fault handling (Page 110)