Function description
Operating Manual PSSu K F INC
1001688-EN-09
18
4.2.5.3
Transfer counter status via zero pulse
The output for the incremental encoder's zero pulse is connected to input C (C+/C-). An in-
cremental encoder typically supplies one zero pulse per rotation. Using the zero pulse func-
tion it is possible to record the last counter status before the zero pulse and transmit it via
the process image of inputs.
INFORMATION
In Counter operating mode, a rising edge at input C stops the counter.
PIO
PII
Legend:
}
PIO: Process image of outputs, I/O datum: OutputData.ZeroPulseActive
}
C: Input C
}
PII: Process image of inputs, I/O datum: InputData.ZeroPulse
Key to timing diagram:
Section
Function
Procedure for PSSu in system environ-
ment B
a
Activate zero pulse function In the user program, set OutputDa-
ta.ZeroPulseActiv
b
Fill latch memory
Rising edge at input C: Counter status is
transferred to the latch memory
c
Output counter status
Set status bit
Counter status is written in InputData.Lat-
chOrPeriod
The module sets InputData.ZeroPulse
d
Finish zero pulse function
In the user program, reset Output-
Data.ZeroPulseActiv
e
Ready for new latch func-
tion
The module resets InputData.ZeroPulse
The zero pulse function has priority over the latch function and the "Period length measure-
ment" function. If this function is activated, both the other functions are ignored, even if they
have been activated.
The module always transmits the counter status when the first zero pulse occurs after the
function has started. The counter statuses on all subsequent zero pulses are ignored until
the function has been completed and reset.