Speed Regulation Card and Ethernet Gateway



Documentos relacionados
Guía de instalación rápida TEG-160WS TEG-240WS

Tarjeta Regulación Velocidad y Pasarela Ethernet

MANUAL DE USUARIO CONVERSOR TCP/IP A RS232 Y TCP/IP A RS485

MANUAL EASYCHAIR. A) Ingresar su nombre de usuario y password, si ya tiene una cuenta registrada Ó

EP-2906 Manual de instalación

24-Port 10/100Mbps Web Smart PoE Switch with 4 Gigabit Ports and 2 Mini-GBIC Slots TPE-224WS

CAPÍTULO HTML Y DHCP DE H0/H2-ECOM100 CONFIGURACIÓN. En este capítulo...

Configuración básica de una EGX300 mediante Internet Explorer

Video Server. Quick Installation Guide. English, Español

Max- IP CONVERSOR RS485 a TCP/IP

Para obtener más información sobre la característica ethernet de la impresora, haga clic en el tema siguiente:

VCM II inalámbrico Manual del usuario

Conexión inalámbrica a un CNC (con puerto Serie RS232C)

MANUAL DE INSTRUCCIONES

OSCILLATION 512 (LM 3R)

ÍNDICE MANUAL DE USUARIO CONVERSOR TCP/IP A RS232 Y TCP/IP A RS CONVERSORES TCP A 232 / TCP A Características.

ACCESO REMOTO, CONEXIÓN A PC Y CONFIGURACION MODULO ENET

IMPLEMENTACIÓN DE UN PUENTE SERIE USANDO CONVERTIDORES SERIE RED.

MÓDULO DE COMUNICACIÓN IP IPS 200 REG

Configuración ewon y Talk2M por ethernet con ecatcher Free+ Tutorial

Agustiniano Ciudad Salitre School Computer Science Support Guide Second grade First term

Manual de software. Dynamic Cloud. 10/2014 MS-Dynamic_Cloud v1.2

Creating your Single Sign-On Account for the PowerSchool Parent Portal

Configuración ewon y Talk2M por GPRS o 3G con ecatcher Free+ Tutorial

Router Teldat. Proxy ARP

Guía de configuraciones básicas mediante interfaz web para el router SpeedTouch TG585iv7

Guía del usuario de KIP sobre el estado de la impresora Instalación y guía del usuario de KIP sobre el estado de la impresora

Manual de Usuario CPE OX330. Manual de Usuario CPE OX330

Práctica de laboratorio Configuración de DHCP Relay

Instalación, creación y configuración del servicio FTP

Protocolo ARP. Address Resolution Protocol

Direcciones IP y máscaras de red

Guía de Inicio Rápido de SitePlayer S Guía de Inicio. Rápido de

Manual de Arduino Wifly Shield

INSTALACIÓN DE MySQL Índice de contenido

Diseño y Administración de Redes de Computadoras

Instalación y Configuración de los adaptadores MTA-102

Direcciones IP IMPLANTACIÓN DE SISTEMAS OPERATIVOS 1º ASIR. En redes IPv4.

COMUNICACIÓN MODBUS TCP CON nanolc

Instalación y Configuración de los adaptadores MTA-G302

Guía Rápida de Instalación Internet Broadband Router 9014 (AFN4000UP)

AXIS 205 Guía de instalación rápida de la cámara de red

Z-GPRS2 & S NOTA DE APLICACIÓN. Enviar alarmas vía SMS desde PLC Siemens

VS-Tv. Manual de usuario. Matriz virtual de vídeo ESPAÑOL

150Mbps Micro Wireless N USB Adapter

Para esto será necesario configurar el Servidor http en el AS/400. Veremos a configuración que requerimientos:

REDES INFORMATICAS: Protocolo IP

Unidad Didáctica Redes 4º ESO

BIPAC-711C2 / 710C2. ADSL Modem / Router. Guía de Inicio Rápido

Roles y Características

Actividad 3: Comunicar un PLC Simatic S7 300 con un PC por medio de Industrial Ethernet

Router Teldat. Proxy ARP

Práctica de laboratorio a Configuración de listas de acceso extendidas

Práctica de laboratorio Balanceo de cargas entre varias rutas

Control de presencia para terminal por huella dactilar

Luis Eduardo Peralta Molina Sistemas Operativos Instructor: José Doñe Como crear un Servidor DHCP en ClearOS


Quick Installation Guide Internet Setup

CONFIGURACIÓN DEL ADAPTADOR DE RED EN LINUX

Guía de instalación rápida TE100-P1U

Configuración de los convertidores TCP/IP Micro y TCP/IP Compacto.

Control de accesos autónomo por huella dactilar

Redirección de puertos

Guía para Instalar un Access Point (AP) INTELLINET en modo Repetidor

5.2.- Configuración de un Servidor DHCP en Windows 2003 Server

Aplicación práctica de la visión artificial en el control de procesos industriales

Router Teldat. Protocolo TELNET

MiCentralita MANUAL DE INSTALACIÓN CISCO PHONE SERIES

Ejercicios Tema 5. a) Órdenes del protocolo FTP necesarias para su ejecución. b) Número y tipo de conexiones necesarias.

Manual para el administrador de red. Configuración de las impresoras Evolis con un puerto TCP/IP (Ethernet)

Al ejecutar esta aplicación tenemos lo siguiente: Pulsamos en Wizard mode y nos aparece lo siguiente:

