Two questions on the Lonworks

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

Hi Lonworks Experts:

I got three questions from two customers:

1. with iLon Smart Server,there is a "Stand-alone" mode which the LNS isn't needed. In this case, can PcVue communicate with iLon Smart Server? My answer is "NO".

2. Can PcVue communicate with iLon Smart Server with web service(SOAP/xml) directly? The customer does not want to use LNS mode. I searched and found the below screenshot:

1769=274 SOAP

3. For variable Timestamp: nvi_TimeStamp. By default the time is time stamp,

1769=276 3

but after he imported the resource files, in PcVue the type of this var change to be user defined format which there is one more field "0" before the Year("14").

1769=275 2 2014 09 01
1769=277 5

Even he modified the type back to Timestamp(6 fields), PcVue still read it with 7 fields.

He wanted to know why? Has it related to the files he imported?

 
Posted : 01/09/2014 11:51 am
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Hi Shu Quan,

1 & 2. I dont know the Stand-alone mode but it looks this is the same than your second question meaning, can we access an iLon by web services?
So, the answer is the same for both: NO.

3. I don't know where this 0 is coming from. Maybe it's a flag for winter/summer time? Or a flag for GMT0 or not.
Something strange in your first screenshot: month appears 2 times!

 
Posted : 02/09/2014 7:58 am
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Thank you, Nico.

So I need to suggest them to use our web service toolkit to develop an interface.

For the screenshot, it is not correct as i checked it again. I made it through a video which the frame maybe not so good enough.

 
Posted : 02/09/2014 1:58 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Hi Shu Quan,

1/ The only native solutions for PcVue and Lonworks are:
- LCA Object Server
- OPC (converter / bridge for Lonworks not often used and not able to cover all Lonworks capabilities
- Maybe BACnet through a bridge / converter but not able to cover all Lonworks capabilities

2/ A trick would be using svmgr including WebServices code. Not that easy and their specifications are needed

3/ Here is a sample of the document SVNT.PDF you can get from the Internet or on a computer installed with Echelon package.

1773=278 SNVT time stamp

Please type using another format, the date and time. "year: Zero (0) means year not specified. Minus one (-1) represents NULL date"

BR
Edouard

 
Posted : 02/09/2014 2:05 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Edouard, on the Shu Quan screenshot we can see the following date:
14/9/1 13:16:53
but the string in pcvue is
0,14,9,1,13,16,53

so, the year is specified here. But what is this 0 in front?

 
Posted : 02/09/2014 2:17 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Hi,

The format documented is the first value is for year.
That's why another format input should be tested:

- 2014/9/1
- 2014/1/9
- 1/9/2014
- 9/1/2014
- 14/9/1
- 14/1/9
- 1/9/14
- 9/1/14
- ...

BR
Edouard

 
Posted : 02/09/2014 2:34 pm
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Thanks, Edouard. You mean the additional field "0" is the Year un specified?

With UNVT Type:

1777=279 4

With SNVT type:

1777=280 6

It seems PcVue can only read it with UNVT type value although in the mapping dialog, it display SNVT type.

 
Posted : 02/09/2014 2:40 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Yes Shu Quan, the first value should not be 0, meaning the year is not set or not specified.

But we must be careful with the data type.
In one hand, we can see UNVT (specific) and in the other hand, the SNVT_time_stamp

It is like the former format SNVT_time_stamp has been customized in the LONDB.

Edouard

 
Posted : 02/09/2014 3:33 pm
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Yes. But the customer told me he used the standard type of time stamp(SNVT_time_stamp).

The customer failed to set the time_stamp within PcVue as there is one more filed.

 
Posted : 03/09/2014 10:52 am