Transfer counter status via latch pulse, 4function description, 1 module features – Pilz PSSu E S INC User Manual
Page 23

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-7
4.1
Module features
4
Function description
4.1.5.2
Transfer counter status via latch pulse
Transfer counter status via latch pulse
4-
][Funktionsbeschreibung_Ein ST-INC BA Latch
A signal output can be connected to input L on the module for a latch
pulse. The latch pulse may come from a PLC or position switch, for ex-
ample. Using the latch function it is possible to record and transmit the
counter status at the time of this latch pulse.
Prerequisite: This function is configured in the PSSu Configurator /
PAS4000.
Key:
PIO: Bit 1 of the byte for function calls in the process image of outputs
or I/O data OutputData.LatchOrMeasure
L: Input L for external latch
PII: Bit 1 of the status byte in the process image of inputs or I/O data
InputData.LatchOrMeasureDone
Key to timing diagram:
Section
Function
Procedure for PSSu in system envi-
ronment A
Procedure for PSSu in system envi-
ronment B
a
Activate latch function
In the user program, set Bit 1 of the
function call
In the user program, set OutputDa-
ta.LatchOrMeasure
b
Fill latch memory
Rising edge at input L: Counter status
is transferred to the latch memory
Rising edge at input L: 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 1 of the status byte
Counter status is written in InputDa-
ta.LatchOrPeriod
The module sets InputData.Latch-
OrMeasureDone
d
Finish latch function
In the user program, reset Bit 1 of the
function call
In the user program, reset OutputDa-
ta.LatchOrMeasure
e
Ready for new latch
function
The module resets Bit 1 of the status
byte
The module resets InputData.Latch-
OrMeasureDone
a
b
PAA
L
PAE
c
d e