Function Blocks PSx-3__-PN
27
(View in Step 7 TIA V13 + V14)
The following items have to be considered when using this FB:
For each parameter value ther
e’s additionally an enable tag in order to determine
whether the parameter shall be written or not.
Example: DirRotation_Enable = 1
DirRotation_Value is written
The order of the write accesses is like represented in the FB diagram
(“DeliveryState”
“DirRotation”
…).
Optionally a delivery state might be commanded before setting a certain number of
parameters. To do this, the input “DeliveryState_96” has to be set to TRUE before the
execution of the FB. Thus the values of each parameter are set to the delivery state
(initially without saving).
Optionally at the end additionally the written values might be saved permanently. To do
this, the input “SaveSettings_96” has to be set to TRUE before the execution of the FB.
In case of an error while writing a parameter, the subsequent parameters are not
written any more. Also no saving of the values is carried out, if the input “SaveSettings”
is set.
Execute
Start of a parametrization process
Type: BOOL
Initial value: FALSE
Direction: INPUT
Description:
When issuing a rising edge, a parametrization process with the given values is started. For a
new parametrization process, a new rising edge has to be generated. When deasserting the
bit, the outputs fall back to their specified default value.