Guía de configuraciones básicas mediante. interface web para el router. Xavi X7968r

TG-IP-1. Convertidor de RS232 a IP. (Moxa Nport 5210/5110) Manual de usuario HLSI_MNDT1410_B 17 OCTUBRE 2011

CONFIGURACIÓN BÁSICA DE UNA VPN EN WINDOWS XP PROFESIONAL

Si el acceso es mediante Telnet, se debe ejecutar de la siguiente forma:

(decimal) (hexadecimal) 80.0A.02.1E (binario)

Manual de Usuario Comtrend ADSL Router Wi-Fi

CESVA USB DRIVER. M_CUD_v0001_ _ESP_ENG

Tutorial para la comunicación TCP en el BMS Server

Práctica de laboratorio 7.5.1: Configuración inalámbrica básica

1. Sign in to the website, / Iniciar sesión en el sitio,

WINDOWS : TERMINAL SERVER

Práctica de laboratorio 4.2.5a Pruebas de conectividad Ping

Práctica de laboratorio Configuración de una interfaz serial

DHCP. Dynamic Host Configuration Protocol. Protocolo de Configuración Dinámica de Host. Administración de Redes de Computadores

Guía de instalación rápida TV-IP512WN 1.31

Guía de configuraciones básicas mediante. interface web para el router. Xavi X7868r

Guía de acceso a Meff por Terminal Server

Práctica de laboratorio Configuración del enrutamiento EIGRP

Router Teldat. Protocolo TELNET

Ethernet IP INDICE. Centro Integrado Politécnico ETI Departamento de Electricidad Fernando Pascual Moisés Pérez ETHERNET/IP 1.

Práctica de laboratorio Configuración del PVC de Frame Relay

UNIDESYS UNIVERSAL BUSINESS SYSTEMS INSTALACIÓN NUEVO PUESTO DE TRABAJO

ENKVM-USBB. 2-Port USB KVM switch with Easy Switch and Cable. User Guide

Guía Rápida de Instalación Internet Access Server (IAS)

Guía de instalación rápida TV-IP512P 1.31

PROCEDIMIENTO DE ACTUALIZACIÓN DEL MÓDEM-ROUTER EFFICIENT Speed Stream 5660

BENQ_ESG103QG_S.book Page i Tuesday, July 30, :15 PM. Contenido

Redes I Soluciones de la Práctica 1: /etc/network/interfaces, tcpdump y wireshark

Transcripción:

Speed Regulation Card and Ethernet Gateway USER S MANUAL v1.0

INDEX 01 INTRODUCTION... 3 01.01 NETWORK PROTOCOLS... 3 01.01.01 PACKING ALGORITHMS... 3 01.01.02 ETHERNET (MAC) ADDRESS... 3 01.01.03 INTERNET PROTOCOL (IP) ADDRESS... 3 01.01.04 PORT NUMBER... 3 02 INSTALLATION... 4 02.01 PRODUCT DESCRIPTION... 4 02.01.01 NETWORK INTERFACE... 4 02.01.02 PRODUCT INFORMATION LABEL... 4 02.02 INSTALLING THE CARD... 4 03 GETTING STARTED... 6 03.01 DEFAULT IP ADDRESS... 6 03.02 IP ADDRESS CONFIGURATION... 7 03.02.01 NETWORK PORT LOGIN (1)... 7 03.02.02 NETWORK PORT LOGIN (2)... 9 04 CONFIGURATION... 10 04.01 NETWORK CONFIGURATION... 11 04.01.01 USING A WEB BROWSER... 11 04.01.02 USING A TELNET CONNECTION... 13 04.02 CONFIGURATION PARAMETERS... 13 05 PROTOCOLO MODBUS... 16 05.01 INTRODUCTION... 16 05.02 ERROR CODES... 16 05.03 IMPLEMENTED COMMANDS... 17 05.04 MODBUS FRAMES EXAMPLES... 17 05.04.01 READ RELAYS OR INPUTS... 17 05.04.02 READ REGISTERS... 18 05.04.03 WRITE REGISTERS... 19 05.04.04 SYSTEM REGISTERS... 20 05.04.05 OPERATING MODE CODES... 21 05.04.06 PANEL STATUS... 22 06 CONTACT INFORMATION... 23 07 PINOUTS... 23 07.01 ETHERNET CONNECTOR... 23 07.02 ETHERNET WIRES... 23 08 UPDATING FIRMWARE... 25 08.01 OBTAINING FIRMWARE... 25 08.02 RELOADING FIRMWARE... 25 08.02.01 VIA TFTP... 25 09 TECHNICAL SPECIFICATIONS... 26 10 IP ADDRESSING... 26 Page 2 de 58

