Cross cutter, Appendix – Lenze EVS93xx CrossCutter User Manual

Page 249

Advertising
background image

Cross Cutter

Appendix



Prepared Solution Servo PLC / ECSxA 1.1 EN

6-81

Outputs

(Variable type: VAR_OUTPUT)

Name Data

type

Meaning

bBit00
bBit01

bBit02

bBit03

bBit30

bBit31

BOOL

Control bits 0 to 31:
The individual bits are generated from the internal control double word dwCtrlWord. Any bit from the

control double word (dwCtrlWord.0dwCtrlWord.31) can be assigned to each output bit bBit00,

bBit01bBit31. The internal index variable abyCtrlWord[i] (i = 0 … 31) is used for assignment,
whereby the index i addresses the required output bit bBit00, bBit01bBit31 and the value of

abyCtrlWord[i] the required source bit in the control double word (dwCtrlWord.0dwCtrlWord.31).

The permissible value range for abyCtrlWord[i] is 0 … 31.

Internal

(Variable type: VAR)

Name Data

type

Meaning

wInternalCtrlW1_a

INT

Internal variable for the entry of the data word on the output signal wCtrlW1_a:

The value is output at the output signal wCtrlW1_a if internal control codes (byInputSource = 0) have
been preselected as the signal source.

dwInternalCtrlDWord

DWORD

Internal variable for the entry of the control double word:
The control double word is linked to the output signals bBit00, bBit01bBit31 via the multiplexer,

if

internal control codes (byInputSource = 0) have been preselected as the signal source.

abyCtrlWord

ARRAY [0..31]

OF BYTE

Index variables for linking the internal bits in the control double word to the output bits bBit00, bBit01

bBit31
Example: Index variable

abyCtrlWord[2] defines the signal source selected for output bit bBit02.

Setting

abyCtrlWord[2] = 2 selects the third bit in the control double word (dwCtrlWord.2) as the signal

source for output bBit02.

dwCtrlWord

DWORD

Internal mapping of control bits 0 to 31:
This internal variable is mapped via the corresponding input signals in accordance with the signal

source preselected via the byInputSource input.

Figure45: Example wiring of the MulitplexerInput FB in the prepared solution

Advertising