<< Click to Display Table of Contents >> Manual > Device Connection Guide > Echelon > Connection Procedure > SmartServer2.0 (SOAP/XML) > Connection example [SmartServer2.0] |
overview
It communicates with SmartServer2.0 using SOAP/XML. Since it communicates directly with SmartServer2.0, middleware such as "LNS Server" is not required.
Model used
item |
Model etc. |
Connection Unit |
SmartServer 72102R-4FT |
Configuration environment
item |
environment |
OS |
Windows8 Professional 64Bit |
tool |
InternetExplorer10 |
Configuration details
item |
Setting items |
Configuration Example |
Device settings |
IP address |
192.168.1.222 |
Subnet mask |
255.255.255.0 |
|
Soap Pass |
WSDL/iLON100.WSDL |
* Most of the settings on the computer will be adjusted to match the settings on the unit.
The above example is the same as the factory settings for SmartServer2.0. If there are no problems with the above example, there is nothing to configure on the SmartServer side. |
Device settings
Configure "SmartServer". The settings are done via the web, etc.
1.WEB Start a browser (such as IE) and access the IP address currently set in SmartServer.
The default IP address of the
SmartServer is 192.168.1.222. Access 192.168.1.222 using a Web browser (such as IE).
2.Log in from "Login"
3.Select the menu "SETUP" and "TCP/IP", and set the desired IP address to "Ipv4 address".
setting |
Setting contents |
IPv4 address |
192.168.1.222 |
Subnet Mask |
255.255.255.0 |
Default Gateway |
192.168.1.222 (set according to your environment) |
4.Set up Soap Path (Soap Path)
The soap path for
SmartServer is set to "WSDL/iLON100.WSDL" when shipped from the factory. If there is no need to change it, no setting is required.
setting |
Setting contents |
SOAP Path |
WSDL/iLON100.WSDL |
PC settings
Use the Server application to connect to the PLC for which you have set up communications.
1.Right-click "Application" - "Driver" in the tree and select Add Driver.
2.Select the following units from the displayed driver list and add them:
3.Open the properties of the added unit (U01) and click Communication Settings.
4.Set "Communication Settings" as follows:
setting |
Setting contents |
Computer IP address |
http://192.168.1.222/WSDL/iLON100.WSDL |
Maximum Number of Packets |
24 |
Communication Method |
Read communication is performed asynchronously |
Update time |
10000 |
timeout |
3000 |
The configuration details are as follows:
•URL
Set "URL" using the IP address and SOAP path set in
SmartServer2.0.
If the IP address of
SmartServer is "192.168.1.222" and the URL path is "WSDL/iLON100.WSDL", set "URL" to "http://192.168.1.222/WSDL/iLON100.WSDL".
•Maximum number of items in a packet
This is the number of LON points that communicate at one time with
SOAP/XML. In the current version, please set it to 24.
•Communication Method
"Perform read communication asynchronously"
Communication with
SmartServer is always performed in a separate thread, and when an actual read request is received, the value in the cache is returned. The update cycle follows the "Update Time" setting.
"Perform read communication synchronously"
Communicates with SmartServer in the same way as normal PLC communication. When an actual read request is received, it actually communicates with SmartServer and returns the value. The update cycle follows the "Update cycle" setting of the folder.
•Update time
This is the update cycle setting used when "Perform read communication asynchronously" is selected.
5.Perform a connection test to check the connection
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.
Tag configuration
For this device, instead of setting tags by specifying addresses like other companies' PLCs, you set the path of the LON point that communicates with SmartServer2.0.
For example, you can right-click LAN-SmartServer-Net-LON-iLON App in the tree as shown below and select the Overview-Data Points menu to display a list of points with which communication is possible on SmartServer2.0.
If you want to communicate with "iLON App Digital Output 1" and "nviClaValue_1" in the list, set the path to "LON side tag name" as follows.
Net/LON/iLON App/Digital Output 1/nviClaValue_1
Please specify the value conversion filter (SNVT) according to the situation.