1 / 51

pCOWEB

pCOWEB. pCOWeb. 2 different add-on cards PCO1000WB0 - ETHERNET : BACnet Ethernet BACnet over IP SNMP v1, v2.c HTTP (web server) FTP, DHCP,... available PCO1000 B B0 - EIA 485 : BACnet MS/TP prototype September 2005. pCO available. pCO 2. pCO C. pCO 1. pCO B. pCO XS.

arvin
Download Presentation

pCOWEB

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. pCOWEB

  2. pCOWeb • 2 different add-on cards • PCO1000WB0 - ETHERNET : • BACnet Ethernet • BACnet over IP • SNMP v1, v2.c • HTTP (web server) • FTP, DHCP,... • available • PCO1000BB0 - EIA 485 : • BACnet MS/TP • prototype September 2005

  3. pCO available pCO 2 pCO C pCO 1 pCO B pCO XS pCO 3

  4. pCOWeb • It allows to access to the variables of the controller (pCOx) through a common Ethernet LAN. • Board features • Power by pCO • ARM7 74MHZ • 16MB RAM, 8MB flash • Linux 2.4.21 • 10Mbit • Protocols • HTTP (web pages 4MB) • SNMP (Simple Network Management Protocol) • BACnet (BACnet over IP and BACnet over Ethernet) • FTP server, FTP client (plug-in optional) • NTP (Network Time Protocol) (plug-in optional)

  5. Introduction • Serial Port n.1 • BIOS: any version is good • pCO WEB act as a local supervisory sistem • SW application: • SERIAL1_PROTOCOL=1 (Carel Local (Slave)) • 19200 baud (default) • IDENT: not important (1-207, 0 not allow)

  6. LEDs and Button • 2 LEDs • Left LED : “Status” Communication with controller • Blinking Green = controller online • Green = inizializing • Blinking Red = installing default setting • Right LED : “Ethernet” Communication with LAN • Green = connect. • Red = LAN not connect • 1 Button • During runtime : Reboot card. Press the button for 5 to 10 sec. • At start-up : copy the factory values from Flash to RAM Press the button. Power-on controller. As soon as the left LED starts blinking (red/off).The pCOWeb will make 3 fast blink = confirm. • IP address=172.16.0.1 • Subnet mask=255.255.0.0 • Username=httpadmin, password=fhttpadmin, etc…

  7. Installing the board • Upload SW application into the board.Check protocol & baud rate (SERIAL1_PROTOCOL=1, INI_BAUD_SPV=4) • Plug the board into the serial port n.1 (BMS) • Connect pCOWEB to the PC • Test Plan : use cross cable • Switch On the control. Wait till the end of the boot (about 1min)Boot’s end when the left green LED blinks

  8. Configuring the PC • Usually the TCP/IP configuration of the PC doesn’t match with the pCOWEB one(DHCP, subnet mask) • Change Network Properties/ Internet protocol (TCP/IP)

  9. Configuring Browser (Explorer) • Disable the Proxy server • Run Explorer • Click tools/Internet options • Click Connection tab • Click LAN setting • UnselectUse proxy server… • Check Box

  10. Accessing to the main page • Run Explorer (or other browser) • 172.16.0.1 (default address for the new card)

  11. Web Administrator • Open the main/index page 172.16.0.1 (complete address: http://172.16.0.1/http/index.html) • Click on Web Administrator reserved area link • Login: admin, password: fadmin

  12. PcoWeb HTTP

  13. PcoWeb HTTP

  14. PcoWeb General • Used/Free Flashdisk space

  15. PcoWeb General • These setting are used when you press the button at start-up

  16. PcoWeb General • Ethernet Configuration (IP,n° RX/TX,...)

  17. PcoWeb General • Memory state • Boot Messagges (button pressed,...)

  18. PcoWeb General • System log

  19. PcoWeb General • Ethernet Variables

  20. PcoWeb General • Adjust HTML pages attributes

  21. Network Configuration • Most Important Parameters • IP address • Netmask • Gateway, DNS: for FTP client (send file to www.domain.com)

  22. pCO COM • Communication Parameters with the controller • Don’t change them (not convenient)

  23. Rescue • “Reboot system” • Like to press the button at runtime • “STOP SYSTEM-put into emergency Mode” • Like to “Safe mode” of WindowsClick this link if the board hangs (never used, up to now)

  24. Demo • Test Page. It allows to send the first 10 A/I/D variables to control • pCO set result • RED: error (some variables can’t be changed) • GREEN: OK

  25. PcoWeb SNMP

  26. SNMP(Simple Network Management Protocol) • SNMP v2.c: available • Carel OID: 1.3.6.1.4.1.9839 • TRAP • User trap • System TRAP • TRAP editor • FILE MIB: “Describes” the variables/objects (i.e. “Room Temperature”, “High Pressure Alarm circuit 1”,...) • MIB for standard applications: available • MIB for custom applications custom: “easy” to do • MIB validator available on the internet • http://www.simpleweb.org/ietf/mibs/validate/

  27. PcoWeb BacNet

  28. BacNet Configuration

  29. Compatibility

  30. PcoWeb Plugins

  31. PcoWeb Users

  32. PcoWeb Firmware

  33. How to download/upload a page • An FTP client is required. (i.e. Explorer, TotalCommander, WS_FTP, SmartFTP, …) • Explorer: open ftp://httpadmin@172.16.0.1Total Commander: 172.16.0.1 • Login: Username: httpadmin, password: fhttpadmin • Root directory: ftp://172.16.0.1 • The new board have only 1 file: index.htmlOriginale (R): /usr/local/root/defindex.htmlUser (R/W): /usr/local/root/flash/http/index.html • Copy/Delete/Rename files is like your local disk (Drag&Drop)

  34. How to download/upload a page

  35. How to download/upload a page

  36. How to create a WEB page • You must know the HTML language • Pages must include the following lines(within the firsts 10 line)<!—tagparser=“/pcotagfilt”--> • Special tags (most common) • Read variable:<%VAR(0,t,i)%> • Write variable: GET method name=“script:var(0,t,i,min,max)”t=type. 1:digital, 2: analog, 3:integer.i=index 1…199 (Digital), 1…127 (Analogic, Integer).min, max=minimum/maximum value(i.e. 20.0 for analog)

  37. Test page • Test Page • Show temperature, setpoint, cooling • Change Setpoint

  38. Remarks • You can customize all pages (index, configuration ,etc)Use the system ones as template • Browser / View HTML command:You don’t see the real source HTML files.Carel tags are replaced with value. • Flash Memory • Reserved Area (about 4MB)Contains operating system and pages configuration.It isn’t possible to damage the content. • User Area (about 4MB)User pages are stored here. • When pCO WEB boots, firmware is copied into RAM, then continue to boot from RAM. System uses conf.params in RAM (important if you press the button)

  39. Useful Address • Index.html (user) • Browser: 172.16.0.1 • FTP:/usr/local/root/flash/http/index.html • Index.html (original) • Browser: not available • FTP:/usr/local/root/defadmin/index.html • Web administrator page (original) • Browser: 172.16.0.1/config/adminpage.html • FTP:/usr/local/root/flash/config/adminpage.html

  40. The pCOWEB have the possible to send (time slot configurable) a .XML file (customize) to FTP server. Connect to pCOWeb via FTP (user/password: root/froot) Use an FTP Client: SmartFtp, LeechFtp (FREEWARE) Advise: Your password can several of this: see USERS page Download files configuration. Configure FTP CLIENT & NTP CLIENT (address,pause,...) Reboot pCOWEB FTP Client Plug In

  41. STEP A • A-Copy these files: • -ftp • -ftp.sh • -ntpdate • -ntp.sh • -xmlcreator • into:/usr/local/root/flash/bin_users • and give them the EXECUTE property

  42. STEP B • B-Copy these files: • -ftp_script • -ntp_script • into:/usr/local/root/flash/etc/rc_users • and give them the EXECUTE property

  43. STEP C • C-Copy these file: • -template.xml • into: /usr/local/root/flash/etc/sysconfig/conf_users

  44. STEP D • D-copy these files: • -ftp_client.html • -ntp_client.html • into: /usr/local/root/flash/http/plugins • and give them the READ property

  45. FTP configuration Address of your FTP Server FTP Server Port (default is 21) FTP Login ID FTP Server Password Path to your FTP directory The output file name. We suggest using an XML extension, since the file is in XML format Pause (in seconds) between executions of the FTP push routine IP Address of your proxy server (if you do not use a proxy server, leave this blank) Comm port of your proxy server (if you do not use a proxy server, leave this blank) -[your IP]/http/plugins/ftp_client.html

  46. Example .XML • <?xml version="1.0" encoding="UTF-8"?> • <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Alessandro Schiavo (Carel S.p.A.) --> • <PCOWEB> • <SYSTEM> • <HOSTNAME>localhost</HOSTNAME> • <DATE>19700102232431</DATE> • <IP_ADDRESS/> • <MAC_ADDRESS>00:0a:5c:10:00:06</MAC_ADDRESS> • <UPTIME>1d5h54mn</UPTIME> • <SYS_VERSION>B1.1.4be</SYS_VERSION> • <APP_VERSION>A1.2.6be</APP_VERSION> • <SEPARATOR_CHAR>.</SEPARATOR_CHAR> • </SYSTEM> • <PCO> • <PCONAME>Prova PcoWeb</PCONAME> • <PCOID>1</PCOID> • <DIGITAL> • <VARIABLE> • <INDEX>1</INDEX> • <VALUE>0</VALUE> • <PAR_DESCRIPTIONS> • <NAME>Al_hp_1</NAME> • <DESCRIPTION> • <EN>High pressure compressor 1</EN> • <IT>Alta pressione compressore 1</IT> • </DESCRIPTION> • <CODE> • <EN>HP1</EN> • <IT>HP1</IT> • </CODE> • <EXTD_DESCRIPTION> • <EN>High pressure circuit 1, chiller 2</EN> • <IT>Alta pressione circuito 1, chiller 2</IT> • </EXTD_DESCRIPTION> • </PAR_DESCRIPTIONS> • <OPTIONS> • <UNIT>--</UNIT> • <MIN>0</MIN> • <MAX>1</MAX> • <RW>R</RW> • </OPTIONS> • </VARIABLE>

  47. NTP • NTP • Network Time Protocol (NTP) is a system for the synchronization of computers clock time through the Internet; developed mainly near the Delaware university in the United States. They have been some defined 3 versions: the 1 in 1988, the 2 in 1989 and the 3 in 1992. The running version is 3, compatible with the previous ones. In order to facilitate the use of the NTP on notebook have defined the simplified version NTP (SNTP 1995). • The main characteristics of the NTP are following: • Is completely automatic and maintains the synchronization. • It’s possible to use with all types of computers. • Resistant to the breakdowns. • It diffuses UTC time, therefore is independent from time zone and the daylight time. • The synchronization precision is until 1 millisecond.

  48. Configurazione NTP -[your IP]/http/plugins/ntp_client.html

  49. Contact Alessandro SchiavoProduct Specialist - Communication & ProtocolsMarketing Dept. direct (+39) 049 97 16 766 alessandro.schiavo@carel.com

More Related