Function description
Operating Manual PSSu E S INC 24V se(-T)
1001380-EN-04
18
The module always transmits the counter status when the first latch pulse occurs after the
function has started. All subsequent latch pulses are ignored until the function is completed
and reset.
4.2.5.3
Transfer counter status via zero pulse
The output for the incremental encoder's zero pulse is connected to input C. An incremental
encoder typically supplies one zero pulse per rotation. Using the zero pulse function it is
possible to record the last counter status before the zero pulse and transmit it via the pro-
cess image of inputs.
INFORMATION
In Counter operating mode, a rising edge at input C stops the counter.
PIO
PII
Legend:
}
PIO: Bit 0 of the function call in the process image of outputs or I/O datum Output-
Data.ZeroPulseActive
}
C: Input C
}
PII: Bit 0 of the status byte in the process image of inputs or I/O datum Input-
Data.ZeroPulse
Key to timing diagram:
Section Function
Procedure for PSSu in sys-
tem environment A
Procedure for PSSu in sys-
tem environment B
a
Activate zero
pulse function
In the user program, set Bit 0
of the function call
In the user program, set Out-
putData.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 in-
puts
The module sets Bit 0 of the
status byte
Counter status is written in
InputData.LatchOrPeriod
The module sets Input-
Data.ZeroPulse
d
Finish zero pulse
function
In the user program, reset Bit
0 of the function call
In the user program, reset
OutputData.ZeroPulseActiv