Philips FMod-TCP BOX Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Sprzęt komputerowy Philips FMod-TCP BOX. Philips FMod-TCP BOX User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - User Manual

See page 10 for quick start Ethernet Converter Device FMod-TCP BOX User Manual Version 1.2

Strona 2 - FMod-TCP User Manual v.2.8

10 / 58 3 Quick start This section is intended to help users to quickly plug the module into their system and establish a connection between the co

Strona 3 - Table of Contents

11 / 58 You can now connect the device with the Win32 software or open its web page by typing its new IP address into a web browser. Notes:  The

Strona 4 - Revision history

12 / 58 4 Controlling the FMod-TCP BOX by TCP or UDP General Information All the device's parameters (configuration registers) and features ca

Strona 5 - Preliminary

13 / 58 So, with speeds greater than 9600bds, the buffer may be filled faster than data can be sent by TCP and part of those will be lost if no RS232

Strona 6 - 2 Overview

14 / 58 Registers access feature TCP/IP works in big endian: most significant byte first, followed by least significant byte. The access to the data

Strona 7 - Hardware description

15 / 58 Write register(s) command: Byte# Number of bits Example 0x00 Write (0x0022) 16 bits 0x0022 0x02 TransactionID 16 bits 0x1B34 0x

Strona 8

16 / 58 To be able to do all of these 3 sequences, use this command: Byte# Number of bits Example 0x00 I2CRWwithAck (0x0007) 16 bits 0x00

Strona 9 - SOS button

17 / 58 Note that the max length of those sequences is 180 bytes. Pay close attention to building sequences that do not exceed this and not to ask to

Strona 10 - 3 Quick start

18 / 58 3. The I2C controller does not match all I2C specifications at speed higher than 100kHz. This feature will therefore not work with all I2C s

Strona 11 - 11 / 58

