background image

P4S-341 User Manual > Introduction

2019-03-14

Sollae Systems

page 1 of 17

Overview

P4S-341 is an industrial programmable I/O board. You can build various network communication
systems connecting P4S-341 to many devices such as sensors and actuators. We provide a self-
development programming language, which is called PHPoC, for programing P4S-341. 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. Refer to the 

PHPoC Language Reference

 and 

PHPoC vs PHP

 for

detailed information.

Summary of Contents for P4S-341

Page 1: ...uch as sensors and actuators We provide a self development programming language which is called PHPoC for programing P4S 341 This language is easy to use and compatible with PHP which is widely used s...

Page 2: ...ovides 10 100Mbit Ethernet Provides 22 digital i o and 6 analog input ports Provides 2 UART ports Provides 4 hardware timer Provides I2C and SPI interfaces Provides self developed TCP IP stacks Provid...

Page 3: ...5mm x 63 8mm x 13mm Weight about 30g Interface UART 2 X UART Ports UART0 1 Baudrate 1 200 bps 230 400 bps Network 10 100Mbps Ethernet USB USB Device for PC Digital I O UIO0 pin 0 21 30 LED 31 LED Anal...

Page 4: ...P4S 341 User Manual Dimension 2019 03 14 Sollae Systems page 4 of 17 Dimension Dimensions unit mm may vary according to a method of measurement...

Page 5: ...at On and Off in every second not running PHP briefly blinks 1 time at a time UIO30 on board LED connected with 30th pin of UIO0 UIO31 on board LED connected with 31th pin of UIO0 PWR STS UIO30 and UI...

Page 6: ...put This port is the main input port for supplying power Specification is as follows USB Device port Micro USB This port can be a sub input port for supplying power 6 Reset Button RESET This button is...

Page 7: ...0 RX UIO0 5 17 UIO0 17 SCL 6 I2C SCL UIO0 6 18 UIO0 18 SDA 7 I2C SDA UIO0 7 19 UIO0 19 8 UART 0 RTS UART 0 TxDE UIO0 8 20 DM UIO0 20 9 UART 0 CTS UIO0 9 21 DP UIO0 21 U1TX 10 UART 1 TX UIO0 10 STX SPC...

Page 8: ...hannels Interfaced Pin Label AREF AD0 5 Hardware Timer HT P4S 341 provides 4 hardware timers called HT Specification of HT is as follows Parameter Value Mode Output mode toggle pulse PWM Capture mode...

Page 9: ...RT1 Required U1TX 10 U1RX 11 GND Optional U1RTS 12 U1CTS 13 Signal Level 3 3V Baud Rate 1 200 230 400 bps Parity NONE EVEN ODD MARK SPACE Data bit 8 7 Parity is required to use 7 data bit mode Stop bi...

Page 10: ...Pin Label SCL SDA Data Rate Standard mode 100Kbps or Fast mode 400Kbps Address Type 7bits Smart expansion Procedure Call SPC P4S 341 provides an SPC interface for communication with smart expansion bo...

Page 11: ...oducts 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 Downl...

Page 12: ...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...

Page 13: ...aring initialization Blink very rapidly 3 Check if the STS LED is turned OFF Initialization ready Off 4 Release the function button right after the STS is OFF If you don t release the button within 2...

Page 14: ...b interface To use the web interface index php file should be in the file system of P4S 341 Connect to this page by entering device IP address after connecting it to network If the name of file is not...

Page 15: ...Paswords 2019 03 14 Sollae Systems page 15 of 17 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...

Page 16: ...llowing Entering ISP mode 1 Make P4S 341 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 P...

Page 17: ...rt0 1 NET 1 mmap net0 TCP 5 mmap tcp0 4 UDP 5 mmap udp0 4 Digital I O 1 mmap uio0 pin 0 21 30 31 ADC 2 mmap adc0 1 ST 8 mmap st0 7 HT 4 mmap ht0 3 SPI 1 mmap spi0 I2C 1 mmap i2c0 RTC 1 mmap rtc0 UM 4...

Reviews: