You are on page 1of 26

The manual in the controller

Setting of the web server

Manual

Internet-Browser
Manual

Ethernet – TCP/IP connection

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 1


Topics
• Setting of the web server in FST 4.0
• Download of HTML-documents to the controller
• Calling of HTML-documents via PC and Internet browser

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 2


• Setting of the web server in FST 4.0
• Download of HTML-documents to the controller
• Calling of HTML-documents via PC and Internet browser

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 3


Setting of the web server in FST 4.0
• Generate the following FST example project

• Open your FST 4.0 program.


• Select „Project/New“.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 4


Setting of the web server in FST 4.0
• Generate the following FST example project

• Fill in an eight-digit name (e.g. HTML)in the


window „New Project“. Approve this with OK.
• Please select under „Controller“ either FEC
Standard or FEC Compact in the following
window.
• Fill in an adequate comment under „Comment“
and finally approve this with OK.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 5


Setting of the web server in FST 4.0
• Generate the following FST example project

• In the Project Tree you have to click on


„Programs“ using the right mouse button.
• In the following window click on „Insert
Program“.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 6


Setting of the web server in FST 4.0
• Generate the following FST example project

• Let all settings in the next window unchanged


and approve with OK.

Type: Program
Number: 0
Version: 1
Comment: No Comment

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 7


Setting of the web server in FST 4.0
• Generate the following FST example project

• Fill in the following example in the program window.

"" -----------------------------------------------------------------
"" | Demo-project |
"" | Demo for communication over TCP/IP with webserver |
"" -----------------------------------------------------------------

STEP Loop
"" The project
IF NOP
THEN JMP TO Loop

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 8


Setting of the web server in FST 4.0
• Adding of the according drivers

• Open another menu window in the Project Tree


via double-click on „Driver Configuration“.

• Pressing the right mouse button in the menu


window opens another choice. Click on „Insert
Driver“ here.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 9


Setting of the web server in FST 4.0
• Adding of the according drivers

• Select the driver „TCPIPFC2“. Approve your


choice with OK.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 10


Setting of the web server in FST 4.0
• Adding of the according drivers

• Configuration of the driver „TCPIPFEC“ or


„TCPIPFC2“
- Don‘t change the setting under „IPC drive“
(default=b).
- Fill in the number „192.168.0.100“ in „IP
address“ -> SEE NOTE!
- Fill in the number „255.255.255.0“ in „IP
netmask“.
- Don‘t change the setting under „IP address
gateway“ (default = 0.0.0.0).
- Approve with OK.
Note
If you use your controller in your house network please inform your system administrator. He can help you
accordingly and gives you another IP address if it is necessary.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 11


Setting of the web server in FST 4.0
• Adding of the according drivers

• Repeat the driver choice in order to insert


the driver for the web server. For this you
have to select the driver „ WEB_SRVR“.

• Memorise your project and close FST 4.0.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 12


• Setting of the web server in FST 4.0
• Download of HTML-documents to the controller
• Calling of HTML-documents via PC and Internet browser

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 13


Download of HTML-documents to the controller
• Project upload
• Open your newly generated FST project.

• Download your project to the controller


using the programming cable SM14.

COM - Interface

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 14


Download of HTML-documents to the controller
• File-transfer tool
• Open the file-transfer tool. For this select
„Online/File Transfer“.
F Pay attention: Your controller still has

to be connected to the PC.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 15


Download of HTML-documents to the controller
• File-transfer tool
• In the next window you have to click on the
left selection field and choose „B:\“.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 16


Download of HTML-documents to the controller
• File-transfer tool
• Now click on the blue dart pointing
downwards to download the HTML-file.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 17


Download of HTML-documents to the controller
• File-transfer tool
• Select your „main.htm“ in the following
menu.
Approve this with „Open“.

- Your HTML-file is copied on the controller.

• Retry this for all files that you can see at


the picture on the right side

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 18


• Setting of the web server in FST 4.0
• Download of HTML-documents to the controller
• Calling of HTML-documents via PC and Internet browser

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 19


Calling of HTML-documents via PC and Internet browser
• Connect PC with Ethernet
(first possibility)

• Connect your PC with the FEC via an


Ethernet cable.

TP - Interface
- A direct connection can only be made
via a crossover cable (see picture).

Note
If you use your controller in your house
network please inform your system
administrator. He can help you accordingly.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 20


Calling of HTML-documents via PC and Internet browser
• Connect PC with Ethernet
(second possibility) HUB

• Connect your PC with the FEC via an


Ethernet cable.

- An indirect connection can only be


made via a HUB and a patch-cable
(see picture).

Note
If you use your controller in your house network please inform your system
administrator. He can help you accordingly.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 21


Calling of HTML-documents via PC and Internet browser
• Setting your PC
• To be able to access your controller you have
to set your PC accordingly.

• Select „Start/Settings/System Control“. Click


on „Network“ in this window. Here you can
configurate your LAN connection (LAN=Local
Area Network).

• Fill in the IP address „192.168.0.115“ and the


netmask address „255.255.255.0“.

Note
If you have any problems with this ask your system administrator. He surely can help you.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 22


Calling of HTML-documents via PC and Internet browser
• Calling of the HTML-document from the controller
• Open your Internet browser.
F Deactivate the Proxyserver in the Internet Your HTML Page
browser settings
• Fill in the IP number„192.168.0.100“ in the filed
„address“.
• Approve this with Enter.

• Your HTML page should be displayed from the


controller.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 23


Calling of HTML-documents via PC and Internet browser
• Calling of the demo page from the controller
• Open your Internet browser.
• Fill in „192.168.0.100/index.htm“ in the field
„address“.
• Approve this with Enter.

• The controller‘s demo pages which are


automatically contained in the driver „WEB-
SRVR“ should be displayed.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 24


Further information
• You can get further information and programs under the following addresses:
• www.evrsoft.com
HTML-editor (Freeware).

• www.macromedia.com/software/dreamweaver/
Professional graphic HTML-editor.

• selfhtml.teamone.de
„selfhtml“ is a good Website to learn more about HTML.

• www.w3c.org
W3C is the world wide web consortium.

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 25


Contact us
Festo AG & Co
Esslingen

www.festo.com

Author:
Kai Windhausen

OC-M/K.Windhausen The manual in the PLC GB / 10/2002 10.01.2003 26

You might also like