beautypg.com

4 set counter status, Set counter status – Pilz PSSu K F INC User Manual

Page 18

background image

Function description

Operating Manual PSSu K F INC
1001688­EN­06

18

}

PII: 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 OutputData.Zer­

oPulseActiv

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 In­
putData.LatchOrPeriod

The module sets InputData.ZeroPulse

D

Finish zero pulse function

In the user program, reset OutputData.Zer­
oPulseActiv

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.

4.1.5.4

Set counter status

The "Set counter status" function sets the counter to any value. The value is stated in the
user program. The module transfers the value and continues counting from this counter
status.

b

PIO

PII

c

d e

a

Legend:

}

PIO: I/O datum OutputData.SetCounter

}

PII: I/O date InputData.SetCounterDone