
Starting up fieldbus communication and programming the ABB PLC (one-drive system)
86
Row 0001
This section is the main switch. When the drive needs to be stopped, function block
SEL sets the value of output pos_step to 0. Otherwise the value of output pos_step
remains unchanged and the program keeps running.
Row 0002
This section starts up the whole program sequence and repeats it as long as the
value of input move_toggle1 is TRUE.
Block trigger2 is needed for the first start-up. The block triggers one time when the
value of input move_toggle1 turns to TRUE.
The output of block OR is TRUE, when the trigger block output is TRUE. In this
case, block SEL selects value 1 to output pos_step.
Row 0003
This section compares the value of input pos_step with 1. When the values match,
block EQ returns the value of its output to TRUE.
TON block pause1 sets its output movement1 to TRUE with a delay of one second.
The program runs through sections 4 and 5, there is nothing to do.
Row 0006
This section executes MC_MoveAbsolute block togglemove1. The block moves
axis1 to position 800. After the movement, the value of output togglemove1.Done is
TRUE.
Now the program runs through sections from 7 to 3, there is nothing to do.
Section 4 is executed.
Row 0004
The values of inputs move_toggle1 and togglemove1.Done in the AND block are
TRUE. Block SEL sets the value of its output pos_step to 2.
Row 0005
This section is similar to section 3. Block EQ compares the value of its input
pos_step with 2. Now, the values match and the output of block EQ returns to
TRUE.
TON block pause2 sets its output movement2 to TRUE with a delay of one second
The program runs through section 6, there is nothing to do.
Row 0007
This block executes MC_MoveAbsolute block togglemove2. The block moves axis1
to position -1200. After the movement, the value of output togglemove2.Done is
TRUE.
The program starts the whole sequence again from row 0002. The toggling is
continuous as long as the value of input move_toggle1 is TRUE.
Tool/Step
Programming actions
Kommentare zu diesen Handbüchern