background image

P5H-154 User Manual > Introduction

2021-12-10

Sollae Systems

page 1 of 15

Overview

The P5H-154 is a programmable device that provides Ethernet function. Because this product equips
4 digital input ports, you can transfer the signals of the ports to remote hosts via network.

Programming on this product requires the use of PHPoC (PHP on Chip). PHPoC is quite similar in
syntax to PHP, the general-purpose scripting language. Therefore, anyone with experience in
programming can easily learn and use it.

※ Although PHPoC and PHP are quite similar in syntax, they are clearly different programming
languages. Refer to the 

PHPoC Language Reference

 and 

PHPoC vs PHP

 for detailed information.

Содержание P5H-154

Страница 1: ...e ports to remote hosts via network Programming on this product requires the use of PHPoC PHP on Chip PHPoC is quite similar in syntax to PHP the general purpose scripting language Therefore anyone with experience in programming can easily learn and use it Although PHPoC and PHP are quite similar in syntax they are clearly different programming languages Refer to the PHPoC Language Reference and P...

Страница 2: ...res self developed PHPoC interpreter simple development environment via USB 10 100Mbps Ethernet 4 digital input ports 2 user defined LEDs self developed TCP IP stacks Web Server WebSocket TLS various libraries Email DNS MySQL and Etc dedicated development tool PHPoC Debugger ...

Страница 3: ... Current Consumption typical approximately 284mA Dimension 94mm x 57mm x 24mm Weight approximately 65g Interface Digital Input 6 pole terminal block 4 digital inputs dry or wet contact Network 10 100Mbps Ethernet USB USB Device Port for PC connection LED 8 LEDs System 6 User defined 2 Temperature storage operating 40 85 Environment RoHS Compliant ...

Страница 4: ...User Manual Layout 2021 12 10 Sollae Systems page 4 of 15 Layout 1 Supplying Power DC 5V Input This port is the input port for supplying power The input voltage is DC 5V 0 5V and the specification is as follows ...

Страница 5: ...mapped to NET0 for programming 3 Digital Input 4 digital input ports are an 6 pole 3 5mm pitch terminal block Each port is mapped a specific pin of UIO0 for programming Lable Description UIO pin DI V common voltage input DC 4 5V 25V DI0 digital input 0 UIO0 22 DI1 digital input 1 UIO0 23 DI2 digital input 2 UIO0 24 DI3 digital input 3 UIO0 25 DI G common ground ...

Страница 6: ...e Digital Input Port WET contact The condition of input voltage is as follows division voltage maximum input voltage DC 25V minimum input voltage for ON state DC 4 5V or higher maximum input voltage for OFF state DC 1V or lower Refer to the following figure for connection with your device ...

Страница 7: ...and DI G port in this type It means additional power should be supplied between DI V and DI G Refer to the following figure for connection with your device NPN Transistor Connection Refer to the following figure for connection with an NPN transistor PNP Transistor Connection Refer to the following figure for connection with a PNP transistor ...

Страница 8: ... System LED status of input port 1 UIO0 23 Di2 Green System LED status of input port 2 UIO0 24 Di3 Green System LED status of input port 3 UIO0 25 RJ45_G Green System LED system status N A RJ45_Y Yellow System LED network link status N A 5 Function Button The function button which is inside the hole of the side panel is used to operate this product as a button setup mode 6 USB Device Port for conn...

Страница 9: ...ducts You need to install this program on your PC for using PHPoC PHPoC Debugger Download Page PHPoC Debugger Manual Functions and Features of PHPoC Debugger Upload files from local PC to PHPoC Download files in PHPoC to local PC Edit files stored in PHPoC Debug PHPoC scripts Monitor resources of PHPoC Configure parameters of PHPoC Upgrade Firmware of PHPoC Support MS Windows O S ...

Страница 10: ...rt of P5H 154 to your PC via a USB cable 1 Run PHPoC Debugger 2 Select connected COM PORT and press connect button 3 If USB is successfully connected connect button will be inactivated and disconnect button 4 will be activated Remote Connection P5H 154 provides the remote connection Please refer to the PHPoC Debugger manual page for details ...

Страница 11: ...the RJ45_Y LED is turned OFF Initialization ready Off 4 Release the function button right after the RJ45_Y is OFF If you don t release the button within 2 seconds the state go back to the step 3 Progressing initialization On 5 Rebooting automatically Initial state Off Factory Reset Factory Reset makes all settings of your PHPoC products to factory default including a password Futhermore all files ...

Страница 12: ...rowsers How to use web interface To use the web interface index php file should be in the file system of your PHPoC Connect to this page by entering device IP address after connecting it to network If the name of file is not index php just specify the name of file after the IP address with slash mark Practical Use of Web Interface Since the web server executes the php script in the requested file ...

Страница 13: ... Passwords 2021 12 10 Sollae Systems page 13 of 15 Setting Passwords If you set a password for the product you must enter the password when connecting the product via USB or network Please refer to the PHPoC Debugger manual page for details ...

Страница 14: ...g Entering ISP mode 1 Make your PHPoC product 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 Connect to PHPoC 2 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 Reboot PHPoC 3 Reboot PHPoC by using Reboot a prod...

Страница 15: ...rmation Device Quantity Path Note NET 1 mmap net0 TCP 5 mmap tcp0 4 UDP 5 mmap udp0 4 UIO 1 mmap uio0 DI 4 pin 22 25 LED 2 pin 30 31 ST 8 mmap st0 7 UM 4 mmap um0 3 NM 1 mmap nm0 RTC 1 mmap rtc0 Refer to the PHPoC Device Programming Guide for p40 for detailed information about using devices ...

Отзывы: