beautypg.com

5function blocks – Lenze E94A User Manual

Page 267

background image

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

267

5

Function blocks

5.71

L_DevParReadFix - read parameter

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

Outputs

Identifier/data type

Value/meaning

dnState

DINT

Status (bit-coded)

• Bits that are not listed have not been assigned with a status (always "0").

bits0 Read request has been sent to the operating system and the FB is

waiting for a response from the device addressed (signal bBusy).

bits1 Read request has been executed correctly (signal bDone).

Bit 15 Error (group signal for bit 16 ...31).

bit16 Configuration error: Invalid code.

bits17 Configuration error: Invalid subcode.

Bit 19 Configuration error: Invalid target address.
Bit 20 Time-out error: The addressed device did not respond within the

time-out time, the read request has been deleted.

Bit 22 Error: Limit value has been exceeded.
Bit 23 Error: Parameter reading is not permitted.
Bit 24 Error: Access is not permitted.

bits25 Error: No element of selection list.

bit29 Error: Invalid identifier.

dnData

DINT

Parameter set read (converted into different data types)

dwData

DWORD

nData

INT

wData

WORD

byData

BYTE

bData

BOOL

bBusy

BOOL

Status output "Read request transmitted"

TRUE The read request has been sent to the operating system and the FB is

waiting for a response from the device addressed.

TRUEFALSE The read request has been completed.

bDone

BOOL

Status output "Read request executed correctly"

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

task cycle).

TRUE The read request has been executed correctly and the read parame-

ter value is available at the dnData ... bData outputs.

bError

BOOL

Status output "Error"

TRUE An error has occurred during processing.

• For details, please see the status output dnState.