4function description, 1 module features – Pilz PSSu E S INC User Manual
Page 25

Pilz GmbH & Co. KG, Felix-Wankel-Straße 2, 73760 Ostfildern, Germany
Telephone: +49 711 3409-0, Telefax: +49 711 3409-133, E-Mail: [email protected]
4-9
4.1
Module features
4
Function description
Key to timing diagram:
The zero pulse function has priority over the latch function and the "Pe-
riod length measurement" 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 complet-
ed and reset.
Section
Function
Procedure for PSSu in system envi-
ronment A
Procedure for PSSu in system envi-
ronment B
a
Activate zero pulse
function
In the user program, set Bit 0 of the
function call
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
Rising edge at input C: Counter status
is transferred to the latch memory
c
Output counter status
Set status bit
Counter status is transferred to the
process image of inputs
The module sets Bit 0 of the status byte
Counter status is written in InputDa-
ta.LatchOrPeriod
The module sets InputData.ZeroPulse
d
Finish zero pulse func-
tion
In the user program, reset Bit 0 of the
function call
In the user program, reset OutputDa-
ta.ZeroPulseActiv
e
Ready for new latch
function
The module resets Bit 0 of the status
byte
The module resets InputData.Zero-
Pulse