6. Function blocks
6.1 Manufacturer function blocks
The function block and its parameters
Function block inputs
 Description

Note
(bit)
 
EN
1: Activates the function
block.
 The checkbox for the
Function block release by EN is necessary
parameter must first be enabled
EN
Enable of the function
block on status 1.
The operations Start pos-
itioning job (S_) or Jog
mode (TP) can be
executed when the func-
tion block is enabled.
Disable the function
block on status 0.
The function block Reset
is carried out when
there is falling edge
from 1 to 0.
 Caution! In normal operation always stop a positioning job via the BR
input.
In this case, the step sequence frequency will be reduced according to
the braking ramp and the motor will brake gently.
A stop with EN= 0 would cause an abrupt stop of the motor and a pos-
sible loss of the reference point if this would be dragged further by the
moved load.
S_
The positioning job will
start when there is a
rising edge.
An active positioning job
will be signaled with AC
=1.
 As a prerequisite, braking must not be activated (BR=0).
When a positioning job is activated, the acceleration, operating and brak-
ing phases are executed in succession.
If a positioning job is already activated, a renewed rising edge 0 -> 1 at
S_ will not cause a new job to be started.
BR
Braking
Aborts the ongoing pos-
itioning job when there
is a rising edge.

 As a prerequisite, jog mode must not be activated (TP=0).
After the positioning job is aborted, the function block now runs the brak-
ing phase, i.e. a delayed motor stop is executed.
The bit output AC is only set to 0 when the braking phase has been com-
pleted.
The S_ function block input is not eval-
uated during the braking phase.
TP
Activates the Jog mode
on status 1
The on duration TP = 1
determines the type of
Jog mode.
 Two operating mode are available in Jog mode for diagnostics and test-
ing.
1. Positioning with a preset number of steps
TP on duration ≦ 0.5 seconds
The motor moves by the number of steps defined at P1.
2. Positioning with a specified jog frequency - manual mode
TP on duration > 0.5 seconds
The motor will be accelerated to the jog frequency set at PF.
The BR function block input is not eval-
uated during jog mode.
(DWord)
 
I1
Number of pulses  For the number of pulses, enter the total number of pulses for the entire
sequence, consisting of the three individual acceleration, operation, and
braking phases.
Integer value range:
390
easyE402/24 MN050009ENEaton.com