Home
        PBH-204 User Manual
         Contents
1.             Parity NONE   EVEN   ODD   MARK   SPACE       Data bit 8 or     data bit is only available on using Parity        Stop bit Lor 2  Flow control NONE  RTS CTS             Table 1 3 serial port specification    e RS232 pin assignment    1 oco  ostacamerDeten Joes     Na    Data Terminal Ready    4 DTR oo RS232   Out   optional   always output active signal   ew feom CS ELE  Data Set Ready RS232   N A  Request To Send RS232 optional  Clear To Send RS232 optional  Ring Indicator RS232 e   N A    Table 1 4 RS232 pin assignment       e RS422 pin assignment       Table 1 5 RS422 pin assignment    S SOLLAE SYSTEMS   11   http   www  eztcp com    PBH 204 User Manual Ver  1 1    e RS485 pin assignment    Table 1 6 RS485 pin assignment           Biasing Register  100KQ  is connected to RS422 485 line     1 5 6 Ethernet    PBH 204 has Ethernet port which supports 10 100M bit Ethernet  Both direct and cross    over cable can be used because it automatically detects the type of cable     e LED of RJ45 Connector    Connected to Network  OFF Not connected to Network    Receiving or Transmitting Network Data  Connected to 100M Ethernet  Yellow  OFF Connected to 10M Ethernet    Table 1 7 LED of RJ45 connector       S SOLLAE SYSTEMS   12   http   www  eztcp com    PBH 204 User Manual Ver  1 1    1 5 7 Digital Input    Digital input ports are interfaced with 5mm spaced terminal block  Each port is isolated  by photo coupler and provides 4 input types  WET contact  Dry contact  NPN and
2.          S SOLLAE SYSTEMS   26   http   www  ezicp com    PBH 204 User Manual Ver  1 1    2 3 3 Create  init php     e Click file list with the right button of your mouse and select  New  menu      File Edit Function                  COMPort   COM19                      PHPoC Debugger UI   2   Menu   File  Edit  Function  COM PORT   Select a COM port on your PC  Buttons   Connect  Disconnect  Settings  Uploi   File list   List of files which uploaded or wil   Edit window   Space for editing php files    Window for printing console message     Change the filename  Add  Delete    y to use PHP OnChip Debugger     onnect PHPoC product to your PC with USB cable   fter installing device driver  you can select a C  Change firmware elect the COM port and click the  Connect  button      Output       Figure 2 5 create  init php   1        Input  init  into the file name box        Figure 2 6 create  init php   2     6 Select init ohp file in the file list     COMPot com      LG                                        Sla KI 6    amp    Pe  File list     2   initphp 4byte a gt    4    D init php       Figure 2 7 select init php       S SOLLAE SYSTEMS 21   http   www eztcp com    PBH 204 User Manual Ver  1 1    e Input the following command lines into the editor   7 lt  php  echo    Hello PHPoC r n    H  gt  gt   Figure 2 8 Hello PHPoC  1     e Click upload button  Ka      After PHPoC finishes uploading files  icon will be changed   oF  gt         2 3 4 Excecute Script    PHPoC automatica
3.     S SOLLAE SYSTEMS   37   http   www eztcp com    PBH 204 User Manual Ver  1 1    3 4 Web Interface    PHPoC provides web interface regardless of script execution  TCP 80 is used for web    interface and you can use the interface via Internet Explorer  Chrome or any other web    browser     34 1 How to use web interface    To use the web interface   index php  file should be in the file system of PBH 204     Connect to this page by entering device IP address after connecting it to network           Hello World       Figure 3 4 web interface  1     If the name of file is not  index php   just specify the name of file after the IP address  with slash mark     Hello World       Figure 3 5 web interface  2     3 4 2 Practical Use of Web Interface    A web interface is very useful because it runs while PBH 204 is operating in button setup    mode  If you upload web pages for running any function  you can easily use it by wireless  LAN     S SOLLAE SYSTEMS  38   http   www eztcp com    PBH 204 User Manual Ver  1 1    3 5 Firmware Upgrade    3 5 1 Download Firmware File    Check and download firmware file on PHPoC web site to your local PC     3 5 2 Firmware Upgrade     1  Connect setup port of PHPoC product to local PC via USB cable        2  Run PHPoC Debugger and click connect Ka button        Click  Function   gt   Upgrade Firmware  menu   B PHPoC debugger   File Edit Pru         Product Firmware information                           COM Port     l  E  Network information     
4.    1 5 1 Panel Layout    5 EC  K   AA     pp D D  D   ee D G oll    Digital Input  0 1 2      Digital Output      Digital Output    PBH 204    SOLLAE SYSTEMS    Digital Input  Func  un  EL  En GND       _               Figure 1 2 panel layout      LED PWR  STS  A   H  Digital Input O   3  Digital Output O   3   2  Power 1  DC 8 5V   38V    3  Power 2  DC 5V    4  Serial port  RS232   RS422   RS485      Ethernet port  10 100M      USB host port  USB WLAN adapter connection    7  USB device port  Setup   PC connection  DC 5V power supply  Function button  Func     9  Digital input port  DRY WET contact  NPN PNP   Digital output port  NO NC       S SOLLAE SYSTEMS  8  http   www  eztcp com    PBH 204 User Manual Ver  1 1    1 5 2 LED    Power LED turned ON with stable power supply    running PHP    gt  repeat On and Off in every second  Status LED STS   not running PHP    gt  briefly blinks 1 time at a time    User defined LED follows definition on user script  Digital Input with valid input signal  gt  ON  Digital Output with valid output signal  gt  ON    Table 1 2 LED       1 5 1 USB Device Port for connection with PC    The USB device port is to connect with PC  You can access to products via development  tool with connecting USB cable to this port  However  PBH 204 may not work properly in    case of supplying power via this port only due to insufficient current     1 5 2 Function Button  Func     Function button is used for changing mode to button setup mode     1 5 3 Suppl
5.   Connect to PHPoC  Connect a PC to PHPoC via a USB cable and connect to the port via PHPoC Debugger   A message window related with ISP mode will be popped up     3  Reboot PHPoC  Reboot PHPoC by using  Reboot a product  menu in PHPoC Debugger  After  rebooting  PHPoC stops running script even it is not in the ISP mode     4  Correct source code    Correct the source code to prevent infinite reboot state     S SOLLAE SYSTEMS   42   http   www  eztcp com    PBH 204 User Manual Ver  1 1    4 Technical Support and Warranty       4 1 Technical Support  Sollae Systems operates PHPoC forum web site  This forum is for solving problem  asking    questions and sharing opinions among PHPoC users     e PHPoC Forum  http   www phpoc com forum     4 2 Customer Support  If you have any question regarding products  service and others  visit message board of    Customer Support on Sollae Systems  web site or send us an email     e Website Address for Customer Support  http   www eztcp com en support     e E mail  support eztcp com  4 3 Warranty    4 3 1 Refund    Upon the customer s request to refund the product within two weeks after purchase     Sollae Systems will refund the product     4 3 2 Free Repair Services    For product failures occurring within two years after purchase  Sollae Systems provides  free repair services or exchange the product  However  if the product failure is due to  user s fault  repair service fees will be charged or the product will be replaced at user s    exp
6.   IPv4  Network    PBH 204 User Manual Ver  1 1    Parameter    IP address    Subnet mask  Gateway IP address  DNS server IP address  IP address type   Use static IP address    DHCP     IP address type   Obtain DNS server address automatically    IP address type   Obtain an IP automatically     scheduled to support in the future   WLAN   Enable   Disable   WLAN Topology   Ad hoc   Infrastructure   Soft AP  Search AP   Search channel  Channel   SSID   Internal Antenna   External Antenna  Advanced Settings   Shared Key   802 1X  EAP TLS   EAP TTLS   PEAP  Password  ID  Admin    Write self signed certificate    Write signed certificate from certification authorities       Read the certificate form a device    Table 3 1 system parameters    Caution  PHPoC does not support restoration when you lose your password  You    can restore your product to factory default condition by using level 2 initialization    but all of your settings  files and the password will be deleted     S SOLLAE SYSTEMS      34   http   www  ezicp com    PBH 204 User Manual Ver  1 1    3 2 Initialization    3 2 1 Level 1    Implementing level 1 initialization  both system parameters and user parameters  including stored certificate will be initialized to factory state  However  password and file    system will not be changed     e Level 1 Initialization Procedure    Press function button shortly  Button setup mode O   less than 1 second  Keep pressing the function button o  Blink very  Preparing initializatio
7.   Open a poc file  menu only       S SOLLAE SYSTEMS  31  http   www  eztcp com    PBH 204 User Manual Ver  1 1    2 5 2 Upload files    Files in the file list will be uploaded to product by clicking upload ES  button  If the  uploading is completed  both files on the file list and in the product are synchronized with    changing GI Icons    File list    C lib  C3 mmap    init  php  test php    Figure 2 17 upload files       S SOLLAE SYSTEMS   32   http   www  ezicp com    PBH 204 User Manual Ver  1 1    3 Management    3 1 Configure Parameters    All parameters including an IP address can be configured by PHPoC Debugger     3 1 1 Configuration Procedure     1  Connect PHPoC product to PC   2  Run PHPoC Debugger and click connect  as  button       After then  click configuration Ea  button        Sometimes you can see inactivated configuration button  In this case  click stop    KX button before configuration      4  Configure parameters    Network   Wireless LAN  IPw4  Local IP Address               Use static IP address  Subnet Mask     Obtain an IP Automatically DHCP     Gateway IP Address    DNS IP Address    IPv6      Disable     Use static IP address      Obtain an IP Automatically    IMAC Address sl  Local P dess          Gateway IP Address    DNS IP Address        Figure 3 1 configuration window             S SOLLAE SYSTEMS 33   http   www eztcp com    3 1 2    Basic    Settings  Security  Settings    Buttons    Certificate    Wireless  LAN    LE    System Parameters  
8.   d alerte anti incendie  ni dans des dispositifs d alarme GTC  ni pour des applications    militaires     De m  me  le bo  tier PBH 204 n est pas con  u  ni destin    ni autoris   pour exp  rimenter   d  velopper ou   tre int  gr   au sein d applications dans lesquelles une d  faillance de celui ci  pourrait cr  er une situation dangereuse pouvant entra  ner des pertes financi  res  des  d  g  ts mat  riel  des blessures corporelles ou la mort de personnes ou d animaux  Si vous  utilisez le boitier PBH 204 volontairement o   involontairement pour de telles applications    non autoris  es  vous vous engagez    soustraire Sollae Systems Co  Ltd  et ses distributeurs    S SOLLAE SYSTEMS   46   http   www  eztcp com    PBH 204 User Manual Ver  1 1    de toute responsabilit   et de toute demande de d  dommagement     En cas de litige  l enti  re responsabilit   de Sollae Systems Co   Ltd  et de ses distributeurs  vis    vis de votre recours durant la p  riode de garantie se limitera exclusivement selon le  choix de Sollae Systems Co  Ltd  et de ses distributeurs au remboursement de votre  produit ou de sa r  paration ou de son   change  Sollae Systems Co  Ltd  et ses distributeurs    d  mentent toutes autres garanties  exprim  es ou implicites     Tous les bo  tiers PBH 204 sont test  s avant exp  dition  Toute utilisation en dehors des  sp  cifications et limites indiqu  es dans cette documentation ainsi que les court circuit  les  chocs  les utilisations non autoris  es  pourro
9.  PNP    transistor connection        Circuit diagram of digital input port    Outside  iate    To MCU       Figure 1 5 circuit diagram of digital input port  e Wet Contact    In this method  a port is ON under supplying sufficient DC voltage between the port    and DIGND port  The voltage condition is as follows     DC 30V    more than DC 3V  less than DC 1 5V    Table 1 8 voltage condition in wet contact          S SOLLAE SYSTEMS   13   http   www  eztcp com    PBH 204 User Manual Ver  1 1    Refer to the following figure for connection with your device         user device connection       Figure 1 6 connection with user device in wet contact    e Dry Contact    In this method  a port is ON under being short circuit between the port and DIGND  port  To use this method  additional power should be supplied between DLCOM and  DI GND     Refer to the following figure for connection with your device         user device connection       Figure 1 7 connection with user device in dry contact       S SOLLAE SYSTEMS   14   http   www eztcp com    PBH 204 User Manual Ver  1 1      NPN transistor connection    Refer to the following figure for connection with NPN transistor         user device connection       Figure 1 8 connection with NPN transistor    e PNP transistor connection    Refer to the following figure for connection with PNP transistor         user device connection       Figure 1 9 connection with PNP transistor       S SOLLAE SYSTEMS  15   http   www  ezicp com    PBH 204
10.  User Manual Ver  1 1    1 5 8 Digital Output    Digital output ports are interfaced with 5mm spaced terminal block  Each port is  connected to a relay and provides two output types  Normal Open  NO  and Normal  Closed  NO      Output OFF Output ON       Figure 1 10 digital output port    e Normal Open  Normal Open means that default state of output port is OFF when product is off  You  can use this method by connecting your device to each COM and NO terminal    e Normal Close  Normal Close means that default state of output port is ON when product is off  You    can use this method by connecting your device to each COM and NC terminal     Digital output port s range of use is as follows        Table 1 9 digital output port s range of use       S SOLLAE SYSTEMS   16   http   www  ezicp com    PBH 204 User Manual Ver  1 1    1 6 Development Environment    1 6 1 Overview    PBH 204 provides development environment over USB  PHPoC Debugger  which is  development software  is required to program to your product or to debug PHPoC source    codes     1 7 PHPoC Debugger    1 7 1 Program Overview    PHPoC Debugger is a software running on Windows  This program does not require  installation  You can upload files to your product with this program through USB port     Features of PHPoC Debugger are as follows   e Upload files from local PC to PHPoC product     Save files which are in PHPoC product to local PC  6 Edit files stored in PHPoC device  e Debug PHPoC scripts  e Monitor PHPoC 
11.  init php  file right after it boots up  If there is no  init php  file   none of PHPoC code will be implemented  Thus  you must create or upload the  init php     file into PHPoC file system     You can write a script on the  init php  as well as running other php files using php  commands of system function  The  init php  is implemented just once but loaded files by    the command can be repeatedly run        Please refer to the    PHPoC System Function    document for detailed information    about system function     e Running script on  init php     init php       Figure 2 2 running script on  init php   e Running another php file in  init php   init php a php   lt  php  system     php a php         T gt        Figure 2 3 running another php file in  init php        S SOLLAE SYSTEMS   25   http   www  eztcp com    PBH 204 User Manual Ver  1 1    6 Script run flow chart    Search    initphp        No       Success     Yes    Start to run  init php        w NO       TT load php file            Yes    Run loaded php  Repeat     Figure 2 4 flow chart of script run          jinit php  is start of all scripts  It means that every php file is directly or indirectly    required to be loaded on  init php  to run it     2 3 2 Default Files    PBH 104 is released with the following files uploaded      lib sd 204 php Basic library of PBH 204     lib sn tcp ac php TCP library   lib sn tcp ws php Web socket library   lib sc envs php System ENV write library    Table 2 1 default files 
12. Programmable I O controller    PBH 204 User Manual    Version 1 1    Sollae Systems Co   LTD     PHPoC forum  http   www phpoc com forum   Homepage  http   www eztcp com    PBH 204 User Manual Ver  1 1    This symbol  found on your product or on its packaging  indicates that this  product should not be treated as household waste when you wish to dispose  of it  Instead  it should be handed over to an applicable collection point for the  recycling of electrical and electronic equipment  By ensuring this product is   disposed of correctly  you will help prevent potential negative consequences to the  environment and human health  which could otherwise be caused by inappropriate disposal  of this product  The recycling of materials will help to conserve natural resources  For more  detailed information about the recycling of this product  please contact your local city  office  household waste disposal service or the retail store where you purchased this    product     X This equipment obtained certification by using 1 5M serial cable        S SOLLAE SYSTEMS ae http   www  ezicp com    PBH 204 User Manual Ver  1 1    D e e SO TENDO O RSS ADO RO RT DSR RD SER OD AR SOR IN EHRE  5   hee ne  EE ne  E Te Oe   6    tA  DIMENSIO WEE  7    To NS ccc caste cases ee seen 8     PO een   8   ESL TED E E nee ge  1 5 1 USB Device Port for connection with PEN nn soa  1 52 Fu  unction BUOM FONC  ersen ae R E A a ee ee   9    45 3 Supplying E sga  1 5 4 USB Host Port for Connection with a WLAN 
13. Ver  1 1     4  File list  List of files in PHPoC product or to be uploaded to it    Synchronized files    ra Files on PHPoC product before synchronization  Files on local PC before synchronization  CT e Synchronized files on local PC for external editors    Table 1 13 file list       Following menus will be popped up when right clicking on file list area     Table 1 14 pop up menu on file list        5  Editor  Show and edit contents of selected file on the file list     Following menus will be popped up when right clicking on editor area     Table 1 15 pop up menu on editor        6  Flash memory size    This shows currently available or in use space on flash memory of PHPoC product     S SOLLAE SYSTEMS   21  http   www  eztcp com    PBH 204 User Manual Ver  1 1     7  Output   FW Log    This window is for displaying standard output and FAN log messages     The following menus will be popped up when right clicking on the windows     Delete all logs Clear screen buffer       Copy a log Copy selected log to clip board  Set   Unset auto scroll    Table 1 16 pop up menu on output   console window    Watch   Resource  This window is for checking run time variable information and system resources     The following menus will be popped up when right clicking on the watch window     Modify Modify a name of selected variable    Create a new window for detailed information    Table 1 17 pop up menu on watch box       S SOLLAE SYSTEMS e e http   www  ezicp com    PBH 204 User Manual V
14. View PHP error log gger UI   File list Vigw firmware error log        Conm   ES lib  Reboot a product wer   HIE mma P st of files    Figure 3 6 firmware upgrade  1       Click  Open  button to select the firmware file           Figure 3 7 firmware upgrade  2      5  Click  Send  button              Figure 3 8 firmware upgrade  3        Firmware Upgrade Completed   PHPoC Debugger    EB Firmware has been transmitted     Figure 3 9 firmware upgrade  4           S SOLLAE SYSTEMS   39   http   www eztcp com    PBH 204 User Manual Ver  1 1    3 6 Etcetera    3 6 1 Using External Editor    In case that you want to use not PHPoC Debugger s internal editor but external editor     just set  External editor  option of  action of file add  item on preferences window     File   Edit Function       col Undo Cirl 7  Redo Ctrl Y   E   em DD  Cut Ctrl X    File  Bi    Copy Ctrl C P View   Paste Ctrl V View margin  Select all Ctrl A View line number  View current line  Auto scroll    Find Next E tine rato  120       Find Previous Shift F3    Change Ctrl H Tab size    Action of file add  Preferences P  GE   E  Internal editor    Find Ctrl F    Initialization     Enter initialization mode       Figure 3 10 using external editor  1     Upload php files with this option  synchronized files have lock icons as follows  Files with  this icon cannot be modified by PHPoC Debugger s internal editor but external editors    available     File list    C lib  G mmap  init php       Figure 3 11 using externa
15. adapter      10   Po  111    A E E A RR E SERUER   10    1 3 0  BRAN E 172  157 Digital AO ee eine IE    458 Digital OUT RR OU RR RR   16    1 6 Development Environment    17    EOL  ONEVIEW ee en nennen nenne 17    L7 PEIPOC DEE 0  6  6     nee ee ee     e  1 21 Program ke   Li 2  1 7 2 Program Structure    sss essen   18     DZ CA RUN E   23     2 1 Development Environment Construction    sise   23    ZT E lt  e   a SE  gt   2 1 2 COR PERA RE ee di  22 3 Running PHPOC OR me naan ear Ar E rn ne er ree   Zo   22  COS UE   24    22 COME iNO ers e een   24    22 2 Ready tO  EE   24     E PACE e   25    POP OO EEA   25    232  DoE TO ee   26    235 Create Tair DA A RR O PR EEEE AEE   27    CS eye   28     2A Savino FICS e aii RU ee ee E E AS    241 Saving File to EE   24    S SOLLAE SYSTEMS YE http   www eztcp com    24 2 Save as a Integrated   poc  file wuss  2 5 Upload Files to Product     2 5 1 How to Add Files to File list     2 5 2 Upload files      3 Management     3 1 Configure Parameters sees  3 1 1 Configuration Procedure     3 1 2 System Parameters ccceccesseseceeeseeeeeseeceseseeeseseeteseseenees  32 MPV      p  s pio   een  52  IV een  577 00 BONO  ee  33  WEAN ee Seb een  Sal Sense een  33 2 WLAN GOSRNSt Ohne  SE      RR RR OS eenere erty enone  334  ACCESS tO ee e EE niai  SA NED IRON I een  3 4 1 How to use web interface     3 4 2 Practical Use of Web Interface     3 5 Firmware Upgrade     3 5 1 Download Firmware File     3 5 2 Firmware Upgrade     e Sea E E een e
16. e ee  3 6 1 Using External Editor     3 6 2 PHP Debug Mode ccccesessesessessesessessesesseesesesseeseetsseesen  3 6 3 Escape Infinite Reboot Problem sese   4 Technical Support and Warranty     4 1 Technical Support anne  42 Cust  mer SUPLE  c Rent e E E ee  Ao REUN EE  4 3 2 Free Repair Services ss  4 3 3 Charged Repair Services      5 Precaution and Exemption from Liability                       PO a a  5 2 Exemption from Liability     521 English NC O aq ee ee  9522 French As   o  q ee ee ee ee     amp  SOLLAE SYSTEMS  3     PBH 204 User Manual Ver  1 1    http   www eztcp com    PBH 204 User Manual Ver  1 1    e APPNO e EE E EE EEE E   48    CL  Divico AO Ehe AEN   48    Cold Device EE   48    GO ee 49     T REVISION History E   50       amp  SOLLAE SYSTEMS  4  http   www  eztcp com    PBH 204 User Manual Ver  1 1    1 Overview    1 1 Overview    PBH 204 is a programmable I O controller for industrial network communication  You can  build various systems which are based on network using PBH 204 with many kinds of    devices such as a personal computer     We provide a self development programming language  which is called PHPoC  for  programing PBH 204  This language is easy to use and compatible with PHP which is    widely used script language        PHPoC is basically compatible with PHP but those languages are not the same  because of restrictions about embedded system  Please refer to the    PHPoC    Language Reference Manual    and    PHPoC vs PHP    for detailed info
17. ense     4 3 3 Charged Repair Services    For product failures occurring after the warranty period  two years  or resulting from  user s fault  repair service fees will be charged and the product will be replaced at user s    expense     S SOLLAE SYSTEMS   43   http   www  ezicp com    PBH 204 User Manual Ver  1 1    5 Precaution and Exemption from Liability       5 1 Precaution       Sollae Systems is not responsible for product failures occurring due to user s    alternation of the product        Specifications of the product are subject to change without prior notice for    performance improvement        Sollae Systems does not guarantee successful operation of the product if the    product was used under conditions deviating from the product specifications     e Reverse engineering of firmware and applications provided by Sollae Systems is  prohibited     e Use of firmware and applications provided by Sollae Systems for purposes other    than those for which they were designed is prohibited     e Do not use the product in an extremely cold or hot place or in a place where    vibration is severe     e Do not use the product in an environment in which humidity is high or a lot of oil    exists   e Do not use the product where there is caustic or combustible gas     6 Sollae Systems does not guarantee normal operation of the product under the    conditions a lot of noise exists     e Do not use the product for a purpose that requires exceptional quality and  reliability rela
18. er  1 1    2 Test Run    This chapter instructs how to program and execute provided example codes   2 1 Development Environment Construction    2 1 1 Local PC    A MS windows PC is required to upload php files to the PBH 204 while creating and    modifying php files are available on other operating systems     2 1 2 Connecting PBH 204    Connect PBH 204 to PC with a USB cable     2 1 3 Running PHPoC Debugger    Run PHPoC Debugger on the PC       This document defines  Upload  to  Sending files from a PC to PHPoC product         PBH 204            SSE RE plant    Local PC    Figure 2 1 definition of upload       S SOLLAE SYSTEMS   23   http   www eztcp com    PBH 204 User Manual Ver  1 1    2 2 Connecting Product    2 2 1 Connecting Product  Connect PBH 204 to a PC with a USB cable    amp  Device driver will be automatically installed when you connect PBH 204 to your PC     When automatic installation fails  download and install the driver on ST Micro s    web site     zc  STM32 USB Virtual Com Port Driver Download page   http  wwvu st com web catalog tools FM147 CL1794 SC961 SS1533 PF257938       2 2 2 Ready to Communicate      Run PHPoC Debugger         Select connected COM PORT and press connect ae button        If USB is successfully connected  connect button will be inactivated and disconnect       button le r  will be activated     S SOLLAE SYSTEMS   24   http   www  eztcp com    PBH 204 User Manual Ver  1 1    2 3 Practice    2 3 1 PHPoC Operation    PHPoC searches the 
19. ew folder    FT Favorites a   2 Libraries  EE Desktop Les    System Folder    de Downloads       S  Recent Places   Roy  d System Folder    Libraries    E     Computer  Documents   System Folder  a Music      Pictures d Network  EE Videos r   System Folder    File name  test    Save as type    POC File   poc         Hide Folders       Figure 2 14 save as a poc file  2        S SOLLAE SYSTEMS le http   www eztcp com    PBH 204 User Manual Ver  1 1    2 5 Upload Files to Product    PHP files in local PC can be uploaded to PHPoC products     2 5 1 How to Add Files to File list    e Drag  amp  Drop    Select and drag files on Window explorer to file list box and drop them     Organize v T  Open Share with   Pd T File Edit Function  wr Favorites Documents libra  compot  come is  BE    BE Desktop Source        o   1 PHPoc De  Dos   Tuma LEE            SCH 2   Menu     Recent Places File list  3   COM PO  4   Buttons  Libraries  e SZT 5   File list    Documents Te  6   Edit win  a Music    7   Console     Pictures a  ES  Viderr    9  How to u        Figure 2 15 add files to file list  1       Add menu    If you click  Add  after right clicking in file list box  a window for selecting files will be    created  Selected files on the windows will be added to the file list     Gi  EITA    File list    C lib  G mmap        Mew    Ri g ht Click Change the filename    Delete    Change firmware    Figure 2 16 add files to file list  2     o Integrated file  poc  should be added by  File  gt
20. l editor  2        S SOLLAE SYSTEMS   40   http   www  ezicp com    PBH 204 User Manual Ver  1 1    3 6 2 PHP Debug Mode    PHPoC provides run time debugging function  Buttons for debugging are enabled when  you check the PHP debug mode option in PHPoC Debugger  In this mode  you can set    break points or check values of variables at every command line        ES PHPoC debugger  File Edit              Product Firmware information  COM Port   W      Network information    e View PHP error log               File list View firmware error log  Upgrade firmware  ga Reboot a product  mma    init ph    Firmware debug mode  task0 p       Font    Figure 3 12 enable debug mode  1     When enabling debug mode  PHPoC pause running script at the first line        File Edit Function                                    comPort  come 9  Ser ole  File list  initphp 41byte    lib N i  I   mman dm    Figure 3 13 enable debug mode  2     S SOLLAE SYSTEMS   41   http   www eztcp com       PBH 204 User Manual Ver  1 1    3 6 3 Escape Infinite Reboot Problem    PHPoC basically runs scripts when it boots up  Therefore  it is possible that a PBH 204  cannot be escape from infinite reboot by system command such as  reboot   To solve this  problem  it is required to stop the running script  Refer to the following     1  Entering ISP mode   Make PBH 204 to enter ISP mode by supplying power while pressing FUNC button  In  the ISP mode  you can access to PHPoC by PHPoC Debugger without running a script   2
21. lly runs a script when it boots up or uploads file system  You can find    the result in the Output window of PHPoC Debugger        Output Tei    Hello PHPoC          Figure 2 9 result      If  PHP debug mode  option of PHPoC Debugger is enabled  PHPoC does    not execute a script automatically  You can manually run the script by    clicking the Run button  LEI    S SOLLAE SYSTEMS   28   http   www eztcp com    2 4 Saving Files to PC    24 1 Saving File to PC    e Select files in file list    File list  init  php 41byte       init php       Figure 2 10 saving files to PC  1     e Click  File   gt   Save selected file s jmenu on menu bar    Edit Function       Figure 2 11 saving files to PC  2     e Choose a path and click  OK  button              Select a folder to save to      gt   oa Libraries    gt  B Roy  a jE Computer   gt   amp  Floppy Disk Drive  A       gt      Local Disk  G      gt  3 DVD Drive  D       K Network    PBH 204 User Manual Ver  1 1       piin  Local Disk  C      Make New Folder    Figure 2 12 saving files to PC  3        S SOLLAE SYSTEMS 2        http   www  ezicp com    PBH 204 User Manual Ver  1 1    24 2 Save as a Integrated   poc  file    e When you want to save all files on the file list as a single file  use  Save a poc file     menu     Edit Function       Open a porc file  Save selected file s        Figure 2 13 save as a poc file  1      poc  is filename extension  Input filename and click  Save  button       L     Search Desktop    Organize   N
22. n  over 5 seconds rapidly  O    After the step 3  release the   function button within 2 seconds o  Progressing initialization    After 2 seconds elapsed  state go   back to the step 3     n  n  Rebooting automatically Initial state    Table 3 2 level 1 initialization procedure       Check STS LED after 5 seconds Initialization ready      WLAN easy setup function will be activated in the button setup mode in level 1  initialization  Thus  a STS LED can be blink if a wireless LAN client is linked     S SOLLAE SYSTEMS o e http   www  eztcp com    PBH 204 User Manual Ver  1 1    3 2 2 Level 2    When you implement level 2 initialization  all parameters including user password and file    system is initialized to factory state        Level 2 initialization should be used very carefully  Note that you had better to  back up you files to a local PC before doing this because they will be deleted     6 Level 2 Initialization Procedure    Set PHPoC to initialization mode o    Enter Initialization mode Blink     Use  Edit  gt   Preferences  menu on  PHPoC Debugger     Keep pressing the function button a Blink very  Preparing initialization    over 10 seconds rapidly    after reboot rapidly    Check STS LED after 10 seconds Initialization ready    After the step 3  release the   function button within 2 seconds o  Progressing initialization   After 2 seconds elapsed  state go    back to the step 3     Initialization is finished Off    Table 3 3 level 2 initialization procedure        am
23. nt affecter la fiabilit    cr  er des  dysfonctionnements et ou la destruction du bo  tier PBH 204 sans que la responsabilit   de  Sollae Systems Co   Ltd  et de ses distributeurs ne puissent   tre mise en cause  ni que le    bo  tier PBH 204 puisse   tre   chang   au titre de la garantie     e Rappel sur l   vacuation des   quipements   lectroniques usages    Le symbole de la poubelle barr   pr  sent sur le bo  tier PBH 204 indique que vous ne  pouvez pas vous d  barrasser de ce dernier de la m  me fa  on que vos d  chets courants   AU contraire  vous   tes responsable de l   vacuation du bo  tier PBH 204 lorsqu il arrive en  fin de vie  ou qu il est hors d usage  et    cet effet  vous   tes tenu de le remettre    un  point de collecte agr     pour le recyclage des   quipements   lectriques et   lectroniques  usag  s  Le tri  l   vacuation et le recyclage s  par  s de vos   quipements usag  s permettent  de pr  server les ressources naturelles et de s assurer que ces   quipements sont recycl  s  dans le respect de la sant   humaine et de l environnement  Pour plus d informations sur les  lieux de collecte des   quipements   lectroniques usag  s  contacter votre mairie ou votre    service local de traitement des d  chets     S SOLLAE SYSTEMS   4    http   www  eztcp com    PBH 204 User Manual Ver  1 1    6 Appendix    6 1 Device Information    6 1 1 Device overview    NETO  mmap net0 1 O  wired  1  wireless   mmap tcp0 4       Digital Input     Photo coupler    i    Digital O
24. ons commerciales    Toutes les marques  les proc  d  s  les r  f  rences et les appellations commerciales des    produits cit  s dans la documentation appartiennent    leur propri  taire et Fabricant respectif     e Conditions d utilisations et limite de responsabilit      En aucun cas Sollae Systems Co  Ltd  ou un de ses distributeurs ne pourra   tre tenu  responsable de dommages quels qu ils soient  int  grant  mais sans limitation  les  dommages pour perte de b  n  fice commercial  interruption d exploitation commerciale   perte d informations et de donn  es    caract  re commercial ou de toute autre perte  financi  re  provenant de l utilisation ou de l incapacit      pouvoir utiliser le bo  tier PBH 204   m  me si Sollae Systems Co  Ltd  ou un de ses distributeurs a   t   inform   de la possibilit      de tels dommages     Le bo  tier PBH 204 est exclusivement pr  vu pour un usage en int  rieur  dans un  environnement sec  temp  r     10   C     40  C  et non poussi  reux  Le bo  tier PBH 204 n est  pas pr  vu  ni autoris   pour   tre utilis   en ext  rieur  ni de fa  on embarqu  e dans des engins  mobiles de quelque nature que ce soit  voiture  camion  train  avion  etc      ni en milieu  explosif  ni dans des enceintes nucl  aires  ni dans des ascenseurs  ni dans des a  roports  ni  dans des enceintes hospitaliers  ni pour des applications    caract  re m  dical  ni dans des  dispositifs de d  tection et d alerte anti intrusion  ni dans des dispositifs de d  tection et
25. p  SOLLAE SYSTEMS   36   http   www eztcp com    PBH 204 User Manual Ver  1 1    3 3 WLAN Easy Setup    Product enters into button setup mode when you push function button in normal state   In the mode  WLAN easy setup function is activated if an USB WLAN adapter is connected    so you can access to your product by smartphone or laptop by WLAN     3 3 1 SSID    Once WLAN easy setup function is activated in button setup mode  product uses SSID  including own MAC address like an AP SSID is contained the second half of the product s  MAC address after  phpoc_  which is a prefix  For example  if the MAC address is   0030f9060101   the SSID is  phpoc 060101      3 3 2 WLAN Connection    Find your product s SSID via a smartphone or laptop     60101       Figure 3 2 WLAN connection    3 3 3 DHCP    While using WLAN easy setup function  a mobile automatically gets a dynamic IP address  from your product  The IP address of your product is fixed to 192 168 0 1 and mobile  obtains an IP address in 192 168 X X range     3 3 4 Access to Product    After uploading setting page to product  you can access to it by web browser     teete SKET 7 PM 5 46    100  fa     192 168 0 1       SKT G GER 7 7 Bere    SULA SYSTEME    PBH 204       PBH 204       System Information System Information       Prodact PEH 204  Product name PBH 204 Fuso    BT en ar PTE 5 1 9    Figure 3 3 mobile connection  left  iOS  right  Android     o WLAN easy setup function is available on connecting a USB WLAN adapter    
26. product resources    Set PHPoC product    e Upgrade Firmware of PHPoC product    S SOLLAE SYSTEMS   17   http   www eztcp com    PBH 204 User Manual Ver  1 1    1 7 2 Program Structure    E PHPoC debugger    File Edit Function                          148KB Flash Memory 494KB    Output   Watch    Name       Figure 1 11 program structure    S SOLLAE SYSTEMS   18   http   www eztcp com    PBH 204 User Manual Ver  1 1    D Menu bar    Replace specified text with given text    View firmware log view firmware log messages  Enable disable PHP debugging mode    PHPoC Debugger        Information about PHPoC Debugger  information    Product   Firmware          Information of current firmware and product  information  Network information Current network information  Function       Table 1 10 menu bar    S SOLLAE SYSTEMS   19   http   www eztcp com    PBH 204 User Manual Ver  1 1    e Preferences    View  Enable   Disable auto scroll  Set line space  100  120  150  200  300  Set tab size  1  2  4  8  16    I  I I      Internal editor PHPoC Debugger internal editor  Action of    External editor External editor  file add    Show select option every time  Backup path Path of backup files    o Enter initialization en  Initialization Set product to initialization mode  mode    Table 1 11 preferences         COM PORT  Part for choosing a virtual USB COM port     3  Buttons    Run line by line    Table 1 12 buttons        amp  SOLLAE SYSTEMS   20   http   www  ezicp com    PBH 204 User Manual 
27. rmation     1 2 Features  e Provides Self Development PHPoC Interpreter  e Provides simple development environment via USB  e Provides 4 digital input ports  DRY WET contact selectable  e Provides 4 digital output ports  NC NO selectable  e Provides serial port with RS232 RS422 RS485 interface  e Provides 10 100Mbit Ethernet  e Provides IEEE802 11b g Wireless LAN    e Provides development tool for Windows    S SOLLAE SYSTEMS   5   http   www  ezicp com    PBH 204 User Manual Ver  1 1    1 3 Specification    Peer  3 DC 5V   0 5V    USB Device Port    ee about 4 2W without USB WLAN adapter     seal x RS232 RS422 RS485    Baud Rate  1 200bps   230 400bps    10 Base T   100 Base TX Ethernet   Auto MDI MDIX  cable auto sensing    IEEE802  kengen a    require Ralink RT3070 5370 kengen a WLAN adapter     CS Host     for WLAN adapter  CS Device     for PC  Firmware PHPoC Interpreter    Storage    Power    seal    Interfaces    Network    Temperature     Operating    Approval KC  CE  FCC    Table 1 1 specification          S SOLLAE SYSTEMS   6   http   www  eztcp com    PBH 204 User Manual Ver  1 1    1 4 Dimension    PWRI  PWR2    DC 85 38 DC Su    mA O G 0   Bs nda    Digital Input    Digital Output    PBH 204    SOLLAE SYSTEMS    Digital Output  Digital Input  ee  Func  DLCOM     gt  u                Figure 1 1 dimension     amp  Dimensions may vary according to a method of measurement        S SOLLAE SYSTEMS TE http   www eztcp com    PBH 204 User Manual Ver  1 1    1 5 Interface 
28. ting to user s injuries or accidents     aerospace  aviation  health care     nuclear power  transportation  and safety purposes     6 Sollae Systems is not responsible for any accident or damage occurring while using    the product     S SOLLAE SYSTEMS   44   http   www  eztcp com    PBH 204 User Manual Ver  1 1    5 2 Exemption from Liability    5 2 1 English version    In no event shall Sollae Systems Co   Ltd  and its distributors be liable for any damages  whatsoever  including  without limitation  damages for loss of profit  operating cost for  commercial interruption  loss of information  or any other financial loss  from the use or  inability to use the PBH 204 even if Sollae Systems Co   Ltd  and its distributors have been    informed of such damages     The PBH 204 is not designed and not authorized for use in military applications  in  nuclear applications  in airport applications  in applications involving explosives  in medical  applications  in security alarm  in a fire alarm  in applications involving elevators  or in  embedded applications in vehicles such as but not limited to cars  planes  trucks  boats     aircraft  helicopters  etc     In the same way  the PBH 204 is not designed  intended  authorized to test  develop  or  be built into applications where failure could create a dangerous situation that may result  in financial losses  damage to property  personal injury  or the death of people or animals   If you use the PBH 204 voluntarily or involuntaril
29. utput  Relay   mmap io4  Digital Output LED   mmap io3    Table 6 1 device overview       E     ES   ST    ee ee    o Refer to the    Device Programming Guide for P20    for detailed information about    using devices      amp  SOLLAE SYSTEMS   48   http   www eztcp com    PBH 204 User Manual Ver  1 1    6 1 2 I O port    Path and Mapping information     mmap io3     15  14  13  12  LED        mmap io3      mmap io4        11  0        mmap io4  LSB    Digital Input     mmap io4     15    12  11  10  0    soma   C ee o    MSB     mmap io4  LSB    PBH 204    X OE  bit for Enable   Disable output relay    Enable  LOW 0   Disable  HIGH 1      mmap io4       T  RS485   422RE   RS422   RS232      mmap 104      UART Mode    Values for Serial Type    Type Value  RS485 422 RE RS422 RS232    es Jos Jo fi jo   o  ee  oo Jo  o   fo  eg  owe JI jo fo    Table 6 2 I O port    S SOLLAE SYSTEMS   49   http   www  eztcp com       PBH 204 User Manual Ver  1 1    7 Revision History    2015 11 10 Updated screenshots          S SOLLAE SYSTEMS   50   http   www  eztcp com    
30. y for such unauthorized applications  you  agree to subtract Sollae Systems Co   Ltd  and its distributors from all liability for any claim    for compensation     Sollae Systems Co   Ltd  and its distributors entire liability and your exclusive remedy shall  be Sollae Systems Co   Ltd  and its distributors option for the return of the price paid for     repair  or replacement of the PBH 204     In no event shall Sollae Systems Co   Ltd  and its distributors be liable for loss of user    program codes which are stored in PBH 204     Sollae Systems Co   Ltd  and its distributors disclaim all other warranties  either expressed  or implied  including  but not limited to  the implied warranties of merchantability and  fitness for a particular purpose  with respect to the PBH 204 including accompanied written    material  hardware and firmware     S SOLLAE SYSTEMS   45   http   www eztcp com    PBH 204 User Manual Ver  1 1    5 2 2 French version    e Documentation    La documentation du boitier PBH 204 est con  ue avec la plus grande attention  Tous les  efforts ont   t   mis en   uvre pour   viter les anomalies  Toutefois  nous ne pouvons garantir  que cette documentation soit    100  exempt de toute erreur  Les informations pr  sentes  dans cette documentation sont donn  es    titre indicatif  Les caract  ristiques techniques  peuvent changer    tout moment sans aucun pr  avis dans le but d am  liorer la qualit   et les    possibilit  s des produits     e Copyright et appellati
31. ying Power    e PWRI port  PWRI port is interfaced with terminal block  The range is from DC 8 5V to 38V and    the polarity does not need to be concerned     e PWR2 port    Power port uses DC 5V and its specification is as follows              Figure 1 3 PWR2 port specification    e USB Device port  Micro USB     This port can be a sub input port for supplying power     S SOLLAE SYSTEMS  9  http   www eztcp com    PBH 204 User Manual Ver  1 1    1 5 4 USB Host Port for Connection with a WLAN adapter    PBH 204 provides a USB host port for an USB WLAN adapter  You can connect your  product to Wireless LAN by connecting a WLAN adapter to this port  Note that you cannot    use Ethernet  Wired LAN  while using this port        Caution  Only adapters using Ralink RT3070 5370 chipsets are available        Caution  WLAN cannot be used with Ethernet at the same time     1 5 5 Serial    PBH 204 provides one serial port interfaced to D SUB 9pin male connector and you can    select the type of RS422  RS485 or RS232  Uploading PHPoC codes to your product is    required to set the type of serial     OO             OO          Figure 1 4 serial       Please refer to the    PHPoC Device Programming Guide for P20    for detailed    information about setting type of serial     S SOLLAE SYSTEMS   10   http   www  eztcp com    PBH 204 User Manual Ver  1 1       Serial Port Specification    Parameter       The number of port 1  Serial Type RS232   RS422   RS485  Baud rate 1 200   230 400  bps  
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
高温用ボール式 電動弁 BM  Z135/70 - Nationwide Platforms  Philips FC8059  取扱説明書  Klip Xtreme KCP-020  User Manual - Sonoris Audio Engineering    スライド 1  LOEWE Connect 37 Media    Copyright © All rights reserved. 
   Failed to retrieve file