Cytech CWM02 User manual

33
Uploadin
g
Files to CWM ........................................
31
Designing Steps ...............................................
30
Status List ..................................................
30
View Tab ....................................................
30
Property Box ................................................
29
Applet Tree .................................................
27
Element Toolbox ............................................
27
Toolbar .....................................................
26
Main Menu ..................................................
26
CWM Applet
Desi
g
ner Software .................................
26
Section 4 Programming ...................................
12
Configuration ...............................................
12
Connecting CWM to the Network .............................
12
Section 3 ....................................................
11
Broadband Internet with Route
r
.................................
10
Broadband Internet via PC Gateway .............................
9
Connections ....................................................
9
Section 2 Connecting the cwm ...........................
6
Java Virtual Machine (JVM) ....................................
6
UCM ID Switch ...............................................
5
ICs ..........................................................
5
LED Indicators ...............................................
5
Button .......................................................
5
Jumper Settings ..............................................
5
Connections ..................................................
5
Accessories ..................................................
5
Setup ..........................................................
4
Operating Environment .......................................
4
Supported Protocols ..........................................
4
Browser Requirements ........................................
4
Operating Systems ...........................................
4
System Requirements ........................................
4
Specifications ................................................
4
Features .....................................................
3
Introduction ....................................................
3
Section 1 Overview and specifications ..................
Comfort Webserver Module CWM02
1

63
Important Note ..............................................
62
Document Revision History ..................................
62
Firmware History ............................................
61
TCP pass-through port does not work .........................
61
Password lost ...............................................
61
CWM files have been corrupted ...............................
61
IP address lost ..............................................
60
Web page does not appear ...................................
60
Login window is cleared after entering code ...................
60
Login windows does not appear ...............................
60
Common Problems .............................................
60
Section 6 Troubleshooting ...............................
59
Comfort Programming .......................................
59
Section 5 Programming comfort .........................
56
Image Library ...............................................
56
Display of X,Y Coordinates ...................................
52
A More Complex Example ....................................
49
Sample Program ............................................
37
Programming Elements ......................................
37
HTML Programming ............................................
36
TCP/IP Pass-through Port .......................................
34
FTP via FTP Client ...........................................
34
FTP via Browser .............................................
Comfort Webserver Module CWM02
2

SECTION 1 OVERVIEW AND SPECIFICATIONS
Introduction
Fig 1.1 - CWM02
Figure 1.2 - Typical CWM User Design
The Comfort Web Server Module CWM02 is an add-on module which allows
Comfort to be connected to a Local Area Network as well as to the Internet so
that a browser can be used to view web pages in Comfort. The embedded web
server software is built-in allowing web pages representing a home, office or
factory layout with alarm points and appliances to be displayed on a browser.
The activation of motion detectors as well as opening and closing of doors and
windows is shown on the screen as they occur. The state of connected
appliances and lights is also represented. Clicking on a light or appliance will
change the state of the device (off to on and vice versa), and the change in
state is updated as it occurs. The security system can also be armed to any
mode (Away, Night, Day or Vacation) or disarmed by the click of a button. Any
alarm activation will be shown in a message box or as a flashing icon. A
network camera server on the local area network can be linked to the web
server to view the premises on the Internet.
Comfort Webserver Module CWM02
3

The web page can be customized by anyone with knowledge of HTML, but a
design tool, the CWM Designer with drag and drop functionality is also provided
to facilitate the design of the webpages and elements. Several sample files and
graphic images are provided as a reference to jump start the application.
Connection to the Internet can be via a PC or router on the local area network
that has a permanent connection to the Internet (ISDN, ADSL, cable modem or
leased line), this can be used as a gateway for Internet access.
Features
yBuilt-in Web Server with Linux Operating System
yNetwork Interface (RJ45 connector) 100 MB/sec
yPort mapping to allow camera servers to be accessed from same IP address
(maximum of 10 ports)
yCompact Flash memory 1 GB for operating system, software and web
pages. Approximately 600 MB is used by the operating system, 400 MB
available for web page design and graphics
yInternal RAM 256 MB
ySample graphic image files and designs provided in CWM.
yAccess by computer through the internet or through a local network
Specifications
yDimensions: 155 x 102 x 42 mm
yWeight: 700 g
yPower supply: 5V DC 1.6A from adapter (supplied), 100-240V AC input
System Requirements
yComfort II firmware 5.145 and above
Operating Systems
yWindows 98, Windows 2000, Windows NT, Windows XP, Windows Vista
yWindows Millennium Edition requires Sun Java Virtual Machine
Browser Requirements
yInternet Explorer 5.0 or later
yNetscape 6 and above
yOpera Browser 7.0 and above with Java
yMozilla Firefox 1.0 and above
yChrome 5.0 and above
Supported Protocols
yTCP/IP, HTTP, FTP, PPP
Operating Environment
y5 to 40 deg C
y10% to 90% relative humidity non-condensing
Comfort Webserver Module CWM02
4

