Deutschmann Automation GmbH & Co. KG
8.5
Further settings at the gateway
Most devices require no further adjustments, except for those made in the Script itself. However,
there are also exceptions to it. These settings are made by means of the software WINGATE. If
you know our UNIGATE
is the adjustment of the IP-address and the net-mask of an Ethernet-gateway. These values
have to be known as fixed values and are not available for the runtime. Another reason for the
configuration of the values in WINGATE is the following: After an update of the Script these val-
ues remain untouched, i. e. the settings that were made once are still available after a change of
the Script.
Only this way it is also possible that the same Script operates on different Ethernet-gateways,
that feature different IP-addresses.
8.6
The use of the Protocol Developer
The Protocol Developer is a tool for an easy generation of a Script for our Script gateways. Its
operation is exactly aimed at this use. After starting the program the Script that was loaded the
last time is loaded again, provided that it is not the first start.
Typical for Windows Script commands can be added by means of the mouse or the keyboard. As
far as defined and required for the corresponding command, the dialog to the corresponding
command is displayed, and after entering the values the right text is automatically added to the
Script. The insertion of new commands by the Protocol Developer is carried out in a way that
existing commands will not be overwritten. Generally a new command is inserted in front of the
one where the cursor is positioned. Of course the commands can also be written by means of the
keyboard or already written commands can also be modified.
8.7
Accuracies of the baud rates at UNIGATE
The baud rate of the serial interface is derived from the processor's crystal frequency. The devia-
tion of the real baud rate from the set baud rate is always less than 1.1%.
8.8
Script processing times
The Script is translated by the Protocol Developer and the consequently generated code is
loaded into the Gateway. Now the processor in the Gateway interprets this code. In this case,
there are commands that can be processed very fast (e. g. "Set Parameter"). There are also
commands, however, that take longer (e. g. copying 1000 bytes). Consequently, for one thing the
processing time differs due to the kind of Script command. But the processing time of the Script
commands is considerably more determined by the processor time that is available for this pro-
cess. Since the processor has to carry out several tasks simultaneously (multitasking system)
only a part of the processor's capacity is available for the Script processing. The following tasks -
in the order of priority - are executed on the processor:
•
Sending and receiving data at the Debug-interface (provided that the Protocol Developer has
been started on the PC)
•
Sending and receiving data at the RS-interface
•
Sending and receiving data at the Fieldbus-interface
•
Tasks controlled via internal clock (1 ms) (e. g. flashing of an LED)
•
Processing of the Script
3.4.20
®
-series, you are already familiar with the proceeding with it. An example
Instruction manual UNIGATE
®
IC2
®
IC2 - Fast Ethernet V. 1.2
Generating a Script
32
Need help?
Do you have a question about the UNIGATE IC2 - Fast Ethernet and is the answer not in the manual?