VPGate Manual MODBUS/TCP to Serial

Size: px
Start display at page:

Download "VPGate Manual MODBUS/TCP to Serial"

Transcription

1 VPGate Manual MODBUS/TCP to Serial

2 Content 1. Characteristics General characteristics Electrical characteristics Mechanical/Environmental characteristics Hardware installation Connector Power connector SERIAL Connector Digital input Digital output Front panel indicators Indicator light of the 2 ports switch DIP switches Default configuration of the IP address Choosing the RS-232/RS-485 mode Terminating resistance Working principle Appliance of the product Default configuration Configuration in Advanced Gateway mode MODBUS/TCP server MODBUS/TCP client MODBUS serial link master (1) MODBUS master with the Direct messaging function Fault management in direct messaging MODBUS master scenarios MODBUS serial link slave (2) Transparent Mode (3) Case where the end of the frame is detected thanks to a special character Case where the Length of frame is known Case where the end of the frame is detected following timeout Functioning of the frame trigger Principle of configuration of the product Software configuration Procedure to access the VPGate Web server Procedure for configuring the serial link Procedure for configuring the MODBUS/TCP server Procedure for configuring the MODBUS serial link master Procedure for configuring the MODBUS serial link slave Procedure for configuring transparent mode Implementation of the Default Configuration Configuration of the IP address using the DIP switch Configuration of the IP address using the DCP protocol...37 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 2/135

3 5.3 Configuration of the serial link Operating test of the default gateway Implementation of the advanced configuration MODBUS/TCP server General information regarding the MODBUS/TCP server Configuration of the MODBUS/TCP server MODBUS/TCP client Activation of the MODBUS/TCP client Creation of scenarios for the MODBUS/TCP client Status of scenarios for the MODBUS/TCP client Deactivation of a MODBUS/TCP client scenario Modification or deletion of a MODBUS/TCP client scenario Backing-up the list of MODBUS/TCP scenarios MODBUS MASTER Activation of the MODBUS serial link master Configuration of the MODBUS serial link master Creation of the MODBUS serial link master scenarios Status of the MODBUS serial link master scenarios Deactivation of a MODBUS serial link master scenario Modification or deletion of a MODBUS serial link master scenario Backing-up the list of MODBUS master MODBUS SLAVE Activation of the MODBUS serial link slave Configuration of the MODBUS serial link slave TRANSPARENT MODE Activation of the MODBUS serial link slave Configuration of transparent mode on the serial link DIGITAL INPUT/OUTPUT Configuration of the digital input/output DIAGNOSTICS Explanation of the LEDs Diagnostics with status of MODBUS master scenarios Diagnostics with status of the MODBUS/TCP client scenarios Statistics of the MODBUS master Web page of the MODBUS slave statistics Web server Presentation of the Web server Management of access to the Web server System information menu Network settings menu Gateway mode menu Modbus/TCP settings menu Serial settings menu IO settings menu SNMP information menu ETHERNET statistics menu...78 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 3/135

4 9.11 MODBUS Statistics menu File system menu Firmware upload menu Reboot Menu Passwords Menu Logout Menu Custom menu / Customised WEB pages Access to data via personalised Web pages Example of customised WEB pages FTP server SNMP agent APPENDICES APPENDIX A: Format of the MODBUS frames APPENDIX C: API CGI Javascript APPENDIX E: MIB2, important fields Other PROCENTEC products Sales offices and distributors About PROCENTEC Notes VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 4/135

5 Document reference Reference Document Version Date (1) MODBUS application protocol specification V1.1b (2) MODBUS over serial line specification and implementation guide V (3) MODBUS messaging on TCP/IP implementation guide V1.0b VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 5/135

6 1. Characteristics 1.1 General characteristics Ethernet connection Bandwidth Lights Distances Cable Connectors Supported protocols Switch 10/100 Mbps, auto negotiation, auto polarity, auto MDI/MDIX Connection active (green) and activity (orange) Maximum 100m Shielded industrial Ethernet cable (5th category at least) 2 RJ-45 connectors with transformer insulation and shield connection MODBUS/TCP, SNMP V1, HTTP, FTP, DCP Integrated 2 ports switch MODBUS / TCP Operating modes Gateway mode Max number of simultaneous TCP connections Client, server or gateway Direct access by tunnelling in the series equipment data 5 Port 502 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 6/135

7 Transparant mode End of frame delimiter End of frame character / known length / on timeout MODBUS mode Bus access Protocol Master or slave MODBUS RTU or ASCII Accepted functions 1, 2, 3, 4, 5, 6, 15, 16, 23 Number of addressable slaves in master mode 100 MODBUS slaves Range of addresses Number of MODBUS registers accessible for a request Periodicity of sending frames registers in read mode bits in read mode registers in write mode bits in write mode Cyclical or following change for writing outputs Local I/O TOR input TOR output 1 isolated digital input 1 isolated digital output File system Space available Access 8 MB FTP, HTTP VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 7/135

8 1.2 Electrical characteristics Power supply Supply voltage Consumption Connector Reverse polarity protection 12-30V DC 1.7 W Female 3 contact disconnectable terminal (VCC, 0V, GND) Yes Short-circuit protection Yes 1.3 Mechanical/Environmental characteristics Mechanical/environmental characteristics Type of body Plastic with hatch on the front side IP20 - DIN fixation rail Dimensions 120 x 100 x 23 mm (L x W x H) Weight 130 g Storage temperature -25 C C Operating temperature 0 C C Relative ambient humidity Max. 80% VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 8/135

9 2. Hardware installation 2.1 Connector Figure 1: Connectors on top of the body Power connector Pin Name Description 1 24 VDC Power supply V 2 0 VDC 0 V 3 GND Ground connection SERIAL Connector Pin Name Description 1 Rx Rx RS-232 (VPGate < equipment) 2 Tx Tx RS-232 (VPgate > equipment) 3 GND RS-232 ground connection 4 Shield Ground 5 Data - Signal Data - RS Data + Signal Data + RS-485 Important: The shielding of the SERIAL cable must imperatively have ground connections at both ends in order to ensure correct resistance to electromagnetic disturbances. The pin 4 of the connector may be used. The ideal situation is to use a shield jumper screw, which is fixed at each end of the serial wire on a ground bus or a cabinet bottom plate. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 9/135

10 2.1.3 Digital input Figure 2: Connectors on the bottom of the body IEC compliant, type 1: 1 IN 2 Pin Name Description 1 IN + Insulated digital input (15-24 V) IN - Insulated digital input, ground return Digital output IEC compliant: OUT 1 2 Pin Name Description 1 OUT Relay contact 2 OUT Relay contact Interrupting capacity 0.5 A Maximum accepted current: 1.2 A 2.2 Front panel indicators 1 ON 2 Net1 3 Net2 4 RUN 5 Tx (serial link) 6 Rx (serial link) VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 10/135

11 1 ON: is lit on when the gateway has been powered on. 2 Net1 : is lit and steady if the MODBUS/TCP server has not started owing to an error in configuration. Net 1 blinks if the MODBUS/TCP client detects a timeout on a server. 3 Net2 : is lit and steady if selected protocol for the serial link has not started owing to an error in configuration. Net 2 blinks in case of a communication error in the serial link (Timeout of a MODBUS slave, for example). 4 RUN: blinking at 1Hz, indicates that the program is functioning correctly. Blinking at 4Hz indicates that the "DCP blink" command has been initiated (allows physically locating the equipment). 5 Tx: indicates that a frame is being sent on the serial link. 6 Rx: indicates that a frame is being received on the serial link Indicator light of the 2 ports switch Link activity indicator: Switched off: no exchanges Switched on: exchanges in progress Link status indicator: Not switched on: no link Switched on: Ethernet link OK 2.3 DIP switches DIP switches enable: activating a default IP configuration ( ) selecting the physical support of the serial link: RS-232 or RS-485 activating a termination resistance and line polarisation Figure 3: DIP switches Default configuration of the IP address A switch allows resetting a default configuration (@IP , mask ) during the start-up of VPGate Ethernet. The configuration is carried out in the following manner: Switch Name Description 1 ON OFF Default IP configuration User-defined IP configuration Set the DIP switch 1 to ON and power VPGate one and off to ensure that it takes the default IP parameters into account. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 11/135

12 Important: A user may modify the IP address of VPGate via the Web server or via the DCP protocol, when the switch is set to ON. In this case, the new IP address is used immediately, despite the switch being activated. Consider setting the switch to OFF, otherwise the default IP address shall be once again used when the device is restarted Choosing the RS-232/RS-485 mode There is a switch which allows specifying the operating mode of the serial link from between RS-232 or RS-485 (VPGate is pre-set to RS-485 out of the box): Switch Name Description 2 ON OFF RS-232 RS-485 RS-232 mode: Figure 4 : Serial network in RS-232 mode This mode can be used in case of communication between 2 pieces of equipment only (point to point connection). The maximum distance in RS-232 is 15 m at baud. RS-485 mode: 150 Ω 150 Ω Figure 5: Serial network in RS-485 mode This mode is used more often because it allows connecting several slaves on the bus. It also has other advantages like immunity to EMC disturbances and its maximum inter-equipment distance is higher than in RS- 232 mode. The maximum distance in RS-485 is 1200 m Terminating resistance VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 12/135

13 If the communication mode used is RS-485, there must be a terminating resistance of 150Ω at both ends of the network (refer to the example above). The connection of a terminating resistance is established using DIP switches 3 and 4 (VPGate is pre-adjusted without terminating resistance): Switch Position Description 3 4 (activation of the terminating resistance + polarisation of the line) ON OFF Termination & polarisation No termination and no polarisation To ensure the proper functioning of the termination, switches 3 and 4 must mandatorily be in the same position Internal resistance and polarisation diagram of the bus RS-485: Figure 6 : Terminating resistance and polarisation of the bus RS-485 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 13/135

14 3. Working principle 3.1 Appliance of the product VPGate MODBUS/TCP to serial is a communication gateway which allows interfacing a MODBUS/TCP network with: 1 MODBUS serial link slaves (1) 2 MODBUS serial link master (2) 3 equipment using a proprietary serial link protocol (3) Figure 7: Presentation of the VPGate MODBUS/TCP to serial operating modes 3.2 Default configuration VPGate MODBUS/TCP to serial is delivered with a default configuration that allows interfacing MODBUS/TCP clients with MODBUS serial link slaves: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 14/135

15 Figure 8: Operating mode of the default configuration VPGate is configured in the following mode: Ethernet of MODBUS/TCP server MODBUS serial link master The Direct messaging mode is activated by default and ensures the transformation of the MODBUS/TCP messages into MODBUS serial frames. Refer to section MODBUS master with the Direct messaging function for more information about this mode. In this mode, VPGate MODBUS/TCP to serial is operational after: The IP address parameters are configured The serial link to be used (RS-232 or RS-485) and its associated parameters are chosen Refer to section 5 Implementation of the Default Configuration on page 33 to use VPGate MODBUS/TCP in its default configuration. For more information about the MODBUS/TCP protocol, refer to the document MODBUS messaging on TCP/IP implementation guide. 3.3 Configuration in Advanced Gateway mode The advanced configuration mode allows using the internal memory of VPGate to exchange information between the MODBUS/TCP and serial link protocols. VPGate MODBUS/TCP has a shared memory zone called exchange table used to store data exchanged between MODBUS/TCP and the serial link protocols. When VPGate functions as a MODBUS/TCP server, the exchange table can be accessed by MODBUS/TCP clients who send read/write requests to VPGate. When VPGate functions as a MODBUS/TCP, it arranges the data read in the servers in its exchange table, and from there reads the data to be written on the servers. The exchange table consists of 16 bit registers in the BIG-ENDIAN format. Each register is identified by an address (offset) which is coded using 16 bits. The accessible memory range starts at the address 0x0000 and extends to the address 0xFFFF. It is defined as indicated below: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 15/135

16 Address Exchange Table (shared memory) Dec. Hex. 0 0x0000 Inputs x07FF Data received from the serial link: In MODBUS master mode: data read in the slaves In MODBUS Slave mode: data written by a master In Transparent mode: frame received on the serial link x0800 Outputs x0FFF Data sent to the serial link: In MODBUS master mode: data written in the slaves In MODBUS Slave mode: data read by a master In Transparent mode: frame sent on the serial link x1000 Free zone x7FFF Accessible only for the following MODBUS functions: 3 - Read Holding Registers 4 - Read Input Registers 6 - Write Single Register 16 - Write Multiple Registers 23 - Read/Write Multiple Registers x8000 Configuration zone xFFFF Identification of the product Parameters of the serial link: Listings of the active protocols Configuration of each protocol Figure 3: Exchange Table (shared memory) of VPGate MODBUS/TCP to serial The access rules for the exchange table are as follows: If the Direct messaging mode has not been activated, the exchange table can be accessed by a MODBUS/TCP client irrespective of the slave address specified in the MODBUS/TCP message. If the Direct messaging mode has been activated, the exchange table can be accessed if the slave provided in the MODBUS/TCP is between 247 and 254. Important: The configuration field contains the current VPGate parameters. Accessing this field in write mode can have a direct impact on the proper functioning of the product. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 16/135

17 3.4 MODBUS/TCP server VPGate can be configured to function as a MODBUS/TCP server. It provides the exchange table to the MODBUS/TCP clients present on the network: Figure 9: VPGate in MODBUS/TCP server mode In this mode, it is necessary to configure the IP address of the MODBUS/TCP server used by VPGate, and the list of MODBUS functions that it supports. The list of functions supported by VPGate in MODBUS/TCP server mode is as follows: Code Function Maximum length 1 Read coils 2000 bits 2 Read discrete inputs 2000 bits 3 Read holding registers 125 registers 4 Read input registers 125 registers 5 Write single coil 1 bit 6 Write single register 1 register 7 Read exception status 1 byte 15 Write multiple coils 1968 bits 16 Write multiple registers 123 registers 23 Read/Write Multiple registers 125 registers in read mode, 118 in write mode VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 17/135

18 All requests that include a function code which is not supported shall receive in response the exception "0x01 Illegal Function". 3.5 MODBUS/TCP client VPGate can be configured to function as a MODBUS/TCP client. Figure 10: VPGate in MODBUS/TCP client mode The user can define MODBUS scenarios" in order to define the behaviour of the MODBUS/TCP client. Each MODBUS scenario is defined by: The IP address of the MODBUS/TCP server to be accessed MODBUS function used Address of the bit/register to be accessed in the slave Quantity of bits/registers to be accessed in the slave Address in VPGate, where the read/written data are stored in the slave Release mode of the scenario: Cyclical sending: definition of a sending period Sending after change: the request is sent only if a change is detected in the exchange table (only for MODBUS write requests) The cyclical scenarios are executed one after the other. If a scenario has been configured to be executed after a change and if the data associated with it do indeed change, it is executed immediately after the completion of the ongoing cyclical scenario. If several scenarios have been configured to be executed after a change and if the associated data does indeed change, these scenarios are included in the transmission pending queue. If no cyclical scenario needs to be sent, the change scenarios are executed one after the other. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 18/135

19 If several cyclical scenarios are already pending transmission, VPGate inserts a change scenario between each ready cyclical scenario, and thus optimises the exchanges by minimising the delay induced during cyclical scenarios. 3.6 MODBUS serial link master (1) VPGate can be configured to function as a MODBUS serial link master. There are two operating modes which allow sending requests to MODBUS slaves: The Direct Messaging mode (MODBUS/TCP server activated mode) Using the scenarios (configuration of the cyclical/acyclical requests) MODBUS master with the Direct messaging function To access a MODBUS serial slave through VPGate, a MODBUS/TCP client must specify the address of the MODBUS serial slave which it wishes to connect to: Figure 11: VPGate serial link master with Direct messaging It enters this information in the field Unit ID of the MBAP header of the MODBUS/TCP message (refer to Figure : Figure 12: Conversion of a MODBUS/TCP message into a MODBUS serial frame). By sending the MODBUS/TCP message to the IP address of the VPGate MODBUS/TCP server, VPGate shall then convert the TCP message into a serial link frame as indicated below: MODBUS/TCP message (ADU) MBAP: MODBUS/TCP header MODBUS request (PDU) ID Transaction Protocol ID Length Request Unit ID Function code Data Slave address Function code Data CRC MODBUS serial frame Figure 12: Conversion of a MODBUS/TCP message into a MODBUS serial frame VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 19/135

20 For more information about the MODBUS: MODBUS application protocol specification [1]. The field Unit ID is used as a slave address in order to create the MODBUS serial frame. VPGate can thus create and send a serial frame from the TCP message, and return the response from the slave to the requesting client, via its IP address. VPGate is distributed through a default configuration when this operating mode is used, refer to section 3.2 Default configuration. There may be a latency in the time taken by the MODBUS serial slave to process the request. A MODBUS/TCP client must thus always wait for the MODBUS serial link request to be executed in order to receive a response from the VPGate MODBUS/TCP server. It is possible that a MODBUS/TCP request may be considered as unanswered (timeout) by a client, even though it is only because of the lead-through time that the time required for transmitting the message is extended. In this case, the value of the timeout parameter of the requests on the client must be increased. This mode is functional, but not at the same level of performance as the Advanced Gateway mode which is presented in section 3.3 Configuration in Advanced Gateway mode Fault management in direct messaging If a corrupted frame is received by the MODBUS slave, the request is ignored and no response is sent to the MODBUS master. If a corrupted response is received by the master, the frame is ignored. This is considered as a timeout. If the frame received from the slave is correct, but if the response is an exception, a MODBUS exception is sent to the MODBUS/TCP client. MODBUS exception code Description 0x01 0x02 "Illegal function": the MODBUS function code is not supported. "Illegal data address": the requested data address is not valid. 0x03 "Illegal data value": the data contained in the request are erroneous (for example: number of registers to be read higher than the maximum value defined by the function code). 0x04 0x06 Slave device failure : A fatal error has occurred, which has prevented the slave from processing the request. Slave Device Busy : the slave is already processing a request, the master must re-transmit this request later. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 20/135

21 0x0A 0x0B Gateway path unavailable : this message indicates that the gateway is not able to connect to the required recipient (configuration problem or gateway overload). Gateway target device failed to respond : this message indicates that the recipient has not responded to the request. Generally, this message indicates that the equipment to which the request is sent is not present on the networks joined by the gateway. Table 1: Exceptions returned by the MODBUS/TCP server MODBUS master scenarios The user can define MODBUS scenarios" in order to define the behaviour of the MODBUS master. Each MODBUS scenario is defined by: Address of the slave to be accessed MODBUS function used Address of the bit/register to be accessed in the slave Quantity of bits/registers to be accessed in the slave Address in VPGate, where the read/written data are stored in the slave Release mode of the scenario: Cyclical sending: definition of a sending period Sending after change: the request is sent only if a change is detected in the exchange table (only for MODBUS write requests) The cyclical scenarios are executed one after the other. If a scenario has been configured to be executed after a change and if the data associated with it do indeed change, it is executed immediately after the completion of the ongoing cyclical scenario. If several scenarios have been configured to be executed after a change and if the associated data does indeed change, these scenarios are included in the transmission pending queue. If no cyclical scenario needs to be sent (unfinished cycle), then the change scenarios are executed one after the other. If several cyclical scenarios are already pending transmission, VPGate inserts a change scenario between each ready cyclical scenario, and thus optimises the exchanges by minimising the delay induced during cyclical scenarios. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 21/135

22 Request Response Figure 13: Exchange of data via the MODBUS scenarios in MODBUS master moderesponserequest 3.7 MODBUS serial link slave (2) VPGate can be configured as a MODBUS serial link slave Master MODBUS directly accesses, in read or write mode, the VPGate exchange table. The exchange table is considered as a table of registers: Response Figure 14: Data exchange in MODBUS slave mode In this mode, it is necessary to configure the address of the MODBUS slave used by VPGate, and the list of MODBUS functions that it supports. The list of functions supported by VPGate in MODBUS slave mode is as follows: Code Function Maximum length 1 Read coils 2000 bits VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 22/135