Setup
Accessories
yPower Supply Adapter (100 to 240 VAC in, 5V DC, 1.6A out)
y“Crossover” Type Network Cable
y4-way terminal block
yFour rubber foot pads
Connections
yKA, KB, 0V, 5V connector. KA,KB connected to KA/KB on Comfort. 0V
connected to black wire, 5V connected to black-white wire of supplied
power supply adapter.
yRJ45 connector. For 10BaseT Ethernet connection.
Jumper Settings
ySW7 – set according to the ID of the UCM, default ID=2 (see “UCM ID
Switch” settings).
Button
yReset button. This button reinitializes the connection from CWM to Comfort.
It does not change any parameters in the CWM.
LED Indicators
yD1 (Green) RDY should be on at all times when powered up
yD9 (Red) RS485 Transmit to Comfort
yD10 (Green) RS485 Receive from Comfort
yD15 (Green) 100T from Network
yD16 (Orange) Activity should be flashing
yD17 (Green) Link from Network
yD5 (Green) RS232 Receive from Network
yD6 (Red) RS232 Transmit to Network
yD2, D3, D4 (Red) NOT used
ICs
yU1 – Microcontroller IC. Label indicates the firmware version number “CWM
5.128” or a higer version.
yU2 – RS485 Interface to Comfort
Comfort Webserver Module CWM02
5

UCM ID Switch
Comfort is able to support up to 8 UCMs. SW7 is a set of 3 headers which is used
to determine the ID, in accordance to the table below:
Table 1: ID Settings
OpenOpenOpen8 OpenOpenShort7 OpenShortOpen6 OpenShortShort5 ShortOpenOpen4 ShortOpenShort3 ShortShortOpen2 ShortShortShort1 SW7-CSW7-BSW7-AID
By convention, UCM ID = 1 is used for writing/reading configuration file. The
CWM should be set to ID 2 or above so that any communication failure can be
reported by Comfort.
Press RESET (SW1) after changing the ID settings.
The number of UCMs in Comfigurator should be set to the highest UCM number
of the system including the CWM. This is the same as programming Location
1672, according to the number of UCMs and CWM connected. Press reset on
Comfort after changing the number of UCMs.
Configuring CWM with Comfigurator 3
In the Modules tab right-click on UCM. For Comfort Firmware >= 5.164 and
UCM05 firmware >= 5.178 select SCAN for UCMs. Enter your user code in the
login box. The Scan results are shown below (typical). The CWM should be
shown in the UCMs list.
If the Comfort or UCM firmware are lower than that required for the Scan
function right click the Modules Tab and select Add UCM. Select UCM Type on
the UCM Properties window as CWM.
Figure 1.3 - Typical Comfigurator Screen with CWM
Java Virtual Machine (JVM)
As CWM uses the Java technology to communicate with the browser, user’s
computer must have the Java Virtual Machine (JVM) installed. The most
common JVMs are the Microsoft Virtual Machine and the Sun JVM.
Microsoft does not supply its Java VM in their new products and does not allow
it to be downloaded from their Website because of legal problems with Sun
Microsystems. Hence it is preferable to use the Sun JVM.
To download the JVM, point the browser at http://www.java.com and click on
the Download Java link. This will install the Java Runtime Environment as well
as the Java plug-in. To see the JVM version in Mozilla Firefox, go to Tools menu
Comfort Webserver Module CWM02
6

and select Java Console.
Figure 1.4 - Java Console Screen
For JVM, the version should be 1.6.0_20 or above. To see the JVM version in
Internet Explorer, go to Tools -> Internet Options -> Advanced tab, scroll down
the list to Microsoft VM, or Java VM and check the box titled “Java Console
Enabled (requires Restart)”. It will prompt user to reboot the machine in order
for the setting to take effect. If an older JVM is used, the user may not be able
to control the CWM elements by clicking on the icons.
An incompatible JVM version is one of the main causes of failure to connect or
login for CWM. If the loading of the web page is extremely slow, try switching
the JVM. We have found that the web page loads faster using the SUN JVM in
some Windows XP machines. To change the Java VM in Internet Explorer
browser, select the Tools Menu > Internet Options > click the Advanced Tab. To
select the Sun JVM, check the “Java (Sun)” Box shown below. To use Microsoft
JVM, clear the Java (Sun) box.
Comfort Webserver Module CWM02
7

