/    Sign up×
Community /Pin to ProfileBookmark

Help to find IO info

Hi,

I am using a Phoenix Contact SPS ILC 150 ETH. This SPS is including a WebServer waht is supporting Javascript.
I already was able to write some javascript things and they are runnnig.

Phoenix Contact is delivering the software WebVisit 6 with the SPS. It is a software editor to create a web interface for this webserver.
As the SPS have some variables what are available to include in the web interface I want to know how the editor is handling these vars.

I uploaded an example what is including some vars like:
@GV.Local_Time_Formated

But I don’t know how to get the value of these vars with javascript directly.
In the ZIP File I also included the help of WebVisit.

May somebody can give me a help/hack how to access theses vars.

[url]http://www.fileuploadx.de/513063[/url]

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@schwa226authorApr 23.2012 — Additional:

This is the console output of the server with debug=on in the entry.html:
IMaster init

SpiderControl(TM) IMaster Applet name : IMasterPhoenix6_01_00

Applet version : 6.01.0006cc

iniNet Solutions GmbH, CH-4132 Muttenz

Host : 172.20.115.107

File : /

getLSSrvInfo = Server: Phoenix-Contact/1.02 (powered by SpiderControl TM)

LSWEBSERVER=1, V.1.5

CGI=1, V.1.0

ILR=1, V.1.0

TRD_ALR=1, V.1.5

SCWEBSERVICES_BASICINTERPRETER=0, V.1.0

SCWEBSERVICES_FILEOP=0, V.1.0

ZELS=0, V.1.3

IMaster.init() XMLOPCWebserviceAdress =

IMaster: Loading test1.tcr

parseInitPPOAsciiFile File: test1.tcr
> IMaster.parseInitPPOAsciiFile() done:

#!-- PPO FILE GENERATED FROM Phoenix Contact® WebVisit on Monday, April 23, 2012 ; 13:06:13

#!-- Start PPO INIT File

#!-- VERSION = 3

#!-- TYPE = 1

#!-- TS = 4f9537a5

#!-- N = 22

@GV.@CO_NameVar@_Off_Minuten;@GV.@CO_NameVar@_Off_Minuten; ; ;FLT2DEC2; ; ;

@GV.@CO_NameVar@_Off_Remaining;@GV.BIT0_Off_Remaining; ; ;FLT2DEC2; ; ;

@GV.@CO_NameVar@_
SET;@GV.BIT0_SET; ; ;Int; ; ;

@GV.@CO_NameVar@_Status;@GV.BIT0_Status; ; ;String; ; ;

@GV.Local_Time_Formated;@GV.Local_Time_Formated; ; ;String; ; ;

@GV.Remote_Reset;@GV.Remote_Reset; ; ;String; ; ;

@GV.Sun_Midday;@GV.Sun_Midday; ; ;String; ; ;

@GV.Sun_Rise;@GV.Sun_Rise; ; ;String; ; ;

@GV.Sun_Set;@GV.Sun_Set; ; ;String; ; ;

Serial.H1;Serial.H1; ; ;String; ; ;

Serial.P1;Serial.P1; ; ;String; ; ;

Serial.T1;Serial.T1; ; ;String; ; ;

Serial.T2;Serial.T2; ; ;String; ; ;

Serial.T3;Serial.T3; ; ;String; ; ;

Serial.TIME1;Serial.TIME1; ; ;String; ; ;

Serial.V1;Serial.V1; ; ;String; ; ;

level2PasswordPPO;level2PasswordPPO; ; ; ; ; ;

level2UserNamePPO;level2UserNamePPO; ; ; ; ; ;

level3PasswordPPO;level3PasswordPPO; ; ; ; ; ;

level3UserNamePPO;level3UserNamePPO; ; ; ; ; ;

level4PasswordPPO;level4PasswordPPO; ; ; ; ; ;

level4UserNamePPO;level4UserNamePPO; ; ; ; ; ;

#!-- End PPO INIT File



> initLoadMultiTeqs Loading teq file:Login.teq

IMaster: Loading TEQ Login.teq

> initLoadMultiTeqs Loading teq file:Main.teq

IMaster: Loading TEQ Main.teq

> initLoadMultiTeqs Loading teq file:MsgBox.teq

IMaster: Loading TEQ MsgBox.teq

> initLoadMultiTeqs Loading teq file:test1.itq

IMaster: Loading TEQ test1.itq

defines.setPictureNr(0) ...

ILR=1, V.1.0

*** init() ended ***


START()


run(), Mon Apr 23 14:55:14 CEST 2012 Thread = Thread[Thread-12,4,http://172.20.115.107/-threadGroup][/quote]
×

Success!

Help @schwa226 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...