23 Code Function Maximum length 2 Read discrete inputs 2000 bits 3 Read holding registers 125 registers 4 Read input registers 125 registers 5 Write single coil 1 bit 6 Write single register 1 register 7 Read exception status 1 byte 15 Write multiple coils 1968 bits 16 Write multiple registers 123 registers 23 Read/Write Multiple registers 125 registers in read mode, 118 in write mode All requests that include a function code which is not supported shall receive in response the exception "0x01 Illegal Function". 3.8 Transparent Mode (3) Transparent mode allows exchanging raw data on the serial link without any notion of master/slave and without any protocols. It is used to implement all types of proprietary protocols. Configuration of the Transparent mode defines the format of the frames sent/received on the serial link. The frames received on the serial link which are detected as complete/valid are copied in the exchange table at the address indicated in the configuration. When a change occurs in the exchange table of the data to be sent in transparent mode, a verification is carried out to validate that the frame is in the correct format. If these data form a complete frame, the said frame is immediately sent to the serial link. It is possible to exchange frames up to 250 bytes in input (reception) and 250 bytes in output (transmission). To do this, it is necessary to define how the frames are marked: End of frame defined by a special character Length of frame known End of frame detected on timeout Case where the end of the frame is detected thanks to a special character In this example, the length of the frames being received and transmitted is 128 bytes, the end character of the frame is the ASCII character "CR" (0x0D): VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 23/135

24 Figure 15: Transparent with detection of the end of frame character After receiving the first byte on the serial link: If no bytes are received for the timeout period defined in the configuration of the serial link, an error is indicated and the incomplete frame is not stored in the exchange table. If the length of the frame received is more than the number of input bytes set in the configuration, and if the frame received is valid, the frame is stored in a truncated form in the exchange table. If a change is detected in the outputs after the writing process of MODBUS/TCP client: If an end of frame character is present in the frame, the data is transmitted on the serial link from the 1st byte up to and including the end of frame character. The remaining bytes are ignored Case where the Length of frame is known In this mode, the 1st byte of the frame must contain the number of bytes: Figure 16: Transparent mode with length defined at the beginning of the frame After receiving the first byte on the serial link: If the expected bytes are not received for the timeout period defined in the configuration of the serial link, the incomplete frame is not stored in the exchange table. If the length of the frame received is more than the configured number of input bytes, and if the frame received is valid, the frame is transmitted in a truncated form to the exchange table. If a change is detected in the data to be sent on the transparent link: If the 1st byte indicates a length longer than the number of outputs configured, no data is sent. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 24/135

25 3.8.3 Case where the end of the frame is detected following timeout. The 1st byte of the inputs configured in the exchange table indicates the number of bytes received. The 1st byte of the outputs configured in the exchange table must indicate the number of bytes to be transmitted. Figure 17: Transparent mode with end of frame detection on timeout After receiving the first byte on the serial link: If no bytes are received for the timeout period defined in the configuration of the serial link, the number of characters received is recorded in the 1st byte of the configured inputs then the received data are stored in the exchange table in accordance with this length byte. If the length of the frame received plus one length byte is higher than the number of input bytes configured, the frame is stored in truncated form in the exchange table. If a change is detected in the data to be sent on the transparent link: If the 1st byte indicates a length longer than the number of outputs configured, no data is sent Functioning of the frame trigger The frame counter, when activated, is added at the beginning of the input and output frames in the exchange table: Figure 18: Transparent mode with use of the frame trigger/counter This counter is increased every time a new frame is available. It is used to indicate the presence of a new received frame, or to detect a new frame to be transmitted. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 25/135

26 3.9 Principle of configuration of the product VPGate MODBUS/TCP to serial is configured using the integrated Web server. The Web server hosts pages dedicated for the configuration of the following components: 1 IP address parameters 2 serial link 3 protocol used on Ethernet 4 protocol used on the serial link 5 TOR input and output 6 password for administrator and user sessions Figure 49: Configuration of the gateway via the Web server The default configuration of VPGate may be modified through the Web server in order to create a customised configuration which meets more specific requirements. The configuration of VPGate may be backed-up permanently using the Web server on its file system in the directory Config/Config.ini.. This configuration file can be exported and backed-up, or it can be loaded in other units of VPGate MODBUS/TCP to serial. It is possible to revert to the default configuration, and to once again set the factory settings. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 26/135

27 4. Software configuration 4.1 Procedure to access the VPGate Web server The steps to be followed to find or configure the IP address of VPGate are as follows: Figure 20 : Procedure for finding/configuring the IP address of VPGate MODBUS/TCP to serial The IP configuration remains unchanged once it is applied via the Web server or DCP, VPGate shall use these IP parameters from the next reboot of the product. Refer to section 5.1 Configuration of the IP address using the DIP switch and 5.2 Configuration of the IP address using the DCP protocol and follow the VPGate IP configuration steps. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 27/135

28 Important: The IP address is a critical element for accessing the product. Even though it is possible to discover VPGate using the DCP protocol, or to use the DIP switch to allocate a default IP address, it is always preferable to record your IP address on a label, or in a file. 4.2 Procedure for configuring the serial link To ensure communication on the serial link, it is necessary to know the capabilities of each piece of equipment and to configure the serial link accordingly. It is imperative to ensure that the parameters are identical for all pieces of equipment interfacing on the serial link. Refer to the technical documentation for the equipment for instructions about the configuration. The steps to be followed to configure the serial link are as follows: Figure 51 : Procedure for configuring the serial link of VPGate MODBUS/TCP to serial VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 28/135

29 Refer to section 5.3 Configuration of the serial link to follow the configuration steps of the VPGate serial link. 4.3 Procedure for configuring the MODBUS/TCP server VPGate functions in MODBUS/TCP server mode when using Ethernet in order to exchange data with the MODBUS/TCP clients (Supervision or controllers). By default, VPGate does not require special configuration to ensure the functioning of the MODBUS/TCP server, however, it is possible to modify certain parameters. The steps to be followed to configure the MODBUS/TCP server are as follows: Figure 262: Procedure for configuring the VPGate MODBUS/TCP server VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 29/135

30 4.4 Procedure for configuring the MODBUS serial link master In MODBUS master mode, VPGate allows: 1 Accessing the slaves using the Direct Messaging mode by converting MODBUS/TCP messages into MODBUS serial link requests (default mode) 2 Using the internal memory table as an exchange zone between MODBUS/TCP and MODBUS serial link ( Advanced Gateway mode) Figure 23 : Procedure for configuring the VPGate MODBUS master VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 30/135

31 In case no.1, VPGate functions as shown in section 3.2 Default configuration. In case no. 2, VPGate must be configured to define the MODBUS scenarios to be executed for: filling the exchange zone with data read in the MODBUS slaves. The data can be obtained by MODBUS/TCP clients by accessing the VPGate MODBUS/TCP server. writing the data present in the exchange zone in the MODBUS slaves. The data to be written are provided by MODBUS/TCP clients which fill the exchange table by accessing the VPGate MODBUS/TCP server. It is possible to use both mode simultaneously. In this case, VPGate executes scenarios configured by the user, and it is possible, between the execution of both scenarios, to execute a Direct Messaging acyclical request to read/write a particular parameter in a MODBUS slave. 4.5 Procedure for configuring the MODBUS serial link slave In MODBUS Slave mode, VPGate provides its internal exchange table. A MODBUS master can read or write in the internal table in order to exchange data with MODBUS/TCP clients. The configuration process is as follows: Figure 24 : Configuration process of the VPGate MODBUS slave VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 31/135

32 4.6 Procedure for configuring transparent mode The configuration process of transparent mode is as follows: Figure 25 : The configuration process of VPGate transparent mode VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 32/135

33 5. Implementation of the Default Configuration To access the configuration Web server, it is necessary to know the IP address. There are two possible methods: Configuration of the default IP address using the DIP switch no. 1 on the front surface Configuration of the IP address via the DCP protocol 5.1 Configuration of the IP address using the DIP switch As indicated in paragraph Default configuration of the IP address, it is possible to allocate a default IP address configuration to VPGate: IP address Sub-net mask The procedure to be followed to access the VPGate Web server is as follows: 1 Configure the IP parameters of the equipment used (PC, tablet, Smartphone, etc.) to connect to the Web server using: IP address Sub-net mask Between and Important: ensure that the chosen IP address has not already been used by another piece of equipment Figure 26 : Example of configuration of IP parameters in Windows 7 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 33/135

34 2 Ensure that the IP address has not been used on the Ethernet network on which VPGate is going to be connected. In Windows, open the command prompt cmd and enter the command ping Ensure that there is no response: Figure 27 : Verification by Ping that the IP address is free, using the Windows command prompt 3 Set the VPGate DIP switch no. 1 to ON (to the right): Figure 28: Position of DIP switch no. 1 to configure the default IP address Comment: the position of the other switches (no. 2, 3 and 4) is not of any relevance. 4 Connect VPGate to the Ethernet network and power it on. 5 Ensure that the green ON indicator light is steady and that the RUN indicator light is blinking 6 Open a Web browser (Google Chrome or Mozilla Firefox) and type in the address bar: Figure 29: Connecting to the Web server using Google Chrome 7 By default, the account configuration is as follows: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 34/135

35 Account Username Password Administrator (R/W) Admin Admin User (R) User User 8 Configuring a new IP address using the Web server: Figure 30 : Configuring the IP address using the Web server The information related to the VPGate network configuration can be found in the section Network Settings. The IP configuration mode field indicates the source of the IP parameters configuration. Here, it is indicated DIP Switches since we have followed the procedure for allocating the default IP address using DIP switch no. 1 on the front surface. A field is valid when it is highlighted in green, and invalid if it is highlighted in red. The fields IPv4 address and Defaults Gateway are in red brackets if there is inconsistency between the address of the IP network: IPV4 Address Subnet Mask Default Gateway Validity 192,168,10, Valid Invalid, IP network address not matching Valid VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 35/135

36 Invalid, IP network address not matching The Apply button becomes active only when the IP parameters are valid. Default Gateway field is optional and can be left empty if no particular default gateway address is required. After clicking on Apply, the Web page automatically reconnects to the Web server using the new VPGate IP address. It is necessary to log-in once more to access the web-site. Return to the Network Settings section to ensure that the parameters have been properly recorded. The page now indicates that the method of configuration of the IP parameters is static, i.e. configured based on the parameters entered in VPGate: Figure 31 : Source of the IP parameters configuration These parameters are recorded in the permanent memory. Important: Do not forget to reset the DIP switch no. 1 to OFF after the configuration of the new IP address, otherwise VPGate shall revert to the default IP address once it is restarted. Its parameters are independent of the configuration of the gateway operating modes, they are not saved in the configuration file. Transferring the configuration file config.ini to another VPGate device shall not change the IP parameters of the latter. It will be necessary to manually modify this address via the Web or the DCP protocol. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 36/135

37 5.2 Configuration of the IP address using the DCP protocol The DCP protocol (Discovery and basic Configuration Protocol) allows discovering and configuring the IP address of the VPGate devices connected to an Ethernet network. The freeware Primary Setup Tools (PST) provided by SIEMENS allows implementing the DCP protocol on a Windows workstation (V4.2 compatible with Windows 8.1). PST is available on the SIEMENS support site: The procedure to be followed is as follows: 1 Install the software on the computer and configure the network interface which it must use to discover VPGate: Figure 32 : Configuration of the network interface used by Primary Setup Tool 2 Connect VPGate to the Ethernet network and power it on (24 V DC power supply). 3 Click on the discover button which is depicted by a magnifying glass to the top left: Figure 33: Discovering VPGate via DCP in PST VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 37/135

38 4 The discovery tool shows the list of equipment that respond to the DCP identification frames. Click on the icon ( ) to extend the list of information related to a piece of equipment and click on Ind. Ethernet interface to modify the IP parameters of the equipment and back them up by clicking on the icon ( ) ): Figure 74 : Modification of the IP address using DCP and Primary Setup Tool 5 It is also possible to configure the name of the equipment in order to identify it more easily: Figure 35: Modification of the DCP name of VPGate using Primary Setup Tool Now, VPGate shall reboot with the IP address indicated above. These parameters are recorded in the permanent memory. Important: Ensure that DIP switch no. 1 is set to OFF after the configuration of the new IP address, otherwise VPGate shall revert to the default IP address once it is restarted. These parameters are independent of the configuration of the gateway operating modes, they are not saved in the configuration file. Transferring the configuration file config.ini to another VPGate device shall not change the IP parameters of the latter. It will be necessary to manually modify this address using the Web or the DCP protocol. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 38/135

39 5.3 Configuration of the serial link Select the type of serial link used, RS-232 or RS-485, as shown in section Choosing the RS-232/RS-485 mode To ensure MODBUS communication between a master (VPGate in this case) and slaves, it is necessary to use identical serial link parameters: Name Description Possible values Baud rate Communication speed of the serial link (in bits/s) None Parity Presence or not of a parity bit Even Odd Stop bits Number of stop bits 1 2 Data bits Number of data bits 7 (ASCII mode) 8 (RTU mode) Interchars timeout Maximum time between 2 characters of a frame (detects the end of the frame). 1.5 characters + from 0 to ms Interframe silence Waiting time to be complied with after receiving a frame, before it is possible to retransmit 3.5 characters + from 20 to ms VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 39/135

40 The data transmission mode on the serial link (RTU or ASCII) must also be identical between the MODBUS master and slaves. Adjusting the detection of absence of slaves via the Timeout and Retries parameters is also important to ensure proper functioning of the installation. These options can be found in subsection Modbus Master Serial settings: Name Description Possible values Protocol The data transmission mode on the serial link RTU: 8 data bits containing hexadecimal values ASCII: 7 data bits containing the conversion of hexadecimal values into ASCII characters (0x01 = ) Timeout Maximum waiting period for response from a slave following a request on the serial link from 20 to ms, default = 1000 ms Retries Number of retries following the detection of a timeout (no response from a slave) from 0 to default = 2 (1st attempt + 2 retransmissions) All these parameters can be adjusted on the VPGate webpage, in the section Serials settings: Figure 36: Configuring the serial link using the VPGate Web server Click on the Apply button to apply the parameters temporarily (configuration lost after reboot). Click on the Save button to save the configuration permanently (configuration retained after reboot). VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 40/135

41 5.4 Operating test of the default gateway The gateway can now be used to interface a MODBUS/TCP client (Controller/Supervision/ or software) with MODBUS serial slaves: Figure 37 : Overview diagram of the implementation of VPGate in its default configuration VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 41/135

42 6. Implementation of the advanced configuration 6.1 MODBUS/TCP server The MODBUS/TCP server mode is activated from the page Gateway Mode : Figure 38: Activation of the MODBUS/TCP server mode Tick the advanced configuration mode Advanced gateway mode and select MODBUS/TCP Server in the dropdown list which defines the Ethernet protocol. Lastly, click on the Save button to back-up the modifications permanently. The configuration of the MODBUS/TCP server can be accessed from the web server via the MODBUS/TCP SETTINGS menu. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 42/135

43 Figure 89: MODBUS/TCP server management web page General information regarding the MODBUS/TCP server The first part of the page indicates the IP address of the MODBUS/TCP server of VPGate. Below, a table shows the list of MODBUS/TCP clients which are currently connected to the server. When a client is connected, a line appears with the IP address of the client and the time for which it has been connected: Figure 40: Management table for MODBUS/TCP clients connected to VPGate VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 43/135

44 A maximum of 5 MODBUS/TCP clients can connect to the TCP standard 502 port and communicate simultaneously. It is also possible to force close a MODBUS/TCP connection, by ticking the box associated with the client and by pressing on the Close selected connections button Configuration of the MODBUS/TCP server The second part of the Web page is used to configure the MODBUS/TCP server: Figure 41: Web page for modifying the parameters of the MODBUS/TCP server of VPGate Here you can find the box to be ticked which allows activating the Direct Messaging mode as well as the MODBUS function list which are supported by the server. Click on the Apply button to apply the parameters temporarily (configuration lost after reboot). Click on the Save button to save the configuration permanently (configuration retained after reboot). VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 44/135

45 6.2 MODBUS/TCP client Activation of the MODBUS/TCP client The MODBUS/TCP client mode is activated from the page Gateway Mode : Figure 42: Activation of the MODBUS/TCP client mode Tick the advanced configuration mode Advanced gateway mode and select MODBUS/TCP Client in the dropdown list which defines the Ethernet protocol. Lastly, click on the Save button to back-up the modifications permanently. The configuration of the MODBUS/TCP server can be accessed from the web server via the MODBUS/TCP SETTINGS menu Creation of scenarios for the MODBUS/TCP client The list of scenarios (100 maximum) displays the configuration elements of the scenarios: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 45/135

46 The IP address of the MODBUS/TCP server to be accessed MODBUS function used Address of the bit/register to be accessed in the server Quantity of bits/registers to be accessed in the server Address in VPGate, where the read/written data are stored in the server Release mode of the scenario: Cyclical sending: definition of a sending period Sending after change: the request is sent only if a change is detected in the exchange table (only for MODBUS write requests) Figure 43: List of scenarios for the MODBUS/TCP client A toolbox allows creating/modifying/deleting/testing MODBUS scenarios: Figure 94: Configuration toolbox for the scenarios of the MODBUS/TCP client Function of reading the register in the MODBUS/TCP server at the address Reading the register from 1000 to 1010 (10 registers) Periodical scenario of fixed 3 second cycle times The 10 registers which are read are stored in the VPGate exchange table from register address 0 to 9 Figure 105: Adding a new MODBUS/TCP client scenario The standard MODBUS/TCP port is used by default, but it is possible to choose the TCP port number used to connect to the MODBUS/TCP server. The user can choose the TCP port number by adding : in the Server IP address field followed by the port number: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 46/135

47 Figure 116: Configuration of a special TCP port for the connection to a MODBUS/TCP server Configuration of the Coils and Discrete inputs data access modules in read mode: Name Description Possible values MODBUS function MODBUS function to be executed Read coils (1) Read discrete inputs (2) First bit address in server First bit address in the recipient MODBUS/TCP server 0.0 to Quantity Number of bits to be read 0 to 2000 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms First bit address in VPGate Address where the first bit read is stored in VPGate 0.0 to Configuration of the Registers data access modules in read mode: Name Description Possible values MODBUS function MODBUS function to be executed Read Holding registers (3) Read Input Registers (4) First register address in server First register address in the recipient MODBUS/TCP server 0 to Quantity Number of registers to be read 0 to 125 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms First register address in VPGate Address where the first register read is stored in VPGate 0 to VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 47/135

48 Configuration of the Coils data access modules in write mode: Name Description Possible values MODBUS function MODBUS function to be executed Write Single coil (5) Write Multiple coils (15) First bit address in server First bit address in the recipient MODBUS/TCP server 0.0 to Quantity Number of bits to be read 0 to 2000 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms First bit address in VPGate Address where the first bit written is stored in VPGate Following a change in the exchange table outputs Configuration of the Registers data access modules in write mode: Name Description Possible values MODBUS function MODBUS function to be executed Write Single register (6) Write Multiple Registers (16) First register address in server First register address in the recipient MODBUS/TCP server 0 to Quantity Number of registers to be read 0 to 123 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms First register address in VPGate Address where the first register read is stored in VPGate Following a change in the exchange table outputs Configuration of the Registers data access modules in read/write mode: Name Description Possible values MODBUS Function MODBUS function to be executed Read/Write Multiple Registers (16) First register address in server First register address in the recipient MODBUS/TCP server Read Write 0 to to Quantity Number of registers to be read 0 to to 123 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 48/135

