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

Page 26

Advertising
background image

3.3

L_8200DataControl − Send/receive process data

Function library Lenze8200Drive.lib

Functions/function blocks

3−14

L

Lenze8200Drive.lib EN 1.0

Time monitoring

The input tTimeOut is used to monitor the transfer time of the data received from the frequency
inverter.

·

With a time > t#0ms the monitoring is activated, otherwise it is deactivated.

·

The monitoring time must be adapted to the cycle and task time of the process data object
CAN2_IO.

Status messages

The status outputs nStateDataTo82 and nStateDataFrom82 indicate the current state of the send
and receive objects.

·

If an error occurs, an error number will be indicated and the corresponding message output
bFail_DataTo82 or bFail_DataFrom82 will be set to TRUE.

·

The status and message outputs can be reset by setting bReset to TRUE.

·

The last message/error number is saved in an internal variable (nLastMessageNo or
nLastFailureNo).

Selection of boolean control signals and output of boolean status messages

·

The FB L_8200CtrlWord is used to select the control word to be transmitted as boolean
control signals.

(

^ 3−15)

·

The FB L_8200StatusWord is used to divide the receive status word for evaluation and further
processing into individual boolean status signals.

(

^ 3−16)

L_8200DataControl

wControlData

nNSetN1_a

tCycleTime

bResetFail

tTimeOut

bEnable

bResetNode

byNodeAddr

CTRL

nStateDataTo82

nStateDataFrom82

L

8200

Node address =

byNodeAddr

System bus (CAN)

wBoostVoltage

wInputData

1 + 2

data bytes:

3 + 4

5 + 6

7 + 8

1 + 2

3 + 4

5 + 6

7 + 8

bFail_DataTo82

bFailDataFrom82

wStatusData

nMCtrl_Nout_Slip

wOutputData3

wOutputData4

CAN2_OUT

CAN2_IN

L_8200CtrlWord

wControlData

bNSET1_JOG13

CTRL

bNSET1_JOG23

bDCTRL1_CW_CCW

bDCTRL1_QSP

bNSET1_RFG1_STOP

bNSET1_RFG1_0

bMPOT1_UP

bMPOT1_DOWN

bRELAY_K1

bDCTRL1_CINH

bDCTRL1_TRIP_SET

bDCTRL1_TRIP_RESET

bDCTRL1_PAR24

bDCTRL1_PAR34

bMCTRL_DCB

bPCTRL1_RFG2_LOAD_I

L_8200StatusWord

bDCTRL1_CINH

CTRL

wStatusData

bDCTRL1_TRIP

bFIXED_RESERVE_9

bFIXED_RESERVE_11

bFIXED_RESERVE_12

bDCTRL1_OH_WARN

bNSET1_RFG1_NOUT

bNSET1_RFG1_I

bPCTRL1_QMIN

bDCTRL_NOUT

bMCTRL_IMAX

bDCTRL_IMP

bDCTRL1_RDY

bFIXED_RESERVE_10

bDCTRL1_OV

bDCTRL1_CCW

Advertising