FC171

SUMMARY

The AbvSpu provides functions to read and write process attributes (status, measuring value, alarm information) as well as to control process parameters (limits, delay times, etc.).

PARAMETERS (IN)

obj (INT)
Object Number
iVal (DINT)
Value

PARAMETERS (OUT)

bOk (BOOL)
Status (1=okay, 0=error)
bChanged (BOOL)
Changed ?

PARAMETERS (IN_OUT)

DESCRIPTION

SetValInt_ex() - Writes input/output signal of the Typ <DINT>
The value <iVal> is written to the S7-Address, specified by the process connection of the object referenced by <obj>.

Description of the Output Parameters
Object/Signal Address bOk bChanged Remark
Bin-MP (A) 1 x Bit is set for iVal=1, otherwise it is reset
Bin-MP (DBX) 1 0/1 Bit is set for iVal=1, otherwise it is reset
Bin-MP (E) 0 x -
Ana-MP (PEW) 0 x -
Ana-MP (PAW) 1 x "iVal" is converted to raw value using lineare standardization.
Ana-MP (DBD) 0 x -
Ana-MP (DBW) 1 0/1 -
PV (DBX) 1 0/1 Bit is reset for iVal=0, otherwise it is set
PV (DBB) 1 0/1 "iVal" is cut to the Byte-Area
PV (DBW) 1 0/1 "iVal" is cut to the Word-Area
PV (DBD, int) 1 0/1 -
PV (DBD, real) 0 x -
PV (DBW, string) 0 x -
On the next object processing the Measuring Value of the object is calculated new on base of the modified Input Signal.