1 HD132x Series User Manual Version 1.1
HD132x Series User Manual 10 3.2 HD1321 The HD1321 hardware structure is shown in Figure 3.5 and the system block diagram is as shown in Figure 3.6.
HD132x Series User Manual 11 3.2.1 Power Supply l Voltage Supply = 5V DC ±10% l Current Supply = 150mA min. 3.2.2 External Interface There is a
HD132x Series User Manual 12 10 9 8 7 6 5 4 3 2 1 10 9 8 7 6 5 4 3 2 1 JP1 JP2 TPOut- LED0 LED1 LED2 Reset GND TPOut+ TPIn+ TPIn- Vcc RTS DTR CTR
HD132x Series User Manual 13 3.3 Firmware Structure The HelloDevice Firmware resides in the program memory of microprocessor. The firmware includes
HD132x Series User Manual 14 4. Setting Up Your HelloDevice The HelloDevice is installed in a following order: 1. Connect the HelloDevice to the p
HD132x Series User Manual 15 Hub & Switch Ethernet Cable 7.5V DC Pwer 110/220 V HD1320E Ethernet backbone Figure 4.2. Connection of HD1320E a
HD132x Series User Manual 16 4.1.2. Connecting HD1321 HD1321 is interfaced with the user device through the DIP type connector, and the power supply
HD132x Series User Manual 17 4.2 Installing HelloDevice Utility Software Run setup.exe in the HelloDevice CD-ROM from the PC that is connected to t
HD132x Series User Manual 18 Figure 4.5 Initial Screen of [Custom Setup] When the installation has been completed, the HelloDevice Utility Software
HD132x Series User Manual 19 4.3 Managing an IP address of the HelloDevice Now we have the HelloDevice physically connected the network and the Hell
2 HD132x Series User Manual Version 1.1 Last revised on May 28, 2001 Printed in Korea Copyright Copyright 2001, Sena Technologies, Inc. All rights
HD132x Series User Manual 20 address is labeled on NIC (Network Interface Card) of the HelloDevice, and the user specifies an IP address. Consult you
HD132x Series User Manual 21 Figure 4.8 [Server Setting] Window (3) Press [Add] button and enter the DHCP database record. Figure 4.9 [Add] Win
HD132x Series User Manual 22 shown when the MAC address is 00:01:95:04:0B:1B and the IP address 192.168.1.15. [Default Router] is an IP address of
HD132x Series User Manual 23 When [IP Find] button is pressed, the following window will appear. Enter the MAC address of the HelloDevice and press [
HD132x Series User Manual 24 Figure 4.11 [System Info] Window Group Symbol Description Remark MAC Address MAC Address IP Address IP Address
HD132x Series User Manual 25 4.3.2 Changing an IP Address To change an existing IP address of your HelloDevice, you need to set the IP address to 0.
HD132x Series User Manual 26 Note: If there is a DHCP server in your network, and if [IP mode] is [Dynamic-IP], the DHCP server will immediately as
HD132x Series User Manual 27 4.4 Setting Parameters After the IP address has been assigned successfully to the HelloDevice, you need to set network
HD132x Series User Manual 28 Figure 4.15 Verifying the Password The password has been successfully confirmed if you see the following window.
HD132x Series User Manual 29 Figure 4.17 Setting New ID & Password Figure 4.18 Confirming Password Change ID and Password can
3 Contents 1. Before You Start...
HD132x Series User Manual 30 4.4.2 System Parameter In Network Mode window, select setting system parameters. (Figure 4.19) HelloDevice MAC Addr I
HD132x Series User Manual 31 (1)[IP Mode] Static IP mode Static IP mode is when your IP address of the HelloDevice is a fixed IP address. After se
HD132x Series User Manual 32 Server & Client Mode This is when the HelloDevice operates as TCP server AND client. If you are to transmit data fro
HD132x Series User Manual 33 [Data Bits] One of 5, 6, 7, 8 bits [Stopbit] One of 1, 1 ½, 2 bit [Handshake] One of None, H/W, X On/Off [Time] [Tim
HD132x Series User Manual 34 5. Quick Tour In this chapter, we will describe how to establish RS232-TCP/IP connection using shareware terminal softw
HD132x Series User Manual 35 2) Set the TCP mode of the HelloDevice. TCP mode of the HelloDevice must be set Server, Client or Server/Client, and t
HD132x Series User Manual 36 5) Press [OK] button to start the communication emulator. 6) Launch TeraTerm Pro for TCP/IP communication on the PC .
HD132x Series User Manual 37 Figure 5.4 RS232-TCP/IP Communication using HelloDevice and TeraTerm Pro 5.2 Checking RS232-TCP/IP Communication usin
HD132x Series User Manual 38 5.2.1 When the HelloDevice is TCP Server with a static IP address The sample program enables the user to connect to the
HD132x Series User Manual 39 documentations on Microsoft socket programming. Characters in bold font indicate main functions of the socket such as so
HD132x Series User Manual 4 1. Before You Start u Items supplied in each model of the HD132x Series Items HD1320E HD1320 HD1321 Product Type Ext
HD132x Series User Manual 40 ipAddr = decodeAddress(ipAddrStr) ; // Windows requires that winsock be initialized. err = WSAStartup (0x0101, &a
HD132x Series User Manual 41 5.2.2 When the HelloDevice is TCP Client This is the case when the HelloDevice is TCP Client and the sample program on
HD132x Series User Manual 42 2) Set System parameters - Set [TCP mode] to "Client" - Set [Server IP] to an IP address of the PC where the
HD132x Series User Manual 43 Character strings that you entered will be displayed as received data on the sample program, and, since the sample progr
HD132x Series User Manual 44 while (1) { //------------------------------------------------------------ // accept an incoming connection attem
HD132x Series User Manual 45 { char bufReceived[BUFSIZE]; int nCountReceived = 0; int nCommand = 0; int nShowMenu = 0; memset(bufReceive
HD132x Series User Manual 46 scanf("%d", &nCommand); return nCommand; } printf("[Received Data]%s\n&qu
HD132x Series User Manual 47 //---------------------------------- // Initialize TCP server socket // return : 1 - success , 0 - failure //----------
HD132x Series User Manual 48 // Clear server IP address fields memset( (char*) &addr, 0, sizeof( addr ) ); // Set server IP address : TCP p
HD132x Series User Manual 49 //------------------------------------------------------------------ void TCPSocketClose(int bCloseOnlyClient) { //---
HD132x Series User Manual 5 2. Overview HD132x Series is an RS232 to TCP/IP protocol converter, which enables data communication between the device
HD132x Series User Manual 50 The sample program for this function has been implemented in UDP (User Datagram Protocol). When the HelloDevice sends it
HD132x Series User Manual 51 // UDP Socket function void UDPSocketCreate() ; void UDPSocketRun() ; void UDPSocketClose() ; // Main function void mai
HD132x Series User Manual 52 printf("WinSock Opened...waiting..\n") ; // Create Windows socket for UDP sock = socket(AF_INET, SO
HD132x Series User Manual 53 recvfrom(sock,test_buff,250,0,(LPSOCKADDR)&addrFrom,&nAddrFromLen); if (byte_received==SOCKET_ERROR) { p
HD132x Series User Manual 54 //--------------------- // UDP Socket Close //--------------------- void UDPSocketClose() { closesocket(sock); } The
HD132x Series User Manual 55 Appendix. RS232 Cable Connection Signals of general RS232 9 pin connector: Pin 1 Received Line Signal Detector (Data C
HD132x Series User Manual 56 RxD TxD GND RTS CTS DTR DSR DCD (a) Using Hardware Flow Control HelloDevice HelloDevice User Device User Devic
HD132x Series User Manual 6 3. Product Specifications 3.1 HD1320E / HD1320 The hardware configuration of HD1320E and HD1320 are shown below in Figur
HD132x Series User Manual 7 Figure 3.2 HD1320 System Block Diagram 3.1.1 Power Supply l Voltage Supply = 7.5V ~ 9V DC l Current Supply = 150m
HD132x Series User Manual 8 (2) RJ45 Connector l Shielded Connector compliant with AT&T258 specifications Pin No. Description Wire Color 1
HD132x Series User Manual 9 3.1.3 RS232 Communication Interface l DB9 Connector for RS232 communication l Serial speeds 150bps ~ 115Kbps Pin No
Komentarze do niniejszej Instrukcji