CAL EV_1 (ED := Enable_Control, ENABLE := Enable_COND, EVENT := Event_Input, COND := Cond_Input, ERROR => Error_Output, STATUS => Status_Output)
EV_1 (ED := Enable_Control, ENABLE := Enable_COND, EVENT := Event_Input, COND := Cond_Input, ERROR => Error_Output, STATUS => Status_Output);
Parameter
|
Type
|
Description
|
---|---|---|
ED
|
DFB activation bit.
If ED = 0, the EVENT and COND input are not monitored.
The default value is 0.
|
|
ENABLE
|
Monitor enable bit
If ENABLE = 0, only COND input is monitored.
If ENABLE = 1, the COND and EVENT inputs are monitored.
The default value is 0.
|
|
EVENT
|
Input bit to be monitored.
If the DFB is executed and ENABLE = 1, the DFB verifies that the EVENT input:
If this is not the case, the DFB will signal that there is a fault.
If ENABLE = 0, theEVENT input is not monitored.
The default value is 0.
|
|
COND
|
Input bit to be monitored.
The input bit to be monitored is set at 1, whatever the status of the ENABLE input.
If the DFB is executed and this bit changes to 0, the DFB will signal that there is a fault.
The default value is 1.
|
Parameter
|
Type
|
Description
|
---|---|---|
ERROR
|
Fault bit
This bit is set to 1 as soon as a fault appears.
This bit is set to 0 if the ED input returns to 0 or if there is no longer an error.
|
|
STATUS
|
Fault type.
The following bits indicate the type of fault detected :
This word is set at 0 if there is no fault.
This word is set at 0 if the ED input returns to 0 or if there is no longer an error.
|
Name
|
Type
|
Description
|
---|---|---|
VALUE
|
Comparison value.
Value (0 or 1) to which the EVENT input is compared.
This variable can be modified by the program, its default value is 1.
|
|
AREA_NR
|
Automatic operation zone to be monitored.
This word is used to specify which automatic operations zone is being monitored by the diagnostics DFB.
Examples:
AREA_ NR must have a value of 1, 2 or 3 for the user to identify which section of the automatic operation has a fault.
It is advisable to make the above division correspond with the division in the function module.
AREA_ NR can take on a value between 0 and 15.
The default value is 0.
|
|
OP_CTRL
|
Acknowledge request
This bit signals whether or not a DFB instance must be acknowledged by the operator :
The default value is 0.
|