Guard_Software_User_Guide4
Guard_Software_User_Guide4
October 2022
CONTENTS CONTENTS
Contents
1 Introduction 2
1.1 K307 (Anikom) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 UDS1100 (Lantronix) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 LR307USB relays unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 LR307USB status check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Installation 5
2.1 Running for the first time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Login as Superuser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Main Window 6
3.1 Main Window Look . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4 Users 7
4.1 Users Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Configure 8
5.1 Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.2 Configure Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5.3 Edit Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.4 E-mail Configure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5.5 E-mail Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.6 Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
6 Settings 12
6.1 Remotely Settings the Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.2 Read signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
7 History 14
7.1 View History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
8 The K307 15
8.1 Wiring with K307 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
8.2 Start up the K307 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
9 UDS1100 17
9.1 UDS1100 settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.2 UDS1100 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
9.3 UDS1100 wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
12 Contact 23
1
1 INTRODUCTION
1 Introduction
The Perimeter Guard AN307 Software is used for connecting several AN307COM devices with the in-
tegrated system. AN307COM devices are connected to the system using the two wire standard RS485.
Currently there are two ways to terminate RS485 communication: with the K307 device (manufactured
by Anikom) or with the UDS1100 device(s) (manufactured by Lantronix). If the RS485 communica-
tion can be brought close to the PC computer, where the Guard Software is running, then K307 can be
used. In case the RS485 can not be directly brought to the PC computer, one or several UDS1100 can
be used.
This manual describes the installation and configuration of the software in detail. The recommen-
dations for the power supply and the RS485 communication wiring are also described. Finally, the
usage of the SDK is described.
2
1.2 UDS1100 (Lantronix) 1 INTRODUCTION
3
1.3 LR307USB relays unit 1 INTRODUCTION
The text at each relay terminal describes which events are outlined by the relay.
The maximum current through the relays can be 120 mA. Therefore, LR307USB is suitable for
connecting the alarm panels or some other devices, whose signals have low current.
4
2 INSTALLATION
2 Installation
First, the FTDI D2XX driver must be installed.
The driver should be downloaded from https://ftdichip.com/drivers/d2xx-drivers. For Windows,
the driver should be in zip form (for example CDM212364 Setup.zip). Unzip it and run the installation.
The perimeter Guard AN307 Software can be installed by a run of the Setup Guard AN307.exe
program. The setup procedure is standardized, like most setup programs (see Figure 5).
The default installation directory is c:\Perimeter Guard AN307. You can choose the installation
directory, but it is recommended to leave directory as it is. The main files which are installed are
guard.exe (execution program) and guard.ini (configuration settings).
The program can be started from Start/Perimeter Guard AN307/Perimeter Guard AN307.
5
2.2 Login as Superuser 3 MAIN WINDOW
Figure 7: Log In
3 Main Window
3.1 Main Window Look
The main window of the software can be seen in Figure 8. The left upper field of the main window
shows the ground plan of the object with lines (which represents fences).
The lines are color-coded and represent the status of the fence. Colors are described in the legend.
The status shows the current status of the fences. If the fence is in normal mode (no alarm, everything
is OK), the status window is empty. In History, there are the last few events. The number of events
shown can be adjusted in Preferences (see Figure 10).
The status window shows the current highest status (priority is defined in the Legend window - the
one on top has the highest priority). The Clock window shows current date and time. It is updated each
second.
6
4 USERS
4 Users
4.1 Users Settings
Only the superuser can use settings of users. The Users Settings dialog is reached from Users/Users
Settings.
In this table the users and their permissions are set (see Figure 9).
The permissions for nouser can also be defined. This can be done if nouser is written in the User
and Password field (see Figure 9). In this row, the permissions for the nouser can be set.
7
5 CONFIGURE
5 Configure
5.1 Preferences
The preferences dialog can be
reached by the superuser and those
users who have the permission for this
task.
The preferences dialog is reached
from Configure/Preferences. In the
Preferences dialog some parameters
can be set (see Figure 10). At
the top, one can choose the Con-
necting Device. Currently, there are
two options: through the serial port
connection (K307 or 2xUDS1100)
and through the Ethernet connection
(Multi UDS1100). If the first (K307)
or second (2xUDS1100) option is cho-
sen, the serial port should be selected.
If the third option (2xUDS1100) is
chosen, the UDP port should be writ-
ten.
The History Event Size on Main
Window is a number of recent events,
that are shown in the History window.
The sounds for main alarm and for
other alarms can be chosen. Currently,
wav files are supported. Background
picture can be select from the Ground
Plan Picture. JPG and GIF formats
are supported. Opacity of the picture
can be set by the opacity slider.
Figure 10: Preferences Thickness of lines on the map can
be set, the values are from 1 to 9.
The password for the superuser can be changed. Only the superuser can change this password. To
change it, type the same password twice.
If Allow nouser is checked, the so-called nouser is allowed.
If Exit program with a username and password is checked, the program can be exited only if
the username and password are typed again.
If Always on top is checked, the main program window always stays on top, regardless of mouse
focus. To achieve this, the program should be restarted after changing this option.
The Wind Save Period is a period in minutes of saving wind speed events to the history table.
The Relays Inactivity Duration is a period in which the onboard AN307COM relays remains
inactive, when the button Relays Off is pressed, regardless of alarms, which may occur in that period
of time.
The Sound Inactivity Duration is a period in which the PC alarm sound remains inactive, when
the button Sound Off is pressed, regardless of alarms, which may occur in that period of time.
The purpose of the SDK (Software Development Kit ) is to connect data from the Perimeter Guard
AN307 Software to other software packages. In this way other packages can safely use data without
fear of program collapse. The SDK is working through the network console and its functions can be
reached with a web browser (eg. http://localhost:8080/index.html).
8
5.2 Configure Devices 5 CONFIGURE
If the connection device is K307, the column UDS1100 IP has no relevance and can be left empty
(see Preferences and Figure 10).
If the Multi UDS1100 connection mode is used, the UDS1100 IP address should be written. The
IP address must be entered from UDS1100, which is connected to the desired AN307COM.
If only one UDS1100 is used for several AN307COM, the same UDS1100 IP should be written for
all devices.
In the LR307USB column, the address of the LR307USB should be set (possible values are from 1
to 8). The address of LR307USB device can be read on the label at the bottom of LR307USB device.
For each event (Alarm1, Sab1, Alarm2, Sab2, Box and Fault) a corresponding number of relay can be
set (possible values are from 1 to 24). Several events can be set to a single relay. The relay will open the
contact if some of those events occur (OR logic). If alarms or events don’t occur, relays are in normal
close (NC) state.
9
5.3 Edit Line 5 CONFIGURE
10
5.5 E-mail Text 5 CONFIGURE
5.6 Language
The language can be selected from this menu. After changing
this option and clicking the OK button, the program should immedi-
ately change to the desired language. Currently following languages
are available: English, Italian, Slovene, Chinese, French, Czech and
Spanish.
11
6 SETTINGS
6 Settings
6.1 Remotely Settings the Device
In the Devices Settings the parameters of the
AN307COM devices can be remotely changed.
The Devices Settings can be configured only if
the user has permission to do that (the superuser
can always do this).
The dialog for changing parameters can be
entered from Settings/Devices Settings. The dia-
log can be seen in Figure 16.
First, the desired device should be chosen.
The parameters are automatically read from the
device, when it is chosen. The parameters can
also be re-read by clicking the push-button Read
Device.
The new value can be now set by the rotat-
ing knob. When the value of the knob is different
than the value of the device, the knob is colored
red. When the values are set, click on the Write
Device button and the parameters will be sent to
the device. The default values are: 25 for Sen-
sitivity, 3 for Beat and 7 for Time Window, Use
Relays is off, Temp. Meas is on, Wind Adjust-
Figure 16: Devices Settings
ment is 1 and Algorithm is 3.
If Relays NC is checked, the two relays on
the AN307COM are in the NC (normal close) function. If Relays NC is unchecked, the relays are
in NO (normal open) function. Relays will be in function, when the alarm is triggered, the cable is
faulted, or the box is opened.
If Temp. Meas. is checked, the temperature is measured on the AN307COM board. At low tem-
peratures, sensitivity is automatically increased because the sensor cable is less sensitive to vibration.
If the Wind Adjust. is set from 1 to 15 and the windmill is connected, the sensitivity is automat-
ically reduced the wind blows. The higher is the wind sensitivity adjustment set, more is sensitivity
reduced. Set this parameter high enough so that false alarms do not occur when the wind blows. If no
windmill is connected or if the wind is not blows, this parameter has no effect.
Algorithm 0 is the least sensitive among the three algorithms and sensitivity should be set a bit
higher (start with sensitivity 60 or more). This is the basic algorithm (the same algorithm as in the
firmware version V2.16 or earlier).
Algorithm 1 is the same as Algorithm 0. The only difference is that it is more sensitive. Sensitivity
should be set lower a with Algorithm 0 (start with sensitivity 40).
Algorithm 2 is even more sensitive than Algorithm 1. It is also adaptable to periodic disturbances.
Start with sensitivity 25.
Algorithm 3 is similar as Algorithm 2 with the addition of the wind filter. The wind filter minimizes
false alarms because of the wind.
12
6.2 Read signal 6 SETTINGS
Curves are stored in the files in the buffer directory. The file name composes of the device address
(2 -255), fence input (1 or 2), and the time the file was created (yymmdd hhmmss, where yy is year,
mm is month, dd is day, hh is hour, mm is minute and ss is seconds of time of creation of the file). The
file has the suffix *.txt.
Previous curves can be observed with the Graph combo box, where all graph files are listed.
13
7 HISTORY
7 History
7.1 View History
All past events can be listed in the table (see Figure 18). History/View History lists all events in the
present month. The time period can be chosen with the combo box From: and To:. After selecting the
time period, Refresh button should be clicked to see the table.
View History can only be reached if the user has permission to do that (the superuser can always
see History).
14
8 THE K307
8 The K307
If the K307 is used, Connecting Device should be set to K307 (see Preferences). The K307 is
normally used when is possible to bring the RS485 wires next to the personal computer. The K307 is
used for connection of several AN307COM devices to the integrated system. The K307 is a converter
from the RS485 to the RS232 hardware protocol. RS485 is galvanically isolated from the rest of the
terminals ( RS232, the power supply and the relays output).
In additional, the K307 has the control function. There are two types of relay outputs in K307
board, the operating relay and the alarm relay. If everything is operating normally, the relays are in
the NC (normal close) position and the belonging LEDs turn green.
If the alarm is triggered, the sensor cable has fault, a tamper emerge, or any other error occurs
in any of the AN307COMs connected to the system, the alarm relay goes to open position and the
belonging LED turn red.
If there is an error in software, the operating relay goes to open position and the belonging LED
turns red.
This way, we have a visual and electrical control of the proper working of the system.
15
8.2 Start up the K307 8 THE K307
16
9 UDS1100
9 UDS1100
In this section the Multi UDS1100 mode is described. In Preferences, Connecting Device should
be set to Multi UDS1100. In this mode, one or several UDS1100(s) can be connected to the Perimeter
Guard AN307 Software through the Ethernet. Please don’t be confused by the word Multi - there can
be one or several UDS1100(s) used!
The 2-x UDS1100 mode is obsolete and is only left in the software for test purposes.
Please note that each UDS1100 has a static IP address. The personal computer, running the Perime-
ter Guard AN307 Software, must also has the static IP. This is done for security reasons. The data
packets sent through the Internet are UDP/IP and are routed regarding the IP addresses.
The Perimeter Guard AN307 Software sends the UDP/IP data packets, which have a destination IP
address of the UDS1100. The UDS1100 answers with the UDP/IP data packets, which have a destina-
tion IP address of the personal computer.
17
9.1 UDS1100 settings 9 UDS1100
The following settings should be used for the UDS1100 device (see Figure 20):
1. Network Settings
(a) IP Configuration
i. IP Address: unique IP address, this is IP from the UDS1100
ii. Sub-net Mask: 255.255.255.0 (or appropriate to your network)
iii. Default Gateway: 0.0.0.0
iv. DNS Server: 0.0.0.0
(b) Ethernet Configuration
i. Auto Negotiate: yes
2. Serial Settings
(a) Channel 1
i. Protocol: RS485-2 wire
ii. Flow control: None
iii. Baud Rate: 4800
iv. Data Bits: 8
v. Parity: None
vi. Stop Bits: 2
(b) Pack Control
i. Enable Packing: yes
ii. Idle Gap Time: 12 msec
iii. Send Frame Immediate: yes
iv. Match 2 Byte Sequence: no
v. Send Trilling Bytes:no
(c) Flush Mode
i. All set to: no
3. Connection Settings
18
9.2 UDS1100 block diagram 9 UDS1100
19
9.3 UDS1100 wiring 9 UDS1100
20
10 SDK (SOFTWARE DEVELOPMENT KIT)
The first line always says: AN307 perimeter wire fence system. The second line is the current
date and time. The following line shows the main status. If everything is OK, the main status is OK.
The status field is listed between first and second dashed line.
The last few history events are listed between the second and third dashed line. The number of
these events can be set in Configure/Preferences/History Event Size on Main Window (see Figure
10).
The data does not update automatically. To read through the data, click the Reload Current Page
on the browser. The User Software Package should work on the same principle. After each time the
data is refreshed, second line (with the current date and time) should be inspected.
21
10.2 SDK alarm handling 10 SDK (SOFTWARE DEVELOPMENT KIT)
22
12 CONTACT
12 Contact
MARS COMMERCE d.o.o.
Poslovna cona A 10
SI-4208 Šenčur
Tel.: +386 04 280 74 00
[email protected]
23