19 / 58 Easy IP address config (UDP # 7010) A really useful feature of the UDP port #7010 is the "Easy IP config" one. The user who wants

Strona 12 - 12 / 58

2 / 58 Version: 1.2 Last revision: August 14th, 2006 Printed in Switzerland © Copyright 2003-2006 FiveCo Sàrl. All rights re

Strona 13 - 13 / 58

20 / 58 Checksum calculation This checksum is the same as the IP checksum. Definition: sum of 1’s complement of all 16 bits words of whole message (

Strona 14 - 14 / 58

21 / 58 Here is an example of a checksum calculation function in C: int RetCheckSum(Byte* ByteTab, int Size) { // This function returns the calc

Strona 15 - 15 / 58

22 / 58 5 Java A pplet A specific Java Applet is provided with the module to control any of its ports without having to write any specific code. Ov

Strona 16 - 16 / 58

23 / 58 Main Config The Main panel shows the general information related to the device. • The first part allows the user to change the main setting

Strona 17 - 17 / 58

24 / 58 Test A/D and I/Os This page can be used to access Inputs state and voltage and change Outputs state. The Inputs state and voltage are regula

Strona 18 - 18 / 58

25 / 58 Test RS232 This page can be used to access RS232 bus. If you click on the "Connect to RS232 TCP Port" you can send ASCII data to R

Strona 19 - 19 / 58

26 / 58 Test I2C This page can be used to access I2C bus. The panel is divided in two parts:  The part on the right allows scanning the I2C bus t

Strona 20 - 20 / 58

27 / 58 checked the "Read" box, the FMod-TCP BOX will use the read after write I2C feature). After writing the I2C address (7bits hexa) and

Strona 21 - 21 / 58

28 / 58 6 Win32 A pplication A specific application is provided with the module to control any of its ports without having to write a specific code

Strona 22 - 5 Java A pplet

29 / 58 This application uses the IP address of your computer and its subnet mask to find the scan broadcast address. When you click on scan, a bro

Strona 23 - 23 / 58

3 / 58 Table of Contents 1 Package and operating conditions ...

Strona 24 - 24 / 58

30 / 58 RS232 interface chain to send Send ASCII, Hex, or Decimal chain Bytes received from RS232 The RS232 interface is easy to use. Just write th

Strona 25 - 25 / 58

31 / 58 “Load web files” interface File(s) list operationsList of files to load Number of bytes in list Create file for factory uploadLoad files in

Strona 26 - 26 / 58

32 / 58 Main port interface Change RS232 baud rate Outputs state and flow control Change disconnection timeout Inputs state and voltage Change IP a

Strona 27 - 27 / 58

33 / 58 The I2C interface is an easy way to test the I2C connection between the module and the user's electronic. The user has to choose between

Strona 28 - 6 Win32 A pplication

34 / 58 7 Registers management Memory Organization The user must know that a new register value sent through the communication port is loaded to the

Strona 29 - 29 / 58

35 / 58 Full Register Description List of registers Address Bytes Name General Information 0x00 (00) 4 TYPE 0x01 (01) 4 VERSION 0x02 (02)

Strona 30 - 30 / 58

36 / 58 TYPE Register Address Register Name Function Read/Write Control 0x00 TYPE Product ID Read only Register Size Register structure 4 Bytes Un

Strona 31 - 31 / 58

37 / 58 VERSION Register Address Register Name Function Read/Write Control 0x01 VERSION Software ID Read only Register Size Register structure 4 B

Strona 32 - 32 / 58

38 / 58 RESET CPU Function Address Function Name Function Read/Write Control 0x02 RESETCPU Restart processor Write only Register Size Register st

Strona 33 - 33 / 58

39 / 58 SAVE USER PARAMETERS Function Address Function Name Function Read/Write Control 0x03 SAVEUSERPARAMETERS Saves all in EEPROM Write only Re

Strona 34 - 7 Registers management

4 / 58 Revision history Revision Date Author Note Firmware version Applet version Win32 app version 1.0 05.05.06 AG - First version Since 1.0 S

Strona 35 - 35 / 58

40 / 58 RESTORE USER PARAMETERS Function Address Function Name Function Read/Write Control 0x04 RESTOREUSERPARAMETERSRestores saved values Write onl

Strona 36 - 36 / 58

41 / 58 RESTORE FACTORY PARAMETERS Function Address Function Name Function Read/Write Control 0x05 RESTOREFACTORYPARAMETERSFactory default Write on

Strona 37 - 37 / 58

42 / 58 SAVE FACTORY PARAMETERS Function Address Function Name Function Read/Write Control 0x06 SAVEFACTORYPARAMETERSSave factory default Write only

Strona 38 - 38 / 58

43 / 58 VOLTAGE Register Address Register Name Function Read/Write Control 0x07 VOLTAGE Power input voltage Read only Register Size Register stru

Strona 39 - 39 / 58

44 / 58 WARNING Register Address Register Name Function Read/Write Control 0x08 WARNING Bit to bit state R/W Register Size Register structure Unit

Strona 40 - 40 / 58

45 / 58 COM OPTIONS Register Address Register Name Function Read/Write Control 0x10 COMOPTIONS Communication options Read/Write Register Size Regis

Strona 41 - 41 / 58

46 / 58 ETHERNET MAC Register Address Register Name Function Read/Write Control 0x11 ETHERNETMAC Hardware network ID Read only Register Size Regist

Strona 42 - 42 / 58

47 / 58 IP ADDRESS Register Address Register Name Function Read/Write Control 0x12 IPADDRESS IP network ID Read/Write Register Size Register struc

Strona 43 - 43 / 58

48 / 58 SUBNET MASK Register Address Register Name Function Read/Write Control 0x13 SUBNETMASK IP subnet mask Read/Write Register Size Register st

Strona 44 - 44 / 58

49 / 58 TCP TIMEOUT Register Address Register Name Function Read/Write Control 0x14 TCPTIMEOUT Timeout for TCP connection Read/Write Register Size

Strona 45 - 45 / 58

5 / 58 1 Package and operating conditions Starter Kit contents The FMod-TCP BOX “Starter kit” should contain:  FMod-TCP BOX device  RS232 DSub

Strona 46 - 46 / 58

50 / 58 MODULE NAME Register Address Register Name Function Read/Write Control 0x15 MODULENAME Module’s ASCII name Read/Write Register Size Registe

Strona 47 - 47 / 58

51 / 58 RS232 CONFIG Register Address Register Name Function Read/Write Control 0x16 RS232CONFIG RS232 baud rate and flow control configuration Read

Strona 48 - 48 / 58

52 / 58 I2C SPeeD Register Address Register Name Function Read/Write Control 0x18 I2CSPD I2C speed setting Read/Write Register Size Register struc

Strona 49 - 49 / 58

53 / 58 TCP CONNECTIONS OPENED Register Address Register Name Function Read/Write Control 0x1A TCPCONNECTIONSOPENEDNumber of TCP connections that ar

Strona 50 - 50 / 58

54 / 58 ANALOG INPUTS THRESHOLD Register Address Register Name Function Read/Write Control 0x20 ANALOGINPUTSTHRESHOLDAD converter threshold on input

Strona 51 - 51 / 58

55 / 58 INPUTS Register Address Register Name Function Read/Write Control 0x21 INPUTS 16 inputs states Read only Register Size Register structure

Strona 52 - 52 / 58

56 / 58 OUTPUTS Register Address Register Name Function Read/Write Control 0x23 OUTPUTS Sets outputs states Read/Write Register Size Register stru

Strona 53 - 53 / 58

57 / 58 INPUT VOLTAGE x VALUE Registers Addresses Register Name Function Read/Write Control0x30 to 0x3F INPUTVOLTAGExVALUE Last INPUTVx A/D conversi

Strona 54 - 54 / 58

58 / 58 FMod-TCP User Manual v.2.8 Contact address : FiveCo - Innovative Engineering PSE-C CH-1015 Lausanne Switzerland

Strona 55 - 55 / 58

6 / 58 2 Overview Applications The FMod-TCP BOX is a TCP/IP server that allows system integrators to connect different devices such as home applian

Strona 56 - 56 / 58

7 / 58 "Question & Answer" oriented. The PC should send a Question, wait for the Answer and so on. To configure the device's para

Strona 57 - 57 / 58

8 / 58 See page 9 to know how the SOS button works. Two LEDs illuminate the SOS button and the displayed color as the following meanings: Green Ev

Strona 58 - 58 / 58

9 / 58 The I2C pins are provided through a Philips PCA9512 driver chip. 10kΩ pullht sideStandard RS232 DSub 9 connector (male like on a computer) 1 N

Komentarze do niniejszej Instrukcji

Brak uwag