Manual

4. Parametrizing blocks
4−9
Festo P.BE−SFC−DC−PB−S7−EN en 0604NH
4.3.1 Input parameters
Parameters Decla
ration
Data
type
Description
I_O_ADDRESS INPUT WORD Logical address of the DP slave module
Example: I−address 256, O−address 264
−−> W#16#100
The smaller of the two addresses must be specified.
RD_WR INPUT BOOL 0 = read
1 = write
Start INPUT BOOL Starts write or read procedure
PNU INPUT WORD Parameter number of the current parameter
Subindex INPUT BYTE Subindex of the current parameter
Length_WR INPUT INT Length of the parameter to be written in bytes
Value_WR INPUT DWORD Parameter value when writing
Tab.4/5: Input parameters PRM_DPV1_SFB / PRM_DPV1_SFC
4.3.2 Output parameters
Parameters Decla
ration
Data
type
Description
Done OUTPUT BOOL Transfer completed
Value_RD OUTPUT DWORD Value of parameter to be read
Length_RD OUTPUT INT Length of parameter to be transferred
Fault OUTPUT BOOL Fault bit
RET_VAL OUTPUT INT Return value after incorrect processing of the block
Tab.4/6: Output parameters PRM_DPV1_SFB / PRM_DPV1_SFC