CAL D_GRP_Instance (ED:=EnableDiagnosis, DTIME:=ToleranceTime, IN:=Signal, ERR=>ErrorFlag)
D_GRP_Instance (ED:=EnableDiagnosis, DTIME:=ToleranceTime, IN:=Signal, ERR=>ErrorFlag);
Parameter
|
Data type
|
Meaning
|
---|---|---|
ERR
|
BOOL
|
Error message; 0: no error; 1:error
|
Parameter
|
Data type
|
Meaning
|
---|---|---|
AREA_NR
|
Automation area to be monitored.
This byte specifies which area will be monitored by the diagnostic EFB.
It is advisable to assign the numbers according to the functional modules.
Values: 0 ... 15. The standard value is 0.
Example:
In the example AREA_NR must have the value 1, 2 or 3, so that they can recognize the error affected area.
|
|
OP_CTRL
|
BOOL
|
This bit specifies whether a diagnostic event will request a user acknowledgement.
The standard value is 0.
|