19 function library – Lenze 8400 TopLine User Manual

Page 1649

Advertising
background image

Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14

1649

19

Function library

19.1

Function blocks

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

wState

WORD

Status (bit-coded)

Bit 1 Positioning program ready to start/program end reached.
Bit 2 Positioning program is running.
Bit 3 Positioning program started, break active.
Bit 4 Positioning program stopped.
Bit 5 Positioning program reset.
Bit 6 Positioning program completed.
Bit 7 Time monitoring for "

positioning

" action has been triggered.

Bit 8 Wrong value at branch input.

Bit 15 Fault is active.

wActStep

WORD

Current step being processed by the positioning program.

0 Positioning program not started.

1 ... 100 Current step

wDigitalOutputs

WORD

Sequencer outputs 1 ... 16 (bit coded)

• The sequencer outputs can be set to "0" or "1" by the "switching" action type

during the runtime of the positioning program.

• For providing individual control signals, e.g. the converter

FB

L_ConvWordToBits_1

can be connected to this output.

Bit 0 Sequencer output 1
Bit 1 Sequencer output 2

... ...

Bit 15 Sequencer output 16

nSet_a

INT

Speed setpoint which is output in the "

Stand-by

" action.

• If no "Stand-by" action is active, the value "0" is output.

wProfileNumber

WORD

Display of the profile data set active in the current step

bProgramBusy

BOOL

Status signal "Positioning program is running"

FALSE Positioning program not started or stopped.

TRUE Positioning program is running.

bStateReady

BOOL

TRUE Positioning program ready to start/program end reached.

bStateRun

BOOL

TRUE Positioning program is running.

bStatePause

BOOL

TRUE Positioning program started, break active.

bStateBreak

BOOL

TRUE Positioning program stopped.

bStateReset

BOOL

TRUE Positioning program reset.

bStateDone

BOOL

TRUE Positioning program completed.

bWatchdogActive

BOOL

TRUE Time monitoring for "

positioning

" action has been triggered.

bErrBranch

BOOL

TRUE Wrong value at branch input.

bErrActive

BOOL

TRUE Fault is active.

Identifier

Data type

Value/meaning

Advertising