FOX3-2G/3G/4G/-4G-PROMOTION-KIT Getting Started
Version 1.0.7
This confidential document is a property of FALCOM GmbH and may not be copied or circulated without previous permission.
Page 14 of 25
Item
Description
Testing IOs as digital
inputs:
When the reference IO (e.g: IO/1) is configured as digital input with "
$PFAL,IO0.Config=DI,2,10
", the
FOX3-2G/3G/4G device will generate a rising edge event "IO.e0=redge" and set the state of the IO/1
to high "IO.s0=high", if:
•
the position of the IO/1-Switch changes from "
Digital IN - Low"
to "
Digital IN - High".
and will generate a falling edge event "IO.e0=fedge" and sets its state to low "IO.s0=low", if:
•
the position of the IO/1-Switch changes from "
Digital IN - High"
to "
Digital IN -Low".
Testing IOs as analogue
inputs:
When the reference IO (e.g: IO/1) is configured as analogue input with "
$PFAL,IO0.Config=AI,2,10
,
you have to calibrate first this IO the low and high voltages. To do it, perform the following steps (e.g.
IO/1):
1.
Switch the IO/1-Switch (IO/1) to "
Digital IN - Low
" position
.
2.
Send the command “
$PFAL,IO0.Calibrate,offset=0
" from the Workbench
Editor
➒
(see
Fig. 8) to FOX3-2G/3G/4G
.
3.
Switch the IO/1-Switch (IO/1) to
"Digital IN - High
" position
.
4.
Send the command “
$PFAL,IO0.Calibrate,gain=15
" from the Workbench
Editor
➒
(see Fig.
8) to FOX3-2G/3G/4G
.
5.
Switch the IO/1-Switch (IO/1) to
"Digital OUT / analogue IN
" position. This position has a
fixed voltage of approx. 6V.
Now, you can configure an alarm (e.g.
$PFAL,CNF.Set,AL31=Sys.Timer.e0&IO.s0>6.0:IO6.Set=high
) to
switch on an LED (e.g. IO/3) when the voltage on the IO/3 is higher than e.g. 5.0 V. To test it,
perform the steps below:
6.
Send the configuration
"
$PFAL,CNF.Set,AL31=Sys.Timer.e0&IO.s2>5.0:IO13.Set=hpulse,5000
" from the
Workbench
Editor
➒
(see Fig. 8) to FOX3-2G/3G/4G
.
7.
Switch the IO/1-Switch (IO/1) to
"Digital OUT / analogue IN
" position
.
8.
Send the command
"$PFAL,Sys.Timer0.Start=single,1000
" from the Workbench
Editor
➒
(see Fig. 8) to FOX3-2G/3G/4G
After the timer expires (1 second has passed), the red LED on the FOX3-2G/3G/4G (front side, next
to the 6pin accessory port) goes ON for 5 seconds and then turns OFF.
For more details about the
LED on the FOX3-2G/3G/4G, refer to the Related Documents
Testing IOs as digital
outputs:
When the reference IO (e.g: IO/1) is supposed to be used as digital output, there is no configuration
to be done in the firmware. To test it, perform the steps below:
1.
Remove the available configuration for the IO/1 with "
$PFAL,IO0.Config="
2.
Switch the IO/1-Switch to the
"Digital OUT / analogue IN"
position
3.
Send the command "
$PFAL,IO4.Set=high
" to set it to High
4.
Send the command "
$PFAL,IO5.Set=low
" to set it to Low
Table 5:
Components on the top panel of the control-box and their functionality
4.3
Rear panel overview
Figure 12:
Rear panel of the control-box.
A description of each of the items on the rear panel is provided in Table 6.
Item
Description
Serial port 0
Via your own RS-232 cable you can connect the PROMOTION-KIT to a PC and evaluate the connected FOX3-
2G/3G/4G device.
Table 6:
Item description on the rear panel of the control-box.