5function blocks – Lenze E94A User Manual

Page 274

Advertising
background image

5

Function blocks

5.72

L_DevParWriteFix - write parameter

274

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Tip!
The description of FB

L_DevParReadFix

provides an application example.

bDone

BOOL

Status output "Write request executed correctly"

• The output remains set until bExecute is reset to FALSE (however, at least for one

task cycle).

TRUE The write request has been executed correctly.

bError

BOOL

Status output "Error"

TRUE An error has occurred during processing.

• For details, please see the status output dnState.

Note!

The cycle time specified via the input dwCycleTime is only valid for the use of the FB in a

1-ms task! For a longer task cycle the cycle time is extended accordingly:

When the FB is used in the unsolicited task, the cycle time set is not effective. In this case,

use a preceding FB

L_TbOscillator

instead to activate the write request cyclically:

• Connect the output bOut of the FB

L_TbOscillator

to the input bExecute.

• Set the desired cycle time via the parameters of the FB

L_TbOscillator

.

Identifier/data type

Value/meaning

Cycle time

dwCycleTime [ms] Task cycle [ms]

1 [ms]

-------------------------------------------------------------------------------------------

=

Advertising