01 INTRODUCTION The card device server connects the monoxide system to Ethernet networks using the IP protocol family (TCP for connection-oriented stream applications and UDP for datagram applications). 01.01 NETWORK PROTOCOLS The card uses IP protocol for network communications. The supported protocols are ARP, UDP, TCP, ICMP, Telnet, TFTP, DHCP, HTTP, and SNMP. For connections to the serial port, TCP, UDP or Telnet protocols are used. Firmware updates can be performed using TFTP. The Internet Protocol (IP) defines addressing, routing, and data block handling over the network. The Transmission Control Protocol (TCP) assures that no data is lost or duplicated, and that everything sent to the connection arrives correctly at the target. For typical datagram applications in which devices interact with other devices without maintaining a point-to-point connection, User Datagram Protocol (UDP) is used. 01.01.01 PACKING ALGORITHMS Two software selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the card is used in a local environment, allowing for very small delays for single characters while keeping the packet count low. The alternate packing algorithm minimizes the packet count on the network, and is especially useful in applications in a routed Wide Area Network (WAN). Adjusting parameters in this mode can economize the network data stream. 01.01.02 ETHERNET (MAC) ADDRESS The Ethernet address is also referred to as the hardware address or the MAC address. The first three bytes of the Ethernet Address are fixed. The fourth, fifth, and sixth bytes are unique numbers assigned to each TCP2RS. Table 1.1.2: Sample Ethernet address 00-20-4A-14-01-18 ó 00:20:4A:14:01:18 01.01.03 INTERNET PROTOCOL (IP) ADDRESS Every device connected to an IP network must have a unique IP address. This address is used to reference the specific card. See paragraph 10 for more information on IP Addressing. 01.01.04 PORT NUMBER Every TCP connection and every UDP datagram is defined by a destination IP address and a port number. For example, a Telnet application commonly uses port number 23. A port number is similar to an extension on a PBX system. Página 3 de 58

02 INSTALLATION This chapter describes the card and shows how to install it on a basic network. 02.01 PRODUCT DESCRIPTION 02.01.01 NETWORK INTERFACE The card contains an RJ45 10Base-T Ethernet port that supports up to 10 Mbps or 100Base-TX Ethernet port that supports up to 100 Mbps. Figure 2.1.2: Network interface 02.01.02 PRODUCT INFORMATION LABEL A product information label is located on the underside of the card, and contains the following information about your specific unit: - Ethernet Address (also referred to as Hardware Address or MAC Address) 02.02 INSTALLING THE CARD This section defines the steps to take to install the systems properly. The installer must read the whole manual before starting to install the system. Not following the instructions in this manual can damage the unit.. The card installation requires the following steps: 1.- Disconnect the monoxide system from the mains. 2.- Remove all modules of monoxide, removing the 4 screws and the connector plugged into the connector JP14. (Fig. 2.2.1) 3.- Locate and fix the expansion card using the same screws that came with the motherboard. (Fig.2.2.2). After fixing the card, connect the connectors that you had removed for the JP14 connector, connectors IN1, IN2, IN3 for the regulation card. 4.- Reattaching the monoxide modules system, one to one, connecting the hoses JP13, JP14, JP15 at JP6 connector of each module. 5.- Connect the cable from the connector on the expansion card, marked OUT 28V, and the power connectors JP14 of the monoxide modules. 6.- f you want that the system to work with batteries connect the battery cable to the connector on the card labeled BAT. 7.- If you are installing the card with the Ethernet Gateway do not forget to connect an Ethernet cable to the RJ45 (10BASE-T / 100Base-TX port). Página 4 de 58

Figure 2.2.1 Figure 2.2.2 Página 5 de 58

Figure.2.2.3 03 GETTING STARTED This chapter convers the required steps to get the card on-line and working. There are two basic methods used to log into the card and setup the IP address: - Network port login (1): Make a Telnet connection to the network port (port 9999) - Network port login (2): Using the software DeviceInstaller provided for the manufacturer for the Embedded Ethernet Device Server (XPort ). http://www.lantronix.com/ It is important to consider the following points before logging into and configuring the card: - The card s IP address must be configured before a network connection is available. - Only one person at a time may be logged into the configuration port (port 9999). This eliminates the possibility of several people simultaneously attempting to configure the card. - Network port logins cannot be disabled. The system manager will always be able to access the unit. However, this port can be password protected. 03.01 DEFAULT IP ADDRESS Provided a DHCP server exists on the network, it will supply the card with an IP address, gateway address and subnet mask when the card boots up. Página 6 de 58

03.02 IP ADDRESS CONFIGURATION The card s IP address must be configured before a network connection is available. If the IP address was not set automatically via DHCP, set it now using a network port login and the setup (configuration) menu. 03.02.01 NETWORK PORT LOGIN (1) The easiest way for setting up the IP direction of the card is using the utility called DeviceInstaller. It can be downloaded in the manufacturer s web page. http://www.lantronix.com/ First of all we will write down Ethernet address that comes printed on every device label. This address is unique and different from other network devices. It s the hardware address that every interface has (something like 00-20-4A-A5-C6-A2). Into the CD that comes with the converter, there is an utility called TCP2RSSetup. This utility is made for configuring the IP address of the converter. Steps: 1. Start the program 2. The software shows all devices avalaibles in the network and the IP address for each one. Figure 3.2.1.1 Página 7 de 58

3. Select one device and check that the MAC o Hardware Address is the same that the IP address to change. Figure 3.2.1.2 4. Press the bottom Assign IP to run the device IP configuration wizard. Figure 3.2.1.3 Página 8 de 58

