35
Handling GPIO, Camera Control, and PLC Input and Output Programming Signals
The
Timer0
function in the PLC is used to generate the trigger pulse
Timer0Out
.
Timer0
itself is
triggered by the falling edge of a Boolean combination of
A
and
B
signals, which obtains the correct
quadrature phase for the forward direction. Another Boolean combination is used to produce the trigger
signal
Pb0CC0
from signal
B
and
Timer0Out
; when the conveyor belt or web moves in the reverse
direction, signal
B
masks the trigger pulse
Timer0Out
.
The following table provides recommendations for using quadrature encoders.
Table 19: Quadrature Encoder Recommendations
Encoder output type
Encoder output
GPIO input
Notes
Differential
A
Differential Input0 positive, pin
10 on the 12-pin connector
PLC signal name: GpioIn0
Differential Input0 negative, pin 8
on the 12-pin connector
B
Differential Input1 positive, pin 6
on the 12-pin connector
PLC signal name: GpioIn1
Differential Input1 negative, pin 3
on the 12-pin connector
Single-ended
A
Differential Input0 positive, pin
10 on the 12-pin connector
PLC signal name: GpioIn0
Differential Input0 negative, pin
8 is not connected
B
Differential Input1 negative, pin 6
on the 12-pin connector
PLC signal name: GpioIn0
Differential Input1 negative, pin
3 is not connected