49 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms First register address in VPGate Address where the first register read is stored in VPGate 0 to It is possible to test the scenario before adding it to the configuration. Clicking the TEST button shall initiate the execution of the scenario and a dialogue box will be displayed to indicate the results of the tests: Figure 127: Test of a MODBUS/TCP scenario before addition in the list The scenario must be validated by clicking on Apply to ensure that it is taken into account and executed by VPGate. Clicking on Save shall allow backing-up the list of scenarios permanently Status of scenarios for the MODBUS/TCP client The created scenario is added to the list of scenarios with a status indicating its state. Directly after it is created, the scenario is added in the list and its status is indicated in the State column: Figure 48: Scenario added in the list of MODBUS/TCP clients pending initial execution The scenario has a STARTING status and is highlighted in blue. This indicates that it has not yet been executed by the client. This happens when the configuration has recently been modified or when there are a lot of scenarios to be executed following the start-up of VPGate. After having been executed once, the status of the scenario changes: Figure 139: Scenario added in the list of MODBUS/TCP clients with operational status The scenario has a RUNNING status and is highlighted in green, indicating that it is being executed properly. In the following example, the data read by the scenario are stored in the exchange table from register address 0 to 9, and are updated every 3 seconds. If the scenario is not executed correctly, its status changes to error: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 49/135

50 Figure 50: Error in a MODBUS master scenario In this case, the MODBUS/TCP server does not respond to the read request of the scenario. This latter is highlighted in red and indicates the type of error encountered TCP connection lost. Moreover, the MODBUS error counters increase following every attempt made by the scenario to reach the server. Refer to section 8.3 Diagnostics with status of the MODBUS/TCP client scenarios for more information regarding the interpretation of the error codes Deactivation of a MODBUS/TCP client scenario The deactivation of a scenario allows stopping its execution, without removing it from the list of scenarios. This manipulation may be useful in case of maintenance of the MODBUS/TCP network, in order to stop the execution of requests being sent to a piece of equipment which is undergoing maintenance. To avoid the prolongation of the attempts related to timed-out requests for reaching a server which is no longer present, it is possible to stop the execution of a scenario by clicking on the Enabled checkbox in the line of the scenario in question: Figure 51: Deactivation of a MODBUS/TCP client scenario By unticking the Enabled box, the scenario is deactivated but remains backed-up in the configuration. Its status changes to DISABLED as long as it is deactivated, and it is highlighted in grey Modification or deletion of a MODBUS/TCP client scenario It is possible to modify the parameters of a MODBUS scenario. Select the corresponding line of the scenario to activate the scenario modification toolbox. The selected scenario is shown inside green brackets. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 50/135

51 Figure 52: Selection and modification of a MODBUS/TCP client scenario The toolbox allows modifying the parameters of the MODBUS scenario and backing them up using the MODIFY button; the operation may be cancelled by clicking on the CANCEL button. It is also possible to delete the selected scenario by clicking on DELETE. It is possible to delete multiple scenarios by selecting multiple scenarios in the list by pressing Control/CTRL or MAJ/SHIFT and executing a multiple selection: Figure 53: Status of multiple scenarios of the MODBUS/TCP client Clicking on DELETE allows deleting all selected scenarios Backing-up the list of MODBUS/TCP scenarios After having completed the list of scenarios to be executed, click on the SAVE button to save the configuration permanently. Figure 5414: Permanently backing-up the list of MODBUS/TCP client scenarios VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 51/135

52 6.3 MODBUS MASTER Activation of the MODBUS serial link master The MODBUS/TCP master mode is activated from the page Gateway Mode : Figure 155: Activation of the MODBUS serial link master mode Tick the advanced configuration mode Advanced gateway mode and select MODBUS Master serial in the dropdown list which defines the Ethernet protocol. Lastly, click on the Save button to back-up the modifications permanently Configuration of the MODBUS serial link master The configuration of the MODBUS master serial can be accessed from the web server via the SERIAL SETTINGS menu. The first section contains the serial link parameters, refer to section Procedure for configuring the serial link for more details. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 52/135

53 The "Interframe Silence" parameter in the MODBUS master mode: Set the Interframe silence parameter to specify the minimum waiting time taken into account by VPGate to send a new MODBUS request to a slave after having received the last response (refer to the figure below): Figure 166: Interframe Silence in MODBUS master mode The second part of the page contains the elements that allow configuring the parameters of the master and the MODBUS scenarios that it has to execute: Figure 177: Configuration web page of the VPGate MODBUS master serial The data transmission mode on the serial link (RTU or ASCII) must be configured identically between the MODBUS master and slaves, just like the serial link parameters (baud rate, parity, stop bits, etc.). VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 53/135

54 Refer to the document MODBUS over serial line specification and implementation guide [2] for more information regarding the RTU and ASCII modes. It is possible to adjust the detection of the absence of a slave using the Timeout and Retries parameters. These configuration options can be found in subsection Modbus Master Serial settings: Name Description Possible values Protocol The data transmission mode on the serial link RTU: 8 data bits containing hexadecimal values ASCII: 7 databits containing the conversion of hexadecimal values into ASCII characters (0x01 = ) Timeout Maximum waiting period for response from a slave following a request on the serial link from 20 to ms, default = 1000 ms Retries Number of retries following the detection of a timeout (no response from a slave) from 0 to default = 2 (1 attempt + 2 retransmissions) Click on the Apply button to apply the parameters temporarily (configuration lost after reboot). Click on the Save button to save the configuration permanently (configuration retained after reboot) Creation of the MODBUS serial link master scenarios The list of scenarios (100 maximum) displays the configuration elements of the scenarios: Address of the slave to be accessed MODBUS function used Address of the bit/register to be accessed in the slave Quantity of bits/registers to be accessed in the slave Address in VPGate, where the read/written data are stored in the slave Release mode of the scenario: Cyclical sending: definition of a sending period Sending after change: the request is sent only if a change is detected in the exchange table (only for MODBUS write requests) VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 54/135

55 Figure 58: List of MODBUS master serial scenarios A toolbox allows creating/modifying/deleting/testing MODBUS scenarios: Figure 5918: Configuration toolbox for the MODBUS serial scenarios Function of reading the register in the MODBUS 45 slave Reading the register from 1000 to 1010 (10 registers) Periodical scenario of fixed 3 second cycle times The 10 registers which are read are stored in the VPGate exchange table from register address 0 to 9 Figure 60: Adding a new MODBUS/TCP serial link scenario VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 55/135

56 Configuration of the Coils and Discrete inputs data access modules in read mode: Name Description Possible values MODBUS function MODBUS function to be executed Read coils (1) Read discrete inputs (2) First bit address in slave First bit address in the recipient MODBUS slave 0.0 to Quantity Number of bits to be read 0 to 2000 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms First bit address in VPGate Address where the first bit read is stored in VPGate 0.0 to Configuration of the Registers data access modules in read mode: Name Description Possible values MODBUS function MODBUS function to be executed Read Holding registers (3) Read Input Registers (4) First register address in slave First register address in the recipient MODBUS slave 0 to Quantity Number of registers to be read 0 to 125 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms First register address in VPGate Address where the first register read is stored in VPGate 0 to Configuration of the Coils data access modules in write mode: Name Description Possible values MODBUS function MODBUS function to be executed Write Single coil (5) Write Multiple coils (15) First bit address in slave First bit address in the recipient MODBUS slave 0.0 to VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 56/135

57 Quantity Number of bits to be read 0 to 2000 Cyclical: 100ms to 65535ms Cycle time (in ms) Cycle time for request transmission Following a change in the exchange table outputs First bit address in VPGate Address where the first bit written is stored in VPGate 0.0 to Configuration of the Registers data access modules in write mode: Name Description Possible values MODBUS function MODBUS function to be executed Write Single register (6) Write Multiple Registers (16) First register address in slave First register address in the recipient MODBUS slave 0 to Quantity Number of registers to be read 0 to 123 Cyclical: 100ms to 65535ms Cycle time (in ms) Cycle time for request transmission Following a change in the exchange table outputs First register address in VPGate Address where the first register read is stored in VPGate 0 to Configuration of the Registers data access modules in read/write mode: Name Description Possible values MODBUS Function MODBUS function to be executed Read/Write Multiple Registers (16) First register address in slave First register address in the recipient MODBUS slave Read Write 0 to to Quantity Number of registers to be read 0 to 125 Cycle time (in ms) Cycle time for request transmission Cyclical: 100ms to 65535ms VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 57/135

58 First register address in VPGate Address where the first register read is stored in VPGate 0 to First register address in slave First register address in the recipient MODBUS slave Read It is possible to test the scenario before adding it to the configuration. Clicking the TEST button shall initiate the execution of the scenario and a dialogue box will be displayed to indicate the results of the tests: Figure 61: Test of a MODBUS master scenario before addition in the list The scenario must be validated by clicking on Apply to ensure that it is taken into account and executed by VPGate. Clicking on Save shall allow backing-up the list of scenarios permanently Status of the MODBUS serial link master scenarios The created scenario is added to the list of scenarios with a status indicating its state. Directly after it is created, the scenario is added in the list and its status is indicated in the State column: Figure 62: Scenario added in the list of the master with operational status The scenario has a RUNNING status and is highlighted in green, indicating that it is being executed properly. In the following example, the data read by the scenario are stored in the exchange table from register address 0 to 9, and are updated every 3 seconds. If the scenario is not executed correctly, its status changes to error: Figure 63: Error in a MODBUS master scenario Here, the slave does not respond to the scenario read request. This latter is highlighted in red and indicates the type of error encountered Timeout, no answer from slave after retrying. Moreover, the MODBUS error counters increase following every attempt made by the scenario to reach the slave. Refer to section 8.2 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 58/135

59 Diagnostics with status of MODBUS master scenarios for more information regarding the interpretation of the error codes Deactivation of a MODBUS serial link master scenario The deactivation of a scenario allows stopping its execution, without removing it from the list of scenarios. This manipulation may be useful in case of maintenance of the MODBUS network, in order to stop the execution of requests being sent to a piece of equipment which is undergoing maintenance. To avoid the prolongation of the attempts related to timed-out requests for reaching a slave which is no longer present, it is possible to stop the execution of a scenario by clicking on the Enabled checkbox in the line of the scenario in question: Figure 64: Deactivation of a MODBUS serial link scenario By unticking the Enabled box, the scenario is deactivated but remains backed-up in the configuration. Its status changes to DISABLED as long as it is deactivated, and it is highlighted in grey Modification or deletion of a MODBUS serial link master scenario It is possible to modify the parameters of a MODBUS scenario Select the corresponding line of the scenario to activate the scenario modification toolbox. The selected scenario is shown inside green brackets. Figure 65: Selection and modification of a MODBUS master scenario The toolbox allows modifying the parameters of the MODBUS scenario and backing them up using the MODIFY button; the operation may be cancelled by clicking on the CANCEL button. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 59/135

60 It is also possible to delete the selected scenario by clicking on DELETE. It is possible to delete multiple scenarios by selecting multiple scenarios in the list by pressing Control/CTRL or MAJ/SHIFT and executing a multiple selection: Figure 66: Selection of multiple MODBUS master scenarios Clicking on DELETE allows deleting all selected scenarios Backing-up the list of MODBUS master After having completed the list of scenarios to be executed, click on the SAVE button to save the configuration permanently. Figure 67: Permanent backing-up the list of MODBUS master VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 60/135

61 6.4 MODBUS SLAVE Activation of the MODBUS serial link slave The MODBUS/TCP slave mode is activated from the page Gateway Mode : Figure 68: Activation of the MODBUS serial link slave mode Tick the advanced configuration mode Advanced gateway mode and select MODBUS Slave serial in the dropdown list which defines the Ethernet protocol. Lastly, click on the Save button to back-up the modifications permanently Configuration of the MODBUS serial link slave The configuration of the MODBUS slave serial can be accessed from the web server via the SERIAL SETTINGS menu. The first section contains the serial link parameters, refer to section 4.2 Procedure for configuring the serial link for more details. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 61/135

62 The "Interframe Silence" parameter in the MODBUS slave mode: Set the Interframe silence parameter to specify the waiting time taken into account by VPGate to respond to the latest MODBUS request (refer to the figure below): Figure 69: Interframe Silence in MODBUS slave mode The second part of the page contains the elements that allow configuring the parameters of the MODBUS serial link slave: Figure 70: Configuration web page of the MODBUS serial link slave VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 62/135

63 The data transmission mode on the serial link (RTU or ASCII) must be configured identically between the MODBUS master and slaves, just like the serial link parameters (baud rate, parity, stop bits, etc.). Refer to the document MODBUS over serial line specification and implementation guide [2] for more information regarding the RTU and ASCII modes. The address of the slave must be configured between 1 and 247 to ensure that a MODBUS master can access VPGate. It is possible to choose the MODBUS functions supported by the Slave by ticking/unticking the related boxes. Click on the Apply button to apply the parameters temporarily (configuration lost after reboot). Click on the Save button to save the configuration permanently (configuration retained after reboot). 6.5 TRANSPARENT MODE Activation of the MODBUS serial link slave The transparent mode is activated from the page Gateway Mode : Figure 71: Activation of transparent mode on the serial link Tick the advanced configuration mode Advanced gateway mode and select Transparent mode in the dropdown list which defines the Ethernet protocol. Lastly, click on the Save button to back-up the modifications permanently. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 63/135

64 6.5.2 Configuration of transparent mode on the serial link The configuration of the serial link transparent mode can be accessed from the web server via the SERIAL SETTINGS menu. The first section contains the serial link parameters, refer to section 4.2 Procedure for configuring the serial link for more details. The "Interframe Silence" parameter in the TRANSPARENT mode: The Interframe silence parameter allows introducing a new waiting time between the reception and transmission of a frame: Figure 72: Interframe Silence in TRANSPARENT mode If no frame is detected, VPGate sends frames on the serial link regardless of the inter-frame waiting period. But, if a frame is detected on RX, VPGate waits for the inter-frame waiting period to elapse before sending the next frame. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 64/135

65 The second part of the page contains the elements that allow configuring the parameters of Transparent mode on the serial link: Figure 73: Configuration web page for transparent mode on the serial link In transparent mode, it is necessary to define the end of frame detection mode. Refer to section 3.8.Transparant Mode [3] for more information about the configuration modes. The starting address of the frames transmitted/received on the serial link must be configured. The maximum size of the frames transmitted/received on the serial link must also be configured. The following parameters can be configured: Name Description Possible values NULL (0x00) SPACE (0x20) LF (0x0A) CR (0x0D) End of Frame (EOF) delimiter (1) Defines how the end of a frame shall be detected CR LF LF CR User defined Length in 1st byte(3) On timeout (2) (3) User defined EOF delimiter ASCII code of the end of frame character (case where the "EOF delimiter" = User defined) 0 to 255 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 65/135

66 Enable frame trigger (4) Defines whether a frame counter is added at the beginning of the input and output frames Enabled Disabled Store address of 1st byte to receive Address in the exchange table where the frame received over the serial link is stored 0 to 2047 Received frame size in bytes Size of the received frame 1 to 250 Address of 1st byte to send Address in the exchange table where the frame to be sent over the serial link is stored 2048 to 4095 Sent frame size in bytes Size of the sent frame 1 to 250 Enable frame checksum (CRC16) Specifies whether a CRC16 must be checked in the data received over the serial link, and must be added at the end of the data sent to the equipment on the serial link. Enabled Disabled End of frame timeout (ms) (5) Time during which the end of frame is detected when the EOF Delimiter parameter is set to "On timeout". 0 to ms (1): If this parameter is set to User defined, the end of frame character taken into account is the one specified by the parameter "User defined EOF". If it is set to "on timeout", the reception timeout taken into account is the one defined in the serial link configuration. (2) : In case the parameter "EOF delimiter" is set to "on timeout", only the detection of the frames received on the serial link shall be carried out following a timeout. In the exchange table, the 1 st byte received specifies the length of the frame (it is added by VPGate and does not originate from the serial link). During transmission, the first byte must define the length of the frame to be sent on the serial link (this byte must not be sent on the serial link). (refer to section 3.4.1). (3): In case the parameter "EOF delimiter" is set to length in 1st byte", or on timeout, the default value to be filled is 0x00. (4): This counter is used as a trigger: If this parameter is activated, the 1st byte of the outputs must be a counter which is increased every time data are available and must be sent. The useable data begins from the 2nd byte. If there is no counter, the frame is copied from the 1st frame once a change is detected in the outputs. If this parameter is activated, the 1st byte of the inputs must be increased every time a new frame is received on the serial link. The useable data are copied following this counter. If there is no counter, the received frame is copied from the 1st byte. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 66/135

67 7. DIGITAL INPUT/OUTPUT 7.1 Configuration of the digital input/output The configuration of the digital input/output can be accessed from the web server via the IO SETTINGS menu. Figure 74: Configuration web page of the TOR inputs/outputs The configuration of the digital input starts with the activation, then the definition of the register address in the exchange table which will contain the value of the digital input: If the input is 1, the Least Significant Bit of the register is set to 1. If the input is 0, the Least Significant Bit of the register is set to 0. The configuration of the digital output starts with the activation, then the definition of the register address in the exchange table which will contain the value of the digital output: If the Least Significant Bit of the register is set to 1, the output is forced to 1 (closed). If the Least Significant Bit of the register is set to 0, the output is forced to 0 (open). VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 67/135

68 8. DIAGNOSTICS 8.1 Explanation of the LEDs The diagnostics of the VPGate functioning can be carried out based on the LEDs on the front surface of the product. It is possible to know whether the product has been configured properly if there is communication on the serial link, or even if the MODBUS master detects a communication error with a slave. Refer to the section 2.2 Lights for more details regarding the functioning of the lights on the front surface. The lights can also be accessed via the Web server, and it is thus possible to see whether there are any communication errors or whether or not there is any communication on the serial link: Figure 75: VPGate front surface with communication error displayed on the Web server On this front surface, it can be seen that the Net2 LED is red (blinking); which indicates that there is an error in a scenario on the MODBUS master. Moreover, if the Rx indicator does not blink at all, it can be deduced that there is no response from the slave, and that a timeout error has occurred. It is also possible to verify the status of the Ethernet link or whether there is any communication on the link based on the lights of the switch ports. Refer to section Indicator light of the 2 ports switch. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 68/135

69 8.2 Diagnostics with status of MODBUS master scenarios As indicated in section Status of the MODBUS serial link master scenarios, the MODBUS master scenarios provide a status of their operational status. Figure 76: Example of an error in a MODBUS master scenario In case of an error, the status specifies what type of error has occurred: Error message Scenario starting Description Indicates that the scenario has not yet been executed by the master. This message is displayed often after reboot or when the list of scenarios is large and thus takes a long time to be executed. Frame received without request Received illegal function from slave (0x01) Received illegal data address from slave (0x02) Received illegal data value from slave (0x03) Slave failed to execute request (0x04) A frame has been received without a request being sent. Only the Master is capable of initiating a transmission on MODBUS. There may be another master on the bus. Or then perhaps there is a fault in a slave and it is transmitting frames without a request. The slave has responded with an exception indicating that it does not support the required function. The slave has responded with an exception indicating that the requested address is not accessible for this function. It is possible that the address + length pair exceeds the acceptable limits of the slave A slave with 100 registers shall generate this exception if it is sent a read request with 5 registers from the address 96 onwards. The slave has detected an inconsistency error between the data received and the number of data indicated in the frame. The slave responds with this exception if it receives a write frame with 5 registers, but if the field containing the values possesses only 3 register values, for example. The slave was not able to execute the request owing to a fatal error. Slave is busy, cannot execute request (0x06) Slave not responding, retrying... The slave cannot process the request quickly and is requesting the master to resend the request later on when it will have finished processing it. Indicates that the slave has not yet responded to the requests sent, but that the master is retrying VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 69/135