03.02.02 NETWORK PORT LOGIN (2) The ARP method is available under UNIX and Windows-based systems. If the card has no IP address, it will set its address from the first directed TCP/IP packet it receives. 1. On a UNIX host, create an entry in the host s ARP table using the intended IP address and the hardware address og the card, which is found on the product label. Figure 3.2.2.1: ARP on UNIX arp s 192.168.1.200 00:20:4A:xx:xx:xx In order for the ARP command to work on Windows, the ARP table on the PC must have at least one IP address defined other than its own. If the ARP table is empty, the command will return an error message. Type arp a at the DOS command prompt to verify that there is at least one entry in the ARP table. If the local machine is the only entry, ping another IP address on your network to build a new entry in the ARP table; the IP address must be a host other than the machine on which you are working. Once there is at least one additional entry in the ARP table, use the following command to ARP an IP address to the card: Figure 3.2.2.2: ARP on Windows arp -s 191.12.3.77 00-20-4a-xx-xx-xx 2. Now open a Telnet connection to port 1. The connection will fail quickly, but the card will temporarily change its IP address to the one designated in this step. Figure 3.2.2.3: Telnet to port 1 telnet 191.12.3.77 1 3. Finally, open a Telnet connection to port 9999 and set all required parameters. Figure 3.2.2.4: Telnet to port 9999 telnet 191.12.3.77 9999 Note: This IP address is temporary and will revert to the default vale when the card s power is reset, unless you log into the card and store the changes permanently. Página 9 de 58

04 CONFIGURATION Certain parameters must be configured before the card can function on a network. The card can be locally or remotely configured using the following procedures: - Use a standard web browser to access the card s internal web pages and configure the unit over the network. This is the easiest and preferred method. - Use a Telnet connection to configure the unit over the network. - The card s configuration is stored in non-volatile memory (NVRam), and is retained without power. The configuration can be changed at any time. The card s performs a reset after the configuration has been changed and stored. Página 10 de 58

04.01 NETWORK CONFIGURATION 04.01.01 USING A WEB BROWSER If your card already has an IP address (see Chapter 3, Getting Started), you can log into it using a standard Web browser with Java enabled. 1. Type the card s IP address into the web browser s URL (Address/Location) field. 2. Once you have connected to the card, you will see the device web manager interface. Figure 4.1.1: Web manager interface Página 11 de 58

Section 1: Converter information. - Product: Device name. - Name: Device description. - Firmware version: Internal program version number. - Hardware address: Hardware address or MAC address. Section 2: Network parameters. - IP address : Direction IP that will be assigned to the converter. - Subnet mask: Mask of network (equal to the network where the converter will be connected) - Gateway address: Gateway (in case it is connected to an external network). - Port: Converter port number Section 3: Password (It allows to establish a password to the internal web page) - Password: Password of the internal web page. - Retype password: To repeat password for verification. Section 4: Mode (operation mode according to program or customized). - Quickaccess/Cirmemory-K - Cirpark SP2 - Cirpark SP3 - Personalizado Section 5: Aditional parameters. - Speed: Transmission speed. - Character size: Data bits. - Parity: Parity. - Stopbits: Stop bits. - Serial protocol: Full-duplex or Half-duplex. - Connection: Network protocol (TCP or UDP). - Remote IP address: Remote converter IP address. - Remote port: Remote converter port number. - Startup: Beginning of communication between two converters (only TCP connection). - Packing time (ms): 0, 12, 52, 250, 5000. Delay time before sending of characters. Press the button Send configuration to save the configuration inside the card. Página 12 de 58

04.01.02 USING A TELNET CONNECTION To configure the card over the network, establish a Telnet connection to port 9999. For Windows, open a MSDOS command window and enter the following command: Figure 4.1.2: Network login using Telnet telnet x.x.x.x 9999 04.02 CONFIGURATION PARAMETERS After entering Setup Mode (confirm by typing Enter), you can configure the parameters by entering one of the numbers on the Change Setup Menu, or you can confirm default values by typing Enter. Be sure to store the new configurations when you are finished. The card will then perform a power reset. Figure 4.2.1: Setup mode screen Página 13 de 58

Figure 4.2.2: Setup mode screen Figure 4.2.3: Setup mode screen (Continue) Página 14 de 58

Figure 4.2.4: Setup mode screen (Continue) Figure 4.2.5: Setup mode screen (Continue) Página 15 de 58

05 PROTOCOLO MODBUS 05.01 INTRODUCTION The Modbus protocol is a communications standard in the industry that allows to connect multiple devices. Modbus has a fixed communications format, from commands up to the frames of the messages. There are three different implementations of Modbus protocol: Modbus RTU, Modbus ASCII y Modbus/TCP (RTU o ASCII). A typical Modbus RTU message has the following format: Tabla 5.1 Address Command Data CRC 1 bytes 1 bytes n bytes 2 bytes The data field depends on the function implemented. 05.02 ERROR CODES In case of error the MODBUS frame get a response like to the following format: Table 5.2.1 Address Error message CRC 1 byte 0x81 0x02 2 bytes The error message will consist in two bytes where the first is an AND between 0x80 and the command code (if function 1 -> 0x81, function 5 -> 0x85, 0x10 function -> 0x90, etc..) and the second byte will be a general identifier of the type of error: Table 5.2.2 ERROR Name Description 1 Command The function code is not available 2 Address data The address of the data is incorrect or does not match with the data viewable or modifiable 3 Data value The value of the data is not correct 4 Device failure The device has failed to make the request 5 ACK The device has accepted the request but it cannot answer at this time. It should not be retried. 6 Device busy The device is making the request and it cannot replay a new one. It should be retried. Página 16 de 58

