[iot-link] Ethernet To Digital I/o X8 Analog Input X3 Converter For Automation

US $69.00

  • Zhongli City, default, Taiwan
  • Jun 9th
Ethernet to Digital I/O and Analog Input (Model: IP-IO) Feature: 1. Operation voltage : DC 7V ~ 20V.  2. Analog Interface: - Interface : 3.3V levels compatibility. -Resolution : 16-bits ?-? A/D converters. - Accuracy : 0.05%. - Channel : 3-channles - Input type : 0-20mA?4-20mA and 0-10V. - Build-in digital filter function. - Conversion time : 100ms. 3. Digital Interface - Digital input/output : 7 channels 3.3V input or output by user programmable. - Digital output : 1 channel optical isolation output and cut-off frequency 50KHz 4. Ethernet Interface - Built-in 1.5KV magnetic isolation. - Ethernet Interface : 10Base-T, 100Base-TX - Ethernet Speed/Duplex : Auto-negotiation 10/100Mbps, Full/Half duplex - Protocols Supported : ARP, IP, ICMP,UDP, TCP, DHCP, TFTP, HTTP. - Network Services : TCP Server, TCP Client, Web Control.  - Auto-MDIX : Yes 5. Build-in web server setting page for parameter by user. 6. Auto-Transmit and Auto-Connect function. 7. Support all operation system, don’t need any driver. Applications: 1. Energy Meter Networks 2. Motor Control 3. Industrial Control 4. Telecommunications Equipment 5. Building Automation Networks 6. Internet of Things DB9 Pin Definition: 1. GND Ground 2. DIO0 None-Isolated Digital I/O, Max. 3.3V 3. DIO1 None-Isolated Digital I/O, Max. 3.3V 4. DIO2 None-Isolated Digital I/O, Max. 3.3V 5. DIO3 None-Isolated Digital I/O, Max. 3.3V 6. DIO4 None-Isolated Digital I/O, Max. 3.3V 7. DIO5 None-Isolated Digital I/O, Max. 3.3V 8. DIO6 None-Isolated Digital I/O, Max. 3.3V 9. 3.3V DC 3.3V Power output 6P block terminal: 1. Vin DC input 7-36V 2. CH1 0-20mA 3. CH2 0-20mA 4. CH3 0-20mA 5. ISO_DO7 Optical Isolated digital output, Max. 30V 6. GND Ground Web page Configuration:  1. Connect the RJ-45 cable between the PC and Gateway. 2. Set the IP of the PC be the same as the Ethernet Gateway before use. (Ex: 192.168.0.2) 3. The Web page will set the network only. The I/O setting will be set by the DSM software.   User can use browser and entry the URL(http://192.168.0.1/setting.htm) for setting. PC software Configuration: 1. DSM Software: The network, Digital I/O and Analog Input will be set by the DSM software. 2. Double click the searched item and click the right page, the AI/DIO setting display. 3. The auto report interval will be set from 1s to 1 hour. Please switch to the “Auto” on the side of the box. Network setting: Enable DHCP : Enable DHCP function. IP Address : Static IP address,use IPv4 define? Subnet Mask : Mask address,normal setting is ”255.255.255.0”? Gateway : Gateway address,normal setting is ”xxx.xxx.xxx.254”? DNS server : DNS address, Can point to any one DNS server, we are the factory default value is pointing to Taiwan Telecom's DNS server. Connection Type : TCP and UDP is divided into two types, their advantages and disadvantages are as follows: Protocol Advantages disadvantages TCP Reliable transmission, the program can be omitted and reliable mechanism Transmission speed slower. UDP Large transmission capacity, rapid Unreliable, the program may need to provide a reliable mechanism for self. Command Protocol: Baud rate : 57600.n.8.1 #define   SlaveAddrss 0x55 Ddefault address Set Command #define   SetDOut   0x24 set IO output value #define   SetDIR     0x25 setup Input or output #define   SetLevel 0x26 set IO initial value #define   ACKCommand 0xEE response confirmation Example: bool SetCommand(unsigned char IPNum(IP address),unsigned char Function(command),unsigned char *Data(set data),unsigned char Length(set length of data)) { //Address Function Length Data0 .... DataN CRC16_High CRC16_Low fd_set fds; timeval timeout={SecondTime,uSecondTime}; unsigned char URFIFO[30]; DWORD dwNoByte; union{ unsigned char Byte[2]; unsigned short int Word; }CRC; unsigned char i; URFIFO[0]=SlaveAddrss; URFIFO[1]=Function; URFIFO[2]=Length; for(i=0;i<Length;i++) URFIFO[3+i] = Data[i]; CRC.Word = CRC_CCITT(URFIFO,3+i); URFIFO[3+i]=CRC.Byte[1]; URFIFO[4+i]=CRC.Byte[0]; FD_ZERO(&fds); FD_SET(conn_socket[IPNum],&fds); switch(select(conn_socket[IPNum]+1,NULL,&fds,NULL,&timeout)){ case -1: case 0: break; default: if(FD_ISSET(conn_socket[IPNum],&fds)) send(conn_socket[IPNum],URFIFO,Length+5,0); } FD_ZERO(&fds); FD_SET(conn_socket[IPNum],&fds); switch(select(conn_socket[IPNum]+1,&fds,NULL,NULL,&timeout)){ case -1: case 0: break; default: if(FD_ISSET(conn_socket[IPNum],&fds)){ dwNoByte = recv(conn_socket[IPNum],URFIFO,5,0); if(!((dwNoByte==5)&&(URFIFO[0]==SlaveAddrss)&&(URFIFO[1]==ACKCommand))){ return false; } else return true; } } return false; } Program initial value asetup: You have to setup the IO for input or output from the beginning by (SetDIR Command), Then, setup IO initial valuefor high or low by (SetLevel Command), Setup high or low for output by (SetDOut Command). CRC16 Checksum :  #define   POLYNOMIAL   0xA001 #define   INITIAL_VALUE 0xFFFF  /* Table of CRC values for high–order byte */ const unsigned char auchCRCHi[] = { 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40 } ; /* Table of CRC values for low–order byte */ const unsigned char auchCRCLo[] = { 0x00, 0xC0, 0xC1, 0x01, 0xC3, 0x03, 0x02, 0xC2, 0xC6, 0x06, 0x07, 0xC7, 0x05, 0xC5, 0xC4, 0x04, 0xCC, 0x0C, 0x0D, 0xCD, 0x0F, 0xCF, 0xCE, 0x0E, 0x0A, 0xCA, 0xCB, 0x0B, 0xC9, 0x09, 0x08, 0xC8, 0xD8, 0x18, 0x19, 0xD9, 0x1B, 0xDB, 0xDA, 0x1A, 0x1E, 0xDE, 0xDF, 0x1F, 0xDD, 0x1D, 0x1C, 0xDC, 0x14, 0xD4, 0xD5, 0x15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x8F, 0x4F, 0x8D, 0x4D, 0x4C, 0x8C, 0x44, 0x84, 0x85, 0x45, 0x87, 0x47, 0x46, 0x86, 0x82, 0x42, 0x43, 0x83, 0x41, 0x81, 0x80, 0x40 } ; unsigned short int CRC_CCITT(unsigned char *Data,unsigned char Length){    unsigned char uchCRCHi,uchCRCLo,uIndex;      uchCRCLo=0xFF;   uchCRCHi=0xFF;   while(Length--){ /* pass through message buffer */     uIndex = uchCRCHi^*Data++; /* calculate the CRC */     uchCRCHi = uchCRCLo^auchCRCHi[uIndex];     uchCRCLo = auchCRCLo[uIndex];   }   return ((uchCRCHi<<8)|uchCRCLo); } Get Command #define   GetDIn 0x34 #define   GetDIR 0x35 #define   GetLevel 0x36 Example: bool GetCommand(unsigned char IPNum(IP??),unsigned char Function(??),unsigned char Length(??????) { //Address Function Length Data0 .... DataN CRC16_Low CRC16_High fd_set fds; timeval timeout={SecondTime,uSecondTime}; unsigned char URFIFO[12]; DWORD dwNoByte; union{ unsigned char Byte[2]; unsigned short int Word; }CRC; URFIFO[0]=SlaveAddrss; URFIFO[1]=Function; URFIFO[2]=0; CRC.Word = CRC_CCITT(URFIFO,3); URFIFO[3]=CRC.Byte[1]; URFIFO[4]=CRC.Byte[0]; FD_ZERO(&fds); FD_SET(conn_socket[IPNum],&fds); switch(select(conn_socket[IPNum]+1,NULL,&fds,NULL,&timeout)){ case -1: case 0: break; default: if(FD_ISSET(conn_socket[IPNum],&fds)) send(conn_socket[IPNum],URFIFO,5,0); } FD_ZERO(&fds); FD_SET(conn_socket[IPNum],&fds); switch(select(conn_socket[IPNum]+1,&fds,NULL,NULL,&timeout)){ case -1: case 0: break; default: if(FD_ISSET(conn_socket[IPNum],&fds)){ dwNoByte = recv(conn_socket[IPNum],URFIFO,Length+5,0); if(!((dwNoByte==(Length+5))&&(URFIFO[0]==SlaveAddrss))){ return false; } switch(Function){ case GetResponseTime: break; case GetMode: break; case GetAddress: break; case GetDIn: if(URFIFO[1]==GetDIn) Module[IPNum].Input = URFIFO[3]; break; case GetDIR: if(URFIFO[1]==GetDIR) Module[IPNum].IODIR = URFIFO[3]; break; case GetLevel: if(URFIFO[1]==GetLevel) Module[IPNum].IOLevel = URFIFO[3]; break; } return true; } } return false; } ============================================================== Package Contents: 1. Ethernet to I/O Converter x 1 2. Power Adapter x 1 3. CD-ROM x 1 ============================================================ Payment: 1. We only accept payment from PayPal in advance. 2. We ship to your PayPal primary address. If you would like to ship the item to an alternate address, you MUST specify the alternate address in the NOTE section when you complete payment in PayPal. 3. We reserve the right to cancel your order if the payment is not finished within 7 days or the non PayPal address. 4. Please add the phone no. on the note of Paypal, it will help to ship the package. Shipping: 1. Economy shipping: Registered air mail by default shipping way. Generally, it will take 1~3 weeks or more to shipping the package by different area. 2. Standard shipping: EMS (International Express Mail Service), Generally, it will take within 1 week or more to shipping the package by different areas. The cost will be more than the economy shipping. 3. We will ship the package immediately within 2-3 business days upon receiving your payment by the economy shipping way. All goods will be shipped from Taiwan in good packing condition. 4. We will offer the tracking number and you will track via Internet. We have noticed that there will be usually postal delays due to the local public holidays, custom clearance, labor strike or climate disaster. 5. Import duties, taxes and charges are not included in the item price or shipping charges. These charges will be paid by the buyers. Please check with your country's customs office to determine what these additional costs will be prior to bidding / buying. Generally, the value of the products is lower and will not be charged. Returns & Refund & Warranty & Repair: 1. Returns: If you receive the defective or damage products, we will replace or fix without any charge. The buyers have to reply to us within 5 working days and take the pictures and describe the status. The buyers are responsible for sending it back to us safely and we will pay for the postage of sending the good items to the buyer. 2. Refund: We accept the refund due to the compatibility with the computer; the buyers have to reply to us within 5 working days and describe the status. The buyers need to bear the shipping cost of returning. We will refund the bargained cost without freight via PayPal only after we receive the returned items. 3. Please keep the packing and accessories completely and well when return the products. 4. Warranty: 1 year since the shipping date. 5. Repair: After 1 year warranty. We will charge the cost of the postage, components and the man power. If the products or the components are phased out, we will provide the discount for the new models or discard the items. About Us and Customer Service: 1. The products are made in Taiwan, we are responsible for the products, please feel easy to buy. 2. Bulk purchase, Customized Brand, Customized Design, Products Design or Sourcing, please contact us. 3. Working hours: Monday to Friday, 9:00 AM ~ 5:00 PM (Taiwan, Taipei time: +8 GMT) 4. International customer service language: English 5. If you have any questions or need the user manual, please contact us. ============================================================
Condition:
New: A brand-new, unused, unopened, undamaged item in its original packaging (where packaging is applicable). Packaging should be the same as what is found in a retail store, unless the item is handmade or was packaged by the manufacturer in non-retail packaging, such as an unprinted box or plastic bag. See the seller's listing for full details. ...
Brand IOT-Link
MPN 710874076963
Model IP-IO
Country/Region of Manufacture Taiwan

Directions

Similar products from Other Control Systems & Industrial Automation Tools

People who viewed this item also vieved

By clicking "Accept All Cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.

Accept All Cookies