Figure 1.5 - Java VM Screen on IE
Comfort Webserver Module CWM02
8

SECTION 2 CONNECTING THE CWM
Connections
1 By default the ID of the CWM is set to 2. The ID can be changed by
opening the case and set the shunts on SW7 to the ID of the CWM
according to the table in the previous section. By convention, ID 1 is
reserved for UCM05 to write/read configuration file from Comfort as
Communications Failure is not reported for ID=1. Up to 8 UCMs of different
types (e.g. C-Bus, EIB) can be connected to the Comfort network.
2The
CWM is connected to Comfort via KA/KB from KA/KB green terminal
block to Comfort’s JP8 KA/KB.
3 Power is supplied to the CWM via supplied DC adapter to 0V/5V green
terminal block. 0V is connected to the black wire and 5V is connected to the
black-white wire of DC adapter.
4 The Green RDY led on the CWM should light up and remain on. The LEDs
485TX (red) and 485RX (green) should blink rapidly showing that RS485
communications has been established between Comfort and the CWM.
485RX (green) flashing shows that it is receiving communications from
Comfort (poll). 485TX (red) comes on when the UCM responds to a poll
from Comfort.
5 The following few pages illustrates how the CWM is to be connected
depending on the way that the CWM is to be linked to the internet, i.e.
whether it is via a PC as a gateway on a network or whether it is through a
router.
6 Important Note: Always connect the network cable to the CWM
RJ45 socket before connecting power to the CWM. If the CWM is
powered on before the Network is connected, its network driver
will not be loaded and the network connection will not work.
Comfort Webserver Module CWM02
9

Broadband Internet via PC Gateway
Figure 2.1 - Broadband Internet via PC Gateway
In this configuration, an ADSL or cable modem is connected directly to a PC. This
gateway PC and CWM as well as other computers and devices are connected to a
hub or switch. In order for the devices on the network to share the Internet
connection, the gateway PC must run a software router like Winroute Pro. The
software router must be set up to allow port forwarding to the CWM and network
camera(s) which are to be accessed from the Internet. The gateway must also
run a DNS update software to work with a dynamic DNS redirection service like
no-ip.com. This can also be done using Cytech’s Dynamic IP system (see
“Dynamic IP Setup”). The gateway must always be on to allow Internet access. It
is recommended that the gateway PC be a dedicated machine for this function.
Comfort Webserver Module CWM02
10

Broadband Internet with Router
Figure 2.2 - Broadband Internet with Router
In this configuration, an ADSL or cable modem is used for Internet connectivity
and a router is used to allow the other computers and CWM to share the Internet
connection. The router must be set up for port mapping or forwarding for the
CWM and network cameras which are to be accessed from the Internet. All the
network devices are connected to a switch or hub. In order to provide the
dynamic IP address to the remote browser, one of the PCs on the network must
run DNS update software to work with a dynamic DNS redirection service like
no-ip.com or run on Cytech’s Dynamic IP system (See “Dynamic IP Setup”).
Comfort Webserver Module CWM02
11

SECTION 3
This section shows how to configure the CWM to change the IP address and
specify how to connect to the Internet.
Connecting CWM to the Network
In order to set up the CWM, it is necessary to connect a computer with a
network card to the CWM on the Local Area Network (LAN) using the TCP/IP
protocol. This can be done by connecting a crossover CAT5 cable directly
between the computer and CWM or by connecting the CWM to the network via
a hub or switch using a parallel CAT5 cable.
NOTE: Always connect the network cable to the CWM RJ45 socket
before connecting power to the CWM. If the CWM is powered on before
the Network is connected, its network drivers will not be loaded and
the network connection will NOT work.
Configuration
The CWM is set by default to the IP address 10.0.0.16. Should the IP address
be amended and forgotten, proceed on to the section “Running CwmSetup”. To
set up the CWM, open up the web browser with the following address:
https://10.0.0.16/admin.htm
Note that this address is only for the default IP address 10.0.0.16 with Port
443. For other IP addresses, please access the admin page via the format:
https://(IPaddress):(PortNumber)/admin.htm
This should bring up the following screen:
Figure 3.1 - Admin Page of a CWM
Select “Module Setup” to continue, which will bring up the screen shown in
“Module Setup”.
Running CwmSetup
Comfort Webserver Module CWM02
12