70 Timeout, no answer from slave after retrying Received unexpected function in answer Received unexpected data/quantity in answer The slave is experiencing a timeout, no response has been received by it after retransmissions. This indicates that the requested slave is not present because: It is not connected to the bus, or is connected incorrectly It does not possess the same configuration parameters of the serial link as that of the master Its power supply has been interrupted This message indicates that the slave has not responded with the same function code as that indicated in the request. This message indicates that the slave has not responded with the same quantity of data as indicated in the request. 8.3 Diagnostics with status of the MODBUS/TCP client scenarios As indicated in section Status of scenarios for the MODBUS/TCP client, the MODBUS/TCP client scenarios provide a status of their operational status. Figure 77: Example of an error in a MODBUS/TCP client scenario In case of an error, the status specifies what type of error has occurred: Error message Description Scenario starting This indicates that it has not yet been executed by the client. This message is displayed often after reboot or when the list of scenarios is large and thus takes a long time to be executed. Frame received without request Received illegal function from server (0x01) A MODBUS/TCP message has been received without a request being sent. Only the client is capable of initiating a transmission on MODBUS/TCP. Perhaps there is a fault in a slave and it is transmitting MODBUS/TCP messages without a request. The server has responded with an exception indicating that it does not support the required function. Received illegal data address from server (0x02) The server has responded with an exception indicating that the requested address is not accessible for this function. It is possible that the address + length pair exceeds the acceptable limits of the server A server with 100 registers shall generate this exception if it is sent a read request with 5 registers from the address 96 onwards. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 70/135

71 Received illegal data value from server (0x03) The server has detected an inconsistency error between the data received and the number of data indicated in the message. The server responds with this exception if it receives a write frame with 5 registers, but if the field containing the values possesses only 3 register values, for example. Server failed to execute request (0x04) The server was not able to execute the request owing to a fatal error. Server is busy, cannot execute request (0x06) Gateway path unavailable (0x0A) Gateway target failed to respond (0x0B) Server not responding, retrying... The server cannot process the request quickly and is requesting the client to resend the request later on when it will have finished processing it. If the server is a gateway, this message indicates that the gateway is not able to connect to the required recipient (configuration problem or gateway overload). If the server is a gateway, this message indicates that the recipient has not responded to the request. Generally, this message indicates that the equipment to which the request is sent is not present on the networks joined by the gateway. Indicates that the server has not yet responded to the requests sent, but that the client is retrying Timeout, no answer from server after retrying The server is experiencing a timeout, no response has been received by it after retransmissions. This indicates that the requested server is not present because: It is not connected to the network, or is connected incorrectly It is on a different VLAN than the client, It does not possess the same IP network address as the client, The TCP port requested by the client does not correspond with the TCP port of the server, The TCP port requested by the client is protected by a firewall present on the network The server is not able to open a TCP connection (maximum number supported by the server reached), Its power supply has been interrupted. Received unexpected function in answer Received unexpected data/quantity in answer This message indicates that the server has not responded with the same function code as that indicated in the request from the client. This message indicates that the server has not responded with the same quantity of data as indicated in the request from the client. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 71/135

72 8.4 Statistics of the MODBUS master VPGate records the statistics when the MODBUS MODE serial link master mode is activated. They are available on the page MODBUS STATISTICS on the Web server: Figure 78: Web page of the MODBUS master statistics This page displays the values of the error counters for the various errors which can be detected by the master, refer to section 8.2 Diagnostics with status of MODBUS master scenarios for more details about these error messages. The statistics are reset to zero in the following cases: Change in the MODBUS master configuration (addition/removal of MODBUS scenarios, for example) Reboot the gateway Click the Reset button at the bottom of the statistics page VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 72/135

73 8.5 Web page of the MODBUS slave statistics VPGate records the statistics when the MODBUS serial link slave mode is activated. They are available on the page MODBUS STATISTICS on the Web server: Figure 79: Statistics web page of the MODBUS slave This page displays the values of the error counters for the various errors which can be detected by the VPGate MODBUS slave: Error message Invalid CRC in frame received Invalid length in frame received Failed to send data Hardware general failure Description Indicates that a frame received by the VPGate MODBUS slave has a CRC error. The length of the frame does not correspond to the quantity of data that it contains. Data cannot be transmitted on the serial link. Internal fatal error in VPGate. The statistics are reset to zero in the following cases: Change in the configuration of the slave (address of the slave, activation/deactivation of a MODBUS function) Reboot the gateway Click the Reset button at the bottom of the statistics page VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 73/135

74 9. Web server 9.1 Presentation of the Web server To access the Web server, a valid IP address must be configured on VPGate, in order to configure this address, refer to section 5.1 Configuration of the IP address using the DIP switch and 5.2 Configuration of the IP address using the DCP protocol and follow the VPGate IP configuration steps. The home page of the site is as follows: Figure 80: Home page of the Web server A generic Web server consists of a home page that provides access to the following menus (to the left): System information: general information about VPGate Network settings: provides MAC and IP addresses of VPGate and the configuration of the new IP parameters Gateway Mode: allows configuring the operating mode of the gateway Modbus/TCP settings: allows configuring the MODBUS/TCP protocol Serial settings: allows configuring the serial link and its associated protocol IO settings: allows configuring the TOR input and output SNMP Information: presents a summary of the SNMP data of the system Ethernet statistics: provides an overview of the statistics from the integrated 2 ports Ethernet switch Modbus statistics: provides statistics related to the activated MODBUS serial link protocol File system: interface that allows accessing the VPGate file system Firmware upload: allows downloading firmware on VPGate Reboot: allows remotely rebooting VPGate Passwords: allows modifying the passwords of the user and admin accounts Logout: allows changing the login Custom: link to VPGate customisable pages On the right side of the Web server, there is function for real-time monitoring of the VPGate, which allows uploading the status of the: NET1 and NET2 fault LEDs VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 74/135

75 the LED Run LEDs for reception and transmission on the serial link (Tx/Rx) the DIP switch of the default configuration the DIP switch for selecting the serial link mode RS-485 / RS-232 The monitoring is refreshed every 250ms. It is possible to deactivate/activate it (activated by default) by clicking on the refresh icon: Activate Figure 81: data refresh icon of the Web server Deactivated This icon also allows deactivating the periodical refreshing which is carried out every one second for this menu. 9.2 Management of access to the Web server The Web server is protected by an authentication system which is based on a username and associated password. By default, the values are as follows: Username Default password Admin Admin User User Table 2: Default usernames and passwords for the Web server It is possible to log-in and change the username via the Logout menu. The usernames are fixed, but their associated passwords can be changed from the Passwords menu of the Web server. The user account has the following restrictions: Unable to load the files on the file system via the File System menu Unable to load new firmware in VPGate via the Upload firmware menu Unable to reboot VPGate remotely via the Reboot menu Unable to change passwords via the Passwords menu VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 75/135

76 9.3 System information menu This menu provides general information about the VPGate MODBUS/TCP SERIAL product: Name Description Device Name Manufacturer Workstation name allocated to VPGate (character string empty in factory settings or after Reset DCP ) Name of the manufacturer of VPGate: PROCENTEC Order ID Product reference of VPGate: A Serial Number Firmware version Hardware version Up Time Serial number of VPGate Identifier of the version of the software loaded on VPGate Identifier of the hardware version of VPGate Time elapsed since last powering on of VPGate Table 2: Description of the fields on the System information page There are two links in the information table which allow downloading: The VPGate user manual (link named User Manual ) the configuration file config.ini containing the configuration backed-up in VPGate These two documents are stored in the VPGate file system and can be accessed through the FTP server. 9.4 Network settings menu This menu provides the MAC addresses used by VPGate as well as the current IP configuration: Name Description MAC Address (internal) VPGate MAC address IP configuration mode IP Address Subnetwork Mask Gateway Address Current configuration mode of the IP parameters (Static/Manual/Fixed, DIP switch, DCP) VPGate IP Address Mask of the IP sub network used by VPGate Default gateway address of VPGate Table 3: Description of the fields on the Network settings page VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 76/135

77 The IP parameters of the VPGate MODBUS/TCP SERIAL product may be configured in different manners: Via the Web server, configured in static mode Using the DCP protocol Using the DIP switch no.2 on the front surface Refer to section 5.1 Configuration of the IP address using the DIP switch and 5.2 Configuration of the IP address using the DCP protocol Configuration of the IP address using the DCP protocol. 9.5 Gateway mode menu This menu offers the possibility of configuring VPGate by choosing Advanced Gateway mode and selecting the protocols to be used as regards the Ethernet and the serial link. For the configuration of the MODBUS/TCP server mode, refer to section 6.1 MODBUS/TCP server. For the configuration of the MODBUS/TCP client, refer to section 6.2 MODBUS/TCP client. For the configuration of the MODBUS serial link master, refer to section 6.3 MODBUS MASTER. For the configuration of the MODBUS serial link slave, refer to section 6.4 MODBUS SLAVE. For the configuration of the transparent mode, refer to section 6.5 TRANSPARENT MODE. 9.6 Modbus/TCP settings menu This menu is used to configure the MODBUS/TCP protocol, the contents of the page are specific to the Ethernet protocol selected. Refer to section 6.1 MODBUS/TCP server for more details regarding the configuration of the MODBUS/TCP Server mode. Refer to section 6.2 MODBUS/TCP client for more details regarding the configuration of the MODBUS/TCP Client mode. 9.7 Serial settings menu This menu is used to configure the protocol used on the serial link, the contents of the page are specific to the protocol selected. Refer to sections 6.3 MODBUS MASTER, 6.4 MODBUS SLAVE, 6.5 TRANSPARENT MODE for more details regarding the elements on this page. 9.8 IO settings menu The all or nothing input and output can be configured from this page. Refer to section 7 DIGITAL INPUT/OUTPUT for more details regarding the configuration of the All of nothing input/output. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 77/135

78 9.9 SNMP information menu This menu provides a summary of the system group information of the SNMP MIB-2: Name Description SysName SysDescription SysContact SysLocation SysUptime Name of the system: VPGate Ethernet Description of the system: VPGate MODBUS/TCP to Serial Permanent contact address of the system supplier: info@procentec.com Indicates the location of the product in the installation (can be modified via SNMP) Time elapsed since last powering on of the system Table 4: Description of the fields on the SNMP information page 9.10 ETHERNET statistics menu This menu provides statistics of the integrated 2 ports switch of VPGate. It consists of multiple tables and a button which allows resetting the internal statistics of the switch. Port configuration and status Name Description Port Name Speed Enabled State Last change Port number Username of the Ethernet port (used for the network neighbourhood via LLDP) Bandwidth configured on the port (10/100Mbits) Status of the port (up = activated / down= deactivated) Status of the Ethernet link (up= link present / down = no link) Value of SysUptime during the most recent change on the part (link changed from up to down for example) Table 5: Description of the Port configuration and status statistics VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 78/135

79 Traffic types Name Description Rx Unicast Rx Multicast Rx Broadcast Tx Unicast Tx Multicast Tx Broadcast Number of frames received in unicast on one port or the total number (All) Number of frames received in multicast on one port or the total number (All) Number of frames received in broadcast on one port or the total number (All) Number of frames transmitted in unicast on one port or the total number (All) Number of frames transmitted in multicast on one port or the total number (All) Number of frames transmitted in broadcast on one port or the total number (All) Table 6: Description of the Traffic types statistics Traffic Name Description IN bytes OUT bytes IN frames OUT frames Bandwidth use Max use Bytes received Number of bytes transmitted Number of frames received Number of frames transmitted Percentage of the bandwidth used Maximum percentage of bandwidth use recorded Table 7: Description of the Traffic statistics Frames errors Name Description CRC Undersize Number of frames with a CRC/FCS error (Frame CheckSum) Number of frames smaller than 64 bytes VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 79/135

80 Oversize IN frames discarded Number of frames larger than 1536 bytes Number of input frames which could not be processed by the switch (buffer full) OUT frames discarded Number of output frames which could not be processed by the switch (buffer full) Collisions Number of collisions detected Table 8: Description of the Frame errors statistics 9.11 MODBUS Statistics menu This menu presents the statistics of the serial link depending on the mode being used. With the MODBUS serial link master mode, the following information is displayed: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 80/135

81 With the MODBUS serial link slave mode, the following information is displayed: The page does not contain any information if transparent mode has been selected. This information is updated in real-time by the Web server at intervals of one second. It is also possible to force reset the counters to zero by clicking on Reset. For more details regarding this page, refer to the section 8.4 Statistics of the MODBUS master and section 8.5 Statistics of the MODBUS slave File system menu This page allows accessing the file system present on VPGate. It is possible to browse through it by clicking on the directories. The current path always starts with "/FLASH0" which is the root folder of the file system. The total space and remaining space on the file system are displayed in kilobytes. The directories are indicated with the type "DIRECTORY" and the files with their size in the "Size column. The user can access the directory by clicking on it. To download a file, right click on the file, then select save as : Figure 82: downloading a file from the File system page It is possible to add files using the upload file which is located in the explorer. The current directory in the explorer is used as the destination directory. The Upload file button is used to open a dialogue box which allows choosing the file to be added. When the download begins, a line with the name of the file and a loading icon informs the user that the file is being written in the system folders. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 81/135

82 9.13 Firmware upload menu The software pre-loaded on VPGate can be upgraded from this page. Only the admin account has the rights to load new firmware in VPGate. The file name must imperatively be image.bin. It is preferable to stop communication with MODBUS/TCP clients and the serial link to optimise the upgrade period. The Upload firmware button is used to open a dialogue box which allows choosing the file to be loaded. The firmware is uploaded after the file is selected. An icon indicates that the operation is in progress and must not be interrupted. The first phase which consists of transferring the file can be monitored based on the percentage of the file being transferred: Operation in progress! Percentage downloaded Figure 83: loading the image on VPGate via the Firmware Upload page Once the file is completely loaded (100%), the percentage indicator is no longer shown, but the firmware has to be validated by VPGate. This operation can take 1 to 2 minutes to complete and is represented by the loading icon. Operation in progress! Figure 84: validation of the image by VPGate on the Firmware Upload page The operation ends with a remote reboot of VPGate. A dialogue box is displayed automatically on the Web server and indicates that it is necessary to reboot VPGate to apply the modifications: Figure 85: rebooting VPGate following a firmware installation VPGate will reboot and apply the new firmware. This operation generally takes about 1 minute during which VPGate must not be powered off. During this phase, the lights on the front surface of VPGate shall not be functional, till the system reboots. The update procedure ends when the RUN light blinks at a rate of 1Hz again. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 82/135

83 To verify whether the update has been effective, please check the firmware version displayed on the System Information page Important: the update function of the firmware is not compatible with Internet Explorer. It has been tested and validated using Google Chrome (v ) and Mozilla Firefox (v31.0) Reboot Menu This page allows remotely rebooting VPGate. Only the admin account has the rights to carry out this operation. A dialogue box is displayed and indicates that the reboot process of VPGate has stopped its switch functionality, which could result in a network interruption for the period required for the rebooting, it the wiring is done in daisy-chain mode: Figure 86: remotely rebooting VPGate via the Reboot page 9.15 Passwords Menu This page allows modifying the passwords of the user and admin accounts. Figure 87: modification of the password via the Passwords page The password of the admin account is required in order to carry out the modification ( current admin password ). The account to be modified is chosen from the Choose a login dropdown list. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 83/135

84 It is necessary to enter the new password in the last two fields for validation. Clicking the Save button will allow applying the modification if: The password of the admin page is valid The new password has been entered properly in the last two fields 9.16 Logout Menu To change the user account, it is possible to click on the Logout menu, which will immediately trigger the initiation of an authentication request: Figure 88: changing the user via the Logout menu Once it has been authenticated, the home page of the Web server shall be loaded once again Custom menu / Customised WEB pages The Web server is designed to allow access to customised web pages. These Web pages can be: Static HTML pages, containing links to images, etc. Dynamic HTML pages, which allow accessing the equipment data, using JavaScript code and a specific API (set of functions) to interact with the internal data exchange table of VPGate. HTML pages hosting JAVA applets, which will be downloaded and executed on the PC connected to the equipment, and will also allow accessing the equipment data, via MODBUS/TCP requests, for example. The HTML pages, images, etc can be stored anywhere and at any level in the file system Access to data via personalised Web pages This paragraph only concerns the aspect of accessing the data via an VPGate Ethernet CGI server. It is possible, using any net browser, to access the equipment data in read and write mode. There are two operating methods: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 84/135

85 Direct access to the referenced data table If the field (address) is higher than 247, the request is interpreted as being intended for the VPGate internal data table: Figure 19: Direct access to the internal data table via a customised web page Figure 89: Gateway mode via a customised web page If the field "@" (address) is lower than or equal to 247, the request is interpreted as being intended directly for MODBUS slave equipment on the serial link. A MODBUS request is thus sent on the serial link, awaiting a response. For this mode to function, the MODBUS master serial link mode must be activated. The MODBUS requests thus generated shall be inserted between configured MODBUS requests. If a request arrives while a scenario is being executed, it is transmitted once the ongoing scenario ends Example of customised WEB pages Here is an example of a customised Web page provided with VPGate. It allows: browsing in sub-menus via tabs, periodically read the temperature, in Gateway mode, which is measured by a MODBUS serial equipment connected on VPGate. presenting a dynamic overview diagram of the system with a trend line and system status, sending requests to read or write MODBUS registers to equipment communicating on MODBUS serial. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 85/135

86 Figure 90: Example of a customised WEB page This example uses JavaScript libraries and accesses the equipment data via specific AJAX requests. For more information pertaining to the design of the example, please refer to the APPENDIX DAPPENDIXE: "API AJAX Javascript". VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 86/135