05.03 IMPLEMENTED COMMANDS The Modbus protocol commands implemented in the CO control panel are: - Command 01 (0x01): Read relay or inputs. - Command 04 (0x04): Read registers. - Command 16 (0x10): Write multiple registers. 05.04 MODBUS FRAMES EXAMPLES In the following lines we will see examples of the Modbus protocol frames. Frames to read and frames to write. Also frames to write the internal registers. 05.04.01 READ RELAYS OR INPUTS Request modbus frame: Table 5.4.1.1 Address Command Dirección (2 Bytes) Data (2 bytes) CRC (2 bytes) 0x01 0x01 0x00 0x00 0x00 0x03 0x7C 0x0B Reply modbus frame. One bit for each input. ON Status = 1 and OFF Status = 0. Table 5.4.1.2 Address Command Num. Bytes Data CRC 0x01 0x01 0x01 0x03 0x90 0x48 The value 0x03 will indicate that the input 1 and 2 are enabled (0x03 corresponds to the binary code 00000011). Example application mbus mbus u192.168.1.200 p10001 01.01.00.00.00.03 010100000003 7C0B 01010104 504B 100.00% Página 17 de 58

05.04.02 READ REGISTERS Request modbus frame: Table 5.4.2.1 Address Command Register (2 Bytes) Number of registers (2 bytes) CRC (2 bytes) 0x01 0x04 0x00 0x04 0x00 0x01 0x70 0x0B For each register the protocol has two bytes. In the device s answer you will receive two bytes for each register. Table 5.4.2.2 Address Command Num. Bytes (1 Byte) Data (N bytes) CRC (2 bytes) 0x01 0x04 0x02 0x00 0x05 0x79 0x33 In this case we can see that the register 0x04 has two bytes with value 0x00 0x05 (That s means that you have 5 alarms in the alarm log). Example application mbus mbus u192.168.1.200 p10001 01.04.00.04.00.01 010400040001 700B 0104020002 38F1 100.00% Página 18 de 58

05.04.03 WRITE REGISTERS Request modbus frame: Address Command Register (2 Bytes) Table 5.4.3.1 N. registers (2 bytes) N. Bytes (1 byte) Data CRC (2 bytes) 0x01 0x10 0x00 0x0E 0x00 0x01 0x02 0x00 0x64 0xA6 0x95 In the reply you will receive the start register and the number of register requested. Table 5.4.3.2 Address Command Register (2 Bytes) N. registers (2 bytes) CRC (2 bytes) 0x01 0x10 0x00 0x0E 0x00 x01 0x60 0x0A In this example we write in the address 0x00 0x0E one register (2 bytes) with 0x00 0x64 in the data field. The correct answer is 0x00 0x0F (We have written inside the register 0x00 0x0F the data 100, trigger level). Example application mbus mbus u192.168.1.200 p10001 01.10.00.12.00.01.02.00.01 011000120001020001 64E2 011000120001 A1CC 100.00% Página 19 de 58

05.04.04 SYSTEM REGISTERS Table 5.4.4 Address Registers Bytes Description 0x0002 1 2 MB Table version / Number of detectors 0x0004 1 2 Alarm Counter R 0x0007 1 2 Extractor 1 counter R 0x0008 1 2 Extractor 2 counter R 0x000A 1 2 Maximum CO R 0x000B 1 2 Average CO R 0x000C 1 2 Minimum CO R (W/R) Format R Version (HI)- #detectios(lo) 0x000F 1 2 Alarm level R/W Higher than extraction level 2. 250 ppm maximum 0x0010 1 2 Extraction level 2 R/W (Higher than extraction level 2, lower than alarm) 250 ppm maximum 0x0011 1 2 Extraction level 1 R/W (Lower than extraction level 2) 0x0012 1 2 Working Mode R/W OFF / ON / Maximum / Average 0x0013 1 2 CO Panel Status R 0x0015 1 2 PWM speed R 0x00(HI) PWM (LO) Página 20 de 58

05.04.05 OPERATING MODE CODES Register 0x0012 Table 5.4.5 Modo Code OFF 0 ON 1 Maximum 2 Average 3 Example application mbus mbus u192.168.1.200 p10001 01.10.00.12.00.01.02.00.01 011000120001020001 64E2 011000120001 A1CC 100.00% Página 21 de 58

05.04.06 PANEL STATUS Register 0x0013 The CO control panel state is represented as a bit field, where each bit has the following indications: Table 5.4.6 Status Indication Module without devices 0x40 One device (or more) has a COMM error 0x20 One device (or more) has a sensor error 0x10 Alarm Relay Active 0x08 Extraction relay 1 active 0x02 Extraction relay 2 active 0x04 Module muted 0x01 Example application mbus mbus u192.168.1.200 p10001 01.04.00.13.00.01 010400130001 C00F 0104020006 3932 100.00% Página 22 de 58

06 CONTACT INFORMATION If you are experiencing an error or if you are unable to fix the error, there are a number of other troubleshooting options: - Look on the distributor s Web site for technical FAQs and documentation updates. - For information pertaining to your system s configuration, refer to your system s documentation or technical support. For example, for specific questions about the Microsoft Windows Operating System, refer to the Microsoft Knowledge Base Web site at www.support.microsoft.com/directory. - Contact your distributor. 07 PINOUTS 07.01 ETHERNET CONNECTOR Figure C-2: Network interface 07.02 ETHERNET WIRES Standard Ethernet wire Connections diagram, of a Cat.5 Ethernet wire, for connecting any Ethernet device (like card) to a HUB. (We will connect each wire ends with the same colours configuration, trying to take pins 1 and 2 (ex. Orange - Orange/White) and pins 3 and 6 (ex. Green Green/White) like a twisted pair) Example: 1- Orange 5- Blue/White 2- Orange/White 6- Green/White 3- Green 7- Brown 4- Blue 8- Brown/White Página 23 de 58