CwmSetup.exe is a Windows program which discovers the IP address of the
CWM and allows a new IP Address to be assigned. It can be downloaded from
Cytech website at:
http://www.cytech.biz/software.html
It also launches the browser-based configuration program which sets up other
parameters like the Webserver port, Internet connection method, DNS and
gateway addresses, FTP addresses etc.
The CwmSetup program screen is shown below:
Figure 3.2 - CWM Setup Screen
The program identifies the MAC address and IP Address of the CWMs on the
local network. The button “Change IP Address” allows the selected CWM IP
address to be changed from the default 10.0.0.16. Change the IP address so
that it is on the same subnet as the computer used to configure the CWM. For
example, if the computer IP address is 192.168.0.1 and the subnet mask is
255.255.255.0, then the CWM can be set to any IP address from 192.168.0.2
(as not to clash with computer’s IP) to 192.168.0.254 to be on the same
subnet.
Click on “Configure” to continue to configure the CWM. This opens a series of
browser-based screens. The Comfort Web Module Administration page will first
open.
Comfort Webserver Module CWM02
13

Figure 3.3 - CWM Admin Page
Click on “Module Setup” and the following screen will appear:
“Welcome to CWM Configuration Wizard
Click Next to continue”
Module Setup
Before clicking on Next, please ensure that Engineer Sign In option is enabled
(by pressing F0 on the keypad). The next screen shown below will ask for the
user name and password to access the screen.
Figure 3.4 - Authentication Screen in CWM
Both the default User Name and Password are “admin”. The password can be
changed later.
If the Engineer Sign In option has not been enabled, the following screen will
be loaded after signing in.
Figure 3.5 - System Configuration Disabled Screen
Comfort Webserver Module CWM02
14

When the correct User Name and Password has been entered, the following
screen will appear:
Figure 3.6 - IP Address Page
With the correct login, the Local IP address and Net mask are displayed, and
can be changed if required depending on the network in which the CWM is
connected.
The Secure web server port is the port on the CWM for the web server. This is
443.
The Pass-through Port (default 10001) is another port on which the UCM
(Universal Communications Module) can be accessed via TCP/IP over the
network rather than by RS232, as with a regular UCM. This can be used for
remote upload and download configuration file with the Comfigurator software
tool. Comfort I firmware Outside 4.200 and above and CWM 5.052 and above
are required to support this feature.
NOTE: Port 80 must NOT be used for pass-through port, as it may cause
the webserver to be inaccessible!
Proxy can also be set from this page if needed.
The CWM is to be connected to the LAN via the Ethernet port and will access
the Internet through a gateway (router or PC) on the network (as shown in the
previous section). Press Next to continue to the next screen.
If the CWM is to be accessed from the Local network only and not to be
connected to the Internet, skip the LAN configuration and Renew screens and
go to the FTP Server page.
Press Next button to go to the next screen when completed.
For LAN connection the screen will be as shown in the following figure;
Comfort Webserver Module CWM02
15

Figure 3.7 - LAN Configuration Page
The above screen specifies the gateway IP address of a router or PC on the
network which provides Internet access. The Name Servers fields are the
servers on the Internet which provide the Domain Name Service for the
Internet connection. Refer to Internet Service Provider or FTP host for the IP
addresses of these servers. Click on “Next” to continue.
Figure 3.8 Save Configuration Page
After setting the gateway IP, click on Finish to save the configuration. Should
any other amendments be required, use the Back button to go back to any of
the previous pages to make the necessary changes. To quit without saving,
click on Cancel.
Do NOT press the BACK or CANCEL keys or perform any other
operation while saving the configuration as this may corrupt the files
causing the CWM to be inaccessible. If this happens refer to the
Troubleshooting section
Comfort Webserver Module CWM02
16

Figure 3.9 Configuration Status Page
After saving the changes, click on reset on the screen to reset the CWM. It will
probably take a few minutes before the CWM is initialized. A good way of
verifying that the CWM is initialized is by running CwmSetup and seeing
whether it can be detected.
Dynamic IP Setup
Most Internet connections will have a dynamic IP address, i.e. an IP
address assigned by the Internet Service Provider (ISP) will change from
time to time. For ADSL, some plans include a fixed IP address, usually
for companies running their own web server. For plans which involve
dynamic IP address, the IP address may not change for some time,
sometimes every few days. Cable modem connections usually involve
dynamic IP addresses. To access CWM from a remote browser on the
Internet, the IP address of the system must be known. For fixed IP
addresses, just type in the IP address or URL (and optionally port
number if not 443). For dynamic IP addresses, there are 3 methods of
getting the dynamic IP address of the CWM i.e. using Cytech
Technology’s Dynamic IP redirection system, using FTP to send the
current IP address to the user own web page or using a dynamic DNS
redirection service like: www.no-ip.com. Use of other Dynamic IP
Redirection services is not within the scope of this manual.
Ensure that the Engineer Sign In Option is enabled (by pressing F0 on the
keypad). If the CWM has been reset, the Engineer Sign In Option has to be
enabled again to broadcast to the CWM.
To configure Dynamic IP setup, go to the CWM setup page, i.e.
https://(IPaddress):(PortNumber)/admin.htm
And select Dynamic IP Setup.
Comfort Webserver Module CWM02
17

