Connection example [iLon1000(XML)]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > Echelon > Connection Procedure > iLon1000(XML) >

Connection example [iLon1000(XML)]

overview

Communication is performed using the XML/HTML functions of iLon1000. Since communication is performed directly with the iLon1000, middleware such as "LNS Server" is not required.

 

Model used

item

Model etc.

Connection Unit

iLon1000

 

Configuration environment

item

environment

OS

WindowsXP Professional 32Bit

tool

VT100

 

Configuration details

item

Setting items

Configuration Example

Device settings

IP address

192.168.1.2

Subnet mask

255.255.255.0

FTPUsername

username

FTP Password

pw

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

 

 

Device settings

You need to register an IP address and a FTP user on the iLon1000. Insert the cable that came with the iLon1000 into the "Console" port (not the "Serial") on the PC and the iLon1000, and connect using a terminal software with "VT100" emulation such as "HyperTerminal."

 

c_plc_0681 c_plc_0682
 

Once connected, set the following four items, then enter "reboot" and press Enter.
c_plc_0683
 

setting

Setting contents

IP address

192.168.1.2

Subnet mask

255.255.255.0

FTPUsername

username

FTP Password

pw

 

 

Setting network variables for iLon1000

The tags you want to communicate with must be configured as network variables within the iLon1000. The configuration method is described below.

 

“iLon1000 Internet Server User’s Guide” “9.Creating an iLon1000 Web Page”

 

attention

After setting the network variables, refer to the manual mentioned above and create HTML to check whether the network variables you have actually defined can be referenced.

 

example)

c_plc_0684    c_plc_0685

 

<html>

<head><title>Display Digital Sensors (inputs)</title></head>

<p>nvi1 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvi1></iLonWeb></p>

<p>nvi2 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvi2></iLonWeb></p>

<p>nvi3 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvi3></iLonWeb></p>

<p>nvi4 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvi4></iLonWeb></p>

<p>nvo1 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvo1></iLonWeb></p>

<p>nvo2 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvo2></iLonWeb></p>

<p>nvo3 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvo3></iLonWeb></p>

<p>nvo4 = <iLonWeb FUNC=ShowValue SYMBOL=NVL_nvo4></iLonWeb></p>

</html>

 

 

 

PC settings

In the communication settings, set the IP address set for the iLon1000, and the FTP user name and password.
 

1.Right-click on "Application" - "Driver" in the tree and select Add Driver.
 

2.Select the following units from the displayed driver list and add them:
c_plc_0687
 
 

3.Open the properties of the added unit (U01) and click Communication Settings.
c_plc_0688
 

4.iLonSet the value you set to 1000
c_plc_0689
 

setting

Setting contents

IP address

192.168.1.2

Subnet mask

255.255.255.0

FTPUsername

username

FTP Password

pw

 

5.Perform a connection test to check the connection
c_plc_0690
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.
 

6.Add a tag and set the tag name you want to retrieve.
Please specify the value conversion filter (SNVT) according to the situation.
c_plc_0691

 

 

attention

When connecting to multiple iLon1000s, define the "Communication File Name Header" in the unit properties to a different name for each unit.

example)

c_plc_0686

 

U01 communication file name header -> RW1

U02 communication file name header -> RW2

U03 communication file name header -> RW3