
60
iPORT Advanced Features User Guide
Using the Rescaler Feature with a Backup Signal
The following procedure demonstrates how you can configure the rescaler feature to change a 1017 Hz
signal into an approximately 4 Hz signal and, if interrupted, to emit a backup signal.
In the following example, Timer0 generates the 1017 Hz signal that the rescaler uses as its primary input.
The rescaler divides the signal frequency and outputs a rescaled 4 Hz pulse.
Timer1 generates a 1.1 Hz signal that the rescaler uses as a backup. If the 1017 Hz signal is interrupted,
the rescaler outputs the 1.1 Hz backup signal. The 1017 Hz primary signal is manually interrupted by
setting
PlcCtrl0
to
False
.
The rescaler does not rescale the backup signal.
To configure the rescaler to emit a backup signal
1.
Follow steps 1-5 in the procedure,
2.
In the
Timer
section, select
Timer0
from the
TimerSelector
list.
3.
Select
TimerDurationRaw
and enter
20
to configure the duration of the 1017 Hz pulse (the length
of time that the 1017 Hz pulse is high).
4.
Select
TimerDelayRaw
and enter
11
to set the duration of the delay before the pulse can start (the
length of time that the 1017 Hz pulse is low).
5.
Select
TimerTriggerSource
and select
Continuous
to
allow the timer to automatically trigger (no
source required).
6.
In the
TimerGranularityFactor
list, select
Granularity30p72us
to configure the interval of the
timer's internal clock tick.
7.
In the
Timer
section, select
Timer1
from the
TimerSelector
list
8.
Select
TimerDurationRaw
and enter
78
to configure the duration of the 1017 Hz pulse (the length
of time that the 1.1 Hz pulse is high).
9.
Select
TimerDelayRaw
and enter
383
to set the duration of the delay before the pulse can start (the
length of time that the 1.1 Hz pulse is low).
10.
Select
TimerTriggerSource
and select
Continuous
to
allow the timer to automatically trigger (no
source required).
11.
In the
TimerGranularityFactor
list, select
Granularity1p96608ms
to configure the interval of the
timer's internal clock tick.
12.
In the
SignalRouting
section, select one of the available equations, for example,
PlcEquation0
, and
enter the following Boolean equation:
Rescaler0In = PlcCtrl0 & !Timer0Out.
13.
In the
SignalRouting
section, select another of the available equations, for example,
PlcEquation1
,
and enter the following Boolean equation:
GpioOut0 = Rescaler0Out.
14.
Click
PlcEquationApply
to apply the equations.
15.
In the
Rescaler
section, select
Granularity480ns
from the
PlcRescalerGranularityFactor
list.
16.
In the
PlcRescalerFreqMultiplierSelect
list, select
FrequencyX16
.
17.
Select
PlcRescalerFreqDivider
list and enter
4095
.
18.
In the
PlcRescalerBackupEnabled
list, select
True
.
Содержание iPORT CL-Ten
Страница 8: ...4 iPORT Advanced Features User Guide...
Страница 12: ...8 iPORT Advanced Features User Guide...
Страница 38: ...34 iPORT Advanced Features User Guide...
Страница 52: ...48 iPORT Advanced Features User Guide 6 In the ChunkSelector list select PixelBusMetadata...
Страница 55: ...51 Extended Chunk Mode Support 3 In the ChunkEnable list click True...
Страница 56: ...52 iPORT Advanced Features User Guide...
Страница 72: ......