RCVREC_MODE
(ENUM)
TYPE RCVREC_MODE :
- Attributes:
qualified_only
- InOut:
Name
Initial
Comment
CHECK
0
If the Field Device interface has received a process data record, only the outputs NEW, SLOT, INDEX and RLEN are set. Multiple calls of this function block with MODE=0 returns the outputs for the same request.
RECEIVE
1
If the Field Device interface has received a process data record, the function block outputs are updated and the data record is transferred to the RECORD parameter.
RECEIVE_BY_SLOT
2
If the Field Device interface has received a process data record for the slot or subslot the num-bers of which are given in input F_ID, the function block outputs are updated and the data re-cord is transferred to the RECORD parameter.
POS_RESPONSE
3
The service is responded positively.
NEG_RESPONSE
4
After checking the request to receive a process data record, this function block refuses to accept this record and sends a negative response to the Host Controller. The error reason is given with the inputs CODE1 and CODE2.