87 10. FTP server An FTP server allows accessing the file system. The connection uses the following parameters: IP address: Current VPGate IP Address Port: 21 login: admin Password: admin (by default) FTP mode: passive Option for displaying hidden files activated (-a). The same admin account as on the Web server is used to log on to the FTP server. It is possible to carry out all operations on the files and directories (read/ write files, creating/ deleting directories). Example of connection using FileZilla ( first, tick the option Force display of hidden files : Figure 91: Tick the option Force display of hidden files then enter the login information. Here is an example: Figure 92: Entering the login information Figure 93: Local and remote file Local file system Remote file system VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 87/135

88 11. SNMP agent VPGate Ethernet supports the SNMP V1 protocol as an SNMP agent with the standard MIB2 database. With SNMP, a supervisor (Network Management Station) can read the information stored in the VPGate MIB2 and recover: General information about the equipment (system) Time elapsed since last powering on (system) The statuses of the ports, status of the link and configured bandwidth (interface) The statistics related to the Ethernet frames received/transmitted (interface) The statistics related to the IP packets received/transmitted (IP) Figure 94: structure of the MIB 2 (refer to APPENDIX E) SNMP V1 uses a community key which is exchanged in the requests to authorise their processing. VPGate uses the following default values: Public key for read only: public Private key for read/write: "private" VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 88/135

89 In addition to the information contained in MIB2, VPGate MODBUS/TCP has an integrated extension, MIB LLDP. This MIB contains the topology information transmitted by the equipment in the VPGate neighbourhood. This information can be read by a SNMP client (in this example, the software HiVision developed by Hirschmann or SINEMA SERVER by SIEMENS) which can then draw the topology of the server. Figure 95 : discovering the topology The information from the MIB LLDP can also be read directly using a third party MIB explorer: Figure 96 : SNMP browser VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 89/135

90 12. APPENDICES 12.1 APPENDIX A: Format of the MODBUS frames The MODBUS functions 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x0F, 0x10, 0x17 are supported by VPGate in master, serial link slave and MODBUS/TCP server modes. The format of each function is explained in detail using examples for the RTU and ASCII Modes. The CRC bytes (MODBUS RTU) or LRC bytes (MODBUS ASCII) are mandatory. In MODBUS RTU, the data are encoded in 8 bits. In MODBUS ASCII, the data are encoded in 7 bits. Reminder: It is important to differentiate the address of a MODBUS register from the MODBUS register number. The register 1 is at the address 0x0000. In a MODBUS frame, it is the register address which is transmitted. When the scenarios are being configured, the MODBUS register address must be transmitted. Function 1 (0x01) This function allows reading the state of several booleans (coils or Discrete outputs). The broadcast is not supported. The number of booleans to be read simultaneously with VPGate is limited to 2000 (16 bits x 125 registers). Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x01 0x01 "01" 0x30, 0x31 Most significant 1st bit address 0x00 0x00 "00" 0x30, 0x30 Least significant 1st bit address 0x22 0x22 "22" 0x32, 0x32 Number of most significant bits 0x00 0x00 "00" 0x30, 0x30 Number of least significant bits 0x12 0x12 "12" 0x31, 0x32 Error check ( CRC / LRC ) - 0x18 0xB5 "92" 0x39, 0x32 End of frame - - CR LF 0xD, 0xA VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 90/135

91 Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x01 0x01 "01" 0x30, 0x31 Number of data bytes 0x03 0x03 "03" 0x30, 0x33 Status of bits 0x29 to 0x22 0x59 0x59 "59" 0x35, 0x39 Status of bits 0x32 to 0x2A 0xC4 0xC4 "C4" 0x43, 0x34 Status of bits 0x34 to 0x33 0x01 0x01 "01" 0x30, 0x31 Error check ( CRC / LRC ) - 0x7B 0xE5 "A5" 0x41, 0x35 End of frame - - CR LF 0xD, 0xA Function 2 (0x02) This function allows reading the state of several booleans (coils or Discrete inputs). The broadcast is not supported. The number of booleans registers to be read simultaneously with VPGate is limited to 2000 (16 bits x 125 registers). Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x02 0x02 "02" 0x30, 0x32 Most significant 1st bit address 0x00 0x00 "00" 0x30, 0x30 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 91/135

92 Least significant 1st bit address 0x22 0x22 "22" 0x32, 0x32 Number of most significant bits 0x00 0x00 "00" 0x30, 0x30 Number of least significant bits 0x12 0x12 "12" 0x31, 0x32 Error check ( CRC / LRC ) - 0x5C 0xB5 "91" 0x39, 0x31 End of frame - - CR LF 0xD, 0xA Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x02 0x02 "02" 0x30, 0x32 Number of data bytes 0x03 0x03 "03" 0x30, 0x33 Status of bits 0x29 to 0x22 0x59 0x59 "59" 0x35, 0x39 Status of bits 0x32 to 0x2A 0xC4 0xC4 "C4" 0x43, 0x34 Status of bits 0x34 to 0x33 0x01 0x01 "01" 0x30, 0x31 Error check ( CRC / LRC ) - 0x3F 0xE5 "A4" 0x41, 0x34 End of frame - - CR LF 0xD, 0xA VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 92/135

93 Function 3 (0x03) This function allows reading the MODBUS registers (Holding Registers). The broadcast is not supported. The number of registers to be read simultaneously is limited to 125. Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x03 0x03 "03" 0x30, 0x33 Most significant 1st register address 0x00 0x00 "00" 0x30, 0x30 Least significant 1st register address 0x22 0x22 "22" 0x32, 0x32 Number of most significant registers 0x00 0x00 "00" 0x30, 0x30 Number of least significant registers 0x02 0x02 "02" 0x30, 0x32 Error check ( CRC / LRC ) - 0x60 0xB9 "A0" 0x41, 0x30 End of frame - - CR LF 0xD, 0xA Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x03 0x03 "03" 0x30, 0x33 Number of data bytes 0x04 0x04 "04" 0x30, 0x34 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 93/135

94 Most significant 1st register value 0x68 0x68 "68" 0x36, 0x38 Least significant 1st register value 0x31 0x31 "31" 0x36, 0x38 Most significant 2nd register value 0x47 0x47 "47" 0x36, 0x38 Most significant 2nd register value 0x59 0x59 "59" 0x36, 0x38 Error check ( CRC / LRC ) - 0xFD 0x95 "87" 0x38, 0x37 Function 4 (0x04) This function allows reading the MODBUS registers (Input Registers). The broadcast is not supported. The number of registers to be read simultaneously is limited to 125. Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x04 0x04 "04" 0x30, 0x34 Most significant 1st register address 0x00 0x00 "00" 0x30, 0x30 Least significant 1st register address 0x22 0x22 "22" 0x32, 0x32 Number of most significant registers 0x00 0x00 "00" 0x30, 0x30 Number of least significant registers 0x03 0x03 "03" 0x30, 0x33 Error check ( CRC / LRC ) - 0x14 0xB9 "9E" 0x39, 0x45 End of frame - - CR LF 0xD, 0xA VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 94/135

95 Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x04 0x04 "04" 0x30, 0x34 Number of data bytes 0x06 0x06 "06" 0x30, 0x36 Most significant 1st register value 0x68 0x68 "68" 0x36, 0x38 Least significant 1st register value 0x31 0x31 "31" 0x33, 0x31 Most significant 2nd register value 0x47 0x47 "47" 0x34, 0x37 Most significant 2nd register value 0x59 0x59 "59" 0x35, 0x39 Most significant 32nd register value 0x00 0x00 "00" 0x30, 0x30 Error check ( CRC / LRC ) - 0xE2 0xD9 "84" 0x38, 0x34 End of frame - - CR LF 0xD, 0xA Function 5 (0x05) This function allows writing a boolean (coil) to ON or OFF. The broadcast is supported. The boolean can take the value 0x0000 (OFF) or 0xFF00 (ON). Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x01 0x01 "01" 0x30, 0x31 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 95/135

96 Function code 0x05 0x05 "05" 0x30, 0x35 Most significant register address 0x00 0x00 "00" 0x30, 0x30 Least significant register address 0x22 0x22 "22" 0x32, 0x32 Most significant register value 0xFF 0xFF "FF" 0x46, 0x46 Least significant register value 0x00 0x00 "00" 0x30, 0x30 Error check ( CRC / LRC ) - 0x2C 0x30 "D9" 0x44,0x39 End of frame - - CR LF 0xD, 0xA Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x01 0x01 "01" 0x30, 0x31 Function code 0x05 0x05 "05" 0x30, 0x35 Most significant register address 0x00 0x00 "00" 0x30, 0x30 Least significant register address 0x22 0x22 "22" 0x32, 0x32 Most significant register value 0xFF 0xFF "FF" 0x46, 0x46 Least significant register value 0x00 0x00 "00" 0x30, 0x30 Error check ( CRC / LRC ) - 0x2C 0x30 "D9" 0x44, 0x39 End of frame - - CR LF 0xD, 0xA VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 96/135

97 Function 6 (0x06) This function allows writing a MODBUS register (Holding Registers). The broadcast is supported. Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x06 0x06 "06" 0x30, 0x36 Most significant register address 0x00 0x00 "00" 0x30, 0x30 Least significant register address 0x22 0x22 "22" 0x32, 0x32 Most significant register value 0x00 0x00 "00" 0x30, 0x30 Least significant register value 0x56 0x56 "56" 0x35, 0x36 Error check ( CRC / LRC ) - 0xAD 0x46 "49" 0x34, 0x39 End of frame - - CR LF 0xD, 0xA Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x03 "39" 0x33, 0x39 Function code 0x06 0x06 "06" 0x30, 0x36 Most significant register address 0x0 0x00 0x00 "00" 0x30, 0x30 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 97/135

98 Least significant register address 0x0 0x22 0x22 "22" 0x32, 0x32 Most significant register value 0x00 0x00 "00" 0x30, 0x30 Least significant register value 0x56 0x56 "56" 0x35, 0x36 Error check ( CRC / LRC ) - 0xAD 0x46 "49" 0x34, 0x39 End of frame - - CR LF 0xD, 0xA Function 15 (0x0F) This function allows writing several booleans (coils or Discrete outputs) to ON or OFF. The broadcast is supported. The number of booleans registers to be written simultaneously with VPGate is limited to 1968 (16 bits x 123 registers). Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x0F 0x0F "0F " 0x30, 0x46 Most significant 1st bit address 0x00 0x00 "00" 0x30, 0x30 Least significant 1st bit address 0x22 0x22 "22" 0x32, 0x32 Number of least significant bits to be written 0x00 0x00 "00" 0x30, 0x30 Number of most significant bits to be written 0x12 0x12 "12" 0x31, 0x32 Number of data bytes 0x03 0x03 "03" 0x30, 0x33 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 98/135

99 Value of the bits 0x29 to 0x22 0x2B 0x2B "2B" 0x32, 0x42 Value of bits 0x32 to 0x2A 0x06 0x06 "06" 0x30, 0x36 Value of bits 0x34 to 0x33 0x03 0x03 "03" 0x30, 0x33 Error check ( CRC / LRC ) - 0x68 0xCB "4D" 0x34,0x44 End of frame - - CR LF 0xD, 0xA Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x0F 0x0F "0F " 0x30, 0x46 Most significant 1st bit address 0x00 0x00 "00" 0x30, 0x30 Least significant 1st bit address 0x22 0x22 "22" 0x32, 0x32 Number of least significant bits to be written 0x00 0x00 "00" 0x30, 0x30 Number of most significant bits to be written 0x12 0x12 "12" 0x31, 0x32 Error check ( CRC / LRC ) - 0x71 0x74 "84" 0x38, 0x34 End of frame - - CR LF 0xD, 0xA VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 99/135

100 Function 16 (0x10) This function allows writing MODBUS registers (Holding Registers). The broadcast is supported. The number of registers to be written simultaneously is limited to 123. Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x10 0x10 "10" 0x31, 0x30 Most significant 1st register address 0x00 0x00 "00" 0x30, 0x30 Least significant 1st register address 0x22 0x22 "22" 0x32, 0x32 Number of most significant registers 0x00 0x00 "00" 0x30, 0x30 Number of least significant registers 0x02 0x02 "02" 0x30, 0x32 Number of data bytes 0x04 0x04 "04" 0x30, 0x34 Most significant register value 0x52 0x00 0x00 "00" 0x30, 0x30 Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x10 0x10 "10" 0x31, 0x30 Most significant 1st register address 0x00 0x00 "00" 0x30, 0x30 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 100/135

101 Least significant 1st register address 0x22 0x22 "22" 0x32, 0x32 Number of most significant registers 0x00 0x00 "00" 0x30, 0x30 Number of least significant registers 0x02 0x02 "02" 0x30, 0x32 Error check ( CRC / LRC ) - 0xE5, 0x7A "93" 0x39, 0x33 End of frame - - CR LF 0xD, 0xA Function 23 (0x17) This function allows reading and writing the MODBUS registers simultaneously (Holding Registers). The broadcast is not supported. The number of registers to be read is limited to 125. The number of registers to be written is limited to 118. This function is implemented only in slave mode. Format of the request: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x17 0x17 "17" 0x31, 0x37 Most significant 1st register address in read mode 0x00 0x00 "00" 0x30, 0x30 Least significant 1st register address in write mode 0x22 0x22 "22" 0x32, 0x32 Number of most significant registers in read mode 0x00 0x00 "00" 0x30, 0x30 Number of least significant registers in read mode 0x02 0x02 "02" 0x30, 0x32 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 101/135

102 Most significant 1st register address in write mode 0x00 0x00 "00" 0x30, 0x30 Least significant 1st register address in write mode 0x56 0x56 "56" 0x35, 0x36 Number of most significant registers in write mode 0x00 0x00 "00" 0x30, 0x30 Number of least significant registers in write mode 0x57 0x57 "57" 0x35, 0x37 Number of data bytes 0x04 0x04 "04" 0x30, 0x34 Most significant register value 0x52 0x00 0x00 "00" 0x30, 0x30 Least significant register value 0x52 0x56 0x56 "56" 0x35, 0x36 Most significant register value 0x53 0x00 0x00 "00" 0x30, 0x30 Least significant register value 0x53 0x57 0x57 "57" 0x35, 0x37 Error check ( CRC / LRC ) - 0x04 0xE0 "E2" 0x45, 0x32 End of frame - - CR LF 0xD, 0xA Format of the response: Name of the field Value to be transmitted Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x17 0x17 "17" 0x31, 0x37 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 102/135

103 Number of data bytes 0x04 0x04 "04" 0x30, 0x34 Most significant 1st register value 0x68 0x68 "68" 0x36, 0x38 Least significant 1st register value 0x31 0x31 "31" 0x33, 0x31 Most significant 2nd register value 0x47 0x47 "47" 0x34, 0x37 Most significant 2nd register value 0x59 0x59 "59" 0x35, 0x39 Error check ( CRC / LRC ) - 0xFD 0x95 "87" 0x38, 0x37 End of frame - - CR LF 0xD, 0xA Exception frames An exception frame is generated by the MODBUS slave if the master requests it to carry out an unauthorised action. VPGate MODBUS/TCP SERIAL handles the following exceptions: Exception code Name Description 01 ILLEGAL FUNCTION This exception is sent by the slave if the master is using a function which is not recognised by the slave. VPGate MODBUS handles only the following functions 1, 2, 3, 4, 5, 6, 7, 15, 16, ILLEGAL DATA ADDRESS This exception is sent if the master attempts to access a MODBUS register which is not accessible. For example, VPGate has a configuration such that it has 10 registers in read mode (address 0 to 9), and 10 registers in write mode (address 0 to 9). An error is returned if the master attempts to access register 20. This error occurs if, with a function 3 for example, the master attempts to read 20 registers, starting from register 1 (address 0). 03 ILLEGAL DATA VALUE This exception is sent if the master attempts to write data which is not acceptable for the slave. For example, with function 5, the only two possible types of data are 0x0000 and 0xFF00. In all other cases, the function 3 exception is sent. 06 SLAVE BUSY This exception is sent by a MODBUS slave when it is already handling a process which prevents it from responding to the request. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 103/135

104 Format of the exception frame: This exception frame is an example received in response to a function 6. The exception occurred because the master attempted to access an unauthorised register. The MODBUS function codes are encoded in 7 bits (codes 1 to 127). The 8th bit is reserved and is used to indicate an exception frame when it is set to 1. Name of the field Value to be received Bytes sent in case of RTU Character Bytes sent in case of ASCII ASCII character code Frame header - - ":" 0x3A Slave address 0x03 0x03 "03" 0x30, 0x33 Function code + 0x80 0x86 0x86 "86" 0x38, 0x36 Exception code 0x02 0x02 "02" 0x30, 0x32 Error check ( CRC / LRC ) - 0x31 0x62 "75" 0x37, 0x35 End of frame - - CR LF 0xD, 0xA 12.2 APPENDIX C: API CGI Javascript The Web server offers a CGI interface which allows processing HTTP requests intended for the VPGate application. When CGI requests are received by the Web server, they are interpreted and then an HTTP response is sent back to the client. Only the POST method can be interpreted by the CGI server. The HTTP Client must mandatorily use it to be able to interface with the CGI server. As opposed to the GET method, where the variables are transmitted in the URL, POST allows transmitting the variables directly in the body of the HTTP request. The CGI server filters the request when they are received. Only requests that possess the URL "/UE/FLASH0/device" shall be processed by the CGI server. The requests with a different URL shall be ignored. The CGI messages are sent in the form of character strings: Definition of the formalism of the requests The CGI requests must possess the formalism which consists of the following fields: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 104/135

105 Field Syntax Acceptable values Description Address A=Xh 0 to 247 Gateway Mode Corresponds to the address of the recipient MODBUS slave 248 to 255 Access to the exchange table Function F=Xh 1 reading one or several bits 3 reading one or several registers (16 bit) 15 writing one or several bits 16 writing one or several registers (16 bit) Offset O=Xh 0 to 0xFFFF defines the offset of the register or the bit to be accessed in the exchange table or in the remote MODBUS slave Quantity Q=Xh 1 to 127 defines the number of registers to be read or written 1 to 2000 defines the number of bits to be read or written Value V=Xh 0 to 0xFFFF Value of a register 0 or 1 Value of a bit Numeric values are always expressed in hexadecimal in CGI requests/responses. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 105/135

106 Example For a read request of a register in the exchange table at offset 0: "A=F8&F=3&O=0&Q=1&V=0" (&: separator) For example: For a write request for the value 1Fh in the register offset Fh, in a remote slave at address 1. "A=1&F=10&O=F&Q=1&V=1F" In case of several registers are being written, the values must be separated by the character : (colon) in the data field to be written V= For example: writing 5 registers, from offset 2000 of a slave at address 12 Offsets Decimal values Hexadecimal values 2000 / 0x70D 0 0x x x x4B x64 A=C&F=10&O=70D&Q=1&V=0:19:32:4B:64" Comment: The character ':' must be added between each value. If the character ':' is added after the last value to be written, the frame shall still be considered valid. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 106/135

107 Definition of the formalism of the responses The responses from the CGI interface contain the following fields: Field Syntax Acceptable values Description Address A=Xh 0 to 247 Gateway Mode Corresponds to the address of the MODBUS slave accessed by the request 248 to 255 Access to the exchange table F=Xh 1 reading one or several bits Function 3 reading one or several registers (16 bit) 15 writing one or several bits 16 writing one or several registers (16 bit) Offset O=Xh 0 to 0xFFFF defines the offset of the register or the bit to be accessed by the request in the exchange table or in the remote MODBUS slave Quantity Q=Xh 1 to 127 defines the number of registers or bits accessed 1 to 2000 defines the number of bits accessed Exception E=Xh 0 to 0x0B the returned exception code following the request Data V= Xh Contains data returned by the request Example Response for a read request for 3 registers in the exchange table from offset 0: "A=F8&F=3&O=0&Q=3&E=0&V=A:B:C" VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 107/135

108 Exceptions returned by Javascript: It is possible that the request sent to the CGI server is erroneous In this case, the CGI server shall respond to the request with the exception value in field E= Exception code Meaning Case in which it occurs 0x00 No error Correct request Syntax error in the field of function "F=" 0x01 Invalid function The function code is not supported The address 0 can only be used with functions 6, 15 & 16 (0x6, 0xF & 0x10) Syntax error in the field of the offset O= 0x02 Data address invalid The offset is higher than Access to this offset in the table is restricted Syntax error in the quantity field Q= or the values field V= 0x03 Data value invalid The number of bits or registers does not correspond with the quantity indicated. The quantity is higher than 127 in case of an operation on the registers. The quantity is higher than 2000 in case of an operation on the bits. 0x0A Gateway not available or improperly configured. The address of the slave is not between 0 and 255. The formalism of the CGI request is not complied with. 0x0B The MODBUS slave behind the gateway is not responding. The request has been sent to the MODBUS slave, but no response was received. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 108/135

109 JavaScript functions library To send CGI requests via the Web server, JavaScript scripts are used. The provided function library is the file "ag_cgi_asynchrone.js". It contains the functions that allow creating and sending requests and receiving responses. To include the synchronous library, the following line must be added in the tags "<head><\head>" of the page home.html: <script type="text/javascript" language="javascript" src="./js/ag_cgi_asynchrone.js" /> At the same level as the file "home.html", in the file system, there is a directory named js, which contains ag_cg_asynchrone.js. The communication object: An object named ag_commobject is used, which shall contain all field useful for creating requests. Once the request is sent, they shall be updated automatically when the response is received. Given below is the description of the class ag_commobject: ag_commobject - Address (integer): address of the slave - Function (integer): function used - Offset (integer): data offset - Quantity (integer): quantity of data - Data[] (integer table): contains the value(s) to be read or written - Exception (integer): exception code - WaitAnswer (boolean): flag signalling that a response is pending from the CGI server + comm() (manufacturer): allows creating a communication object + init() (method): resets all fields to zero and cleans the table + getaddress() (accessor): returns the Address property value + setaddress(addr) (accessor): allocates the value addr to the Address property + getfunction() (accessor): returns the value of the Function property + setfunction(func) (accessor): allocates the value func to the Function property + getoffset() (accessor): returns the value of the Offset property VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 109/135

110 + setoffset(offset) (accessor): allocates the value offset to the Offset property + getquantity() (accessor): returns the value of the Quantity property + setquantity(qty) (accessor): allocates the value qty to the Quantity property + getdata(index) (accessor): returns the value of the Data table to the given index + getalldata() (accessor): returns the Data table + adddata(data) (accessor): then adds the data value to the Data table + setdata(arraydata) (accessor): allocates the table entered as a parameter to Data + getexception() (accessor): returns the value of the exception property + setexception(ex) (accessor): allocates the value Ex to the exception property + getwaitanswer() (accessor): returns the value of the WaitAnswer flag + setwaitanswer(bool) (accessor): allocates the value bool to the exception property The communication object is a global variation of the file ag_cgi_asynchrone.js. It will be known and useable in all other JavaScript files included in this page. The functions: The basic functions of the asynchronous mode function differently, particularly the request creation function. In asynchronous mode, the response and the request is not expected imperatively. The script continues its execution during the time when the request is processed by the CGI server. A mechanism of the callback functions has been implemented to inform the user of the arrival of a response. CreateRequest (addr, MDBfunction, offset, qty, value, callback) To create a request, the CreateRequest() function is used, which accepts the fields of the request and a pointer on the callback functions as parameters. First, an XMLHttpRequest object is created: - ag_httprequest = new XMLHttpRequest(); // Creation of the object The open() method of this object allows creating an http request by specifying the used method, the URL and the mode: - ag_httprequest.open( "POST", //method "/UE/FLASH0/device", //URL true); //asynchronous mode Only the POST method can be used, and with a specific URL, ( /UE/FLASH0/device ), in order to interface with the CGI server. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 110/135

111 The send() method of this object is used to send the request. The parameters define the character string which will be sent in the body of the request. The function CreateRequest() returns 1 if the operation is successful, otherwise the response is 0 to indicate that the CGI server is busy. The response to the request is detected via the event onreadystatechange of the object XMLHttpRequest. This event is called when the data loading status changes. ag_httprequest.onreadystatechange = function() // Function on loading { if(ag_httprequest.readystate == 4) // Response ready { ag_commobject.setwaitanswer(false); // processing completed callback(ag_httprequest.responsetext); // callback call } } When the loading status is complete, this means that the response has been completely received. The callback which shall process the received data is called. ReadRequest (addr, MDBfunction, offset, qty, callback) This function allows sending a read request. It receives as parameters, the fields (address, function, etc.) of the request to be created and calls the CreateRequest() function with '0' as the data value parameter. The function ReadRequest() returns 1 if the operation is successful, otherwise the response is 0 to indicate that the CGI server is busy. WriteRequest (addr, MDBfunction, offset, qty, value, callback) This function allows sending a write request. It receives as parameters, the fields (address, function, etc.) of the request to be created and calls the CreateRequest() function. The function ReadRequest() returns 1 if the operation is successful, otherwise the response is 0 to indicate that the CGI server is busy. GetAnwserHeader (response) This function allows storing the values of the response header (address, function, offset, quantity, exception code) in the communication object. It accepts as parameters, the character string corresponding to the response body. In the file "ag_cgi_asynchrone.js", these functions are used by other functions which have a defined role (reading several registers, writing several registers, etc.). The use of these functions must be given preference in customised WEB pages: ReadSingleRegister( ag_commobject, usercallback ) VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 111/135

112 This function allows reading a single register. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the register to be read in decimals. usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The ReadSingleRegister() function returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). After receiving the response, the communication object is updated with the data received. Then the user callback function is called. WriteSingleRegister( ag_commobject, usercallback ) This function allows writing a single register. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the register to be written in decimals. ag_commobject.data[0]: 1 st box of the table contains the value to be written. usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The WriteSingleRegister() function returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). After receiving the response, the communication object is updated with the data received. Then the user callback function is called. ReadMultipleRegisters( ag_commobject, usercallback ) This function allows reading several consecutive registers. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the 1st register to be read in decimals. ag_commobject.quantity: number of registers to be read. usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The function ReadMultiplesRegisters() returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). After receiving the response, the communication object is updated with the data received. Then the user callback function is called. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 112/135

