PRVREC_MODE
(ENUM)
TYPE PRVREC_MODE :
- Attributes:
qualified_only
- InOut:
Name
Initial
Comment
CHECK
0
If the Field Device interface has received a request to provide 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 request, the function block outputs are updated.
RECEIVE_BY_SLOT
2
If the Field Device interface has received a request for the slot and subslot the numbers of which are given in F_ID input, the function block outputs are updated.
POS_RESPONSE
3
After checking or receiving the request to provide a process data record, this function block provides the requested process data record with its RECORD parameter and sends a positive response to the Host Controller.
NEG_RESPONSE
4
After checking or receiving the request to provide a process data record, this function block refuses to provide this record and sends a negative response to the Host Controller. The error reason is given with the inputs CODE1 and CODE2.