Sollae Systems PBH-101 User Manual

Programmable serial server

Advertisement

Quick Links

Programmable Serial Server
PBH-101 User Manual
Version 1.2
Sollae Systems
https://phpoc.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PBH-101 and is the answer not in the manual?

Questions and answers

Summary of Contents for Sollae Systems PBH-101

  • Page 1 Programmable Serial Server PBH-101 User Manual Version 1.2 Sollae Systems https://phpoc.com...
  • Page 2 PBH-101 User Manual Ver. 1.2 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.
  • Page 3: Table Of Contents

    Test Run ..........................- 19 - 2.1 Development Environment Construction .................... - 19 - 2.1.1 Local PC ..............................- 19 - 2.1.2 Connecting PBH-101 ..........................- 19 - 2.1.3 Running PHPoC Debugger ........................ - 19 - 2.2 Connecting Product ............................- 20 - 2.2.1 Connecting Product ..........................
  • Page 4 PBH-101 User Manual Ver. 1.2 2.5.1 How to Add Files to File list ......................- 27 - 2.5.2 Upload files .............................. - 28 - Management ........................- 29 - 3.1 Configure Parameters ........................... - 29 - 3.1.1 Configuration Procedure ........................- 29 - 3.1.2 System Parameters ..........................
  • Page 5 PBH-101 User Manual Ver. 1.2 6.1.1 Device overview ............................. - 44 - 6.1.2 I/O port ..............................- 44 - Revision History ........................- 45 - - 4 - https://www.eztcp.com...
  • Page 6: Overview

    1.1 Overview PBH-101 is a programmable device for industrial network communication. You can build various systems which are based on network using PBH-101 with many kinds of devices such as a personal computer. We provide a self-development programming language, which is called PHPoC, for programing PBH-101.
  • Page 7: Specification

    PBH-101 User Manual Ver. 1.2 1.3 Specification Input DC 5V (±0.5V) Power Current about 235㎃ (without USB WLAN adapter) Dimension 158㎜ x 90㎜ x 24㎜ Weight about 347g (without USB WLAN adapter) 1 x RS232/RS422/RS485 Serial (Baud Rate: 1,200bps ~ 230,400bps)
  • Page 8: Dimension

    PBH-101 User Manual Ver. 1.2 1.4 Dimension Figure 1-1 dimension Dimensions may vary according to a method of measurement.  - 7 - https://www.eztcp.com...
  • Page 9: Interface

    PBH-101 User Manual Ver. 1.2 1.5 Interface 1.5.1 Panel Layout Figure 1-2 panel layout ① LED PWR, STS, A~H ② USB device port (Setup): PC connection, DC 5V power supply ③ Ethernet port: 10/100M ④ Serial port: RS232 / RS422 / RS485 ⑤...
  • Page 10: Led

    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-101 may not work properly in case of supplying power via this port only due to insufficient current.
  • Page 11: Usb Host Port For Connection With A Wlan Adapter

    USB Host Port for Connection with a WLAN adapter PBH-101 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.
  • Page 12 PBH-101 User Manual Ver. 1.2 ⚫ RS232 pin assignment Name Description Level Note Data Carrier Detect RS232 Receive Data RS232 basic Transmit Data RS232 basic Data Terminal Ready RS232 optional (always output active signal) Ground basic Data Set Ready RS232...
  • Page 13: Ethernet

    PBH-101 User Manual Ver. 1.2 1.5.8 Ethernet PBH-101 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. ⚫ LED of RJ45 Connector Operation State...
  • Page 14: Development Environment

    PBH-101 User Manual Ver. 1.2 1.6 Development Environment 1.6.1 Overview PBH-101 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.
  • Page 15: Program Structure

    PBH-101 User Manual Ver. 1.2 1.7.2 Program Structure Figure 1-5 program structure - 14 - https://www.eztcp.com...
  • Page 16 PBH-101 User Manual Ver. 1.2 ① Menu bar Menu Sub menu Description Open a poc file Open a poc format file File Save selected file(s) Save selected files in file list to local PC Save a poc file Save all files in file list to local PC (.poc)
  • Page 17 PBH-101 User Manual Ver. 1.2 ⚫ Preferences Menu Sub menu Description View margin Show / Hide margin View line number Show / Hide line number on margin View current line Enable / Disable current line emphasis View Auto scroll Enable / Disable auto scroll...
  • Page 18 PBH-101 User Manual Ver. 1.2 ④ File list List of files in PHPoC product or to be uploaded to it Icon Description Synchronized files Files on PHPoC product before synchronization Files on local PC before synchronization Synchronized files on local PC for external editors Table 1-11 file list Following menus will be popped up when right clicking on file list area.
  • Page 19 PBH-101 User Manual Ver. 1.2 ⑦ Output / FW Log This window is for displaying standard output and F/W log messages. The following menus will be popped up when right clicking on the windows. Menu Description Delete all logs Clear screen buffer...
  • Page 20: 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-101 while creating and modifying php files are available on other operating systems. 2.1.2 Connecting PBH-101 Connect PBH-101 to PC with a USB cable.
  • Page 21: Connecting Product

    2.2.1 Connecting Product Connect PBH-101 to a PC with a USB cable. Device driver will be automatically installed when you connect PBH-101 to your PC.  When automatic installation fails, download and install the driver on ST Micro's web site.
  • Page 22: Practice

    PBH-101 User Manual Ver. 1.2 2.3 Practice 2.3.1 PHPoC Operation PHPoC searches the "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"...
  • Page 23: Default Files

    "init.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-101 is released with the following files uploaded. File Name Description /lib/sd_101.php Basic library of PBH-101 /lib/sn_tcp_ac.php...
  • Page 24: Create "Init.php

    PBH-101 User Manual Ver. 1.2 2.3.3 Create "init.php" ⚫ Click file list with the right button of your mouse and select [New] menu. Figure 2-5 create "init.php" (1) ⚫ Input "init" into the file name box. Figure 2-6 create "init.php" (2) ⚫...
  • Page 25: Excecute Script

    PBH-101 User Manual Ver. 1.2 ⚫ Input the following command lines into the editor. Figure 2-8 Hello PHPoC (1) ⚫ Click upload button. ( ⚫ After PHPoC finishes uploading files, icon will be changed. ( → 2.3.4 Excecute Script PHPoC automatically runs a script when it boots up or uploads file system. You can find the result in the Output window of PHPoC Debugger.
  • Page 26: Saving Files To Pc

    PBH-101 User Manual Ver. 1.2 2.4 Saving Files to PC 2.4.1 Saving File to PC ⚫ Select files in file list Figure 2-10 saving files to PC (1) ⚫ Click [File] > [Save selected file(s)] menu on menu bar Figure 2-11 saving files to PC (2) ⚫...
  • Page 27: Save As A Integrated (.Poc) File

    PBH-101 User Manual Ver. 1.2 2.4.2 Save as a Integrated (.poc) file ⚫ When you want to save all files on the file list as a single file, use [Save a poc file] menu. Figure 2-13 save as a poc file (1) ".poc"...
  • Page 28: Upload Files To Product

    PBH-101 User Manual Ver. 1.2 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 ⚫ Drag & Drop Select and drag files on Window explorer to file list box and drop them.
  • Page 29: Upload Files

    PBH-101 User Manual Ver. 1.2 2.5.2 Upload files Files in the file list will be uploaded to product by clicking upload ( ) button. If the uploading is completed, both files on the file list and in the product are synchronized with...
  • Page 30: Management

    PBH-101 User Manual Ver. 1.2 Management 3.1 Configure Parameters All parameters including an IP address can be configured by PHPoC Debugger. 3.1.1 Configuration Procedure ① Connect PHPoC product to PC. ② Run PHPoC Debugger and click connect ( ) button.
  • Page 31: System Parameters

    PBH-101 User Manual Ver. 1.2 3.1.2 System Parameters Category Parameter IP address Subnet mask Gateway IP address IPv4 DNS server IP address Network IP address type - Use static IP address IP address type - Obtain an IP automatically (DHCP)
  • Page 32: Initialization

    PBH-101 User Manual Ver. 1.2 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. ⚫ Level 1 Initialization Procedure...
  • Page 33: Level 2

    PBH-101 User Manual Ver. 1.2 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 ...
  • Page 34: Wlan Easy Setup

    PBH-101 User Manual Ver. 1.2 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.
  • Page 35: Web Interface

    3.4.2 Practical Use of Web Interface A web interface is very useful because it runs while PBH-101 is operating in button setup mode. If you upload web pages for running any function, you can easily use it by wireless LAN.
  • Page 36: Firmware Upgrade

    PBH-101 User Manual Ver. 1.2 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 ① Connect setup port of PHPoC product to local PC via USB cable.
  • Page 37: Etcetera

    PBH-101 User Manual Ver. 1.2 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.
  • Page 38: Php Debug Mode

    PBH-101 User Manual Ver. 1.2 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.
  • Page 39: Escape Infinite Reboot Problem

    3.6.3 Escape Infinite Reboot Problem PHPoC basically runs scripts when it boots up. Therefore, it is possible that a PBH-101 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.
  • Page 40: Technical Support And Warranty

    PBH-101 User Manual Ver. 1.2 Technical Support and Warranty Technical Support Sollae Systems operates PHPoC forum web site. This forum is for solving problem, asking questions and sharing opinions among PHPoC users. ⚫ PHPoC Forum: https://forum.phpoc.com Customer Support If you have any question regarding products, service and others, visit message board of Customer Support on Sollae Systems’...
  • Page 41: Precaution And Exemption From Liability

    ⚫ Do not use the product for a purpose that requires exceptional quality and reliability relating to user’s injuries or accidents – aerospace, aviation, health care, nuclear power, transportation, and safety purposes. ⚫ Sollae Systems is not responsible for any accident or damage occurring while using the product. - 40 -...
  • Page 42: Exemption From Liability

    (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-101 even if Sollae Systems Co., Ltd. and its distributors have been informed of such damages.
  • Page 43: French Version

    à caractère commercial ou de toute autre perte financière) provenant de l'utilisation ou de l'incapacité à pouvoir utiliser le boîtier PBH-101, même si Sollae Systems Co., Ltd. ou un de ses distributeurs a été informé de la possibilité de tels dommages.
  • Page 44 PBH-101 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-101 puisse être échangé au titre de la garantie.
  • Page 45: Appendix

    PBH-101 User Manual Ver. 1.2 Appendix 6.1 Device Information 6.1.1 Device overview Device Number Path Note UART /mmap/uart0 /mmap/net0~1 0: wired, 1: wireless /mmap/tcp0~4 /mmap/udp0~4 I/O - Digital Output (LED) /mmap/io3 /mmap/st0~3 Table 6-1 device overview 6.1.2 I/O port Type...
  • Page 46 PBH-101 User Manual Ver. 1.2 Revision History Date Version History Author 2014.10.23. Created Roy Lee 2015.11.10. Updated screenshots Amy Kim 2020.05.13. ○ Modify contents about approval in the Specification Roy LEE ○ Correct some errors - 45 - https://www.eztcp.com...

Table of Contents