www.webdeveloper.com
Results 1 to 2 of 2

Thread: Help to find IO info

  1. #1
    Join Date
    Apr 2012
    Posts
    11

    Question 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.

    http://www.fileuploadx.de/513063

  2. #2
    Join Date
    Apr 2012
    Posts
    11
    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]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles