Two more questions on Lonworks communication

17 Posts
3 Users
0 Likes
71 Views
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Hi,

I got one problem and one question from a customer during my PcVue training:

Question: why in PcVue 11.0, we can only configure the local LNS server and the remote mode is gray? Before 11.0, we could use both.

Problem: failed to import the "SNVT_trans_table" into PcVue correctly with SG(LNS), but if manually configure the IO, it could work.

1. "SNVT_trans_table" variable in LonMaker Brower: there are two arrays point[0-6] and interp_pts_0/6_to_1/0, 14 vars in total

1837=283 haf2df3f

2. "SNVT_trans_table" variable in SG: there is no point[0-6] array but point_7

1837=284 2 2014 10 13

3. and after the import, in Source tab the point[7] is mapped but there is no point[7] exists in the field, the quality of the var is NS COM:

1837=285 3 2014 10 13

4. if map this table with a text variable without the empty field, the value is not the same as the one in LonMaker browser.

1837=286 4 2014 10 13

Why using SG, PcVue could not get the correct array of point[0-6] but only point_7 with invalid value?

Thanks in advance!

 
Posted : 13/10/2014 6:14 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Hi Shu Quan,

The reason why the remote feature is grayed is to make it official it is not possible.
At the very beginning, Lonworks protocol should offer the capability to make a remote station + LCA Object server work properly. Unfortunately it is not so. It is not because of our software.

Then, if we have a look at the screenshots, when it works, it is a Text type.
First of all, there are some issues using SG LNS.
But in your case, the issue can come from the declaration of Lonworks Network Variables in the LONDB and/or in the XIF template file.

Has the format of the Network Variable been customized?
I guess you need to make additional tests to explain the origin of the issue.

BR
Edouard

 
Posted : 17/10/2014 1:24 pm
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Thanks, Edouard.

1. You mean we can still use the Remote mode with PcVue 11.0? But how?

2. We checked the var and found it's a structure like below screenshot:

1847=289 array

That's why with Lonmaker browser we see there is an array[0-6]. But SG failed to import this array with 7 registers but with an wrong array(array[7]).

For this array, we need to manually mapped the array[0-6] with registers in the source tab of vars, then it can work.

Do you think it's a SG bug?

 
Posted : 20/10/2014 8:25 am
(@s.epaillard@arcinfo.com)
Posts: 0
New Member Guest
 

Hi,

1-No, you can't, functionnality is only here for backward compatibility. There is lots of problem with this functionnality due to the driver like poor performance and no reconnection.

2- Do you use programmable device?

 
Posted : 20/10/2014 8:12 pm
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Thank you, Sylvain.

1. Yes, if they used the remote mode, they need to accept the poor performance and no auto re-connection.

2. in this customer's projects, they use iLon smart server to connect to the DDC instead of something like iLon600.

 
Posted : 21/10/2014 7:36 am
(@s.epaillard@arcinfo.com)
Posts: 0
New Member Guest
 

Shu Quan,

1-There is a misunderstanding. It's a very bad idea to try to use this mode and in fact it's impossible! Did your customer use PcVue with remote connection in the past?

2 So is it a kind of programmable device?

 
Posted : 21/10/2014 11:10 am
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Shu Quan,

1-There is a misunderstanding. It's a very bad idea to try to use this mode and in fact it's impossible! Did your customer use PcVue with remote connection in the past?
【Yes, we have customers use this remote mode with PcVue 10.0. But not this customer.】

2 So is it a kind of programmable device?

【it's more than a programmable device/router.】

 
Posted : 21/10/2014 1:15 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

iLon Smart Server is roughly like iLon600 but more recent.
Is like a gateway: in one side it is communicating with the DDCs and in other side communicating with the LonDb (thus pcVue).

 
Posted : 21/10/2014 1:37 pm
(@s.epaillard@arcinfo.com)
Posts: 0
New Member Guest
 

1-It could be interesting to know why they use this configuration.

2-SG lns is done for optimizing the mapping of variable in the case you have several devices from a same device template. In the case of programmable device, the name and type on the device are not the same than those in the device template. So there is a documentation issue...

 
Posted : 21/10/2014 1:38 pm
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

This customer makes Energy Management System for Universities/Metro, their architecture may have several LNS servers(each connects to different Lonworks DDCs, maybe for different system) as below:

1860=290 ARCHITECTURE
 
Posted : 21/10/2014 2:15 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Shuquan,
It wont work.
The only way is to have 1 LNS database on each PcVue Server.

I guess on your diagram LNS server means PcVue server...?

 
Posted : 21/10/2014 3:31 pm
(@s.epaillard@arcinfo.com)
Posts: 0
New Member Guest
 

"The only way is to have 1 LNS database on each PcVue Server."

Or have the 2 lns database and PcVue on the same server

 
Posted : 21/10/2014 4:39 pm
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Yes, Nico.

It's a draft architecture they asked, they didn't need the redundancy for the two PcVue servers for the moment.

1865=291 ARCHITECTURE 2014 10 22
 
Posted : 22/10/2014 8:04 am
(@s.epaillard@arcinfo.com)
Posts: 0
New Member Guest
 

So with this architecture, you don't need remote connection.

Redundancy isn't possible with Lonworks.

 
Posted : 22/10/2014 11:18 am
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

You know, in the setting dialog of Lonworks(PcVue 11.0), it has the gray option of Remote mode. Last year, there is another customer used the remote mode on a site with PcVue 10.0.

For this customer, they don't have all Lon DB on one computer, but they planned to use one PcVue server instead of two. As months ago, we installed PcVue 10.0 SP2 on their Lab computer(windows server 2003), and their LON DB is in another computer, with this version, we used the remote mode to make the communication.

This is the whole story.

 
Posted : 22/10/2014 12:05 pm