possible to use DirectSOFT32 and the DSData Server to connect to an ECOM over the Internet.
While we donít recommend that you use this
connection scheme for control, it can be quite useful for data collection, ladder
program updates, etc. If your Internet connection is through a gateway or proxy
server, it can still work, you just need to configure the gateway to
let the packets get through to the ECOM - this is discussed in Note 3 at the
To demonstrate how this works, we
have setup an H2-ECOM here at Host Engineering you can use to test out the process. Itís in
a base with a DL250 CPU and some I/O. Itís IP address is 22.214.171.124. Follow
these instructions to build a link and get online with the ECOM.
First we need to determine the
approximate round trip time for an IP packet from your PC to the ECOM. We can
use Ping to get this number as follows:
to your ISP like you normally would Ė dialup connection, LAN connection, etc..
Open a Command
Prompt (DOS session). Enter the following on the command line:
Ping 126.96.36.199. Observe the average turnaround time.
Close the Command Prompt
Next, you need to build a link to the ECOM.
the DirectSOFT32 Launch Window
a new link
right click "Comm Links" and
choose "Add Link..."
the ĎLink Editorí button
You have to manually build a link because
the default timeouts used in the Link Wizard may be too short when
connecting across the Internet, and since
the Link Wizard uses a broadcast to find the ECOMs on the network,
these broadcast packets will be filtered
out by the gateway and/or routers used to connect you to the Internet.
the PLC tab select the following:
Direct LOGIC 205 Series
the Port tab select the following:
188.8.131.52 *** see note 3 below about connecting through
a gateway or proxy server
(Observed turnaround time +10%)
the Protocol tab select the following:
Auto and the Link Editor should beep at you indicating a successful connection.
a name for your link and click Accept.
online with the PLC!
right click the new
link and select Run
If you want to use this
scheme for your own ECOMs, there
two keys points you must observe to make this happen:
the ECOM must have a static IP address that is
unique on the Internet - that is, an IP address that has been assigned to you by
the ECOM must reside outside
any firewall or proxy
server, these devices typically perform 'IP translation' that will prevent the
ECOMs static IP address from being visible over the internet
if you must go through a
gateway or proxy server to connect to the ECOM, then you'll need to get the
administrator of the gateway or proxy server to create a "hole"
through the gateway to the ECOM. This "hole" is a mapping from an
IP on one side of the gateway to an IP address on the other side, sometimes
using a specific port number.
In our example, our internal network is using the 192.168.xxx.xxx addressing
range and the ECOM is using 184.108.40.206. So we create a UDP/IP mapping,
using the above addresses, specifying port 7070 (hex). So
whenever our gateway gets a packet bound for port 7070, it routes it to the
ECOM at 220.127.116.11.
We cannot give you specific steps to accomplish this because every
gateway/proxy server solution will have
different configuration steps. You just need to tell your IT person to
configure it for you, they should know how
to do this for their specific hardware/software.