Function Blocks PSx-3__-PN
21
Execute
Start of a writing process
Type: BOOL
Initial value: FALSE
Direction: INPUT
Description:
B When issuing a rising edge, a writing process of the parameter which is specified by
“ParameterNumber” and “Subindex” with the value which is specified by the input “Value” is
started. For a new writing process, a new rising edge has to be generated. When deasserting
the bit, the outputs fall back to their specified default value.
ParameterNumber
Parameter number of the parameter to be written
Type: INT
Initial value: 0
Direction: INPUT
Value
Value to be written to the parameter
Type: DINT
Initial value: 0
Direction: INPUT
Active
Bit is set as long as the writing process is active
Type: BOOL
Default value: FALSE
Direction: OUTPUT
The bit is being deasserted as soon as the value has been written or an error occurred.
Done
Bit is set as soon as the parameter has been written successfully
Type: BOOL
Default value: FALSE
Direction: OUTPUT
The bit is being deasserted when starting a writing process.
Error
Bit is set if an error occurred during the execution of the FB
Type: BOOL
Default value: FALSE
Direction: OUTPUT
ErrorID
Error code (
see table “ErrorID” in chapter 4)
Type: WORD
Default value: 0
Direction: OUTPUT
Drive errors are not considered when writing a parameter.