Commissioning – Lenze 931E/K Small Drives Control User Manual

Page 92

Advertising
background image

Commissioning

Course program
Application examples

5

l

92

SW−HB 13.0002−EN 4.1

Setting and querying of digital inputs and outputs; never−ending loop

Set DOUT1 for one second to HIGH. Then wait until NEXT1 will be active.

When NEXT1 is active, position 16 will be constantly approached (3 seconds start delay).

Pos 16

Start

931E_120

Fig. 15

Setting and querying of digital inputs and outputs

0 Query of NEXT1

Implementation:

931e_264

Implementation:

ƒ

The following trick is used for a defined setting of DOUT1: Position 0 is set to 0
revolutions relative with a start delay of 1 second. First, position 0 will be
"approached" and DOUT1 set to HIGH. Then, the program will jump to line 2.

ƒ

For a never−ending loop, the program will jump from line 4 to table line 3.

Advertising