![background image](http://html1.mh-extra.com/html/sick/rfu6-series/rfu6-series_technical-information_1264582006.webp)
Technical information
RFU6xx FB for
GX Works 2 (PNDP)
Page 6
3.2 Method of function
The following parameters must be specified before the FB_SICK_RFU6xx_PNDP function
block can be used.
InputData:
Data link to the 16 Word (32Byte) input module of the fieldbus device
OutputData:
Data link to the 16 Word (32Byte) output module of the fieldbus device
TOut:
Timeout (e.g. T#5s). The process will be interrupted if this time is
elapsed without obtaining a valid device response.
Data:
The function block requires a variable from the data type
ST_SICK_RFU6xx. This data type describes input and output parame-
ters for the individual block functions. Please create a variable and link it
to the
“Data” input of the function block.
To carry out a function (TriggerOn, ReadTag etc.), the desired function bit must be selected
first. Only one function can be carried out at the same time. The
“Req” parameter must be
triggered with a rising edge (signal change from logic zero to one) in order to carry out the
selected function. As long as no valid response has been received, the
“ReqBusy” parameter
is used to signal this.
The output parameter “ReqDone” indicates that the function has been successfully complet-
ed. If data was requested from the device during this function (e.g. ReadTag), this data is
copied to the linked data structure (Data).
Data sent via trigger command (TriggerOn, TriggerOff) or directly by the device (e.g. direct
trigger via a photoelectric sensor) is stored in the data struct
ure “ReadResult_Result”. The
“RdDone” output parameter indicates for one PLC cycle that new data has been received.
The data sent by the device can be changed or adapted in SOPAS output format.