beautypg.com

5function blocks – Lenze E94A User Manual

Page 272

background image

5

Function blocks

5.72

L_DevParWriteFix - write parameter

272

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

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

Inputs

Identifier/data type

Information/possible settings

bExecute

BOOL

Activates a write request.

FALSETRUE If the cycle time (dwCycleTime) = "0 ms" or the dwCycleTime input is

not assigned:

Write the parameter addressed via the inputs dwCode, dwSubcode,

dwComChannel and dwTargetAddress once with the value of the

data input which has been selected via dwDataTyp.
If cycle time (dwCycleTime) > "0 ms":

Write the parameter addressed via the inputs dwCode, dwSubcode,

dwComChannel and dwTargetAddress cyclically with the value of the

data input which has been selected via dwDataTyp.

TRUEFALSE Deactivate cyclic writing again.

dnData

DINT

Parameter value to be written

• The data input and thus the data type of the code to be written is selected via the

dwDataTyp input.

dwData

DWORD

nData

INT

wData

WORD

byData

BYTE

bData

BOOL

dwDataTyp

DWORD

Selection of the data input / declaration of the data type

0 dnData data input / DINT data type
1 dwData data input/ DWORD data type
2 nData data input / INT data type
3 wData data input / WORD data type
4 byData data input/ BYTE data type
5 bData data input/ BOOL data type

dwCode

DWORD

• If dwComChannel = "1" or bUseIndex = FALSE:

Code (0 ... 16000)

• If dwComChannel = "2" or "3" and bUseIndex = TRUE:

CANopen index (0x0 ... 0xFFFF)

dwSubcode

DWORD

Subcode (0 ... 255)

dwComChannel

DWORD

Interface

• Up to and including controller software version V07, only the selection "1" (own

device) is supported.

1 Own device
2 CAN on-board
3 CAN module

dwTargetAddress

DWORD

This input does not have any function.

dwTimeOut

DWORD

Time-out (0 ... 10000 [ms])

• Time in which the write request must have been processed.

• If the input is not assigned or if "0 s" is selected, time-out monitoring is deactiva-

ted.