25
Sensoren für Ihren Erfolg
www.
wenglor
.com
Sensoren für Ihren Erfolg
www.
wenglor
.com
14.4.1 Direct data exchange
In the Ethernet the data from the RS-interface are represented unchanged via a TCP/IP connection.
14.4.2 MODBUS-TCP
The Modbus protocol is already available as Script for the serial interface for all Script gateways.
Now this additional function can be adjusted at the Fast Ethernet Gateway so that the Modbus data can be made available as
TCP-Modbus data packet on the Ethernet side.
(MODBUS-TCP).
For this purpose the channel that is used for this feature has to be set up as MODBUS-TCP channel in the Script.
For this function a running Modbus-Script is required.
14.4.3 E-mail
On occurrence of particular events it is possible to send an e-mail to certain subscribers of a mailserver. (The event is to be queried
from the Script.) In the data that are received by the serial interface or that are to be output at the serial interface certain characters
or character strings can be analyzed. On appearance of a particular sequence an e-mail that was prepared before and that was
written in the Script can be sent to one or several subscribers. For this purpose the e-mail is sent to a webserver.
This e-mail function is called up from the Script.
14.4.4 Server
14.4.4.1 Webserver
Websites can be called up through a communication channel that has been set up as webserver channel via a Script. Here the
internal data system is used. Several websites can be placed or rather websites, image files and Java-applets can be called up.
This way it is also possible to represent the dynamically changing data of an application, that is connected to the serial interface
(shift register). Apart from that it is possible to remote-control an application with control elements on the website or to transmit
data to this application.
14.4.4.2 FTP-server
For this function of the FTP-server 2 of the 4 available communication channels have to be set up. One of the channels is in charge
of the control, the other channel is responsible for the data transmission. Once that the set up of the channels has been carried
out initially in the Script, it is possible on the Ethernet side to store files in the internal file system, to load files, to delete files etc…
with a FTP-client-program.
Available functions:
PUT
=
Create and write file
GET
=
Read file
DIR
=
Read directory
DEL
=
Delete file
DEL *.* =
Deleting all files and initializing (mapping) the file system.
Warning:
The Script- and conig-file will be deleted also.
Subdirectories are not intended. For that reason you cannot switch to subdirectories and subdirectories cannot be created. For
the FTP-server the two channels have to be set up initially in the Script.
The FTP-server is running irrespective of the Script.
14.4.4.3 File system
A file system is available. The Gateway is equipped with an additional memory module that can store data of the file system per-
manently. It is possible to store up to 128 files in the file system.
The file names may exist of up to 24 characters. At present the maximum memory capacity is 256 KByte. Components for an
expansion to up to 2MByte will be available soon.