Commissioning
Course program
Application examples
5
98
SW-HB 13.0002-EN EN 3.0
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. 17
Setting and querying of digital inputs and outputs
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.
efesotomasyon.com - Lenze