Direct Ethernet wire Connections Diagram of a Cat.5 Ethernet wire for connecting any Ethernet device (like card) directly to another like a PC. (What we have to do is to take the transmission wires of one end, and link it with the reception pins of the other end. Pins 1 and 2 are for transmission, and pins 3 and 6 for reception. We will connect 1 and 2 of one end (ex. Orange Orange/White) with 3 and 6 of the other end, and 3 and 6 of the first end (ex. Green Green/White) with pins 1 and 2 of the other end). We had to try to take a twisted pair for transmission and another for reception. Example: WIRE END 1 WIRE END 2 1- Orange 1- Green 2- Orange/White 2- Green/White 3- Green 3- Orange 4- Blue 4- Blue 5- Blue/White 5- Blue/White 6- Green/White 6- Orange/White 7- Brown 7- Brown 8- Brown/White 8- Brown/White Página 24 de 58

08 UPDATING FIRMWARE 08.01 OBTAINING FIRMWARE Current firmware files are available on the distributor web site. 08.02 RELOADING FIRMWARE You can also update the internal card Web interface via TFTP. 08.02.01 VIA TFTP From the MS-DOS command line with the tftp.exe command, available in versions 2000, XP and NT of Windows, can be sent firmware to the converter. They must type following commands-line: tftp -i 192.168.1.200 put xpt03_6602.rom AU tftp -i 192.168.1.200 put circontrol1.cob WEB1 tftp -i 192.168.1.200 put circontrol2.cob WEB2 The card performs a power reset after the configuration has been changed and stored (wait 5 seconds for the card to reboot). Example application mbus mbus u192.168.1.200 p10001 01.04.00.0F.00.03 mbus u192.168.1.200 p10001 02.04.00.0F.00.03 mbus u192.168.1.200 p10001 03.04.00.0F.00.03 Página 25 de 58

09 TECHNICAL SPECIFICATIONS Network interface Interface Connector Protocols Ethernet 10Base-T / 100Base-TX (auto-sensing) RJ45 MODBUS/TCP, ARP, ICMP, SNMP, TFTP, DHCP, BOOTP, HTTP y AutoIP 10 IP ADDRESSING Every device connected to a TCP/IP network must have a unique IP (Internet Protocol) address. This address is used to reference the specific device; for example, to build a connection to the card. An IP address is a 32-bit value divided into four octets of eight bits each. The standard representation is four decimal numbers (0-255) divided by dots (decimal dot notation). Figure 10: Sample IP address 192.2.12.123 (or 192.002.012.123) The IP address is divided into two parts: network and host. To support different needs, three network classes have been defined. In the following, "x" stands for the host part of the IP address. 10.01 CLASS A NETWORK IP address 1.x.x.x to 127.x.x.x The first byte defines the host, and the last three bytes define the network. Only 127 different Class A networks exist, and each can consist of up to 16,777,216 devices. Figure 10.1: Sample Class A network IP address 10.0.0.1 (Network 10, host 0.0.1) 10.02 CLASS B NETWORK IP address 128.0.x.x to 191.255.x.x The first two bytes define the host, and the last two bytes define the network. Class B networks are typically used for large company networks, and each can consist of up to 65,534 devices. Figure 10.2: Sample Class B network IP address 172.1.3.2 (Network 172.1, host 3.2) Página 26 de 58

10.03 CLASS C NETWORK IP address 192.0.0.x to 223.255.255.x The first three bytes define the host, and the last byte defines the network. Class C networks are the most common and are often used in smaller companies. Each network can consist of up to 254 hosts. Figure 10.3: Sample Class C network IP address 192.7.1.9 (Network 192.7.1, host 9) 10.04 CLASS D NETWORK IP address 224.x.x.x to 239.x.x.x These addresses are used as multicast addresses. 10.05 CLASS E NETWORK IP address 239.x.x.x to 254.x.x.x These addresses are reserved. 10.06 NETWORK ADDRESS A host address with all host bits set to 0 addresses the network as a whole (for example, in routing entries). Figure 10.6: Sample network address 192.168.0.0 10.07 DIRECCIONES DE BROADCAST A host address with all host bits set to 1 is the broadcast address, meaning for for every station. Figura 10.7: Dirección ejemplo de broadcast 192.168.0.255 Network and broadcast addresses must not be used as a host address; for example, 192.168.0.0 identifies the Entire network, and 192.168.0.255 identifies the broadcast address. Página 27 de 58

10.08 IP NETMASK A netmask divides IP address differently than the standards defined by the classes A, B, and C. A netmask defines the number of bits to be taken from the IP address as the network or host sections. The card prompts for the number of host bits to be entered and then calculates the netmask, which is displayed in standard decimal-dot notation (for example, 255.255.255.0) when saved parameters are displayed. Table10.8.1: Standard IP network netmasks Network class Network bits Host bits Netmask A 8 24 255.0.0.0 B 16 16 255.255.0.0 C 24 8 255.255.255.0 Table 10.8.2: Netmask examples Netmask Host bits 255.255.255.252 2 255.255.255.248 3 255.255.255.240 4 255.255.255.224 5 255.255.255.192 6 255.255.255.128 7 255.255.255.0 8 255.255.254.0 9 255.255.252.0 10 255.255.248.0 11...... 255.128.0.0 23 255.0.0.0 24 Página 28 de 58