113 WriteMultipleRegisters( ag_commobject, usercallback ) This function allows writing several consecutive registers. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the 1st register to be written in decimals. ag_commobject.quantity: number of registers to be written. ag_commobject.data[]: contains the values to be written. usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The function WriteMultipleRegisters() returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). After receiving the response, the communication object is updated with the data received. Then the user callback function is called. ReadSingleBit( ag_commobject, usercallback ) This function allows reading a single bit. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the bit to be read in decimals. usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The function ReadSingleBit() returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). After receiving the response, the communication object is updated with the data received. Then the user callback function is called. WriteSingleBit( ag_commobject, usercallback ) This function allows writing a single bit. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the bit to be written in decimals. ag_commobject.data[0]: 1 st box of the table contains the value to be written. usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The function WriteSingleBit() returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). After receiving the response, the communication object is updated with the data received. Then the user callback function is called. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 113/135

114 ReadMultipleBits( ag_commobject, usercallback ) This function allows reading several consecutive bits. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the 1st bit to be read in decimals. ag_commobject.quantity: number of bits to be read usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The function ReadMultipleBits() returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). WriteMultipleBits( ag_commobject, usercallback ) This function allows writing several consecutive bits. Parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the first bit to be written in decimals. ag_commobject.quantity: number of bits to be written ag_commobject.data[]: contains the values of the bits to be written. usercallback: pointer to a JavaScript function of the user to be executed after receiving a response. The function WriteMultipleBits() returns: 1 if it has been completed successfully. 0 if the CGI server is busy. -1 if the data entered in the parameters is incorrect (a dialogue box alerts the user, and the communication object is reset to zero). After receiving the response, the communication object is updated with the data received. Then the user callback function is called. Summary of the communication object fields to be filled: Address Func Offset Quantity Data Exception Usercallback ReadSingle Register M NR M NR NR NR O WriteSingleRegister M NR M NR M NR O ReadMultipleRegisters M NR M M NR NR O WriteMultipleRegisters M NR M M M NR O ReadSingleBit M NR M NR NR NR O WriteSingleBit M NR M NR M NR O ReadMultipleBits M NR M M NR NR O VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 114/135

115 WriteMultipleBits M NR M M M NR O M = Mandatory O = Optional NR = Not 12.3 APPENDIX E: MIB2, important fields OID MIB2 = System section: IOD system = OID Name Access Description sysdescr R description of the device sysobjectid R identity of the agent sysuptime R Time elapsed since the agent was initiated (hundred seconds) syscontact R/W name of the person to be contacted sysname R/W name of the device syslocation R/W physical location of the device sysservices R services offered by the device VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 115/135

116 Interface section: IOD interface = OID Name Access Description ifinnucastpkts R number of broadcast and multicast packets received ifindiscards R Number of packets rejected because of resource limitations ifinerrors R Number of packets rejected because of format error ifinunkownprotos R number of packets intended for other protocols ifoutoctets R total number of bytes transmitted by the interface ifoutucatspckts R number of unicast packets transmitted ifoutnucastpkts R number of broadcast and multicast packets transmitted ifoutdiscards R number of packets rejected because of resource limitations ifouterrors R number of packets rejected because of format error ifoutqlen R size of the output waiting queue packet size ifspecific R pointer towards a specific MIB At / Address Translation section: OID at = VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 116/135

117 OBSOLETE Ip / Internet Protocol section: OID OID Name Access Description ipforwarding R the node acts as a gateway or host ipdefaultttl R Default TTL (Time To Live) on the IP packets ipinreceives R ipinhdrerrors R ipinaddrerrors R total number of IP packets received (including errors) Number of datagrams ignored because of format error. Number of datagrams ignored because of improper destination ipinforwdatagrams R number of packets retransmitted ipinunkownprotos R ipindiscards R number of datagrams intended for another protocol number of packets ignored because of resource limitations ipindelivers R number of packets taken into consideration ipoutrequest R ipoutnoroutes R ipreasmtimeout R ipreasmreqds R total number of IP packets transmitted (including errors) Number of packets not transmitted because of a routing problem. time out value for the waiting queue for datagram reassembly number of fragments received that require reassembly ipreasmoks R number of datagrams correctly reassembled ipreasmfails R Number of reassembly errors ipfragoks R number of datagrams correctly fragmented VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 117/135

118 ipfragfails R number of datagrams requiring fragmentation even though the IP flags do not indicate so ipfragcreates R number of fragments created Icmp / Internet Control Message Protocol section: OID OID Name Access Description icmpinmsgs R Number of ICMP messages received icmpinerrors R Number of ICMP messages received with an error (improper ICMP checksum, improper length) icmpindestunreachs R ICMP destination number unreachable icmpintimeexcds R icmpinparmprobs R icmpinsrcquenchs R icmpinredirects R icmpinechos R icmpinechoreps R icmpintimestamps R icmpintimestampreps R icmpinaddrmasks R Number of SNMP messages received with time exceeded Number of ICMP messages received with parameter problems Number of ICMP messages received from a powered-off source Number of redirected ICMP messages received Number of ICMP request messages received Number of ICMP messages received with an echo Number of ICMP TimeStamp messages received Number of SNMP response messages received Number of ICMP address mask request messages received VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 118/135

119 icmpinaddrmaskreps R Number of ICMP address mask response messages received icmpoutmsgs R Number of ICMP messages ready to be sent icmpouterrors R Number of ICMP messages not sent because of errors. For example, no resources available in the reception buffer icmpoutdestunreachs R icmpouttimeexcds R icmpoutparmprobs R icmpoutsrcquenchs R Number of ICMP messages sent to unreachable destinations. Number of ICMP messages with exceeded outtime Number of ICMP messages with problematic sending parameters Number of ICMP messages sent to a powered-off source icmpoutredirects R Number of redirected ICMP messages sent icmpoutechos R Number of ICMP Echo messages sent icmpoutechoreps R Number of Echo responses sent icmpouttimestamps R Number of ICMP TimeStamp messages sent icmpouttimestampreps R icmpoutaddrmasks R icmpoutaddrmaskreps R Number of ICMP TimeStamp responses sent Number of ICMP mask request messages sent Number of ICMP mask response messages sent Tcp / Transmission Control Protocol section: OID OID Name Access Description tcppassiveopens R number of passive connections opened tcpattemptfails R number of failed connection attempts VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 119/135

120 tcpestabresets R number of connection resets tcpcurrestab R number of ongoing connections tcpinsegs R number of segments received tcpoutsegs R number of segments transmitted tcpretranssegs R number of segments re-transmitted TcpConnTable R A table containing specific information pertaining to connections through TCP connections TcpConnEntry R Information regarding a particular TCP connection tcpconnstate R status of the connection tcpconnlocaladdress R local IP address tcpconnlocalport R local port number tcpconnremoteaddress R Remote IP address tcpconnremoteport R remote port number tcpinerrs R number of segments ignored because of format error tcpoutrsts R number of resets generated tcppassiveopens R number of resets generated Udp / User Datagram Protocol section: OID OID Name Access Description udpindatagrams R number of datagrams transmitted udpnoports R udpinerrors R number of datagrams intended for an unknown protocol Number of datagrams ignored because of format error. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 120/135

121 udpoutdatagrams R number of datagrams transmitted Snmp / Simple Network Management Protocol section: OID OID Name Access Description snmpinpkts R snmpoutpkts R Total number of PDUs received from the lower layer Total number of PDUs sent to the lower layer snmpbadversions R Total number of PDUs received which have a different version number than the local number snmpbadcommunitynames R Total number of PDUs with an unknown community name snmpbadcommunityuses R Total number of PDUs that cannot be processed within the context of this community snmpinasnparseerrs R Total number of errors at the time of interpretation of an ASN.1 object snmpintoobigs R Number of PDUs received with ErrorStatus 'too big' (the response does not fit in an UDP message) snmpinnosuchnames R Number of PDUs received with ErrorStatus nosuchnames' (name unknown) snmpinbadvalues R snmpinreadonlys R snmpingenerrs R Number of PDUs received with ErrorStatus badvalue Number of PDUs received with ErrorStatus readonly Number of PDUs received with ErrorStatus generr snmpintotalreqvars R Number of objects of the MIB which pertain to a Get-Request or Get-Next request VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 121/135

122 snmpintotalsetvars R snmpingetrequests R snmpingetnexts R snmpinsetrequests R snmpingetresponses R snmpintraps R Number of objects of the MIB which pertain to a Set-Request Total number of PDU Get-Requests processed by the SNMP protocol Total number of PDU Get-Nexts processed by the SNMP protocol Total number of PDU Set-Requests processed by the SNMP protocol Total number of PDU Get-Responses processed by the SNMP protocol Total number of PDU Traps processed by the SNMP protocol snmpouttoobigs R Total number of SNMP PDUs which were generated by the SNPM protocol entity and for which the value of the ErrorStatus field is toobig snmpoutnosuchnames R Total number of SNMP PDUs which were generated by the SNPM protocol entity and for which the value of the ErrorStatus field is NoSuchName snmpoutbadvalues R Total number of SNMP PDUs which were generated by the SNPM protocol entity and for which the value of the ErrorStatus field is badvalue snmpoutgenerrs R Total number of SNMP PDUs which were generated by the SNPM protocol entity and for which the value of the ErrorStatus field is generr snmpoutgetrequests R Total number of PDUs of the Get- Request type which were generated by the SNPM protocol entity snmpoutgetnexts R Total number of PDUs of the Get-Next type which were generated by the SNPM protocol entity VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 122/135

123 snmpoutsetrequests R Total number of PDUs of the Set- Request type which were generated by the SNPM protocol entity snmpoutgetresponses R Total number of PDUs of the Get- Responses type which were generated by the SNPM protocol entity snmpouttraps R Total number of PDUs of the Trap type which were generated by the SNPM protocol entity snmpenableauthtraps R Indication about the configuration of the SNMP agent pertaining to the generation of the Authentication Trap VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 123/135

124 13. Other PROCENTEC products PROFINET Cable Tester Suitable for 4- and 8-wire PROFINET and regular Ethernet cables Suitable for straight and 90, metal or plastic PROFINET plugs Tests cable shielding Detects short circuits, wire breaks, swaps, miswiring and split pairs Large LCD clearly indicates the test results 150 hours on one 9 V battery Operating temperature: 0 to 50 C Just 1-key-press to start continuous testing It can also test telephone and coax cable Compact PROFIBUS Repeater Single channel PROFIBUS repeater Transparent Increased signal strength 12 Mbps Auto baudrate detection Redundant power supply Digital glitch filtering No limit in cascading Integrated switchable termination Diagnostic LEDs DB9 connector for measurements IP 20 with DIN-rail mounting VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 124/135

125 ProfiHub B5 5 Isolated channels Transparent Increased signal strength 31 devices per channel 12 Mbps 1200 m spur line length No address required Integrated switchable termination LEDs to indicate termination is ON Screw terminals and DB9 connectors IP 20 with DIN-rail mounting ProfiHub A5 5 Isolated channels Transparent Increased signal strength 31 devices per channel 12 Mbps 1200 m spur line length No address required Integrated switchable termination IP 65 classification VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 125/135

126 14. Sales offices and distributors HEADQUARTERS PROCENTEC T: +31 (0) Klopperman 16 F: +31 (0) JD WATERINGEN E: Netherlands W: ARGENTINA efalcom T: Alcorta 2411 F: B Moreno E: santiago.falcomer@efalcom.com Buenos Aires W: Argentina AUSTRALIA IS Systems Pty Limited T: Laverick Ave., F: Tomago E: fritz.woller@issystems.com.au NSW, Australia, 2322 W: Pentair Flow Control Pacific T: Percival Road F: Smithfield E: sharee.hazell@pentair.com.au NSW, Australia, 2164 W: BELGIUM and LUXEMBOURG Bintz Technics N.V. T: Brixtonlaan 23 F: B-1930 Zaventem E: bloemen@bintz.be Belgium W: BRAZIL Westcon Instrument. Indl Ltda T: Rual Alvaro Rodrigues, 257 F: São Paulo SP E: paolo@wii.com.br Brazil - CEP W: CANADA Streamline Process Management Inc. T: #3, Ave SE F: Calgary, Alberta T2C 5C6 E: admin@streamlinepm.com Canada W: CHILE RP Ingenieria Limitada T: Tucapel 92 oficina 52 F: Concepción E: rodrigopinto@rpingenieria.cl Chile W: CHINA PROCENTEC Beijing T: +86 (10) or Room E-1115 WangJingYuan YouLeHui F: +86 (10) ChaoYang E: info@procentec.net Beijing W: China CZECH REPUBLIC FOXON s.r.o. T: Polní 367 F: Liberec 12 E: foxon@foxon.cz Czech Republic W: DENMARK ProSaiCon T: Jernbanegade 23B F: DK 4000 Roskilde E: hfj@prosaicon.dk Denmark W: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 126/135

127 EGYPT Mas Trading T: , 105 Street F: Al-Etihad Square E: Egypt W: ESTONIA Saksa Automaatika OU T: Peterburi Tee 49 F: Tailinn E: EE Estonia W: FINLAND Hantekno Oy T: Kalliotie 2 E: info@hantekno.com Tuusula W: Finland FRANCE AGILiCOM T: Bâtiment B F: , rue de la Briaudière E: jy.bois@agilicom.fr Z.A. La Châtaigneraie W: BALLAN-MIRE France GERMANY PROCENTEC GmbH T: Benzstrasse 15 F: D Karlsruhe E: info@procentec.de Germany W: INDIA UL Engineering Services & Software Pvt Ltd T: Nirman Classic, F: Katraj-Kondhwa Road, E: dileep.miskin@ulepl.com Katraj, Pune W: India IRELAND PROFIBUS Ireland T: or Automation Research Centre F: University of Limerick E: info@profibus.ie National Technology Park, Plassey W: Limerick Ireland ISRAEL Instrumetrics Industrial Control T: Hamlacha St. F: New Industrial Zone E: info@instrumetrics-ic.co.il Netanya, W: Israel ITALY PROCENTEC Italy T: Via Branze n. 43/45 F: Brescia E: Italy W: JAPAN TJ Group T: C/O Japanese PROFIBUS Organisation F: West World Building 4F E: info@profibus.jp Higashi-Gotanda, Shinagawa-ku, Tokyo, Japan VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 127/135

128 KOREA Hi-PRO Tech. Co., Ltd. T: #2802, U-Tower, 1029 F: Youngduk-dong, Giheung-gu E: Yongin-Si, Kyunggi-do, W: Korea LEBANON Industrial Technologies S.A.L. (ITEC) T: Point Center, Boulevard Fouad Chehab F: Sin El Fil E: sales@iteclb.com Beirut W: Lebanon MEXICO Grid Connect Inc. T: (Spanish) E: tomf@gridconnect.com W: NETHERLANDS PROCENTEC B.V. T: +31 (0) Klopperman 16 F: +31 (0) JD Wateringen E: info@procentec.com Netherlands W: NORWAY AD Elektronikk AS T: Boks 641 F: N-1401 SKI E: kai@ade.no Norway W: PERU ControlWare T: Jr. Los Silicios 5409 F: Los Olivos - L39 E: info@controlware.com.pe Peru W: POLAND INTEX Sp. z o.o. T: ul. Portowa 4 F: Gliwice E: intex@intex.com.pl Poland W: ROMANIA S.C. SVT Electronics S.R.L. T: Brǎila 7 F: Tg-Mure E: sajgo.tibor@svt.ro Romania W: SAUDI ARABIA ASM Process Automation T: Al-Zahra Dist. Attas st. F: cross section with helmy Kutby St. E: info@asmestablishment.com Villa no.25 W: Jeddah Saudi Arabia SINGAPORE / SOUTH EAST ASIA Allegro Electronics T: Serangoon Avenue E: sales@allegro.com.sg Singapore W: Gissmatic Automatisierung Pte Ltd T: Tanglin Road E: sales@gissmatic.com Singapore I: SLOVAKIA ControlSystem s.r.o. T: Stúrova 4 F: BREZNO E: jan.snopko@controlsystem.sk Slovakia W: VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 128/135

