56
iPORT Advanced Features User Guide
Controlling the Advanced Features from the Computer
The following procedure demonstrates how you can control the PLC and other advanced features from
a computer, connected to the video interface, using the control bits that make up the remote control
block.
To control the PLC remotely
1.
Connect the hardware as shown in the
2.
Start eBUS Player and connect to the video interface.
3.
Connect the voltage indicator or LED assembly to the pin on the circular connector that
corresponds to
GpioOut0
signal on your video interface.
4.
Under
Parameters and Controls,
click
Device control
.
5.
Click
Guru
in the
Visibility
list.
6.
In the
SignalRouting
section, select one of the available equations, for example,
PlcEquation0
, and
enter the following Boolean equation:
GpioOut0 = PlcCtrl0
.
7.
Click
PlcEquationApply
to apply the equation.
8.
In the
ControlBits
section of the
Plc
category, select one of the inputs from the
PlcCtrlSelector
list,
for example,
PlcCtrl0
.
9.
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
, the output on
GpioOut0
shows a high value on the voltmeter or
oscilloscope, and when set to
False
, it shows a low value.
Using the Timer Feature to add a Pulse to a Signal
The following procedure demonstrates how you can configure the timer to output a continuous 1 Hz
pulse that is high for 0.25 s and low for 0.75 s.
To configure the timer feature to add a pulse to a 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
8138
to set the length of time that the state of the pulse is
high.
This value represents the number of internal clock ticks.
4.
Select
TimerDelayRaw
and enter
24414
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
Continuous
to set an internal triggering source for the timer
and automatically trigger again after emitting the pulse.
6.
Select
TimerGranularityFactor
and select
Granularity30p72us
to set the interval of the timer's
internal clock tick.
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: ......