Figure 3.10 - Renew Period Page
The Renew Period gives the time interval for CWM to refresh the dynamic IP
address for the connection to the remote web page.
In order to use Cytech’s IP redirection system, check the box in the above
screen.
Cytech’s dynamic IP redirection service is hosted on the company’s web server.
The user registers with a username and password on the setup screen. CWM
will send its IP address periodically to the allocated space on the website. To
access the CWM from any browser on the internet point the browser to the
URL:
https://www.cytech-technology.com/dynip/username.php
where “username” is the user name which is entered in the Dynamic IP setup
page. The browser will be redirected to the actual IP address of the CWM. Note
that the Cytech web site does not host the users CWM pages or gather any
information about the CWM other than its IP address. However it must be noted
that anyone who enters the same URL will be redirected to the CWM at the IP
address. Anyone who has inadvertently or deliberately reached the CWM IP
address must know the User code of the Comfort system in order to sign in. If
there are 6 unsuccessful attempts to sign in on the CWM web page (also applies
to keypad or telephone), the Sign In Tamper Alarm will be activated which will
lock out further attempts.
Comfort Webserver Module CWM02
18

Figure 3.11 - FTP Server Page
For those using Cytech’s dynamic IP system, all that needed is for the user to
register with a user name and password. The email address field is for the
server to send information to user should something goes wrong. The link to
the CWM will be set as:
https://www.cytech-technology.com/dynip/username.php
For those not using Cytech’s dynamic IP redirection system, do not check the
box in the previous screen. In this case, the user will have to specify an FTP
address to which the CWM can upload the IP address. This also allows a URL
address e.g. www.userpage.come/home.html set up by user, to host the IP
address redirection, without relying on Cytech’s web server.
The FTP Server screen will ask for the address of the FTP server, as well as the
user name and password for logging in. All these information are normally
obtainable from the provider of the web space.
The FTP server directory is the path within the FTP server to send the dynamic
IP address. This is often “public_html” or “/”. This information should be
available from user’s ISP or FTP host.
Press Next to continue.
Comfort Webserver Module CWM02
19

Figure 3.12 - Save Configuration Page
Click Finish to save the configuration.
Figure 3.13 - Configuration Status Page
This shows that the configuration has been saved. Press the Reset link on the
screen to reboot CWM. It is not necessary to switch the power off and on as in
previous versions.
Upgrading the CWM Software
To help facilitate the updating of the CWM, an online updating mechanism has
been set up. To upgrade the CWM, please ensure that it is online. Then, simply
click on the link in https://(IPaddress):(PortNumber)/admin.htm and the CWM
should be updated accordingly.
Changing Password
Here, the Engineer Sign In Option has to be enabled again (by pressing F, 0 on
keypad). It is also needed to enabled again if the CWM has been reset.
Selecting this option allows the Password to be changed. This will replace the
existing password. However, note that the user name will still be maintained as
“admin”.
Comfort Webserver Module CWM02
20
Table of contents
Popular Server manuals by other brands

Lenovo
Lenovo ThinkSystem SR250 Setup guide

Sun Microsystems
Sun Microsystems Fire V210 installation guide

Dell
Dell PowerEdge R805 System Getting started with

Aquarius Soft
Aquarius Soft Server BePunctual user manual

Cisco
Cisco UCS Invicta C3124SA Upgrade Procedure

HPE
HPE ProLiant DL580 Gen9 Maintenance and service guide

HP
HP P5389A - Intel Pentium III-S 1.4 GHz Processor... installation guide

Dell
Dell PowerEdge M605 Hardware owner's manual

HP
HP ProLiant DL160 Gen9 Maintenance and service guide

Bull
Bull NovaScale R440 F2 Getting Started With Your System

Asus
Asus RS520-E6 - 0 MB RAM user guide

Axel
Axel AX3000/M85 installation guide