129 SOUTH AFRICA IDX ONLINE CC T: +27 (11) Weaver Street F: +27 (11) Fourways E: sales@idxonline.com Johannesburg W: South Africa SPAIN LOGITEK, S.A T: Ctra. de Sant Cugat, 63 Esc. B Planta 1ª E: xavier.cardena@logitek.es Rubí (BARCELONA), W: Spain SWEDEN P&L Nordic AB T: Box 252 E: hans.maunsbach@pol.se S Hässleholm W: Sweden SWITZERLAND Berner Fachhochschule T: +41 (0) PROFIBUS Kompetenzzentrum F: +41 (0) Jlcoweg 1 E: max.felser@bfh.ch CH-3400 Burgdorf W: Switzerland TAIWAN Full Data Technology T: / F., No.200, Gangqian Rd. F: Neihu District, Taipei City E: sales@fulldata.com.tw 114, Taiwan W: TURKEY Emikon Otomasyon T: DES Sanayi sitesi 103 sokak F: B-7 blok No:16 Yukari Dudullu / Umraniye E: tolgaturunz@emikonotomasyon.com Istanbul W: Turkey UNITED ARAB EMIRATES Synergy Controls T: , IT Plaza Silicon Oasis : F: DubaiI E: sales@synergycontrols.ae United Arab Emirates UNITED KINGDOM and N. Ireland Verwer Training & Consultancy T: +44 (0) Barclay Road E: andy@verwertraining.com Poynton, Stockport I: Cheshire SK12 1YY United Kingdom Hi-Port Software T: +44 (0) The Hub 2 Martin Close F: +44 (0) Lee-on-Solent E: sales@hiport.co.uk Hampshire PO13 8LG W: United Kingdom itech T: +44 (0) Unit 1 F: +44 (0) Dukes Road E: sales@itech-troon.co.uk Troon W: Ayrshire KA10 6QR United Kingdom Parkelect Ltd. T: Dargan Road F: Belfast E: jgillan@parkelect.co.uk BT3 9JU W: N. Ireland VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 129/135

130 UNITED STATES Grid Connect Inc. T: W. Diehl Road F: Naperville, Illinois E: USA W: VIETNAM Bavitech Corporation T: Truong Son Street F: Ward 2, Tan Binh District E: Ho Chi Minh City W: Vietnam For the complete list of our Sales Offices and Distributors see If your country or region is not listed, please contact us. We are still searching for distributors who can cover complete areas or countries. VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 130/135

131 15. About PROCENTEC PROCENTEC is a specialist in PROFIBUS and PROFINET technology and develops products to optimize the production processes of end users. Our innovative solutions ensure that our customers successfully operate in the world of industrial automation and enjoy maximum results from their process. PROCENTEC globally supplies all the components required to install a measurable and steerable network. We develop and produce all products and they are exported through our worldwide distribution network. At PROCENTEC, we have a professional team of qualified support engineers who provide technical support on-site and online. Our professionals have more than 20 years of experience with PROFIBUS and PROFINET technology. They provide the necessary support to end users during implementation procedures, certification processes, audits and malfunctions. PROCENTEC also is an international accredited Competence and Training centre for PROFIBUS and PROFINET. We provide training courses that help employees using those techniques optimally for their business objectives. Products Services Training ProfiTrace On-site & Online Support PROFIBUS training courses ComBricks Network Audit PROFINET training courses ProfiHub Network Certfication Product training courses PROFINET tools Consultancy Cables & Connectors Testlab & Democenter Competence Center VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 131/135

132 16. Notes VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 132/135

133 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 133/135

134 VPGate manual - MODBUS/TCP to serial V juni 2017 PROCENTEC 134/135

135 PROCENTEC BV Klopperman JD Wateringen The Netherlands T: +31 (0) F: +31 (0) E: W:

VPGate Manual PROFINET to Serial

VPGate Manual PROFINET to Serial VPGate Manual PROFINET to Serial Content 1. PROPERTIES... 5 1.1 General properties... 5 1.2 Electrical properties... 7 1.3 Mechanical properties... 8 2. Hardware installation... 9 2.1 Connector technology...

More information

VPGate Manual PROFIBUS to serial

VPGate Manual PROFIBUS to serial VPGate Manual PROFIBUS to serial Important information Purpose of the Manual This user manual provides information how to work with the VPGate PROFIBUS to serial. Document Updates You can obtain constantly

More information

IPM-01 / IPM-01H MODBUS TCP/RTU Bridge User Guide

IPM-01 / IPM-01H MODBUS TCP/RTU Bridge User Guide VxI Power Ltd. IPM-01 / IPM-01H MODBUS TCP/RTU Bridge User Guide 01/12/2015 Document Number: 14970-020A Issue Number: 2 Contents 1.0 Device Overview... 2 2.0 Getting Started... 3 2.1 Connecting the Device...

More information

isma-b-mg-ip User Manual Global Control 5 Sp. z o.o. Poland, Warsaw

isma-b-mg-ip User Manual Global Control 5 Sp. z o.o. Poland, Warsaw isma-b-mg-ip User Manual Global Control 5 Sp. z o.o. Poland, Warsaw www.gc5.pl Table of content 1 Introduction... 4 1.1 Revision history... 5 1.2 Safety rules... 5 1.3 Technical specifications... 6 1.4

More information

ECAN-240. (Modbus TCP to 2-port CAN Bus Gateway User manual) ECAN-240 Modbus TCP to 2-port CAN Bus Gateway User Manual, Version 1.0.

ECAN-240. (Modbus TCP to 2-port CAN Bus Gateway User manual) ECAN-240 Modbus TCP to 2-port CAN Bus Gateway User Manual, Version 1.0. ECAN-240 (Modbus TCP to 2-port CAN Bus Gateway User manual) ECAN-240 Modbus TCP to 2-port CAN Bus Gateway User Manual, Version 1.0.0 Page: 1 Table of Contents Table of Contents -----------------------------------------------------------------------------2

More information

Industrial Serial Device Server

Industrial Serial Device Server 1. Quick Start Guide This quick start guide describes how to install and use the Industrial Serial Device Server. Capable of operating at temperature extremes of -10 C to +60 C, this is the Serial Device

More information

EGW1-IA3-MB User s Manual

EGW1-IA3-MB User s Manual www.exemys.com Rev. 0 1 Products are in constant evolution to satisfy our customer needs. For that reason, the specifications and capabilities are subject to change without prior notice. Updated information

More information

NA User Manual. Copyright(C) * CREVIS Co.,Ltd * Support * URL :

NA User Manual. Copyright(C) * CREVIS Co.,Ltd * Support * URL : - 1 - List of Revisions No. Date Version Revision 1 2007.12.15 1.00 Created - 2 - Contents 1. Product Specification 1) General Specifications 2) MODUBS/TCP Communication Specification 2. MODBUS Setting

More information

Document Name: User Manual for SC10MK, Modbus RTU to Modbus TCP Converter

Document Name: User Manual for SC10MK, Modbus RTU to Modbus TCP Converter Document Name: User Manual for SC10MK, Modbus RTU to Modbus TCP Converter Login for the first time, please use http://192.168.1.100 To key in user name and password is for identifying authorization. Default

More information

MODEL CIO-EN PROGRAMMING GUIDE MODBUS/TCP, MODBUS/RTU I/O MODULE. Revision A1 Rapid City, SD, USA, 09/2008

MODEL CIO-EN PROGRAMMING GUIDE MODBUS/TCP, MODBUS/RTU I/O MODULE. Revision A1 Rapid City, SD, USA, 09/2008 PROGRAMMING GUIDE MODEL CIO-EN MODBUS/TCP, MODBUS/RTU I/O MODULE Revision A1 Rapid City, SD, USA, 09/2008 2880 North Plaza Drive, Rapid City, South Dakota 57702 (800) 843-8848 (605) 348-5580 fax (605)

More information

tsh-700 Series User Manual

tsh-700 Series User Manual tsh-700 Series User Manual Tiny Serial Port Sharer Aug. 2017 Ver. 1.6 WARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery

More information

RS485 IO Slim Module MOD-ETH

RS485 IO Slim Module MOD-ETH Expansion Module gateway Modbus TCP Version 1.0 01.12.2015 Manufactured for Thank you for choosing our product. This manual will help you with proper support and proper operation of the device. The information

More information

MODEL: GR8-EM. Communication Adaptor GR8 Series

MODEL: GR8-EM. Communication Adaptor GR8 Series Communication Adaptor GR8 Series Ethernet/RS-485 Adaptor (Modbus use) Functions & Features Bidirectional protocol converter for Modbus/TCP (Ethernet) and Modbus RTU (RS-485) Fast response time thanks to

More information

P-Bus Gateway Firmware

P-Bus Gateway Firmware P-Bus Gateway Firmware PBGW2.128 Version 1.40 Easy configuration with web interface (HTML) P-busses configurable separately in master or slave mode Status display of each P-bus Fixed IP address or dynamic

More information

Winsonic MODBUS Remote IO user manual Rev. 1.0

Winsonic MODBUS Remote IO user manual Rev. 1.0 Winsonic MODBUS Remote IO user manual Rev. 1.0 Model: LEGAL NOTICE Warranty All products manufactured by Winsonic are under warranty regarding defective materials for a period of one year, beginning from

More information

GW-7238D J1939 to Modbus TCP Server / RTU Slave Gateway

GW-7238D J1939 to Modbus TCP Server / RTU Slave Gateway GW-7238D J1939 to Modbus TCP Server / RTU Slave Gateway User s Manual www.icpdas.com 1 Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one

More information

Motortronics VirtualSCADA VS2-MT Communication Gateway VS2-MT User Manual Revision

Motortronics VirtualSCADA VS2-MT Communication Gateway VS2-MT User Manual Revision Motortronics VirtualSCADA VS2-MT Communication Gateway VS2-MT User Manual Revision 1.03.00 Motortronics / Phasetronics 1600 Sunshine Drive Clearwater, Florida 33765 Tel: 727-573-1819 Fax: 727-573-1803

More information

Ethernet Interface Module

Ethernet Interface Module Interface Manual 1 Ethernet Interface Module SignalFire Number: ENET-DIN The SignalFire Ethernet Gateway has the following features: - Wide range DC power input. 6 to 36VDC - Power Over Ethernet (POE)

More information

Any device, including routers and hosts, is running an implementation of IP address Host

Any device, including routers and hosts, is running an implementation of IP address Host INSTRUCTION MANUAL IM471-U v0.1 EMI-10L Introduction EMI-10L converter lets you convert a serial RS485 communications port on a bus Ethernet with TCP / IP. The concepts and terms commonly used in the TCP

More information

PRODUCT PROFILE & OUTLINE...6

PRODUCT PROFILE & OUTLINE...6 Warning Please read this instruction carefully before use and follow this instruction to operate the device in order to prevent damages on the device or injuries to staff. Switch off the power before wiring.

More information

Embedded Modbus TCP Module GS11-MT. User Manual REV 1.1. SST Automation.

Embedded Modbus TCP Module GS11-MT. User Manual REV 1.1. SST Automation. Embedded Modbus TCP Module GS11-MT User Manual REV 1.1 SST Automation E-mail: SUPPORT@SSTCOMM.COM WWW.SSTCOMM.COM Catalog 1 About the Embedded Module... 4 1.1 General...4 1.2 Features... 4 1.3 Specifications...4

More information

Industrial 1-port RS422/485 Modbus Gateway

Industrial 1-port RS422/485 Modbus Gateway Industrial 1-port RS422/485 Serial Interface One RS422/485 port with 5-contact terminal block Cost effective for RS422/ to Fast Ethernet 10/100BASE- TX application Supports 4-wire RS422 or 2-wire with

More information

Industrial 2-port RS422/485 Modbus Gateway

Industrial 2-port RS422/485 Modbus Gateway 2-port RS422/485 Serial Interface Two RS422/485 ports with 5-contact terminal block Cost effective for RS422/ to Fast Ethernet 10/100BASE- TX application Supports 4-wire RS422 or 2-wire with 5-contact

More information

Overview. Table of contents

Overview. Table of contents 1 Table of contents Overview... 1 Applications... 2 Connecting and adjusting of converter... 3 Communication parameters adjusting... 5 RealPort - virtual serial port... 12 Installing virtual serial port

More information

IntesisBox Modbus Server KNX

IntesisBox Modbus Server KNX IntesisBox Modbus Server KNX User Manual r1.0 eng Issue date: 09/2017 Intesis Software S.L.U. 2017 All Rights Reserved. Information in this document is subject to change without notice. The software described

More information

HART/ Modbus TCP Gateway GT200-HT-MT User Manual V 1.2 REV A SST Automation

HART/ Modbus TCP Gateway GT200-HT-MT User Manual V 1.2 REV A SST Automation HART/ Modbus TCP Gateway GT200-HT-MT User Manual V 1.2 REV A SST Automation E-mail: SUPPORT@SSTCOMM.COM WWW.SSTCOMM.COM Catalog 1 Product Overview... 4 1.1 Product Function...4 1.2 Product Features...

More information

Description of options. user s manual. DEIF A/S Frisenborgvej 33 DK-7800 Skive Tel.: Fax:

Description of options. user s manual. DEIF A/S Frisenborgvej 33 DK-7800 Skive Tel.: Fax: Description of options TCP/IP Ethernet module user s manual DEIF A/S Frisenborgvej 33 DK-7800 Skive Tel.: +45 9614 9614 Fax: +45 9614 9615 info@deif.com www.deif.com Document no.: 4189320029B Legal information

More information

USER MANUAL Z-KEY MODBUS ETHERNET SERIAL GATEWAY AND SERIAL DEVICE SERVER. Via Austria, PADOVA ITALY

USER MANUAL Z-KEY MODBUS ETHERNET SERIAL GATEWAY AND SERIAL DEVICE SERVER. Via Austria, PADOVA ITALY USER MANUAL Z-KEY MODBUS ETHERNET SERIAL GATEWAY AND SERIAL DEVICE SERVER SENECA s.r.l. Via Austria, 26 35127 PADOVA ITALY Tel. +39.049.8705355 8705359 Fax. +39.049.8706287 Web site: www.seneca.it Technical

More information

MODEL CIO-EN MODBUS/TCP, MODBUS/RTU I/O MODULE

MODEL CIO-EN MODBUS/TCP, MODBUS/RTU I/O MODULE INSTALLATION INSTRUCTIONS Revision B1 Rapid City, SD, USA, 05/2009 MODEL CIO-EN MODBUS/TCP, MODBUS/RTU I/O MODULE BE SURE POWER IS DISCONNECTED PRIOR TO INSTALLATION! FOLLOW NATIONAL, STATE AND LOCAL CODES.

More information

Serial to Ethernet Converter

Serial to Ethernet Converter Serial to Ethernet Converter User s Manual Version 1.1 2004 Infosystem Technology Corporation Disclaimers The information in this manual has been carefully checked and is believed to be accurate. Infosystem

More information

TRAINING GUIDE LEVEL 3 MODBUS WRITE IMPORT COMMAND

TRAINING GUIDE LEVEL 3 MODBUS WRITE IMPORT COMMAND OleumTechTM TRAINING GUIDE LEVEL 3 MODBUS WRITE IMPORT COMMAND MUST BE FAMILIAR WITH LEVEL 1 TRAINING MATERIALS BEFORE MOVING FORWARD Doc ID# 80-6010-001b TABLE OF CONTENTS 1. WHAT IS NEW WRITE IMPORT

More information

SSE232-LE Serial Server- User s Manual

SSE232-LE Serial Server- User s Manual www.exemys.com Rev.6 1 Products are in constant evolution to satisfy our customer needs. For that reason, the specifications and capabilities are subject to change without prior notice. Updated information

More information

Ethernet to RS-232/485 Gateway

Ethernet to RS-232/485 Gateway Ethernet to RS-232/485 Gateway (Mode: IP-S) Feature: Operation voltage : DC 7V ~ 20V. RS232 Interface Meets or Exceeds TIA/EIA-232-F and ITU Recommendation V.28 Interface : ±12V levels compatibility. Data

More information

NCOM SERIAL DEVICE SERVER 1XX SERIES USER S MANUAL

NCOM SERIAL DEVICE SERVER 1XX SERIES USER S MANUAL NCOM SERIAL DEVICE SERVER 1XX SERIES USER S MANUAL 2017-07-07 Edition Titan Electronics Inc. Web: www.titan.tw Contents 1. INTRODUCTION... 4 1.1 Key Features... 5 1.2 Specifications... 6 2. PANEL LAYOUT

More information

Industrial 1-port RS422/485 Modbus Gateway IMG-110T

Industrial 1-port RS422/485 Modbus Gateway IMG-110T Industrial 1-port RS422/485 Modbus Gateway IMG-110T Presentation Outlines Product Positioning Applications Product Overview Comparison Product Benefits Appendix Product Features 2 / 43 Product Positioning

More information

MODEL: R3-NE1. Remote I/O R3 Series. ETHERNET INTERFACE MODULE (Modbus/TCP) 27.5 (1.08)

MODEL: R3-NE1. Remote I/O R3 Series. ETHERNET INTERFACE MODULE (Modbus/TCP) 27.5 (1.08) MODEL: R-NE Remote I/O R Series ETHERNET INTERFACE MODULE (Modbus/TCP) 7. (.8) 9 (.9) (.) mm (inch) MODEL: R-NE-[][] ORDERING INFORMATION Code number: R-NE-[][] Specify a code from below for each [] and

More information

For more information Contact with details of the application.

For more information Contact with details of the application. Eaton Corporation Telecommunications Power Solutions Email: dc.info@eaton.com www.eaton.com/telecompower Application Note AN0107 SC200 Modbus Server Last updated 20 January 2017 Applicable products SC200

More information

NET101. RS232 / RS422 / RS485 to Ethernet Converter. User s Manual. Version 1.2

NET101. RS232 / RS422 / RS485 to Ethernet Converter. User s Manual. Version 1.2 NET101 RS232 / RS422 / RS485 to Ethernet Converter User s Manual Version 1.2 Copyright Information Copyright 2004-2005, Mega System Technologies, Inc. All rights reserved. Reproduction without permission

More information

INDEX. Document Name : User Manual for SC10EJ Serial to Ethernet Converter

INDEX. Document Name : User Manual for SC10EJ Serial to Ethernet Converter Document Name : User Manual for SC10EJ Serial to Ethernet Converter Page 1 of 10 INDEX 1. Technical Specifications 1 2. Modes of Operation 1 3. Configuring the SC10 EJ : Through Serial Port 2 a. Configuring

More information

Chapter 5: Communications 5 1 SR55 Communications Overview 5 2

Chapter 5: Communications 5 1 SR55 Communications Overview 5 2 Chapter 5 Table of Contents Chapter 5: Communications 5 1 SR55 Communications Overview 5 2 Modbus Serial Communications Overview 5 2 Modbus TCP Network Communications Overview 5 2 EtherNet/IP Network Communications

More information

Universal Serial/PROFIBUS DP Gateway GT200-DP-RS User Manual V6.1 SST Automation

Universal Serial/PROFIBUS DP Gateway GT200-DP-RS User Manual V6.1 SST Automation GT200-DP-RS V6.1 SST Automation E-mail: SUPPORT@SSTCOMM.COM WWW.SSTCOMM.COM Catalog 1 About the Gateway...4 1.1 Product Function...4 1.2 Product Features... 4 1.3 Technical Specifications... 4 1.4 Related

More information

User Manual A08. User Manual

User Manual A08. User Manual A08 TABLE OF CONTENTS TABLE OF CONTENTS... 1 1. INTRODUCTION... 2 1.1. Key Features... 3 1.2. OS Requirement... 4 1.3. Specification... 4 1.4. Packing List... 4 2. OVERVIEW... 5 2.1. LED Definition...

More information

MGate MB3000 Modbus Gateway User Manual

MGate MB3000 Modbus Gateway User Manual MGate MB3000 Modbus Gateway User Manual Sixth Edition, July 2012 www.moxa.com/product 2012 Moxa Inc. All rights reserved. MGate MB3000 Modbus Gateway User s Manual The software described in this manual

More information

User Manual Edition: v a

User Manual Edition: v a WPC-832-Con 2 Ports Modbus TCP to Modbus RTU Wi-Fi, Ethernet connection Data Concentrator User Manual Edition: v.201809a http://www.tcpipweb.com Table of Contents Introduction------------------------------------------------------------------------------------------------------------------------------

More information

I-7550E PROFIBUS/Ethernet Converter. User's Manual

I-7550E PROFIBUS/Ethernet Converter. User's Manual I-7550E PROFIBUS/Ethernet Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products I-7550E PROFIBUS/Ethernet Converter User Manual (Version 100, June/2014) PAGE: 1 Warranty

More information

GW-7472 / GW EtherNet/IP to Modbus RTU/TCP Gateway User Manual

