Description
(Original Document)
Function description
The D_GRP is used for signal group monitoring.
Monitoring is carried out cyclically. The activation of the Diagnostics and thereby the distribution of the cycle load can be achieved through the enable signal ED.
An error is reported when the status "1" is present at the signal input IN for longer than the tolerance time DTIME.
NOTE: Do not use diagnostic EFBs in DFBs.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL D_GRP_Instance (ED:=EnableDiagnosis,
    DTIME:=ToleranceTime, IN:=Signal, ERR=>ErrorFlag)
Representation in ST
Representation:
D_GRP_Instance (ED:=EnableDiagnosis,
    DTIME:=ToleranceTime, IN:=Signal, ERR=>ErrorFlag);
Description of parameters
Description of the input parameters:
Parameter
Data type
Meaning
ED
Enable diagnostics
DTIME
Tolerance time
IN
BOOL
Signal
Description of the output parameters:
Parameter
Data type
Meaning
ERR
BOOL
Error message; 0: no error; 1:error
Public variables
Description of the public variables:
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:
  • Cutting: No. 1
  • Milling: No. 2
  • Thread cutting: No. 3
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.
  • 0: no user acknowledgement required
  • 1: user acknowledgement required
The standard value is 0.