Function library lenze8200drive.lib, Functions/function blocks – Lenze DDS Function library 8200 Drive User Manual

Page 24

Advertising
background image

3.3

L_8200DataControl − Send/receive process data

Function library Lenze8200Drive.lib

Functions/function blocks

3−12

L

Lenze8200Drive.lib EN 1.0

Value/meaning

Data type

Outputs

nStateDataFrom82

Integer

Status of the CAN receive object

Error messages:

−300 Time−out, data transmitted by the frequency inverter are not within the monitoring

time tTimeOut.

−150 System bus (CAN) is not "Operational".

−121 Wrong driver number for CAN driver.

·

Check the initialisation of the CAN driver.

−120 CAN driver currently not initialised.

·

Check the initialisation of the CAN driver.

−12 The message identifier (COB−ID) is not within the permissible area (internal error).

−11 The pointer pIOAdress does not point to PLC RAM (internal error).

Status messages:

0 The process data were received by the frequency inverter.

2 Data transfer is inactive.

·

Frequency inverter parameterisation not yet complete or bEnable is set FALSE.

10 Telegram longer than 8 bytes and limited to 8 bytes.

200 Data in receive memory were overwritten.

·

Reduce the activation cycle of the FB or increase the data transmission cycle of
the frequency inverter.

bFail_DataTo82

Bool

Message Transmit command cancelled or not executed".

TRUE Transmit command was cancelled or not executed.

·

The corresponding error number is output at nStateDataTo82.

bFail_DataFrom82

Bool

Message Receive command cancelled or not executed".

TRUE Receive command was cancelled or not executed.

·

The corresponding error number is output at nStateDataFrom82.

wStatusData

Word

Process data word (status word) sent by the frequency inverter.

nMCtrl_Nout_Slip

Integer

Actual frequency inverter speed (including slip) in [Hz].

wOutputData3

Word

Receive bytes 5 + 6, freely assignable

wOutputData3

Word

Receive bytes 7 + 8, freely assignable

Advertising