GW-7472 / GW EtherNet/IP to Modbus RTU/TCP Gateway User Manual GW-7472 / GW-7473 EtherNet/IP to Modbus RTU/TCP Gateway User Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year, starting from

More information

R3-NE1 ETHERNET INTERFACE MODULE MODEL. Remote I/O R3 Series. (Modbus/TCP)

R3-NE1 ETHERNET INTERFACE MODULE MODEL. Remote I/O R3 Series. (Modbus/TCP) Remote I/O R Series ETHERNET INTERFACE MODULE (Modbus/TCP) MODEL R-NE MODEL & SUFFIX CODE SELECTION R NE MODEL POWER INPUT K : V AC L : V AC R : V DC N : No power supply * *. Choose N (no power supply)

More information

IntesisBox Modbus Server Fidelio IP

IntesisBox Modbus Server Fidelio IP IntesisBox Modbus Server Fidelio IP User Manual r1 eng Issue Date: 10/04/2014 Intesis Software S.L. All Rights Reserved. Information in this document is subject to change without notice. The software described

More information

EtherSeries Modbus Gateway EMB-2 User s Guide

EtherSeries Modbus Gateway EMB-2 User s Guide EtherSeries Modbus Gateway EMB-2 User s Guide Revised March 25, 2004 Firmware Version 1.4 FCC Statement This device complies with the limits for a Class B digital device, pursuant to Part 15 of the FCC

More information

WiFi 16 Relay Board TCP ModBus Controlled - User Manual 21 Aug WiFi 16 Relay Board TCP ModBus Controlled

WiFi 16 Relay Board TCP ModBus Controlled - User Manual 21 Aug WiFi 16 Relay Board TCP ModBus Controlled WiFi 16 Relay Board TCP ModBus Controlled User Manual Date: -1- Content 1. Specification... 4 2. Applications examples... 5 2.1. Control electrical devices wirelessly... 5 2.2. Control electrical devices

More information

IntesisBox Modbus Server Siemens Synova FC330A

IntesisBox Modbus Server Siemens Synova FC330A IntesisBox Modbus Server Siemens Synova FC330A User's Manual V10 r10 eng Intesis Software S.L. 2009. All Rights Reserved. Information in this document is subject to change without notice. The software

More information

CAS IKS Gateway (Modbus RTU/TCP and HTML) Manual

CAS IKS Gateway (Modbus RTU/TCP and HTML) Manual CAS-2700-42 IKS to Modbus RTU Gateway CAS 2700-42 IKS Gateway (Modbus RTU/TCP and HTML) Manual CAS 2700-42 IKS Gateway Manual Page 1 of 34 BLANK PAGE CAS 2700-42 IKS Gateway Manual Page 2 of 34 Contents

More information

Technical Documentation

Technical Documentation AGILiGATE PROFIBUS - MODBUS Technical Documentation Parc d activités Giraudeau Tel: +33 (0)2 47 76 10 20 6, rue Auguste Perret Fax: +33 (0)2 47 37 95 54 37000 TOURS Email: info@agilicom.fr FRANCE Web:

More information

MGate MB3000 Modbus Gateway User s Manual

MGate MB3000 Modbus Gateway User s Manual User s Manual Seventh Edition, May 2013 www.moxa.com/product 2013 Moxa Inc. All rights reserved. User s Manual The software described in this manual is furnished under a license agreement and may be used

More information

GW-7228 J1939/Modbus RTU Slave Gateway

GW-7228 J1939/Modbus RTU Slave Gateway GW-7228 J1939/Modbus RTU Slave Gateway User s Manual www.icpdas.com GW-7228 J1939/Modbus RTU Slave Gateway User s Manual (Ver 1.2, May/2011) ------------- 1 Warranty All products manufactured by ICP DAS

More information

Fieldgate SFG500. Technical Information. Intelligent Ethernet/PROFIBUS gateway

Fieldgate SFG500. Technical Information. Intelligent Ethernet/PROFIBUS gateway Technical Information Fieldgate Intelligent Ethernet/PROFIBUS gateway Application Fieldgate is a system component that provides an independent access route to a PROFIBUS network. It may be used in a variety

More information

APPLICATION NOTES. Advanced Graphical Interface - AGI Internal PLC (CODESYS V3) SHENDONG

APPLICATION NOTES. Advanced Graphical Interface - AGI Internal PLC (CODESYS V3) SHENDONG APPLICATION NOTES Advanced Graphical Interface - AGI Internal PLC (CODESYS V3) SHENDONG CODESYS V3 logic running on AGI 300/400 series product Support of Modbus/TCP and RTU communication Use of remote

More information

MODBUS TCP/IP TO MODBUS SERIAL GATEWAY. MODEL No: MGate-1024-DC VER 2.0

MODBUS TCP/IP TO MODBUS SERIAL GATEWAY. MODEL No: MGate-1024-DC VER 2.0 MODBUS TCP/IP TO MODBUS SERIAL GATEWAY MODEL No: MGate-1024-DC VER 2.0 MILLENNIUM TECHNOLOGIES 440, MASTER MIND 1, ROYAL PALMS ESTATE AAREY MILK COLONY, GOREGAON (EAST), MUMBAI-400065. INDIA. PH: - 91-22-65229736,

More information

Modbus TCP/RTU Gateway

Modbus TCP/RTU Gateway Modbus TCP/RTU Gateway Hardware Installation Guide for models IE-GW-MB-2TX-1RS232/485 IE-GWT-MB-2TX-1RS232/485 Second Edition, June 2014 1516600000/01/06.14 Important note: The detailed user manual, additional

More information

Du line. Dupline Field- and Installationbus Dupline Ethernet Modbus/TCP Gateway Type G G Type Selection

Du line. Dupline Field- and Installationbus Dupline Ethernet Modbus/TCP Gateway Type G G Type Selection Dupline Field- and Installationbus Dupline Ethernet Modbus/TCP Gateway Type G 3891 0052 Built-in Dupline channel generator Modbus/TCP Slave 10 and 100 Mbit operation, full or half duplex Twisted pair cables

More information

Switched Rack Power Distribution Unit

Switched Rack Power Distribution Unit Switched Rack Power Distribution Unit AS-216-520-30A-L530 Installation and Quick Start Contents Product Description and Inventory...................... 1 AS-216-520-30A-L530....................... 1 Additional

More information

MODEL: WL40EW2F. Wireless I/O WL40F Series

MODEL: WL40EW2F. Wireless I/O WL40F Series Wireless I/O WL40F Series WIRELESS GATEWAY Modbus/TCP (Ethernet), Modbus-RTU Transparent 900MHz Band Wireless Device (parent device) 60 (2.36) FUTIONS & FEATURES This unit Incorporates 900MHz band wireless

More information

3-7 Tiny Serial-to-Ethernet Device Server & Modbus Gateway

3-7 Tiny Serial-to-Ethernet Device Server & Modbus Gateway Tiny Serial-to-Ethernet Device Server & Modbus Gateway - Tiny Serial-to-Ethernet Device Server & Modbus Gateway tds-00 Series tds-12 tds-00 series tdsm-12 Tiny Serial-to-Ethernet Device Server Features

More information

Ethernet to Serial Port Module RS-232/422/485 to Internet Gateway

Ethernet to Serial Port Module RS-232/422/485 to Internet Gateway Ethernet to Serial Port Module RS-232/422/485 to Internet Gateway (Model: IPM-S) Wireless Gateway: Active RFID Gateway Bluetooth to Internet Application: Energy Meter Networks Motor Control Industrial

More information

i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products

i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual High Quality, Industrial Data Acquisition, and Control Products i-7550 PROFIBUS to RS-232/422/485 Converter User's Manual (Version 1.01) PAGE:1

More information

Serial Connection of HC900 Hybrid Controller to 900CS Control Station

Serial Connection of HC900 Hybrid Controller to 900CS Control Station Note: Ethernet connections will provide faster performance than RS-485 HC900 1. Remove HC900 CPU and set S2 Dip Switches for RS-485 unterminated Replace CPU & follow instructions per Installation and User

More information

HRM-0800 Instruction Manual

HRM-0800 Instruction Manual HRM-0800 Instruction Manual Table of Contents 1 Highway Addressable Remote Transducer (HART ) 4 2 General Specifications 5 3 Dimensions: 6 4 General Description 7 4.1 Introduction 7 4.2 Purpose 8 4.3 Functions

More information

NCOM SERIAL DEVICE SERVER 4XX SERIES USER S MANUAL

NCOM SERIAL DEVICE SERVER 4XX SERIES USER S MANUAL NCOM SERIAL DEVICE SERVER 4XX SERIES USER S MANUAL 2017-07-07 Edition Titan Electronics Inc. Web: www.titan.tw Contents 1. INTRODUCTION... 4 1.1 Key Features... 5 1.2 Specifications... 6 2. PANEL LAYOUT

More information

ETHERNET/MFC 010 Technical Datasheet

ETHERNET/MFC 010 Technical Datasheet ETHERNET/MFC 010 Technical Datasheet EtherNet/IP interface box in combination with MFC 010 Seamless integration into EtherNet/IP environments Integrated web server for easy configuration, maintenance and

More information

3-7 Tiny Serial-to-Ethernet Device Server & Modbus Gateway

3-7 Tiny Serial-to-Ethernet Device Server & Modbus Gateway Tiny Serial-to- Device Server & Modbus Gateway - Tiny Serial-to- Device Server & Modbus Gateway tds-00 Series NEW tds-12 tds-00 series Tiny Serial-to- Device Server Features Incorporates any /422/485 serial

More information

RS485 MODBUS Module 8I8O

RS485 MODBUS Module 8I8O Expansion Module 8 digital inputs, 8 digital outputs Version 2.2 12/01/2014 Manufactured for Thank you for choosing our product. This manual will help you with proper support and proper operation of the

More information

INTELLIS. Modbus Direct Network Monitor

INTELLIS. Modbus Direct Network Monitor INTELLIS Modbus Direct Network Monitor System Installation and Operation Manual Phone: (201) 794-7650 Fax: (201)794-0913 Chapter 1 Modbus Protocol Revision History Revision 1.0 30 April, 2002 Initial Version

More information

USER MANUAL FOR GS100/GS1003G

USER MANUAL FOR GS100/GS1003G USER MANUAL FOR GS100/GS1003G 1 Table of Contents 1. INTRODUCTION... 3 2. FEATURES... 3 3. OPERATION... 3 4.CONNECTION DETAILS... 4 5.CONFIGURATION... 5 5.1 Hyper Terminal Setting... 5 5.2 GS100 Configuration...

More information

MGate 5118 Quick Installation Guide

MGate 5118 Quick Installation Guide MGate 5118 Quick Installation Guide Edition 1.0, December 2016 Technical Support Contact Information www.moxa.com/support Moxa Americas: Toll-free: 1-888-669-2872 Tel: 1-714-528-6777 Fax: 1-714-528-6778

More information

tgw-700 Series User Manual

tgw-700 Series User Manual tgw-700 Series User Manual Warranty All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser. Warning

More information

Hardened Web-Smart High Power PoE Ethernet Switch

Hardened Web-Smart High Power PoE Ethernet Switch Quick Start Guide This quick start guide describes how to install and use the Hardened Web-Smart High Power PoE (Power over Ethernet) Ethernet Switch. This is the switch of choice for harsh environments

More information

MGate 4101-MB-PBS Modbus Serial-to-PROFIBUS Slave Gateway User s Manual

MGate 4101-MB-PBS Modbus Serial-to-PROFIBUS Slave Gateway User s Manual Modbus Serial-to-PROFIBUS Slave Gateway User s Manual Edition 5.0, February 2017 www.moxa.com/product 2017 Moxa Inc. All rights reserved. Modbus Serial-to-PROFIBUS Slave Gateway User s Manual The software

More information

Mini Energy Web Server

Mini Energy Web Server 87045 LIMOGES Cedex Telephone : 05 55 06 87 87 Fax: 05 55 06 88 88 Mini Energy Web Server Contents Pages 1. Description - Use... 1 2. Range... 1 3. Overall dimensions... 1 4. Preparation - Connection...

More information

NA-9171 / 9173 (RS-232) (RS-485) User Manual. MODBUS Adapter CREVIS Co.,Ltd. Version FnIO MODBUS Adapter NA-9171, NA-9173 FnIO S-Series

NA-9171 / 9173 (RS-232) (RS-485) User Manual. MODBUS Adapter CREVIS Co.,Ltd. Version FnIO MODBUS Adapter NA-9171, NA-9173 FnIO S-Series 1 FnIO MODBUS Adapter NA-9171, NA-9173 FnIO S-Series MODBUS Adapter NA-9171 / 9173 (RS-232) (RS-485) User Manual Version 1.05 2013 CREVIS Co.,Ltd 2 FnIO MODBUS Adapter NA-9171, NA-9173 FnIO S-Series DOCUMENT

More information

tgw-700 Series User Manual

tgw-700 Series User Manual tgw-700 Series User Manual Ver. 2.2, Nov. 2017 WARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original

More information

SK CU4-PNT-C Part number:

SK CU4-PNT-C Part number: SK CU4-PNT-C Part number: 275 271 515 PROFINET IO Internal Bus Interface The bus interface may only be installed and commissioned by qualified electricians. An electrician is a person who, because of their

More information

RS485 MODBUS Module 8AO

RS485 MODBUS Module 8AO Version 1.3 12/02/2013 Manufactured for Thank you for choosing our product. This manual will help you with proper support and proper operation of the device. The information contained in this manual have

More information

STS Web card for Upsilon/Epsilon STS (66073) STS Web card User Manual

STS Web card for Upsilon/Epsilon STS (66073) STS Web card User Manual STS Web card User Manual STS Web card for Upsilon/Epsilon STS (66073) STS Web card User Manual 34003765EN/BB Contents 1 PRESENTATION...3 1.1 OVERVIEW...3 1.2 USE IN A UPS...3 1.3 FUNCTIONS...4 1.4 TECHNICAL

More information

GEM-10 GPRS/Modbus Gateway User Manual. Rev /2012

GEM-10 GPRS/Modbus Gateway User Manual. Rev /2012 GEM-10 GPRS/Modbus Gateway User Manual Rev 1.04 05/2012 1.Introduction 1.1 General Features ENTES GEM-10 GPRS/Modbus Gateway allows you to connect to your devices which communicate using Modbus protocol

More information

3.1 Updating Web Package Updating OS... 16

3.1 Updating Web Package Updating OS... 16 User Manual V1.0.0 Table of Contents Chapter1. Overview... 1 1.1. Specification... 1 1.2. Dimensions... 2 1.3. Connector pin designations... 4 1.4. Restoring factory default... 4 1.5. LED indicator...

More information

Version 1.0c May 6, 2010 ATK3

Version 1.0c May 6, 2010 ATK3 Version 1.0c May 6, 2010 ATK3 Contents 1 Hardware 2 1.1 Inputs............................... 2 1.2 Outputs.............................. 3 1.3 RS485............................... 3 1.4 Ethernet..............................

More information

Hardened Web-Smart PoE & High Power PoE Ethernet Switch

Hardened Web-Smart PoE & High Power PoE Ethernet Switch Quick Start Guide This quick start guide describes how to install and use the Hardened Web-Smart PoE (Power over Ethernet) and High Power PoE Ethernet Switch. This is the switch of choice for harsh environments

More information

SDM-8AO. Expansion Module 8 analog outputs. Manufactured for

SDM-8AO. Expansion Module 8 analog outputs. Manufactured for Version 1.0 16.05.2014 Manufactured for Thank you for choosing our product. This manual will help you with proper support and proper operation of the device. The information contained in this manual have

More information

IntesisBox Modbus Server - Honeywell XLS 80

IntesisBox Modbus Server - Honeywell XLS 80 IntesisBox Server - Honeywell XLS 80 Gateway for integration of Honeywell XLS 80 fire panels into (RTU and TCP) enabled control systems. Integrate your Honeywell fire panels into your master device or

More information

HART / EtherNet/IP Gateway GT200-HT-EI User Manual V 1.0 REV A SST Automation

HART / EtherNet/IP Gateway GT200-HT-EI User Manual V 1.0 REV A SST Automation HART / EtherNet/IP Gateway GT200-HT-EI V 1.0 REV A SST Automation E-mail: SUPPORT@SSTCOMM.COM WWW.SSTCOMM.COM Catalog 1 Product Overview... 4 1.1 Product Function...4 1.2 Product Features... 4 1.3 Technical

More information

DL-10. User Manual. RS-485 Remote Temperature and Humidity. English Ver. 1.0, Jul. 2017

DL-10. User Manual. RS-485 Remote Temperature and Humidity. English Ver. 1.0, Jul. 2017 DL-10 User Manual RS-485 Remote Temperature and Humidity English Ver. 1.0, Jul. 2017 WARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from

More information

G5 Weighing Instrument

G5 Weighing Instrument G5 Weighing Instrument Program version 1.4.X Fieldbus Option Manual PM and RM types CONTENTS 1. Introduction... 1-1 General... 1-1 Module installation... 1-2 Ordering information... 1-3 2. Modules...

More information

Transmission/ reception tables

Transmission/ reception tables Transmission/ reception tables Message Exchange When in Transmit Only mode, the Control and Transmission tables are filled in prior to executing the EXCHx instruction, and can be of type %KW or %MW. No

More information

IntesisBox Modbus Server Panasonic

IntesisBox Modbus Server Panasonic IntesisBox Modbus Server - Panasonic Gateway for Panasonic ECO-i VRF and PAC-i system integration into Modbus Systems Master Up to 30 Outdoor units Up to 64 Indoor units Modbus TCP Master /EIA232 PA-AC-MBS-64/128

More information

R1M-GH THERMOCOUPLE & DC INPUT MODULE MODEL. Remote I/O R1M Series. (16 points)

R1M-GH THERMOCOUPLE & DC INPUT MODULE MODEL. Remote I/O R1M Series. (16 points) Remote I/O R1M Series THERMOCOUPLE & DC INPUT MODULE (16 points) MODEL MODEL & SUFFIX CODE SELECTION R1MGH2T MODEL Modbus protocol I/O TYPE GH2 : Thermocouple or DC input, 16 points FIELD TERMINAL TYPE

More information

NetBiter I/O Extender User Manual

NetBiter I/O Extender User Manual User Manual Part no. 0920-9999-009 IntelliCom Innovation AB Pilefeltsgatan 73 SE-302 50 Halmstad SWEDEN Phone +46 35 17 29 90 Fax +46 35 17 29 09 email info@intellicom.se www www.intellicom.se Revision

More information

Date Revision Change(s) First version

Date Revision Change(s) First version Revision overview Revision overview Date Revision Change(s) 04.06.2015 0 First version Copyright 2015 Indu-Sol GmbH We reserve the right to amend this document without notice. We continuously work on further

More information

RS232/RS485/RS422 to TCP/IP Converter ITEM NO.: RS007

RS232/RS485/RS422 to TCP/IP Converter ITEM NO.: RS007 RS232/RS485/RS422 to TCP/IP Converter ITEM NO.: RS007 RS007 is a universal data converter which support serial RS232, RS422 and RS485 to the TCP / IP intelligent communication converter, it offers RS485/RS422

More information

RS 485 Mini Modbus 1AO

RS 485 Mini Modbus 1AO RS 485 Mini Modbus 1AO Version 1.0 14/08/2014 Manufactured for Thank you for choosing our product. This manual will help you with proper support and proper operation of the device. The information contained

More information

R6-NE1 BEFORE USE... POINTS OF CAUTION INSTRUCTION MANUAL ETHERNET INTERFACE MODULE MODEL. (Modbus/TCP, for 32-point analog signals)

R6-NE1 BEFORE USE... POINTS OF CAUTION INSTRUCTION MANUAL ETHERNET INTERFACE MODULE MODEL. (Modbus/TCP, for 32-point analog signals) INSTRUCTION MANUAL ETHERNET INTERFACE MODULE (Modbus/TCP, for 32-point analog signals) MODEL R6-NE1 BEFORE USE... Thank you for choosing M-System. Before use, please check contents of the package you received

More information