10.09 PRIVATE IP NETWORKS AND INTERNET If your network is not and will not be connected to the Internet, you may use any IP address. If your network is connected or will be connected to the Internet, or if you intend to operate the card on an intranet, you should use one of the reserved sub-networks. Consult your network administrator with questions about IP address assignment. 10.10 NETWORK RFCS For more information about IP addresses, refer to the following documents, which can be located on the World Wide Web using one of the following directories or indices: - RFC 950 Internet Standard Subnetting Procedure - RFC 1700 Assigned Numbers - RFC 1117 Internet Numbers - RFC 1597 Address Allocation for Private Networks Página 29 de 58

Tarjeta Regulación Velocidad y Pasarela Ethernet MANUAL DE INSTRUCCIONES v1.0 Página 30 de 58

INDICE 01 INTRODUCCIÓN... 3 01.01 PROTOCOLOS DE RED... 3 01.01.01 ALGORITMOS DE EMPAQUETADO... 3 01.01.02 DIRECCIÓN HARDWARE (MAC)... 3 01.01.03 DIRECCIÓN IP... 3 01.01.04 NÚMERO DE PUERTO... 3 02 INSTALACIÓN... 4 02.01 DESCRIPCIÓN DEL EQUIPO... 4 02.01.01 INTERFACE DE RED... 4 02.01.02 ETIQUETA DE INFORMACIÓN DEL PRODUCTO... 4 02.02 INSTALANDO LA TARJETA... 4 03 PUESTA EN MARCHA... 6 03.01 DIRECCIÓN IP POR DEFECTO... 6 03.02 CONFIGURACIÓN DE LA DIRECCIÓN IP... 7 03.02.01 LOGIN POR EL PUERTO DE RED (1)... 7 03.02.02 LOGIN POR EL PUERTO DE RED (2)... 9 04 CONFIGURACIÓN... 10 04.01 CONFIGURACIÓN POR RED... 11 04.01.01 USANDO UN NAVEGADOR WEB... 11 04.01.02 USANDO EL TELNET... 13 04.02 PARÁMETROS DE CONFIGURACIÓN... 13 05 PROTOCOLO MODBUS... 16 05.01 INTRODUCCION... 16 05.02 CODIGOS DE ERROR... 16 05.03 FUNCIONES IMPLEMENTADAS... 17 05.04 EJEMPLOS DE TRAMAS MODBUS... 17 05.04.01 LECTURA DE RELES COMPACTADOS O ENTRADAS... 17 05.04.02 LECTURA DE REGISTROS... 18 05.04.03 ESCRITURA DE REGISTROS... 19 05.04.04 REGISTROS DEL SISTEMA... 20 05.04.05 CODIFICACION PARA EL MODO DE FUNCIONAMIENTO... 21 05.04.06 CODIFICACION PARA EL ESTADO DE LA CENTRAL... 22 06 INFORMACIÓN DE CONTACTO... 23 07 PINOUTS... 23 07.01 CONECTOR ETHERNET... 23 07.02 CABLES ETHERNET... 23 08 ACTUALIZANDO EL FIRMWARE... 25 08.01 OBTENIENDO EL FIRMWARE... 25 08.02 ACTUALIZACIÓN DEL FIRMWARE... 25 08.02.01 VÍA TFTP... 25 09 ESPECIFICACIONES TÉCNICAS... 26 10 DIRECCIONAMIENTO IP... 26 Página 31 de 58

01 INTRODUCCIÓN La tarjeta conecta el sistema de monóxido a una red Ethernet usando el protocolo IP (MODBUS/TCP para comunicaciones orientadas a conexión). 01.01 PROTOCOLOS DE RED La tarjeta utiliza el protocolo IP para las comunicaciones en red. Los protocolos soportados son ARP, MODBUS/TCP, ICMP, Telnet, TFTP, DHCP, HTTP y SNMP. Para conexiones al puerto serie, se usan protocolos MODBUS/TCP o Telnet. Para actualizar el software interno del equipo se puede hacer usando el protocolo TFTP. El protocolo IP define el direccionamiento, enrutado y manipulación de datos a través de la red. El protocolo MODBUS/TCP asegura que no se pierdan o dupliquen datos, y que todo lo que es enviado llega a su destino correctamente. 01.01.01 ALGORITMOS DE EMPAQUETADO Mediante software, podemos elegir 2 algoritmos de empaquetado distintos, los cuales definirán como y cuando son enviados los paquetes a la red. El algoritmo estándar está optimizado para aplicaciones en las que la tarjeta es usada en pequeñas redes locales, permitiendo esperas muy bajas y manteniendo el envío de paquetes muy constante. El otro algoritmo de empaquetado minimiza la frecuencia de envío de los paquetes en la red, y está especialmente diseñado para aplicaciones en redes WANs o enrutadas. Ajustando los parámetros en este modo, podemos optimizar la red. 01.01.02 DIRECCIÓN HARDWARE (MAC) La dirección Ethernet es la dirección hardware del equipo o también llamada dirección MAC. Esta dirección viene fijada de fábrica y en cada equipo es diferente. Los bytes cuarto, quinto y sexto son los que definen cada tarjeta. Tabla 1.1.2: Dirección Ethernet ejemplo 00-20-4A-14-01-18 ó 00:20:4A:14:01:18 01.01.03 DIRECCIÓN IP Cada equipo conectado a una red IP debe tener una única dirección IP. Esta dirección es usada para distinguir cada equipo. Mirar apartado 10 para más información acerca del direccionamiento IP. 01.01.04 NÚMERO DE PUERTO Cada conexión MODBUS/TCP está definido por una dirección IP destino y un número de puerto. Por ejemplo, un telnet generalmente utiliza el puerto 23. Página 32 de 58

