beautypg.com

5function blocks – Lenze E94A User Manual

Page 273

background image

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

273

5

Function blocks

5.72

L_DevParWriteFix - write parameter

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

Outputs

dwCycleTime

DWORD

Cycle time (0 ... 100000 [ms])

• Interval for the cyclic writing of a parameter.

• If an input is not assigned or if "0 ms" is selected, cyclic writing is deactivated.

dwTxCobId

DWORD

From library V02.05.xx.xx

SDO client transmit identifier (0x0 ... 0x7FF) towards the remote CAN node

• Identifier to be used for the communication with the remote node if

dwComChannel = "2" or "3".

• The identifier must correspond to an SDO server channel RX identifier (not to the

basic SDO server channel 0).

• If dwComChannel = "1", this input does not have any function.

dwRxCobId

DWORD

From library V02.05.xx.xx

SDO client receive identifier (0x0 ... 0x7FF) from the remote CAN node

• Identifier to be used for the communication with the remote node if

dwComChannel = "2" or "3".

• The identifier must correspond to an SDO server channel TX identifier (not to the

basic SDO server channel 0).

• If dwComChannel = "1", this input does not have any function.

bUseIndex

BOOL

From library V02.05.xx.xx

Selection of the addressing of a parameter in the remote CAN node.

• Selection only relevant if dwComChannel = "2" or "3".

FALSE Value at dwCode is addressing a code (0 ... 16000).

TRUE Value at dwCode is addressing a CANopen index (0x0 ... 0xFFFF).

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 Write request has been sent to the operating system and the FB is

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

bits1 Write 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 write request has been deleted.

Bit 21 Error: Invalid data type.
Bit 22 Error: Limit value has been exceeded.
Bit 24 Error: Access is not permitted.

bits25 Error: No element of selection list.

Bit 26 Error: Parameter writing is not permitted.

bits27 Error: Parameter writing is only permitted when the controller is in-

hibited.

Bit 28 Error: Parameter writing is only permitted when the application has

stopped.

bit29 Error: Invalid identifier.

bBusy

BOOL

Status output "Write request transmitted"

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

is waiting for a response from the device addressed.

TRUEFALSE The write request has been completed.

Identifier/data type

Information/possible settings