57
Advanced Features Usage Examples
7.
In the
SignalRouting
section, select one of the equations, for example, PlcEquation0, and enter the
following Boolean expression:
GpioOut0 = Timer0Out
.
8.
Click
PlcEquationApply
to apply the equation.
9.
In the
ControlBits
section of the
Plc
category, select one of the inputs from the
PlcCtrlSelector
list,
for example,
PlcCtrl0
.
10.
In the
PlcCtrlValue
list, click
True
to set the signal state to high, or
False
to set the signal state to
low.
The voltmeter indicates a steady 1 Hz signal with a 25% duty cycle on the signal,
GpioOut0
.
Using the Timer Feature to Trigger a Single Pulse
This following procedure demonstrates how you can use the timer feature to create a single pulse on a
signal when triggered. The pulse is low for 1 s and high for 1 s.
To configure the timer to trigger a single pulse
1.
Follow steps 1-5 in the procedure,
2.
In the
Timer
section, select
Timer0
from the
TimerSelector
list.
3.
Select
TimerDurationRaw
and enter
32552
to set the length of time that the state of the pulse is
high.
This value represents the number internal clock ticks.
4.
Select
TimerDelayRaw
and enter
32552
to set the length of time that the state of the pulse is low
(the length of time before the signal becomes high).
This value represents the number internal clock ticks.
5.
Select
TimerTriggerSource
and select
TriggerInput
to configure an external trigger input.
6.
Select
TimerTriggerActivation
and select
RisingEdge
to configure the timer to trigger on the
external input’s rising edge.
7.
Select
TimerGranularityFactor
and select
Granularity30p72us
to configure the interval of the
timer's internal clock tick.
8.
In the
SignalRouting
section, select one of the available equations, for example,
PlcEquation0
, and
enter the following Boolean equation:
GpioOut0 = PlcCtrl0
.
9.
In the
SignalRouting
section, select another of the available equations, for example,
PlcEquation1
,
and enter the following Boolean equation:
Timer0Trig = PlcCtrl0
.
10.
Click
PlcEquationApply
to apply the equations.
11.
In the
ControlBits
section of the
Plc
category, select one of the inputs from the
PlcCtrlSelector
list,
for example,
PlcCtrl0.
12.
In the
PlcCtrlValue
list, click
True
to set the signal state to high, or
False
to set the signal state to
low.
When
PlcCtrl0
is set to
True
from a
False
setting,
Timer0
emits a single pulse. The low signal state
is emitted first. Subsequent changes to
PlcCtrl0
are ignored until the single pulse is complete.
Summary of Contents for iPORT CL-Ten
Page 8: ...4 iPORT Advanced Features User Guide...
Page 12: ...8 iPORT Advanced Features User Guide...
Page 38: ...34 iPORT Advanced Features User Guide...
Page 52: ...48 iPORT Advanced Features User Guide 6 In the ChunkSelector list select PixelBusMetadata...
Page 55: ...51 Extended Chunk Mode Support 3 In the ChunkEnable list click True...
Page 56: ...52 iPORT Advanced Features User Guide...
Page 72: ......