02 INSTALACIÓN Este capítulo describe la tarjeta y muestra como instalarlo en una red. La instalación del equipo se realiza dentro de la central de monóxido, quedando todas las conexiones en el interior de esta. 02.01 DESCRIPCIÓN DEL EQUIPO 02.01.01 INTERFACE DE RED La tarjeta tiene un puerto Ethernet RJ45 de 10 Mbps (10Base-T) o de 100 Mbps (100Base-TX). Figura 2.1.1: Interface de red 02.01.02 ETIQUETA DE INFORMACIÓN DEL PRODUCTO En la parte lateral de la tarjeta existe una etiqueta de información, y contiene los siguientes datos del equipo: - Dirección Ethernet (también llamada dirección Hardware o dirección MAC) 02.02 INSTALANDO LA TARJETA Este capítulo define los pasos a seguir para una correcta instalación de las tarjetas. El instalador debe leer todo el manual antes de empezar la instalación del sistema. No seguir las instrucciones de este manual puede ocasionar daños al equipo. La instalación de la tarjeta requiere los pasos siguientes: 1.- Desconectar el sistema de monóxido de la red. 2.- Desmontar todos los módulos de CO del sistema de monóxido, extrayendo los 4 tornillos por módulo y el conector enchufado en el conector JP14. (Fig. 2.2.1) 3.- Ubicar y fijar la tarjeta de expansión mediante los tornillos de fijación que se suministran junto con la placa. (Fig.2.2.2). Una vez fijada la tarjeta, conecte los conectores que ha extraído del conector JP14 de los módulos, a los conectores IN1, IN2, IN3 de la tarjeta de regulación. 4.- Volver a fijar los módulos del sistema de monóxido, uno a uno, conectando las mangueras JP13, JP14, JP15 en el conector JP6 de cada módulo. 5.- Conectar el cable entre el conector de la tarjeta de expansión marcado como OUT 28V y los conectores de alimentación de los módulos de monóxido JP14. 6.- Si se quiere que el sistema funcione con baterías conectar el cable de la batería al conector de la tarjeta de expansión marcado como BAT. 7.- Si se está instalando la tarjeta con pasarela Ethernet, conectar un cable Ethernet al puerto RJ45 (10Base-T / 100Base-TX). Página 33 de 58

Figura 2.2.1 Figura 2.2.2 Página 34 de 58

Figura 2.2.3 03 PUESTA EN MARCHA Este capítulo describe los pasos necesarios para poner en marcha la tarjeta. Existen dos métodos para comunicar con el conversor de la tarjeta y configurar la dirección IP: - Acceso por red (1): Haciendo un telnet al puerto 9999. - Acceso por red (2): Utilizando el programa DeviceInstaller facilitado por el fabricante del Embedded Ethernet Device Server (XPort ). http://www.lantronix.com/ Es importante tener en cuenta los siguientes puntos antes de empezar a configurar la tarjeta: - La dirección IP de la tarjeta tiene que ser configurada antes de que se pueda establecer una conexión por red. - Sólo se puede establecer una conexión al puerto 9999 a la vez. Se elimina la posibilidad de que varias personas intenten configurar la tarjeta simultáneamente. - No se puede desactivar el acceso a este puerto, pero se puede proteger con contraseña. 03.01 DIRECCIÓN IP POR DEFECTO La tarjeta viene configurada en DHCP. Si se dispone de un servidor DHCP, este asignará automáticamente una dirección IP, puerta de enlace y máscara de subred a la tarjeta cuando éste se reinicie. Página 35 de 58

03.02 CONFIGURACIÓN DE LA DIRECCIÓN IP La dirección IP de la tarjeta debe ser configurada para que se pueda acceder a través de red. Si la dirección IP no ha sido asignada automáticamente por DHCP, se tendrá que configurar usando un puerto de red. 03.02.01 LOGIN POR EL PUERTO DE RED (1) El método más sencillo para configurar la dirección IP es mediante el programa DeviceInstaller. Este puede descargarse en la web del fabricante. http://www.lantronix.com/ Empezaremos apuntando la dirección Ethernet que viene en la etiqueta de cada equipo, la cual es única y distinta en todos los dispositivos de red. Es la dirección Hardware que toda interface de red tiene (ésta será del tipo 00-20-4A-A5-C6-A2). DeviceInstaller configurará de forma permanente la dirección IP del conversor. Los pasos a seguir son los siguientes: 1. Ejecutar el programa. 2. El programa mostrara los dispositivos disponibles en nuestra red y la dirección IP que estos tienen dentro de la misma. Figura 3.2.1.1 Página 36 de 58