VPGate Manual PROFINET to Serial

Size: px
Start display at page:

Download "VPGate Manual PROFINET to Serial"

Transcription

1 VPGate Manual PROFINET to Serial

2 Content 1. PROPERTIES General properties Electrical properties Mechanical properties Hardware installation Connector technology Power connector SERIAL connector ETHERNET ports, 10/100 Mbps Digital Input Digital output Front panel indicators DIP switches Default configuration Selecting the RS-232/RS-485 modes Termination resistance SOFTWARE CONFIGURATION Configuration tools of the PROFINET IO controller Integrating VPGate into a project Importing a GSDML file into the engineering tool Integrating VPGate General configuration of VPGate General parameters Configuration in TRANSPARENT mode Inserting and configuring modules in the TRANSPARENT mode Configuration in MODBUS Master mode Inserting and configuring modules in the MODBUS Master mode Behaviour of the MODBUS Master according to PROFINET status Configuration in the MODBUS Slave mode Inserting and configuring modules in the MODBUS Slave mode Diagnostic Diagnostic on the UDP port PROFINET diagnostic Diagnostic Digital output Digital inputs/outputs Digital output Digital input IP address configuration Configuration via the DCP protocol Default configuration MRP redundancy Functioning in the MRP Client VPGate PROFINET to serial user manual June 2017 PROCENTEC 2/104

3 7.2 Configuration Modbus/TCP Operating principle Fault management MODBUS/TCP GATEWAY TO MODBUS SERIAL mode Operating principle Fault management Web server Configuration web page Account management on the web server System information menu Network settings menu SNMP information menu Ethernet statistics menu PROFINET menu MODBUS menu File system menu Firmware upload menu Reboot menu Passwords menu Logout menu Customized WEB pages Accessing data via personalised WEB pages An example of customised WEB pages FTP SERVER SNMP agent Appendices Other PROCENTEC products Sales offices and distributors About PROCENTEC Notes VPGate PROFINET to serial user manual June 2017 PROCENTEC 3/104

4 Document version Version Date Description A Creation. Preliminary version B Updates after proofreading and tests C Updates, updated appendixes, I/O is no longer an option, D E F Updated SNMP, appendix E on SNMP MIB2, added behaviours on PROFINET stop, link-down and startup, FSU deleted as not tested Remove µsd and CAN options, updated web server chapter and GSD pictures Added new explanation for the Interchars timeout and interframes silence Added web server current page auto refresh information Corrected default FTP Login/Password Added MODBUS web menu description G Inverted Ethernet connector LEDs H Corrected: Switch 1 to 2 on page 10 Resistor value of 120Ω to 150Ω on page 12 and 13 Interframe silence change from 0 to 20 ms Minor textual changes VPGate PROFINET to serial user manual June 2017 PROCENTEC 4/104

5 1. PROPERTIES 1.1 General properties ETHERNET LINK Bandwidth 10/100 Mbps, auto-negotiation, auto-polarity, auto MDI/MDIX LEDs Active Link (orange) and activity (green) Distances Maximum 100 m Cable Shielded Industrial Ethernet (at least of category 5E) Connectors Supported protocols Switch Redundancy 2 RJ-45 connectors, insulated by a transformer and shield connection PROFINET, MODBUS/TCP, SNMP V1, HTTP, FTP 2 port integrated switch MRP Client PROFINET IO Device Conformance class IP address control Services GSDML file Max. number of input bytes CC-B DCP (PROFINET) or switch in the front SNMP V1, LLDP Sender/Receiver, MRP, I&M Configuration file of the device that can be downloaded from the embedded web server or the FTP server. 512 bytes Max. number of output bytes 512 bytes Minimum cycle time 2 ms VPGate PROFINET to serial user manual June 2017 PROCENTEC 5/104

6 MODBUS/TCP Operating mode Gateway mode Max. number of simultaneous TCP connections Server or gateway Direct access to devices on the serial network 3 Port 502 MODBUS/TCP Bandwidth Data bits Interface Distance in RS-485 Cable Connector Termination resistance Polarisation 1200, 2400, 9600, 19200, 38400, 57600, baud 7 or 8 bits RS-232 or RS-485. Select using the switch Maximum of 1200 m without a repeater (depends on the bandwidth and the cable) Shielded twisted pair 3-contact, female plug-in terminal board On the RS-485 link: 150 Ω; can be set by switch On the RS-485 link: polarised line when termination resistance is activated TRANSPARENT MODE End frame delimiter End of frame character, known length, on the timeout MODBUS MODE Bus access Protocol Transmission End of frame character, known length, on the timeout MODBUS RTU or ASCII Half Duplex, asynchronous Accepted functions 1, 2, 3, 4, 5, 6, 7, 15, 16, 23 MODBUS MODE VPGate PROFINET to serial user manual June 2017 PROCENTEC 6/104

7 Number of addressable slaves in the master mode 50 MODBUS slaves Address range Number of accessible MODBUS registers Frequency of sending frames registers in read-only mode registers in write mode Cyclic, when changed Local I/O Digital input Digital output 1 insulated Digital input 1 configurable Digital output (output from the Ethernet or Alarm output) File system Free space Access 10 MB FTP, HTTP 1.2 Electrical properties Power supply Supply voltage 24V DC ±10% Consumption Connector Protection from polarity reversals 1.7 W 3-contact (VCC, 0V, EARTH) female plug-in terminal board Yes Protection from shortcircuits Yes VPGate PROFINET to serial user manual June 2017 PROCENTEC 7/104

8 1.3 Mechanical properties Mechanical properties Case type Plastic with a hatch on the front side. IP20 DIN rail fastening Dimensions 120 x 100 x 23 mm (L x W x H) Weight 130 g Storage temperature -25 C C Operating temperature 0 C to +55 C Relative air humidity Max. 80% VPGate PROFINET to serial user manual June 2017 PROCENTEC 8/104

9 2. Hardware installation 2.1 Connector technology Ethernet RS-485 / RS-232 Power supply Figure 1: Connectors on the top of the case Power connector Pin Name Description 1 24 V DC Power supply 24 V ± 10% 2 0 V DC Grounding 3 Earth Earth SERIAL connector Pin Name Description 1 Rx Rx RS-232 (VPGate < device) 2 Tx Tx RS-232 (VPgate > device) 3 GND RS-232 grounding 4 Shield Earth 5 Data - Signal Data - RS Data + Signal Data + RS-485 The shield of the SERIAL cable must be connected to the earth at each end in order to ensure its resistance to electromagnetic disturbances. Pin 4 of the connector may be used. However, it is better to use a shield connection jumper, fixed at each end of the serial cable on a grounding rod or a bottom plate of a cabinet. VPGate PROFINET to serial user manual June 2017 PROCENTEC 9/104

10 ETHERNET ports, 10/100 Mbps Pin Name Description 1 Tx+ 2 Tx- 3 Rx+ 6 Rx- The shield of the ETHERNET cable must be connected to the earth at each end in order to ensure its resistance to electromagnetic disturbances. The connector body may be used. However, it is better to use a shield connection jumper, fixed at each end of the serial cable on a grounding rod or a bottom plate of a cabinet. Digital OUT Digital IN Figure 2: Connectors at the bottom of the case Digital Input IEC compliant, type 1: IN 1 2 Pin Name Description IN + Insulated Digital input (15-24 V) 2 IN - Insulated Digital input, ground return Digital output IEC compliant: OUT 1 2 Pin Name Description 1 OUT Relay contact 2 OUT Relay contact Breaking capacity: 0.5 A Maximum permissible current: 1.2 A VPGate PROFINET to serial user manual June 2017 PROCENTEC 10/104

11 2.2 Front panel indicators 1 ON 2 Net1 3 Net2 4 RUN 5 Tx (serial link) 6 Rx (serial link) 1 ON: is lit when the gateway is live. 2 Net1 : is lit and steady if communication has not been established on PROFINET (Bus Failure). Flashes if there is a communication error (Diagnostic). 3 Net2 : is lit and steady if communication has not been established on the serial link. Flashes if there is a communication error (Timeout). 4 RUN: flashes at 1 Hz if the program has been executed correctly. Flashes at 4Hz if the DCP blink command (PROFINET command for requesting the flashing) is currently being processed. 5 Tx: indicates that a frame is currently being transmitted on the serial link. 6 Rx: indicates that a frame is currently being received on the serial link. 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 A switch enables resetting to a default configuration (@IP , mask ) when the VPGATE Ethernet is switched on. The configuration takes place as follows: VPGate PROFINET to serial user manual June 2017 PROCENTEC 11/104

12 Switch Name Description 1 ON OFF Default IP configuration User-defined IP configuration A PROFINET IO controller might replace the IP address when VPGate is switched on if its station name corresponds to the PLC program, even if the default IP configuration switch is activated Selecting the RS-232/RS-485 modes A switch enables specifying the operating mode of the serial link in RS-232 or RS-485 (when delivered, VPGATE is preset to RS-485): Switch Name Description 2 ON OFF RS-232 RS-485 RS-232 mode: Figure 4: Serial network in RS-232 mode This mode can only be used in case of communication between 2 individual devices (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 as it allows connection of several slaves on the bus. It also has other advantages such as immunity to EMC disturbances and a greater inter-device distance than in RS-232. The maximum distance in RS-485 is 1000 m. VPGate PROFINET to serial user manual June 2017 PROCENTEC 12/104

13 2.3.3 Termination resistance If the communication mode used is RS-485, there must be a termination resistance of 150Ω at both ends of the network. A termination resistance is connected using DIP switches 3 and 4 (when delivered (VPGate is preset without a termination resistance): Switch Position Description 3 4 (activation of the termination resistance + line polarisation) ON OFF Termination & polarisation No termination & no polarisation To ensure proper functioning of the termination, switches 3 and 4 must be in the same position. Internal schema of the resistance and polarisation of the RS-485 bus: Figure 6: Termination resistance and polarisation of the RS-485 bus VPGate PROFINET to serial user manual June 2017 PROCENTEC 13/104

14 3. SOFTWARE CONFIGURATION 3.1 Configuration tools of the PROFINET IO controller VPGate PROFINET SERIAL can be configured via the PROFINET network configuration software and is sent by the PROFINET IO controller when the network is initialised. The following detailed configuration was carried out using the "HW Config" configuration software of SIEMENS. Nevertheless, the procedure is the same for all configuration software. 3.2 Integrating VPGate into a project Before proceeding further, a project must be created in the engineering tool with a hardware configuration that contains at least one PROFINET network and one IO controller Importing a GSDML file into the engineering tool The GSD file allows using VPGate as a PROFINET IO device. It is called GSDML-V2-3-VPGate xml and can be found in the VPGate CD provided with the device. The GSD file can also be accessed via the web server of VPGate (refer to paragraph 10). This GSD must be imported via the PROFINET network configurator for VPGate to appear in the catalogue of devices that can be inserted in the network. Figure 7: Importing the GSD into the device catalogue Integrating VPGate The steps are as follows: Integrate VPGate into the network from the PROFINET device catalogue. The head module to be integrated depends on the desired operating mode: MODBUS MASTER mode MODBUS SLAVE mode TRANSPARENT mode VPGate PROFINET to serial user manual June 2017 PROCENTEC 14/104

15 Figure 8: Integrating VPGate into the network Configure the desired PROFINET name (this value is configured via the DCP in VPGate). This name allows the IO controller to identify the device when the network is switched on Figure 9: List of devices that can be accessed via DCP Figure 10: Naming a device via DCP In the device properties in the network configuration tool, define the same PROFINET name that was previously configured in VPGate: 4 VPGate PROFINET to serial user manual June 2017 PROCENTEC 15/104

16 1 2 Figure 11: Configuring the device name in the configuration tool The cycle time for each device in the PROFINET network is determined at the level of the IO controller. The possible cycle times are 2, 4, 8, 16, 32, 64, 128, 256 and 512 ms. 3.3 General configuration of VPGate 3 head modules are available, each corresponding to a communication mode on the serial link: Gateway configuration in the TRANSPARENT mode Gateway configuration in the MODBUS Master mode Gateway configuration in the MODBUS Slave mode General parameters The parameters described below are common for all 3 head modules. Once VPGate is inserted in the PROFINET network, the serial link must be configured using the following parameters: Figure 12: Common parameters of the serial link VPGate PROFINET to serial user manual June 2017 PROCENTEC 16/104

17 Name Description Possible values Baud rate Communication speed of the serial link (in bits/s) None Parity Presence or absence of a parity bit Even Odd Stop bits Number of stop bits 1 2 Data bits (*) Number of data bits 7 8 Timeout Time delay before signalling the absence of data received on the serial link default: 1000 ms ms Interchars timeout Maximum time between 2 characters of a frame. 1.5 characters + 0 to ms Interframe silence Time delay to be complied with after receiving a frame, before it can be re-issued. 3.5 characters + 20 to ms (*) MODBUS RTU has 8-bit data. MODBUS ASCII has 7-bit data. VPGate PROFINET to serial user manual June 2017 PROCENTEC 17/104

18 Defining the diagnostic management: Figure 23: MODBUS MASTER mode diagnostic Name Description Possible values Diagnostic alarms Enable or disable alarms sent by VPGate on PROFINET to the IO controller. Yes No Disabled (1) Digital output mode Defines the behaviour of the Digital output if the Digital Output module is not plugged into an VPGate slot. On PROFINET SF (2) On serial link SF (2) On PROFINET and serial link SF (2) (1): In the Disabled mode, the Digital output may be controlled by the Digital Output module if it is plugged in. (2): In these modes, the relay will be closed if there is a fault in the selected network: On PROFINET SF when communication with the PROFINET controller is lost. On serial Link when there is a communication error on the serial link. On PROFINET and serial link SF in case of both. 3.4 Configuration in TRANSPARENT mode In this mode, data exchange is full duplex, without the master/slave concept. It is required to define the size of frame received/sent by using the modules provided with the transparent mode. The frames detected on the serial link are immediately copied in the inputs bytes modules plugged in VPGate. Similarly, if the format of a serial frame is detected in the PROFINET outputs, this frame is immediately sent on the serial link. For this, it is required to define the trigger for reading/sending frames in the head module TRANSPARENT MODE. VPGate PROFINET to serial user manual June 2017 PROCENTEC 18/104

19 For VPGate to function in the transparent mode: Insert the TRANSPARENT mode head module: Figure 14: Inserting the TRANSPARENT Mode head module Then adapt the different parameters of the transparent mode: Figure 15: TRANSPARENT Mode parameters VPGate PROFINET to serial user manual June 2017 PROCENTEC 19/104

20 Name Description Possible values NULL (0x00) SPACE (0x20) LF (0x0A) EOF delimiter (1) Defines how an end of frame will be detected CR (0x0D) CR LF User defined Length in 1st byte (3) On timeout (2) (3) User defined EOF ASCII code of the end of frame character (where EOF delimiter = User defined) 0 to 255 Add frames counter (4) Defines whether a frame counter is added at the start of the PROFINET input and output frames. Enabled Disabled Add and control CRC 16 Specifies whether a CRC16 should be controlled in the data received on a serial link and added at the end of the data sent to the device on the serial link. Enabled Disabled Timeout (in ms) (5) Time that enables detecting an end of frame when the EOF Delimiter parameter is set to On timeout. def: 1000 ms 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 User defined EOF parameter. If it is set to on timeout, the reception timeout taken into account is the one defined in the configuration of the serial link. (2): If the parameter EOF delimiter is set to on timeout, only the frames received on the serial link will be detected on timeout. On the PROFINET side, the 1 st byte must is used to specify the length of the sent/received frame (refer to paragraph 3.4.1). This byte is not transferred on the serial link. (3): If the parameter EOF delimiter is set to length in 1st byte or to on timeout, the padding value is 0x00. (4): This counter is used as a trigger: If this parameter is activated, the 1 st byte of the PROFINET outputs must be a counter which is incremented each time data is available and is to be sent. The usable data starts from the 2 nd byte. If there is no counter, the frame is re-copied from the 1 st byte as soon as a change in the PROFINET outputs is detected. VPGate PROFINET to serial user manual June 2017 PROCENTEC 20/104

21 If this parameter is activated, the 1 st byte of the PROFINET inputs is incremented each time a new frame is received on the serial link. The usable data is copied after this counter. If there is no counter, the received frame is copied from the 1 st byte. Note: Each operating principle in the TRANSPARENT mode is described in detail in paragraph The Interframe Silence parameter in the TRANSPARENT mode: The Interframe silence parameter allows a waiting period between a reception and transmission of a frame: Figure 16: Interframe Silence in TRANSPARENT mode If no frame is detected, VPGate sends frames on the serial link without waiting for an inter-frame time. However if a frame is detected on RX, VPGate waits for the inter-frame time before sending the next frame Inserting and configuring modules in the TRANSPARENT mode In the transparent mode, the modules to be inserted depend on the maximum number of bytes that can be received or sent. If for example, a maximum of 128 bytes can be exchanged on the serial link, including sending and receiving, the modules "Input Bytes/128 bytes" and "Output Bytes/128 bytes must be inserted. VPGate PROFINET to serial user manual June 2017 PROCENTEC 21/104

22 Inserting modules: Figure 17: Inserting modules in the TRANSPARENT mode Up to 250 PROFINET input bytes and 250 PROFINET output bytes can be inserted. In the following examples, 128 input bytes and 128 output bytes are inserted. Please note that in the TRANSPARENT mode, the input or output modules must be adjoining. If you wish to insert one more Digital input/output module, then it must be inserted in the first or the last place. Operating principle Case in which the end of frame is detected using a specific character: In this example, the end of frame character is the ASCII CR code (0x0D). After receiving the 1 st byte on the serial link: If no byte is received during the timeout configured in the serial link configuration, an error is reported and the incomplete frame is not sent on PROFINET. If the received frame length is greater than the number of PROFINET input bytes and if the received frame is valid, an error is reported and the frame is truncated on PROFINET. If a change is detected in the PROFINET outputs: If there is an end of frame character in the frame, the data is sent on the serial link of the 1 st byte up to the end of frame character (included). Anything after that is ignored. VPGate PROFINET to serial user manual June 2017 PROCENTEC 22/104

23 Case in which the frame length is known: The 1 st byte must contain the number of bytes that follow. After receiving the 1 st byte on the serial link: If the expected bytes are not received after the timeout configured in the serial link configuration, an error is reported and the incomplete frame is not sent on PROFINET. If the received frame length is greater than the number of PROFINET input bytes and if the received frame is valid, an error is reported and the frame is truncated on PROFINET. If a change is detected in the PROFINET outputs: If the 1 st byte has a length greater than the number of PROFINET outputs, an error is reported and no data is sent. Case in which the end of frame is detected on a timeout: The 1 st byte of the PROFINET inputs indicates the number of bytes received. The 1 st byte of the PROFINET outputs must indicate the number of bytes to be sent. After receiving the 1 st byte on the serial link: In no byte is received during the timeout configured in the serial link configuration, the number of received characters is recorded in the 1 st byte of the PROFINET inputs, after which the received data is sent on PROFINET after this byte for the length. If the length of the received frame plus a length byte is greater than the number of PROFINET input bytes, an error is reported and the frame is truncated on PROFINET. If a change is detected in the PROFINET outputs: If the 1 st byte has a length greater than the number of PROFINET outputs, an error is reported and no data is sent. VPGate PROFINET to serial user manual June 2017 PROCENTEC 23/104

24 Trigger function of the frame counter: A frame counter, when activated, is added at the start of the PROFINET input and output frames. This counter is incremented for each new available frame. It is used to report the presence of a new received frame or to detect a new frame to be sent. Ci = Counter input Co = Counter output In this example, the length of the frames is known. The byte encoding the length in the PROFINET inputs and outputs is located at byte no. 2, after the counter. 3.5 Configuration in MODBUS Master mode To use VPGate in the MODBUS Master mode, follow the steps given below: Insert the MODBUS MASTER Mode head module: Figure 18: Inserting the MODBUS MASTER Mode head module Adapt the general parameters of the MODBUS MASTER Mode: Figure 19: General parameters of the MODBUS MASTER mode VPGate PROFINET to serial user manual June 2017 PROCENTEC 24/104

25 Name Description Possible values MODBUS protocol Selecting the type of encoding of information in MODBUS. RTU ASCII Timeout Time before the detection of a timeout upon the response of a slave. def: 1000 ms ms Retries if timeout Number of retries before reporting a timeout def: The Interframe Silence parameter in the MODBUS Master mode: Set the Interframe silence parameter to specify the minimum time delay taken into account by VPGate to send a new MODBUS request to a slave after having received the last response (refer to the figure given below): Figure 20: Interframe silence in MODBUS Master mode Inserting and configuring modules in the MODBUS Master mode Each module defines a sequence of exchanges between VPGate and the various MODBUS slave devices. The available modules are arranged according to the 3 types of access to the MODBUS data: Discrete inputs Registers Coils It is possible to configure up to 50 modules. VPGate PROFINET to serial user manual June 2017 PROCENTEC 25/104

26 Inserting the modules that allow access to the desired data: Figure 21: Inserting modules that allow access to the desired data Configuration of modules for accessing the Discrete inputs data: Figure 22: Configuration of modules with the MODBUS 1 function Name Description Possible values MODBUS Function MODBUS function to be sent. Read coils (0x01) Read discrete inputs (0x02) Cycle time (in ms) Cycle time for sending requests. def: 500 ms 0 (polling) ms MODBUS slave address Address of the MODBUS slave recipient. 1 to 247 (included) MODBUS offset where to read First slave offset where information is read Configuration of modules for accessing the Registers data: Read-only: VPGate PROFINET to serial user manual June 2017 PROCENTEC 26/104

27 Figure 23: Configuration of modules with the MODBUS 3 function Name Description Possible values MODBUS Function MODBUS function to be sent. Read holding registers (0x03) Read input registers (0x04) Cycle time (in ms) Cycle time for sending requests. def: 500 ms 0 (polling) ms MODBUS slave address Address of the MODBUS slave recipient. 1 to 247 (included) MODBUS offset where to read First slave offset where information is read Figure 24: Configuration of modules with the MODBUS 16 function Name Description Possible values Frame periodicity The Modbus frame may be sent: - periodically - when the PROFINET output values are changed Each cycle On change Cycle time (in ms) (1) Cycle time for sending requests. def: 500 ms 0 (polling) ms VPGate PROFINET to serial user manual June 2017 PROCENTEC 27/104

28 MODBUS slave address Address of the MODBUS slave recipient. 1 to 247 (included) MODBUS offset where to write First slave offset where information is written (1) This parameter is only valid when the Frame periodicity parameter is set to Each cycle. Read/Write: Figure 25: Configuration of modules with the MODBUS 23 function Name Description Possible values Cycle time (in ms) Cycle time for sending requests. def: 500 ms 0 (polling) ms MODBUS slave address Address of the MODBUS slave recipient. 1 to 247 (included) MODBUS offset where to read First slave offset where information is read MODBUS offset where to write First slave offset where information is written Configuration of modules for accessing the Coils data: Figure 26: Configuration of modules with the MODBUS 15 function VPGate PROFINET to serial user manual June 2017 PROCENTEC 28/104

29 Name Description Possible values Frame periodicity The Modbus frame may be sent: - periodically - when the PROFINET output values are changed Each cycle On change Cycle time (in ms) (1) Cycle time for sending requests. def: 500 ms 0 (polling) ms MODBUS slave address Address of the MODBUS slave recipient. 1 to 247 (included) MODBUS offset where to write First slave offset where information is written (1) This parameter is only valid when the Frame periodicity parameter is set to Each cycle. Operating principle: Figure 27: Operating principle in the MODBUS Master mode: Behaviour of the MODBUS Master according to PROFINET status The MODBUS Master of VPGate operates according to the PROFINET connection state. The values of data provided to Modbus slaves must be known during all the possible states of the PROFINET device. Three specific transitions are described here: Startup IO-Controller goes to STOP state (IO Producer Status data goes to BAD) Ethernet Link-down These transitions are described to ensure that the data provided by the VPGate MODBUS Master are always known. This is important when VPGate PROFINET is configured with output provided to MODBUS slaves. Startup: After receiving the modules configuration, VPGate MODBUS Master will try to execute the configured MODBUS scenario. At this state, the PROFINET connection is not yet finished, IO-Controlled IO Producer Status is bad and application ready is not yet transmitted so zeroed values will be provided to MODBUS salves. When IO-Controller IO Producer Status goes good, output are updated and provided to the MODBUS slaves. VPGate PROFINET to serial user manual June 2017 PROCENTEC 29/104

30 IO-Controller goes to STOP state (IO Producer Status data goes to BAD): When data provided by the IO-Controller are no longer good (IO Producer Status is bad), the VPGate MODBUS Master will keep sending the last good data it has received from the PROFINET IO-Controller. All Modbus scenarios will keep running, and the last good received data from PROFINET are provided to the MODBUS slaves. Ethernet Link-down: When the Ethernet link goes down, VPGate MODBUS Master will directly stop all the communication with Modbus slaves. Only last received values will be present in MODBUS slaves. 3.6 Configuration in the MODBUS Slave mode To use VPGate in the slave mode: Insert the MODBUS SLAVE Mode head module: Figure 28: Inserting the MODBUS SLAVE Mode head module Adapt the general parameters of the MODBUS SLAVE Mode: Figure 29: General parameters of the MODBUS Slave mode Name Description Possible values MODBUS protocol Selecting the type of encoding of information in MODBUS. RTU ASCII MODBUS slave address Configuration of the MODBUS address used by VPGate in the MODBUS SLAVE mode The Interframe Silence parameter in the MODBUS Slave mode: Set the Interframe silence parameter to specify the time delay taken into account by VPGate to respond to the last MODBUS request (refer to the figure given below): VPGate PROFINET to serial user manual June 2017 PROCENTEC 30/104

31 Figure 30: Interframe Silence in the MODBUS Slave mode The list of functions supported by VPGate in the MODBUS Slave mode is given below: 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-only mode, 118 in write-only Any request that includes a function code that is different from the function codes supported will be replied to with the exception Invalid Function. VPGate PROFINET to serial user manual June 2017 PROCENTEC 31/104

32 3.6.1 Inserting and configuring modules in the MODBUS Slave mode In the MODBUS Slave mode, the modules to be inserted depend on the number of inputs and outputs that need to be exchanged by the PROFINET controller. The entire VPGate exchange table is accessible on the MODBUS serial link end. In the read-only or write-only modes, a MODBUS master can directly access the VPGate data table, which is considered as a MODBUS register table in this case (4096 registers of which 2048 are available for exchanging input and 2048 for output data). The data is accessible after connecting to the PROFINET automaton: From the offset 0x0000 (0 in decimals): PROFINET inputs. From the offset 0x0800 (2048 in decimals): PROFINET outputs. In the slave mode, an OUTPUT REGISTER will be written by the PROFINET IO-Controller and read by the MODBUS Master. An INPUT REGISTER will be read by the PROFINET IO-Controller and written by the MODBUS Master. Example 1 The PROFINET IO controller wishes to read 64 bytes of data coming from MODBUS in VPGate. We thus insert a module with 32 registers in read-only mode Input Registers registers. These 64 bytes will be read on PROFINET cyclically. A MODBUS master must write the 32 registers from the offset 0x000 of VPGate (PROFINET input range). Example 2 The PROFINET IO controller wishes to write 16 bytes of data in order to make it accessible on the MODBUS end. We insert an output module with 8 registers Output registers 008 register. These 16 bytes will be cyclically written by the IO controller from the PROFINET. A MODBUS master can read the 8 registers by making a read request using the offset 0x0800 (2048 in decimals) in the VPGate MODBUS slave. VPGate PROFINET to serial user manual June 2017 PROCENTEC 32/104

33 Figure 31: VPGate operating principle in the MODBUS Slave mode VPGate PROFINET to serial user manual June 2017 PROCENTEC 33/104

34 4. Diagnostic 4.1 Diagnostic on the UDP port Information about the configuration, parameterisation and status of the functioning of VPGate are sent via the UDP protocol. This information can be viewed using a tool that displays ASCII data received on the UDP port. The properties of the UDP link are: Port: (DBE016) Destination IP address: Broadcast on the IP network of VPGate (example: on a network). When switched on, the following header is sent: When the gateway connects to PROFINET, the physical parameters of the MODBUS link are displayed. The configured exchanges are then displayed. In the following example, 1 exchange on MODBUS MASTER is configured: Corresponds to a Read 001 register module configured to use the MODBUS 0x03 function on the slave 0x01 with a cycle time of 500 ms. VPGate PROFINET to serial user manual June 2017 PROCENTEC 34/104

35 If the MODBUS link is correctly established, no additional message is displayed. Otherwise, a message reports the encountered error. In the following example, the MODBUS slave mentioned in the configuration of scenario 1 no longer responds. In the above case, the TIMEOUT error message is repeated twice since the Retries if Timeout parameter of the VPGate hardware configuration was previously set to 2. When the third error occurs, an additional message is displayed, stating that a fault has occurred. When the gateway is disconnected from PROFINET, the following message is displayed. 4.2 PROFINET diagnostic VPGate generates alarms if there is a communication problem for any exchange configured in the MODBUS MASTER mode. For the PROFINET alarms to be active (they are active by default), the Diagnostic alarms parameter must be set to Checked : Figure 32: Activation of the Diagnostic alarms mode The diagnostic information can then be processed by the automaton and is explained to the operator in the online mode of the engineering tool (e.g. SETP7). Example of an erroneous CRC in a MODBUS frame received: VPGate PROFINET to serial user manual June 2017 PROCENTEC 35/104

36 Figure 33: CRC error type alarm The significance of each error is explained in Appendix A. 4.3 Diagnostic Digital output If the Digital output is connected and if the Digital Output Mode parameter is set to any value other than Disabled (default value), the relay contact is activated if a default is detected. Figure 34: Selection of a value other than Disabled Net1: PROFINET Net2: Protocol on the Modbus or transparent serial link VPGate PROFINET to serial user manual June 2017 PROCENTEC 36/104

37 Name Description Possible values Disabled Digital Output Mode Defines the behaviour of the Digital output On PROFINET SF On serial link SF On PROFINET or serial link SF The relay is of the Normally Open (NO) type. The relay is thus open if there is no fault. If there is a fault, the relay closes. It remains closed until the fault is rectified. Note that if an output module is plugged into Digital Output, it is given priority over the command of the output relay if there is a fault. In the Disabled mode, the relay is not requested if there is a fault. In the On PROFINET SF mode, the relay will be closed if communication with the PROFINET IO controller is lost. In the On serial link SF mode, the relay will be closed if a fault is detected on the serial link (e.g. Timeout of the MODBUS slave, CRC error, Modbus function not supported by the slave, etc.) In the On PROFINET or serial link SF mode, the relay will be closed if communication with the IO controller is lost or when an error is detected on the serial link. VPGate PROFINET to serial user manual June 2017 PROCENTEC 37/104

38 5. Digital inputs/outputs 5.1 Digital output There are 2 possible operating modes if the Digital output is connected: Diagnostic output, configured via the parameters of the VPGate head module Digital output module that can be controlled from PROFINET if the Digital Output module is used. Diagnostic output: The parameter of the Digital Output Mode head module is configured to On PROFINET SF or On serial link SF or On PROFINET or serial link SF and Digital Output is not plugged in. The relay contact is activated if a communication fault is detected in the selected mode. Digital output module: The Digital Output Mode parameter in the head module is set to Disabled and the Digital Output module is inserted in the configuration. The relay contact is run by the least significant bit of the byte of the Digital Output module. Figure 35: Inserting a Digital Output module 5.2 Digital input If the Digital input is connected and the Digital Input module is inserted: If the input is 1, the least significant bit of the Digital Input module is set to 1. If the input is 0, the least significant bit of the Digital Input module is set to 0. VPGate PROFINET to serial user manual June 2017 PROCENTEC 38/104

39 Figure 36: Inserting a Digital Input module VPGate PROFINET to serial user manual June 2017 PROCENTEC 39/104

40 6. IP address configuration Since VPGate is a PROFINET IO device, its IP address is allocated by the IO controller of the PROFINET network via the DCP protocol. If the PROFINET connection is not established with an IO controller, the IP address of VPGate may be set manually using the DCP protocol via tools such as SIEMENS SIMATIC Manager or Primary Setup Tool. Moreover, for ease of access to the station, a default IP address ( ) may also be allocated via the switches on the front side of VPGate. 6.1 Configuration via the DCP protocol With the PROFINET configuration tool (e.g.: SIEMENS HW Config): Figure 37: Editing Ethernet stations 1. Selection of the station from the list of accessible PROFINET stations. The flashing functionality helps in distinguishing a particular device from several others of the same type by flashing the RUN indicator at a frequency of 4 Hz for VPGate. The selected station is identified by its MAC address. VPGate PROFINET to serial user manual June 2017 PROCENTEC 40/104

41 Figure 38: Selecting Ethernet stations 2: Definition of the IP parameters (IP address, subnet mask and optionally, the router address). 3: Validation of the parameters and transmission of data to VPGate. According to the configuration tool used, the IP configuration may either be temporary (reinitialised after being switched off) or persistent (saved in the non-volatile memory and reused after VPGate is switched on again). The IP parameters are always overwritten by the data sent by the IO controller to the PROFINET connection (refer to PROFINET standard): If this option is selected, the manually defined IP information will be overwritten when connected to the IO controller. Figure 39: Allocation of an IP address via the IO controller 6.2 Default configuration A switch enables resetting to a default configuration (@IP , mask ) when the VPGate Ethernet is switched on. The configuration takes place as follows: VPGate PROFINET to serial user manual June 2017 PROCENTEC 41/104

42 Figure 40: DIP switches Switch Position Description 1 ON OFF Default IP configuration User-defined IP configuration A PROFINET IO controller might replace the IP address when VPGate is switched on if its station name corresponds to the PLC program, even if the default IP configuration switch is activated. VPGate PROFINET to serial user manual June 2017 PROCENTEC 42/104

43 7. MRP redundancy 7.1 Functioning in the MRP Client MRP is a media redundancy management protocol. It can only be used with a ring topology. The principle is as follows: A Media Redundancy Manager (MRM) is selected on the network to open the ring and cyclically control the integrity of the ring. The other devices present on the ring are Media Redundancy Clients (MRC). MRM MRC MRC MRC Figure 41: Fault-free MRP redundant ring VPGate can be configured to integrate a MRP ring as a Client (MRC). 7.2 Configuration 2 1 Figure 42: Configuration in the MRP Client mode VPGate PROFINET to serial user manual June 2017 PROCENTEC 43/104

44 8. Modbus/TCP VPGate PROFINET integrates the MODBUS/TCP server and gateway functionality. This functionality is always active. 8.1 Operating principle In the read-only or write-only modes, a MODBUS/TCP client can directly access the VPGate data table, which is considered as a MODBUS register table in this case (65535 registers of which 4096 are available for exchanging input/output data). The data is accessible after connecting to the PROFINET automation: From the offset 0x0000: PROFINET inputs. From the offset 0x800: PROFINET outputs. Supported MODBUS functions: 1: Read coils 2: Read Discrete Inputs 3: Read Holding Registers 4: Read Input Registers 5: Write Single Coil 6: Write Single Register 7: Read Exception Status (reads the register at the offset 0x0000) 15: Write Multiple Coils 16: Write Multiple Registers 23: Read/Write Multiple Registers Figure 43: Data exchange in the MODBUS/TCP server mode This access is only possible if the UnitID field of the MODBUS TCP MBAP is set to a value greater than 247. If this value is less than or equal to 247, VPGate ETHERNET will function in the MODBUS/TCP gateway to serial mode. This UnitID field can normally be set by the MODBUS TCP client. The TCP port used is the standard port 502. VPGate ETHERNET can accept up to 3 simultaneous MODBUS/TCP connections. For more information about the MODBUS/TCP protocol, refer to the document - Modbus Messaging Implementation Guide [5]. VPGate PROFINET to serial user manual June 2017 PROCENTEC 44/104

45 8.2 Fault management If a corrupted frame is detected, the request is ignored and no response is sent to the MODBUS Master. If the frame received is correct but a protocol error is detected, a MODBUS exception is sent in response 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 is erroneous (e.g.: number of registers to be read is greater than the maximum value defined by the function code). Table 1: MODBUS exceptions returned by the MODBUS/TCP server protocol For more information about MODBUS/TCP exceptions, refer to the document [4]. 8.3 MODBUS/TCP GATEWAY TO MODBUS SERIAL mode Operating principle VPGate ETHERNET may be used in the MODBUS/TCP gateway MODBUS serial mode. In this mode, MODBUS/TCP requests are converted into MODBUS serial requests and are sent on the serial link. On the other hand, the responses received from the serial link are converted into MODBUS/TCP responses. This functioning is only possible if the UnitID field of the MODBUS/TCP MBAP is set to a value less than or equal to 247. This UnitID field can normally be set by the MODBUS/TCP client. This functionality is available in the following cases: VPGate is not connected to a PROFINET network (as soon as it is switched on). Only when VPGate is connected to a PROFINET IO controller in the MODBUS MASTER Mode. Figure 44: Data exchange in the MODBUS/TCP Gateway to MODBUS serial link mode VPGate PROFINET to serial user manual June 2017 PROCENTEC 45/104

46 In this operating mode, the transmission time of the MODBUS messages is longer than in the internal exchange table access mode. The bandwidth configured on the serial link affects the response time of VPGate on the MODBUS/TCP end. It is possible for a MODBUS/TCP request to be considered to have no response (timeout) by a client when the transit time extends the delivery time of the message. In this case, the better option would be to increase the timeout parameter of the requests on the client. For more information about the MODBUS/TCP protocol, refer to the document - Modbus Messaging Implementation Guide [5] Fault management Given below is a list of faults related to the MODBUS/TCP Gateway to MODBUS serial mode and their probable causes: Error MODBUS 0x0A exception response GATEWAY PATH UNAVAILABLE to the MODBUS/TCP request MODBUS 0x0B exception response GATEWAY TARGET DEVICE FAILED TO RESPOND to the MODBUS/TCP request Another MODBUS exception response to the MODBUS/TCP request. Response to a MODBUS/TCP request when no request has been issued on the serial link end. Probable cause The Gateway mode is deactivated. MODBUS Master serial link protocol is deactivated. No response on the serial link end. Frame error detected on the serial link end response (CRC, length) The exception received on MODBUS TCP corresponds to the exception sent by the slave on the serial link end. The value of the UnitID field of the MBAP TCP header is greater than 247. Table 1: Errors related to the MODBUS/TCP Server protocol in the Gateway mode VPGate PROFINET to serial user manual June 2017 PROCENTEC 46/104

47 9. Web server 9.1 Configuration web page To access the WEB server, a valid IP address must be configured. To configure this address, refer to page 40, chapter 6 IP address configuration. The home page is the following one: Figure 45: home page of the web server The web server of VPGate is composed of the following sections accessible through the left menu: System information: contains general information about the device Network settings: provides MAC and IP addresses SNMP informations: shows a summary of the MIB-2 system group information Ethernet statistics: provides statistics of the 2-ports switch embedded in VPGate PROFINET: shows PROFINET modules configuration and diagnostic list MODBUS: provides statistics of MODBUS operating over serial link File system: provides a way to explore, download or upload files on VPGate file system Firmware upload: used to upload a new firmware on VPGate Reboot: used to reboot the VPGate Passwords: used to change passwords for user and admin accounts Logout: used to switch between accounts Custom: link to the customized web pages (to be implemented by end user) Online monitoring of VPGate is available on the right of the web server and provides: Status of the fault NET1 and NET2 LEDs Status of the RUN LED Status of Tx/Rx LEDs on serial line VPGate PROFINET to serial user manual June 2017 PROCENTEC 47/104

48 DIP switch position for applying the default configuration DIP switch position for choosing between the RS-232 or RS-485 The update of the monitoring is realized every 250 ms. It is possible to disable it (enabled by default) by toggling the refresh button: Figure 46: enable/disabled the auto-refresh on web server It will also stop the 1s auto refresh of the currently selected menu. 9.2 Account management on the web server The web server is secured with an authentication system that is based on an identifier and a password: Identifier Admin User Default password Admin User Table 2: default identifiers and passwords for the web server It is possible to change between the accounts by using the Logout menu that will pop-up the authentication window. Identifiers cannot be altered, but the associated password can, through the Passwords menu. The user account has the following restrictions: VPGate PROFINET to serial user manual June 2017 PROCENTEC 48/104

49 Unable to load file on the file system using the explorer from the File system menu Unable to load a new firmware onto VPGate in the Firmware upload menu Unable to reboot VPGate using in Reboot menu Unable to modify passwords in the Passwords menu 9.3 System information menu This page shows the main information of the VPGate PROFINET to serial link: Name Device Name Manufacturer Description Name of the PROFINET station set to VPGate (empty string if no name set or after a DCP reset request) Name of the manufacturer of VPGate : PROCENTEC Order ID Product reference of VPGate : A Serial Number Firmware version Hardware version Build Up Time Serial number of VPGate (specific for each product) Defines the specific firmware version embedded in VPGate Defines the specific hardware version of VPGate Build date of the firmware embedded in VPGate Time spent since the last power up of VPGate Table 3: description of the field shown in the «System information» Two links are present under the table of information that are used to download: The GSD file needed in the engineering tool to import VPGate into the configuration The user manual These both documents are stored in archive files (.zip) and could be found on the file system. 9.4 Network settings menu This menu provides the MAC and IP addresses currently used by VPGate: VPGate PROFINET to serial user manual June 2017 PROCENTEC 49/104

50 Name MAC Address (internal) MAC Address (port 1) MAC Address (port 2) IP Address Subnetwork Mask Gateway Address Description MAC address used by VPGate CPU MAC address used by the port 1 of the switch MAC address used by the port 2 of the switch Current IP address of VPGate Current subnetwork mask of VPGate Current router address configured in VPGate Table 4: description of the fields shown in the «Network settings» page The IP parameters of VPGate PROFINET to serial link are generally set by the DCP protocol (Discovery and Configuration Protocol) from an IO-Controller or software. To keep consistency with the PROFINET configuration set by the IO-Controller, it is not possible to change the IP address by other means (only the DIP switch could be used to set a fixed default IP). 9.5 SNMP information menu This menu provides a resume of the MIB-2 system group: Name SysName SysDescription SysContact SysLocation SysUptime Description Name fo the device : VPGate Ethernet Description of the systeme : VPGate PROFINET to serial gateway Contact to use for information request : info@procentec.com Information on the location of the device in the system. Can be wrote with the SNMP protocol. Time spent since the last power up of VPGate Table 5: description of the fields shown on the «SNMP Information» page 9.6 Ethernet statistics menu This menu shows the statistics contained in the 2-ports switch embedded in VPGate. Statistics are shown in tables and a button is used to reset all the statistics: VPGate PROFINET to serial user manual June 2017 PROCENTEC 50/104

51 «Port configuration and status» Name Port Name Speed Enabled State Last change Description Port number (port1 and port 2 as specified on the device schematics) Identifier used for each Ethernet port (send to neighbors through LLDP) Speed configured on the port (10/100Mbits) State of the port (up = enabled / down= disabled) State of the Ethernet link (up= link OK / down = no link) Value of the SysUptime when the last event occured on the port (link up/down) Table 6: port configuration and status table description «Traffic types» Name Rx Unicast Rx Multicast Rx Broadcast Tx Unicast Tx Multicast Tx Broadcast Description Number of received unicast frames Number of received multicast frames Number of received broadcast frames Number of transmitted unicast frames Number of transmitted multicast frames Number of transmitted broadcast frames Table 7: traffic types table description «Frame sizes» Name Description 64 Number of frames recevied/transmitted with 64 bytes length Number of frames recevied/transmitted with from 65 to 127 bytes length Number of frames recevied/transmitted with from 128 to 255 bytes length Number of frames recevied/transmitted with from 256 to 511 bytes length VPGate PROFINET to serial user manual June 2017 PROCENTEC 51/104

52 «Frame sizes» Name Description Number of frames recevied/transmitted with from 512 to 1023 bytes length Number of frames recevied/transmitted with from 1024 to 1536 bytes length Table 8: frame sizes table description «Traffic» Name IN octets OUT octets IN frames OUT frames Bandwidth use Max use Description Number of received bytes Number of sent bytes Number of received frames Number of sent frames Percentage of bandwith currently used Maximum percentage of bandwith used Table 9: traffic table description «Frames errors» Name CRC Undersize Oversize IN frames discarded OUT frames discarded Collisions Description Number of frames having CRC/FCS (Frame CheckSum) errors Number of frames having a length smaller than 64 bytes Number of frames having a length greater than 1536 bytes Number of received frames discarded due to insufficient resources in the switch (buffer full) Number of frames to send discarded due to insufficient resources in the switch (buffer full) Number of collision detected Table 10: frame errors table description VPGate PROFINET to serial user manual June 2017 PROCENTEC 52/104

53 9.7 PROFINET menu The PROFINET modules configuration can be accessed in this page when a connection with an IO-Controller is established. If no connection is established with an IO-Controller, no module configuration will be set in VPGate and thus the page will be empty. The module configuration is presented with: The slot number where the module is plugged The name of the module The description of the parameters applied to this module Figure 47: PROFINET module configuration in the PROFINET page When PROFINET diagnostics messages are active, a list shows the involved modules and associated errors. Furthermore, in the modules configuration table, the involved modules are highlighted in red: VPGate PROFINET to serial user manual June 2017 PROCENTEC 53/104

54 Figure 48: PROFINET diagnostic list on the PROFINET page 9.8 MODBUS menu This menu provides statistics according to the current MODBUS mode selected. When the MODBUS Master mode is selected, the following information are shown: VPGate PROFINET to serial user manual June 2017 PROCENTEC 54/104

55 When the MODBUS Slave mode is selected, the following information are shown: The page is empty when the Transparent mode is selected. These statistics are updated every seconds by the web server. It is also possible to set the value to zero by clicking on the Reset button. 9.9 File system menu The file system page provides access to the files and directories of VPGate by the way of an embedded file browser on the web page. The current directory will always begin with /FLASH0 which is the root directory of VPGate. The total space and remaining space of the flash file system are shown in kilo-bytes. File size is indicated in the size column while directories are identified by the DIRECTORY indicator in the size column. Left-clicking on a directory will permit to browse it. Downloading a file is possible by right-clicking on it and selecting save link as as shown thereafter: Figure 49: downloading a file from the file browser in File system page It is possible to upload file onto the file system by using the upload file below the file browser. The current browsed directory will be used as destination. When the upload begins, a new line will show the progress of the operation: VPGate PROFINET to serial user manual June 2017 PROCENTEC 55/104

56 Figure 50: uploading a file from the file browser in File system page When the file upload is finished, the line will automatically disappear nad the file browser will refresh. Only the admin account is able to upload files on the file system. Caution: file browsing and uploading are not compatible with Internet Explorer. Theses functionalities have been tested and validated with Google Chrome (v ) and Mozilla Firefox (v31.0) web browsers Firmware upload menu This page will allow the admin account to upload a firmware to update VPGate. The firmware file shall be named image.bin. Other file names will be rejected. It is recommended to stop the PROFINET communication with an IO-Controller during the operation. The button Upload firmware will pop-up a dialog box used to select the file to load. The firmware upload will start and the page will show the progress of the file upload: Figure 51: loading of the firmware image on the Firmware upload page Figure 52: validating of the firmware image on the Firmware upload page When validation is finished, a reboot is needed to complete the firmware upload. A dialog box will pop-up to inform the user that the reboot is required: Figure 53: reboot pop-up box on Firmware upload page VPGate will reboot and apply the new firmware. This operation may take 1 minute during which the power supply shall not be disconnected. During this operation, the front panel indicators will remain off until VPGate restarts. The operation is completed when the RUN indicator blinks at 1Hz. To ensure the firmware has been applied properly, it is possible to check the version in the System information web page. VPGate PROFINET to serial user manual June 2017 PROCENTEC 56/104

57 Caution: file browsing and uploading are not compatible with Internet Explorer. Theses functionalities have been tested and validated with Google Chrome (v ) and Mozilla Firefox (v31.0) web browsers Reboot menu This page allows to restart VPGate. Only the admin account is able to perform this operation. Clicking on the reboot button will pop up a dialog box to confirm the reboot: Figure 54: reboot pop-up box on Reboot page 9.12 Passwords menu Passwords for admin or user account can be modified through this page: Figure 55: passwords modification on the «Passwords» web page The admin password is required to modify any account password ( current admin password text box)/ The account to modify can be choosen in the drop-down list named choose a login. It is required to enter the new password twice, for validity check. The new password will be applied after clicking on the save button if: The current admin password is correct The new password has been entered correctly into the two fields VPGate PROFINET to serial user manual June 2017 PROCENTEC 57/104

58 9.13 Logout menu Changing current user account can be done by clicking on the Logout menu, which will pop-up the authentication window: Figure 56: changing account with the«logout» web page 9.14 Customized WEB pages The WEB server can embed customized WEB pages. These WEB pages may be: Static HTML pages that have links to images, etc. Dynamic HTML pages that enable access to device data by using the JavaScript code and a specific API (set of functions) to interact with VPGate. HTML pages hosting JAVA applets that will be downloaded and run on the PC connected to the device and that also allow access to the device data via MODBUS/TCP requests, for example. The HTML pages, images, etc. may be placed anywhere and at any level of the file system Accessing data via personalised WEB pages This paragraph is only about accessing data via the CGI server of VPGate ETHERNET. The device data may also be accessed in read-only or write-only modes via any Internet browser. Two operating procedures may be used: Direct access to the referenced data table If field (address) is greater than 247, the request is interpreted as being meant for the VPGate internal data table: Figure 57: Direct access to the internal data table via a personalised WEB page VPGate PROFINET to serial user manual June 2017 PROCENTEC 58/104

59 Figure 58: Gateway mode via a personalised WEB page If field (address) is less than or equal to 247, the request is interpreted as being directly meant for a MODBUS slave device on the serial link. A MODBUS request is thus sent on the serial link and awaits a response. For this mode to function, the MODBUS Master serial link protocol must be activated (no PROFINET connection or DAP MODBUS MASTER plugged in). The MODBUS requests thus generated are inserted between the MODBUS requests configured on PROFINET. If a request arrives when a scenario is being executed, it is issued as soon as the ongoing scenario is completed An example of customised WEB pages Given below is an example of a customized WEB page provided with VPGate. It enables: browsing the submenus via tabs, periodically reading, in the Gateway mode, the temperature measured by a MODBUS serial device connected on VPGate, presenting a dynamic overview diagram of the system with a trend line and the system status, sending requests to read or write MODBUS registers to the device communicating on MODBUS serial. Figure 59: An example of a personalised WEB page VPGate PROFINET to serial user manual June 2017 PROCENTEC 59/104

60 This example uses JavaScript libraries and accesses device data via specific AJAX requests. For more information about the design of the example, refer to the Appendix D API AJAX Javascript. VPGate PROFINET to serial user manual June 2017 PROCENTEC 60/104

61 10. FTP SERVER An FTP server allows access to the file system. The connection uses the following parameters: IP address: Current IP address of VPGate Port: 21 Login: admin Password: admin (by default) FTP mode: passive The option for displaying hidden files is activated (-a). All operations for files and directories are accessible (reading/writing files, creating/deleting directories). An example of a connection with the FileZilla software ( STEP 1: Select the option Show hidden files : Figure 60: Selecting the option Show hidden files STEP 2: Enter the connection information. An Example is given below: Figure 61: Entering the connection information Figure 62: Local and remote file VPGate PROFINET to serial user manual June 2017 PROCENTEC 61/104

62 11. SNMP agent VPGATE Ethernet use SNMP V1 protocol as SNMP agent with the MIB 2 standard database. Through SNMP, a supervisor (Network Management Station) can read data from the VPGATE MIB 2 database and retrieve: General device information (system) Time spent since last powering up (system) Port states, link status and configured speed (interface) Received/send Ethernet frames statistics (interface) Received/send IP packets statistics (IP) Figure 63: MIB 2 VPGate PROFINET to serial user manual June 2017 PROCENTEC 62/104

63 SNMP V1 use a community key provided with request to authorize their execution. VPGate use the default values: Public community key for read operations : public Private community key for read/write operations : private VPGate PROFINET also provides extension linked to PROFINET Conformance Class B to standard MIB with LLDP MIB. This MIB holds topology data send by nearby devices. The data can be read by an SNMP client (in this example using HiVision ) that would be able to show the topology of the network being discovered. Figure 64: topology discovery LLDP MIB data could also be directly read by a MIB browser: Figure 65: SNMP browser VPGate PROFINET to serial user manual June 2017 PROCENTEC 63/104

64 12. Appendices Appendix A: list of PROFINET alarms Error type Error text Help text 8451 Modbus master failure during sending data 8455 Modbus master hardware general failure An error linked to the hardware has occurred when trying to send data over the line. A critical hardware failure occurred 8961 Modbus master invalid CRC in frame received from slave 8962 Modbus master invalid length in frame received 9731 Modbus master received illegal function exception 0x01 from slave 9732 Modbus master received illegal data address exception 0x02 from slave The frame CRC provided in the answer of the MODBUS slave is not correct. The frame length provided in the answer of the MODBUS slave is not correct. The function code received in the query is not an allowable action for the slave. This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the slave is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. Check the slave device documentation for more details about function codes that are supported. The data address received in the query is not an allowable address for the slave. More specifically, the combination of register address and transfer length is invalid. For a controller with 100 registers, the PDU addresses the first register as 0, and the last one as 99. If a request is submitted with a starting register address of 96 and a quantity of registers of 4, then this request will successfully operate (address-wise at least) on registers 96, 97, 98, 99. If a request is submitted with a starting register address of 96 and a quantity of registers of 5, then this request will fail with Exception Code 0x02 Illegal Data Address since it attempts to operate on registers 96, 97, 98, 99 and 100, and there is no register with address 100. Check the slave device documentation for more details about limitation of register address range. VPGate PROFINET to serial user manual June 2017 PROCENTEC 64/104

65 Error type Error text Help text 9733 Modbus master received illegal data value exception 0x03 from slave 9734 Modbus master received slave device failure exception 0x04 from slave 9735 Modbus master received acknowledge exception 0x05 from slave 9736 Modbus master received salve busy exception 0x06 from slave 9737 MMLS Scenario execution error: memory parity error exception 0x MMLS Scenario execution error: gateway path unavailable 0x0A 9739 MMLS Scenario execution error: gateway target device failed to respond 0x0B A value contained in the query data field is not an allowable value for the slave. This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. An unrecoverable error occurred while the slave was attempting to perform the requested action. Specialized use in conjunction with programming commands. The slave has accepted the request and is processing it, but a long duration of time will be required to do so. This response is returned to prevent a timeout error from occurring in the master. The master can next issue a Poll Program Complete message to determine if processing is completed. Specialized use in conjunction with programming commands. The slave is engaged in processing a longduration program command. The master should retransmit the message later when the slave is free. Specialized use in conjunction with function codes 20 and 21 and reference type 6, to indicate that the extended file area failed to pass a consistency check. The slave attempted to read record file, but detected a parity error in the memory. The master can retry the request, but service may be required on slave device. Specialized use in conjunction with gateways; indicates that the gateway was unable to allocate an internal communication path from the input port to the output port for processing the request. Usually means that the gateway is incorrectly configured or overloaded. Specialized use in conjunction with gateways; indicates that no response was obtained from the target device. Usually means that the device is not present on the network. VPGate PROFINET to serial user manual June 2017 PROCENTEC 65/104

66 Error type Error text Help text 9740 MMLS Scenario execution error: timeout 9741 MMLS Scenario execution error: bad address received 9742 MMLS Scenario execution error: bad function received 9743 MMLS Scenario execution error: bad data received The timeout has elapsed, meaning that the master sent a request to the slave and waited an answer for the time indicated in the timeout value, but no response has been received. Check that the slave is online, correctly connected and that its serial link configuration corresponds to the one used with the master. The address received in the response of the slave is not corresponding to the one used in the original query sent by the master. This means that the slave misunderstood the original address. The function received in the response of the slave is not corresponding to the one used in the original query sent by the master. This means that the slave misunderstood the original function code. In case of a write request, the data received in the response of the slave is not corresponding to the one used in the original query sent by the master. This means that the slave misunderstood the original data. VPGate PROFINET to serial user manual June 2017 PROCENTEC 66/104

67 Appendix B: MODBUS frame formats The MODBUS functions 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x0F, 0x10 and 0x17 are supported by VPGate. The format of each function is detailed with the help of an example for the ASCII and RTU mode. The CRC (MODBUS RTU) or LRC (MODBUS ASCII) bytes are mandatory. MODBUS RTU uses 8 bit data coding. MODBUS ASCII uses 7 bit data coding. Reminder: The address of a MODBUS register must be different from the number of the MODBUS register. For example, the register 1 is at the address 0x0000. The address of the register is what is used in a MODBUS frame. When the scenarios are configured, the address of the MODBUS register must also be used. Function 1 (0x01) This function enables reading the status 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: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x01 0x x30, 0x31 1 st high-order bit address 0x00 0x x30, 0x30 1 st low-order bit address 0x22 0x x32, 0x32 Number of high-order bits 0x00 0x x30, 0x30 Number of low-order bits 0x12 0x x31, 0x32 Error check (CRC/LRC) - 0x18 0xB5 92 0x39, 0x32 VPGate PROFINET to serial user manual June 2017 PROCENTEC 67/104

68 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code End of frame - - CR LF 0xD, 0xA Format of the response: Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x01 0x x30, 0x31 Number of data bytes 0x03 0x x30, 0x33 Status of the bits 0x29 to 0x22 0x59 0x x35, 0x39 Status of the bits 0x32 to 0x2A 0xC4 0xC4 C4 0x43, 0x34 Status of the bits 0x34 to 0x33 0x01 0x x30, 0x31 Error check (CRC/LRC) - 0x7B 0xE5 A5 0x41, 0x35 End of frame - - CR LF 0xD, 0xA Function 2 (0x02) This function enables reading the status of several Booleans (Discrete inputs). The broadcast is not supported. The number of Booleans to be read simultaneously with VPGate is limited to 2000 (16 bits x 125 registers). VPGate PROFINET to serial user manual June 2017 PROCENTEC 68/104

69 Format of the request: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x02 0x x30, 0x32 1 st high-order bit address 0x00 0x x30, 0x30 1 st low-order bit address 0x22 0x x32, 0x32 Number of high-order bits 0x00 0x x30, 0x30 Number of low-order bits 0x12 0x x31, 0x32 Error check (CRC/LRC) - 0x5C 0xB5 91 0x39, 0x31 End of frame - - CR LF 0xD, 0xA Format of the response: Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x02 0x x30, 0x32 Number of data bytes 0x03 0x x30, 0x33 VPGate PROFINET to serial user manual June 2017 PROCENTEC 69/104

70 Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Status of the bits 0x29 to 0x22 0x59 0x x35, 0x39 Status of the bits 0x32 to 0x2A 0xC4 0xC4 C4 0x43, 0x34 Status of the bits 0x34 to 0x33 0x01 0x x30, 0x31 Error check (CRC/LRC) - 0x3F 0xE5 A4 0x41, 0x34 End of frame - - CR LF 0xD, 0xA Function 3 (0x03) This function enables 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: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x03 0x x30, 0x33 1 st high-order register address 0x00 0x x30, 0x30 1 st low-order register address 0x22 0x x32, 0x32 Number of high-order registers 0x00 0x x30, 0x30 VPGate PROFINET to serial user manual June 2017 PROCENTEC 70/104

71 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Number of low-order registers 0x02 0x x30, 0x32 Error check (CRC/LRC) - 0x60 0xB9 A0 0x41, 0x30 End of frame - - CR LF 0xD, 0xA Format of the response: Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x03 0x x30, 0x33 1 st high-order register address 0x00 0x x30, 0x30 1 st low-order register address 0x22 0x x32, 0x32 Number of high-order registers 0x00 0x x30, 0x30 Number of low-order registers 0x02 0x x30, 0x32 Error check (CRC/LRC) - 0x60 0xB0 A0 0x41, 0x30 End of frame - - CR LF 0xD, 0xA VPGate PROFINET to serial user manual June 2017 PROCENTEC 71/104

72 Function 4 (0x04) This function enables 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: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x04 0x x30, 0x34 1 st high-order register address 0x00 0x x30, 0x30 1 st low-order register address 0x22 0x x32, 0x32 Number of high-order registers 0x00 0x x30, 0x30 Number of low-order registers 0x03 0x x30, 0x33 Error check (CRC/LRC) - 0x14 0xB9 9E 0x39, 0x45 End of frame - - CR LF 0xD, 0xA Format of the response: Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Frame header - - : 0x3A Slave address 0x39 0x x33, 0x39 Function code 0x03 0x x30, 0x33 VPGate PROFINET to serial user manual June 2017 PROCENTEC 72/104

73 Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Number of data bytes 0x06 0x06 "06" 0x30, 0x36 1 st high-order register value 0x00 0x x30, 0x30 1 st low-order register value 0x22 0x x32, 0x32 2 nd high-order register value 0x47 0x47 "47" 0x34, 0x37 2 nd high-order register value 0x59 0x59 "59" 0x35, 0x39 32 nd high-order register value 0x00 0x00 "00" 0x30, 0x30 32 nd high-order 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 enables writing a Boolean (coil) to ON or OFF. Broadcast is supported. The Boolean may take either the value 0x0000 (OFF) or the value 0xFF00 (ON). Format of the request: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x01 0x01 "01" 0x30, 0x31 Function code 0x05 0x05 "05" 0x30, 0x35 VPGate PROFINET to serial user manual June 2017 PROCENTEC 73/104

74 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code High-order register address 0x00 0x00 "00" 0x30, 0x30 Low-order register address 0x22 0x22 "22" 0x32, 0x32 High-order register value 0xFF 0xFF "FF" 0x46, 0x46 Low-order 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: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x01 0x01 "01" 0x30, 0x31 Function code 0x05 0x05 "05" 0x30, 0x35 High-order register address 0x00 0x00 "00" 0x30, 0x30 Low-order register address 0x22 0x22 "22" 0x32, 0x32 High-order register value 0xFF 0xFF "FF" 0x46, 0x46 Low-order register value 0x00 0x00 "00" 0x30, 0x30 Error check (CRC/LRC) - 0x2C 0x30 "D9" 0x44, 0x39 VPGate PROFINET to serial user manual June 2017 PROCENTEC 74/104

75 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code End of frame - - CR LF 0xD, 0xA Function 6 (0x06) This function enables writing a MODBUS register (Holding Registers). Broadcast is supported. Format of the request: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x06 0x06 "06" 0x30, 0x36 High-order register address 0x00 0x00 "00" 0x30, 0x30 Low-order register address 0x22 0x22 "22" 0x32, 0x32 High-order register value 0x00 0x00 "00" 0x30, 0x30 Low-order register value 0x56 0x56 "56" 0x35, 0x36 Error check (CRC/LRC) - 0xAD 0x46 "49" 0x34, 0x39 End of frame - - CR LF 0xD, 0xA VPGate PROFINET to serial user manual June 2017 PROCENTEC 75/104

76 Format of the response: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x03 "39" 0x33, 0x39 Function code 0x06 0x06 "06" 0x30, 0x36 High-order register address 0x0 0x00 0x00 "00" 0x30, 0x30 Low-order register address 0x0 0x22 0x22 "22" 0x32, 0x32 High-order register value 0x00 0x00 "00" 0x30, 0x30 Low-order register value 0x56 0x56 "56" 0x35, 0x36 Error check (CRC/LRC) - 0xAD 0x46 "49" 0x34, 0x39 End of frame - - CR LF 0xD, 0xA Function 7 (0x07) This function enables reading a status byte (Read Exception Status). This register corresponds to the address 0x0000. The broadcast is not supported. Format of the request: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 VPGate PROFINET to serial user manual June 2017 PROCENTEC 76/104

77 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Function code 0x07 0x07 "07" 0x30, 0x37 Error check (CRC/LRC) - 0x52 0x22 "C0" 0x43, 0x30 End of frame - - CR LF 0xD, 0xA Format of the response: Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x07 0x07 "07" 0x30, 0x37 Status value 0x14 0x14 "14" 0x31, 0x34 Error check (CRC/LRC) - 0xA3 0xF2 "AC" 0x41, 0x43 End of frame - - CR LF 0xD, 0xA Function 15 (0x0F) This function enables writing several Booleans (coils or Discrete outputs) to ON or OFF. Broadcast is supported. The number of Booleans to be written simultaneously with VPGate is limited to 1968 (16 bits x 123 registers). VPGate PROFINET to serial user manual June 2017 PROCENTEC 77/104

78 Format of the request: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x0F 0x0F "0F" 0x30, 0x46 1 st high-order bit address 0x00 0x00 "00" 0x30, 0x30 1 st low-order bit address 0x22 0x22 "22" 0x32, 0x32 Number of low-order bits to be written 0x00 0x00 "00" 0x30, 0x30 Number of high-order bits to be written 0x12 0x12 "12" 0x31, 0x32 Number of data bytes 0x03 0x03 "03" 0x30, 0x33 Value of the bits 0x29 to 0x22 0x2B 0x2B "2B" 0x32, 0x42 Format of the response: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x0F 0x0F "0F" 0x30, 0x46 1 st high-order bit address 0x00 0x00 "00" 0x30, 0x30 VPGate PROFINET to serial user manual June 2017 PROCENTEC 78/104

79 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code 1 st low-order bit address 0x22 0x22 "22" 0x32, 0x32 Number of low-order bits to be written 0x00 0x00 "00" 0x30, 0x30 Number of high-order 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 Function 16 (0x10) This function enables writing MODBUS registers (Holding Registers). Broadcast is supported. The number of registers to be written simultaneously is limited to 123. Format of the request: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x10 0x10 "10" 0x31, 0x30 1 st high-order register address 0x00 0x00 "00" 0x30, 0x30 1 st low-order register address 0x22 0x22 "22" 0x32, 0x32 Number of high-order registers 0x00 0x00 "00" 0x30, 0x30 Number of low-order registers 0x02 0x02 "02" 0x30, 0x32 VPGate PROFINET to serial user manual June 2017 PROCENTEC 79/104

80 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Number of data bytes 0x04 0x04 "04" 0x30, 0x34 High-order register value 0x52 0x00 0x00 "00" 0x30, 0x30 Low-order register value 0x52 0x56 0x56 "56" 0x35, 0x36 High-order register value 0x53 0x00 0x00 "00" 0x30, 0x30 Low-order 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: Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x10 0x10 "10" 0x31, 0x30 1 st high-order register address 0x00 0x00 "00" 0x30, 0x30 1 st low-order register address 0x22 0x22 "22" 0x32, 0x32 Number of high-order registers 0x00 0x00 "00" 0x30, 0x30 Number of low-order registers 0x02 0x02 "02" 0x30, 0x32 VPGate PROFINET to serial user manual June 2017 PROCENTEC 80/104

81 Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Error check (CRC/LRC) - 0xE5, 0x7A "93" 0x39, 0x33 End of frame - - CR LF 0xD, 0xA Function 23 (0x17) This function enables simultaneous reading and writing MODBUS registers (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 only implemented in the slave mode. Format of the request: Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x17 0x17 "17" 0x31, 0x37 1 st high-order register address in read-only mode 0x00 0x00 "00" 0x30, 0x30 1 st low-order register address in read-only mode 0x22 0x22 "22" 0x32, 0x32 Number of high-order registers in read-only mode 0x00 0x00 "00" 0x30, 0x30 Number of low-order registers in read-only mode 0x02 0x02 "02" 0x30, 0x32 1 st high-order register address in write-only mode 0x00 0x00 "00" 0x30, 0x30 1 st low-order register address in write-only mode 0x56 0x56 "56" 0x35, 0x36 VPGate PROFINET to serial user manual June 2017 PROCENTEC 81/104

82 Field name Value to be transmitted Bytes sent if RTU Bytes sent if ASCII ASCII code Number of high-order registers in write-only mode 0x00 0x00 "00" 0x30, 0x30 Number of low-order registers in write-only mode 0x57 0x57 "57" 0x35, 0x37 Number of data bytes 0x04 0x04 "04" 0x30, 0x34 High-order register value 0x52 0x00 0x00 "00" 0x30, 0x30 Low-order register value 0x52 0x56 0x56 "56" 0x35, 0x36 High-order register value 0x53 0x00 0x00 "00" 0x30, 0x30 Low-order 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: Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code Frame header - - ":" 0x3A Slave address 0x39 0x39 "39" 0x33, 0x39 Function code 0x17 0x17 "17" 0x31, 0x37 Number of data bytes 0x04 0x04 "04" 0x30, 0x34 1 st high-order register value 0x68 0x68 "68" 0x36, 0x38 VPGate PROFINET to serial user manual June 2017 PROCENTEC 82/104

83 Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII code 1 st low-order register value 0x31 0x31 "31" 0x33, 0x31 2 nd high-order register value 0x47 0x47 "47" 0x34, 0x37 2 nd high-order register value 0x59 0x59 "59" 0x35, 0x39 Error check (CRC/LRC) - 0xFD 0x95 "87" 0x38, 0x37 End of frame - - CR LF 0xD, 0xA MODBUS Exception frames An exception frame is generated by the MODBUS slave if the master requests it to carry out an unauthorised action. VPGate PROFINET MODBUS manages the following exceptions: Exception code Name Description 01 ILLEGAL FUNCTION This exception is returned by the slave if the master uses a function that the slave does not recognise. VPGate MODBUS only manages the functions 1, 2, 3, 4, 5, 6, 7, 15, 16 and ILLEGAL DATA ADDRESS This exception is returned if the master attempts to access an inaccessible MODBUS register. For example, VPGate is configured such that it has 10 registers in read-only mode (address 0 to 9) and 10 registers in write-only mode (address 0 to 9). An error is thus reported if the master tries to access register 20. This error also occurs if, for example, with a function 3, the master tries to read 20 registers from the register 1 (address 0). 03 ILLEGAL DATA VALUE This exception is returned if the master attempts to write data that the slave cannot accept. For example, with the function 5, the only possible data is 0x0000 and 0xFF00. In all other cases, the exception function 3 is sent back. VPGate PROFINET to serial user manual June 2017 PROCENTEC 83/104

84 Exception code Name Description 06 SLAVE BUSY This exception is returned by a MODBUS slave when it is already managing a process and is thus unable to respond to the request. 0A GATEWAY PATH UNAVAILABLE In the slave mode, this exception is sent in response to any MODBUS request when the PROFINET communication has not been established. Format of the exception frame: This exception frame is an example of a frame received in response to a function 6. The exception occurred because the master attempted to access an unauthorised register. The MODBUS function codes are 7-bit (codes 1 to 127). The 8th bit is reserved and serves to report an exception frame when it is set to 1. Field name Value to be received Bytes received if RTU Bytes received if ASCII ASCII 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 VPGate PROFINET to serial user manual June 2017 PROCENTEC 84/104

85 Appendix C: API, CGI, Javascript The web server offers a CGI interface which enables processing HTTP requests that are meant for the VPGate application. When the CGI requests are received by the web server, they are interpreted and then a HTTP response is sent back to the client. Only the POST method can be interpreted by the CGI server. The HTTP client must use it to interface with the CGI server. Unlike the GET method in which the variables are sent in the URL, POST allows directly sending the variables in the body of the HTTP request. The CGI server carries out a filtering process when it receives the requests. Only those requests that have the URL /UE/FLASH0/device will be processed by the CGI server. Requests that have a different URL will be ignored. The CGI messages are sent in the form of a character string: Definition of the format of the requests CGI requests must have a format comprising the following fields: Field Syntax Acceptable values Description Address A=Xh 0 to 247 Gateway mode. Corresponds to the address of the MODBUS slave addressee 248 to 255 Access to the exchange table 1 reading of one or more bits Function F=Xh 3 writing of one or more bits 15 writing of one or more bits 16 writing of one or more registers (16 bits) Offset O=Xh 0 to 0xFFFF defines the offset of the register or 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 VPGate PROFINET to serial user manual June 2017 PROCENTEC 85/104

86 Digital values are always expressed in hexadecimals format in CGI requests/responses. E.g.: for a request to read a register in the exchange table at offset 0: "A=F8&F=3&O=0&Q=1&V=0" (&: separator) E.g.: for a request to write the value 1Fh in the register, at the offset Fh, in a remote slave at the address 1. "A=1&F=10&O=F&Q=1&V=1F" When writing multiple registers, the values must be separated with the character ':' (two dots) in the field of the data to be written "V=". E.g.: writing of 5 registers, from the offset 2000 of a slave at the 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 will nevertheless be considered valid. Definition of the format of the responses The responses coming 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 VPGate PROFINET to serial user manual June 2017 PROCENTEC 86/104

87 Field Syntax Acceptable values Description 1 reading of one or more bits Function F=Xh 3 reading of one or more registers (16 bits) 15 writing of one or more bits 16 writing of one or more registers (16 bits) Offset O=Xh 0 to 0xFFFF defines the offset of the register or bit 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 that were accessed 1 to 2000 defines the number of bits that were accessed Exception E=Xh 0 to 0x0B The exception code returned following a request Data V= Xh Contains the data returned by the request E.g.: response to a response for reading 3 registers of the exchange table from the offset 0: "A=F8&F=3&O=0&Q=3&E=0&V=A:B:C" JAVASCRIPT returned exceptions: A request sent to the CGI server may be erroneous. In such a case, the CGI server will respond to the request with the exception value in the field 'E='. Exception code Significance Occurrence 0x00 No error Correct request 0x01 Invalid function Syntax error in the field of the function "F=" 0x02 Invalid data address The function code is not supported The address 0 can only be used with the functions 6, 15 & 16 (0x6, 0xF & 0x10) VPGate PROFINET to serial user manual June 2017 PROCENTEC 87/104

88 Exception code Significance Occurrence Syntax error in the field of the offset "O=" 0x02 Invalid data address The offset is greater than Access to this offset in the table is restricted 0x03 Invalid data value Syntax error in the field of the quantity "Q=" or in the field of the values "V=" The number of bits or registers does not correspond to the indicated quantity The quantity is greater than 127 at the time of an operation on the registers. The quantity is greater than 2000 at the time of an operation on the bits. 0x0A The gateway is not available or not configured properly The address of the slave is not between 0 and 255. The format of the CGI request is not complied with. 0x0B The MODBUS slave behind the gateway does not respond. The request was sent to the MODBUS slave, but no response was sent back. JAVASCRIPT FUNCTION LIBRARY JavaScript scripts are used to send CGI requests via the Web server. The function library provided is in the form of the file ag_cgi_asynchrone.js. It contains functions that enable creating and sending requests and then receiving responses. To include the synchronous library, the following line must be added in the tag <head><\head> of the home.html page: <script type="text/javascript" language="javascript" src="./js/ag_cgi_asynchrone.js" /> The directory called js, which contains ag_cg_asynchrone.js, can be found at the same level as the home.html file in the file system. VPGate PROFINET to serial user manual June 2017 PROCENTEC 88/104

89 Communication object: An object called ag_commobject that includes all the necessary fields is used to create requests. Once the request is sent, they will be updated automatically on receiving the response. Given below is the description of the ag_commobject class: ag_commobject - Address (integer): address of the slave - Function (integer): function used - Offset (integer): offset of the data - Quantity (integer): quantity of data - Data[] (table of integers): contains the values that are read or to be written - Exception (integer): exception code - WaitAnswer (Boolean): flag reporting that a response is being awaited from the CGI server + comm() (constructor): enables creating a communication object + init() (method): initialises all fields to 0 and wipes the table + getaddress() (accessor): returns the value of the Address property + setaddress(addr) (accessor): attributes the value addr to the Address property + getfunction() (accessor): returns the value of the Function property + setfunction(func) (accessor): attributes the value func to the Function property + getoffset() (accessor): returns the value of the Offset property + setoffset(offset) (accessor): attributes the value offset to the Offset property + getquantity() (accessor): returns the value of the Quantity property + setquantity(qty) (accessor): attributes 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): adds the value data later in the Data table + setdata(arraydata) (accessor): attributes the past table in the Data parameter VPGate PROFINET to serial user manual June 2017 PROCENTEC 89/104

90 ag_commobject + getexception() (accessor): returns the value of the exception property + setexception(ex) (accessor): attributes the value Ex to the exception property + getwaitanswer() (accessor): returns the value of the WaitAnswer flag + setwaitanswer(bool) (accessor): attributes the value bool to the exception property The communication object is a global variable of the ag_cgi_asynchrone.js file. It will be known and usable in all other JavaScript files included in this page. Functions: The basic functions of the asynchronous mode function differently, especially the request creation function. As a result, waiting for the response to the request in the asynchronous mode does not block the process. The script continues running during the time for which the request is processed by the CGI server. A callback function mechanism has been implemented to inform about the arrival of the response. CreateRequest (addr, MDBfunction, offset, qty, value, callback) To create a request, the function CreateRequest() is used, which accepts the fields of the request and a pointer on a callback function as parameters. As the first step, a XMLHttpRequest object is created: ag_httprequest = new XMLHttpRequest(); // Construction of the object The open() method of this object enables creating a HTTP request by specifying the method used, the URL and the mode: ag_httprequest.open( "POST", // Method "/UE/FLASH0/device", //URL true); // Asynchronous mode Only the POST method can be used, with a specific URL ( /UE/FLASH0/device ), to interface with the CGI server. The send() method of this object is used to send the request. The parameters define the character string that will be sent in the body of the request. The CreateRequest() function returns to 1 if it is terminated correctly; otherwise, it returns to 0 to indicate that the CGI server is busy. The response to the request is detected using the onreadystatechange event of the XMLHttpRequest object. This event is called when the loading status of the data changes. VPGate PROFINET to serial user manual June 2017 PROCENTEC 90/104

91 ag_httprequest.onreadystatechange = function() { if(ag_httprequest.readystate == 4) { ag_commobject.setwaitanswer(false); callback(ag_httprequest.responsetext); } } // Function on loading // Ready response // Processing complete // Callback call When the loading status is complete, it indicates that the response has been received in its entirety. The callback that will process the received data is called. ReadRequest (addr, MDBfunction, offset, qty, callback) This function enables sending a read request. As parameters, it receives the fields (address, function, etc.) of the request to be created and calls the CreateRequest() function with 0 as the data value parameter. The ReadRequest() function returns to 1 if the operation succeeds; otherwise it returns to 0 to indicate that the CGI server is busy. WriteRequest (addr, MDBfunction, offset, qty, value, callback) This function enables sending a write request. As parameters, it receives the fields (address, function, etc.) of the request to be created and calls the CreateRequest() function. The ReadRequest() function returns to 1 if the operation succeeds; otherwise it returns to 0 to indicate that the CGI server is busy. GetAnwserHeader (response) This function enables storing the values of the response header (address, function, offset, quantity, exception code) in the communication object. As parameters, it accepts the character string corresponding to the body of the response. In the ag_cgi_asynchrone.js file, these functions are used by other functions that have a defined role (reading multiple registers, writing multiple registers, etc.). The use of these functions should be preferred in the personalised WEB pages: ReadSingleRegister (ag_commobject, usercallback) This function enables reading a single register. The 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 on a JavaScript function of the user, to be executed after the reception of the response. The ReadSingleRegister() function returns: 1 if it is terminated successfully. 0 if the CGI server is busy. -1 if the data set in the parameters is incorrect (a dialogue box alerts the user and the communication object is reset to zero). VPGate PROFINET to serial user manual June 2017 PROCENTEC 91/104

92 After receiving the response, the communication object is updated with the received data. Then, the user callback is called. WriteSingleRegister (ag_commobject, usercallback) This function enables writing a single register. The 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 case of the table containing the value to be written. usercallback: pointer on a JavaScript function of the user, to be executed after the reception of the response. The WriteSingleRegister() function returns: 1 if it is terminated successfully 0 if the CGI server is busy -1 if the data set 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 received data. Then, the user callback is called. ReadMultipleRegisters (ag_commobject, usercallback) This function enables reading multiple consecutive registers. The parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the 1 st register to be read in decimals. ag_commobject.quantity: quantity of the registers to be read. usercallback: pointer on a JavaScript function of the user, to be executed after the reception of the response. The ReadMultiplesRegisters() function returns: 1 if it is terminated successfully 0 if the CGI server is busy -1 if the data set 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 received data. Then, the user callback is called. WriteMultipleRegisters (ag_commobject, usercallback) This function enables writing multiple consecutive registers. The parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the 1 st register to be written in decimals. ag_commobject.quantity: number of the registers to be written. ag_commobject.data[]: contains the values to be written. usercallback: pointer on a JavaScript function of the user, to be executed after the reception of the response. VPGate PROFINET to serial user manual June 2017 PROCENTEC 92/104

93 The WriteMultipleRegisters() function returns: 1 if it is terminated successfully. 0 if the CGI server is busy. -1 if the data set 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 received data. Then, the user callback is called. ReadSingleBit (ag_commobject, usercallback) This function enables reading a single bit. The 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 on a JavaScript function of the user, to be executed after the reception of the response. The ReadSingleBit() function returns: 1 if it is terminated successfully. 0 if the CGI server is busy. -1 if the data set 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 received data. Then, the user callback is called. WriteSingleBit (ag_commobject, usercallback) This function enables writing a single bit. The 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 case of the table containing the value to be written. usercallback: pointer on a JavaScript function of the user, to be executed after the reception of the response. The WriteSingleBit() function returns: 1 if it is terminated successfully. 0 if the CGI server is busy. -1 if the data set 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 received data. Then, the user callback is called. ReadMultipleBits (ag_commobject, usercallback) This function enables reading multiple consecutive bits. The parameters of the function are: ag_commobject.address: address of the slave in decimals. ag_commobject.offset: offset of the 1 st bit to be read in decimals. ag_commobject.quantity: quantity of the bits to be read. usercallback: pointer on a JavaScript function of the user, to be executed after the reception of the response. VPGate PROFINET to serial user manual June 2017 PROCENTEC 93/104

94 The ReadMultipleBits() function returns: 1 if it is terminated successfully 0 if the CGI server is busy -1 if the data set 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 enables writing multiple consecutive bits. The 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: quantity of the bits to be written. ag_commobject.data[]: contains the values of the bits to be written. usercallback: pointer on a JavaScript function of the user, to be executed after the reception of the response. The WriteMultipleBits() function returns: 1 if it is terminated successfully. 0 if the CGI server is busy. -1 if the data set 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 received data. Then, the user callback is called. Summary of the fields of the communication object 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 WriteMultipleBits M NR M M M NR O M = Mandatory O = Optional NR = Not VPGate PROFINET to serial user manual June 2017 PROCENTEC 94/104

95 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 PROFINET to serial user manual June 2017 PROCENTEC 95/104

96 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 PROFINET to serial user manual June 2017 PROCENTEC 96/104

97 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 AUSTRIA RELISTE T: Enzersdorfer Straße 8-10 F: A-2345 Brunn am Gebirge E: office@reliste.at Austria W: 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) / +86 (10) 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: VPGate PROFINET to serial user manual June 2017 PROCENTEC 97/104

98 DENMARK ProSaiCon T: Jernbanegade 23B F: DK 4000 Roskilde E: Denmark W: 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 PROCENTEC T: Bâtiment B F: , rue de la Briaudière E: jy.bois@procentec.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 Automation Combine T: / B.R. House 4 th Floor, F: / Hennur Main Road E: info@automationcombine.com Bangalore 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: VPGate PROFINET to serial user manual June 2017 PROCENTEC 98/104

99 JAPAN TJ Group T: C/O Japanese PROFIBUS Organisation F: West World Building 4F E: info@profibus.jp Higashi-Gotanda, Shinagawa-ku, Tokyo, Japan KOREA Hi-PRO Tech. Co., Ltd. T: #2802, U-Tower, 1029 F: Youngduk-dong, Giheung-gu E: chays@hiprotech.co.kr 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: PORTUGAL IndustrialSys T: Rua Alexandre Herculano 25 E: info@industrialsys.pt Mangualde, W: Portugal 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 VPGate PROFINET to serial user manual June 2017 PROCENTEC 99/104

100 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: 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 Controls 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 VPGate PROFINET to serial user manual June 2017 PROCENTEC 100/104

101 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 UNITED STATES Grid Connect Inc. T: W. Diehl Road F: Naperville, Illinois E: sales@gridconnect.com USA W: VIETNAM Bavitech Corporation T: Truong Son Street F: Ward 2, Tan Binh District E: hai.hoang@bavitech.com 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 PROFINET to serial user manual June 2017 PROCENTEC 101/104

102 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 in the Netherlands 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 the 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 PROFINET to serial user manual June 2017 PROCENTEC 102/104

103 16. Notes VPGate PROFINET to serial user manual June 2017 PROCENTEC 103/104

104 PROCENTEC BV Klopperman JD Wateringen The Netherlands T: +31 (0) F: +31 (0) E: W: VPGate PROFINET to serial user manual June 2017 PROCENTEC 104/104

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

VPGate Manual MODBUS/TCP to Serial

VPGate Manual MODBUS/TCP to Serial VPGate Manual MODBUS/TCP to Serial Content 1. Characteristics... 6 1.1 General characteristics...6 1.2 Electrical characteristics...8 1.3 Mechanical/Environmental characteristics...8 2. Hardware installation...

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

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

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

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

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

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

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

Additional instructions Videographic recorder LINAX DR3000. PROFINET Device

Additional instructions Videographic recorder LINAX DR3000. PROFINET Device Additional instructions Videographic recorder LINAX DR3000 PROFINET Device Table of contents: 1 General information... 3 1.1 Scope of delivery... 3 1.2 Firmware history... 3 1.3 Connections... 4 1.3.1

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

Quick Start Guide PROFINET Switch 4/8-port. Version. 1en.

Quick Start Guide PROFINET Switch 4/8-port. Version. 1en. Quick Start Guide PROFINET Switch 4/8-port Version 1en www.helmholz.de Contents 1. Introduction 3 2. Preparing the PROFINET switch 4 3. Project planning for PROFINET switch 4 4. Setting the port properties

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

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

Quick Start Guide PN/CAN-Gateway. Version. 1 en. from FW

Quick Start Guide PN/CAN-Gateway. Version. 1 en. from FW Quick Start Guide PN/CAN-Gateway Version 1 en from FW 1.00 www.helmholz.com Content 1. Introduction 3 2. Preparation of the PN/CAN-Gateway 3 3. Plan PN/CAN-Gateway 4 4. Configure PN/CAN-Gateway 5 5. Add

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

General information. Configuration control. Display. Control elements. Supply voltage

General information. Configuration control. Display. Control elements. Supply voltage Data sheet SIMATIC S7-1500, CPU 1516-3 PN/DP, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 1 MB FOR PROGRAM AND 5 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 2. INTERFACE: ETHERNET, 3. INTERFACE:

More information

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss Data sheet SIMATIC S7-1500, CPU 1516-3 PN/DP, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 1 MB FOR PROGRAM AND 5 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 2. INTERFACE: ETHERNET, 3. INTERFACE:

More information

Quick Start Guide PN/CAN Gateway Layer 2. Version. 2 en. ab FW

Quick Start Guide PN/CAN Gateway Layer 2. Version. 2 en. ab FW Version 2 en ab FW 1.02 Quick Start Guide PN/CAN Gateway Layer 2 www.helmholz.de Content 1. Introduction 3 2. Preparation of the PN/CAN Gateway 3 3. Configure PN/CAN Gateway 4 4. PN/CAN Gateway settings

More information

QUCM Limitorque Controller

QUCM Limitorque Controller QUCM Limitorque Valve Controller Application Manual QUCM Limitorque Controller Installation and Programming Manual This Manual describes the QUCM application for interfacing Limitorque Valve Actuators

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

IntesisBox Modbus Server KILSEN KSA-7xx. User s Manual 08/2013 r1.2 eng

IntesisBox Modbus Server KILSEN KSA-7xx. User s Manual 08/2013 r1.2 eng IntesisBox Modbus Server KILSEN KSA-7xx User s Manual 08/2013 r1.2 eng Intesis Software S.L. 2013 All rights reserved. Information in this document is subject to change without notice. The software described

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

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

General information. Configuration control. Display. Control elements. Supply voltage

General information. Configuration control. Display. Control elements. Supply voltage Data sheet SIMATIC S7-1500, CPU 1513-1 PN, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 300 KB FOR PROGRAM AND 1.5 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 40 NS BIT-PERFORMANCE, SIMATIC

More information

General information. Display. Control elements. Supply voltage

General information. Display. Control elements. Supply voltage Data sheet SIMATIC S7-1500F, CPU 1516F-3 PN/DP, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 1,5 MB FOR PROGRAM AND 5 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 2. INTERFACE: ETHERNET,

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

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss Data sheet SIMATIC S7-1500, CPU 1515-2 PN, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 500 KB FOR PROGRAM AND 3 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 2. INTERFACE: ETHERNET, 30 NS

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-7662 User Manual. Version 1.00, Jan Written by Ryan Lin

GW-7662 User Manual. Version 1.00, Jan Written by Ryan Lin GW-7662 User Manual Version 1.00, Jan. 2015 Written by Ryan Lin Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year, beginning from the

More information

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss

General information. Configuration control. Display. Control elements. Supply voltage. Input current. Power. Power loss Data sheet SIMATIC S7-1500, CPU 1511-1 PN, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 150 KB FOR PROGRAM AND 1 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 60 NS BIT-PERFORMANCE, SIMATIC

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

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

Gateway 1400 Reference Manual

Gateway 1400 Reference Manual Profibus-DP Gateway 1400 Reference Manual Copyright All Rights Reserved. No part of this document may be copied, reproduced, republished, uploaded, posted, transmitted, distributed, stored in or introduced

More information

VERSAMAX IP PROFINET SCANNER. 1 Description. GFK-2760 June 2012

VERSAMAX IP PROFINET SCANNER. 1 Description. GFK-2760 June 2012 June 2012 VERSAMAX IP PROFINET SCANNER 1 Description The device connects a VersaMax IP Modular station to a PROFINET IO network and is also used to acquire digital signals. This description applies to

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

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

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

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

Product type designation

Product type designation Data sheet SIMATIC DP, CPU 1512SP-1 PN FOR ET 200SP, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 200 KB FOR PROGRAM AND 1 MB FOR DATA, 1. INTERFACE, PROFINET IRT WITH 3 PORT SWITCH, 48 NS BIT-PERFORMANCE,

More information

Modbus/ PROFIBUS DP Gateway PM-160

Modbus/ PROFIBUS DP Gateway PM-160 Modbus/ PROFIBUS DP Gateway PM-160 REV 3.2 SiboTech Automation Co., Ltd. Technical Support: +86-21-5102 8348 E-mail: support@sibotech.net Table of Contents 1 About This Document... 3 1.1 General... 3 1.2

More information

PWR. Power Module Slots

PWR. Power Module Slots INSTRUCTION MANUAL ETHERNET INTERFACE MODULE (Modbus/TCP) MODEL BEFORE USE... Thank you for choosing M-System. Before use, please check the contents of the package you received as outlined below. If you

More information

ABB Drives. User s Manual. Modbus Adapter Module RMBA-01

ABB Drives. User s Manual. Modbus Adapter Module RMBA-01 ABB Drives User s Manual Modbus Adapter Module RMBA-01 Modbus Adapter Module RMBA-01 User s Manual 3AFE 64498851 REV A EN EFFECTIVE: 1.3.2002 2002 ABB Oy. All Rights Reserved. Safety instructions Overview

More information

MB40 & MB45 MODBUS TCP/IP Gateway Handbook

MB40 & MB45 MODBUS TCP/IP Gateway Handbook MB40 & MB45 MODBUS TCP/IP Gateway Handbook Version 1.2 29 July 2014 Environdata Australia Pty Ltd 42-44 Percy Street Warwick Queensland 4370 Australia Phone: (07) 4661 4699 Fax: (07) 4661 2485 International

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

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

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

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

General information. Display. Control elements. Supply voltage

General information. Display. Control elements. Supply voltage Data sheet SIMATIC S7-1500F, CPU 1511F-1 PN, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 225 KB FOR PROGRAM AND 1 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 60 NS BIT-PERFORMANCE, SIMATIC

More information

General information. Display. Control elements. Supply voltage

General information. Display. Control elements. Supply voltage Data sheet SIMATIC S7-1500F, CPU 1513F-1 PN, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 450 KB FOR PROGRAM AND 1.5 MB FOR DATA, 1. INTERFACE: PROFINET IRT WITH 2 PORT SWITCH, 40 NS BIT-PERFORMANCE, SIMATIC

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

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

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

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

General information. Configuration control. Control elements. Supply voltage. Input current. Power. Power loss. Memory

General information. Configuration control. Control elements. Supply voltage. Input current. Power. Power loss. Memory Datasheet SIMATIC DP, CPU 1510SP-1 PN FOR ET 200SP, CENTRAL PROCESSING UNIT WITH WORKING MEMORY 100 KB FOR PROGRAM AND 750 KB FOR DATA, 1. INTERFACE, PROFINET IRT WITH 3 PORT SWITCH, 72 NS BIT-PERFORMANCE,

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

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

User s Manual. Management Converter Chassis. Model No.: SP1386 / SP1387. World Wide Web: ;

User s Manual. Management Converter Chassis. Model No.: SP1386 / SP1387. World Wide Web:   ; User s Manual Management Converter Chassis Model No.: SP1386 / SP1387 World Wide Web: www.micronet.com.tw ; www.micronet.info Table of Content 1. INTRODUCTION... 2 1.1 PACKAGE CONTENT... 2 1.2 KEY FEATURES...

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

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

INTRINSICALLY SAFE DUPLEXER PROTECTION. ELECTRONICS, INC Vulcan Road Apopka, Florida MOTOR INSTRUCTION MANUAL

INTRINSICALLY SAFE DUPLEXER PROTECTION. ELECTRONICS, INC Vulcan Road Apopka, Florida MOTOR INSTRUCTION MANUAL INTRINSICALLY SAFE DUPLEXER INSTRUCTION MANUAL MOTOR PROTECTION ELECTRONICS, INC. 2464 Vulcan Road Apopka, Florida 32703 Phone: Website: (407) 299-3825 www.mpelectronics.com Operating Program Revision:

More information

Data sheet CPU 013C (013-CCF0R00)

Data sheet CPU 013C (013-CCF0R00) Data sheet CPU 013C (013-CCF0R00) Technical data Order no. 013-CCF0R00 Type CPU 013C Module ID - General information Note - Features Technical data power supply Power supply (rated value) Power supply

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

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

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

1. Introduction. Be sure to read the release notes in section 10 before operating the Unit.

1. Introduction. Be sure to read the release notes in section 10 before operating the Unit. 1. Introduction This manual describes the ways of configuring and monitoring the operation of the PROFINET IO Controller CJ1W-PNT Sample Version V0.00 V67.06 V0.00 (Internal release V6.29). Be sure to

More information

Anybus-CC CFW-11. User s Manual. Phone: Fax: Web: -

Anybus-CC CFW-11. User s Manual. Phone: Fax: Web:  - Anybus-CC CFW-11 User s Manual Anybus-CC User s Manual Series: CFW-11 Language: English Document Number: 0899.5750 / 06 Publication Date: 09/2013 CONTENTS CONTENTS... 3 ABOUT THE MANUAL... 6 ABBREVIATIONS

More information

GS Dupline Profinet Gateway. Benefits. Description

GS Dupline Profinet Gateway. Benefits. Description Dupline Profinet Gateway Benefits Profinet gateway with the function as a slave Up to 7 master generators can be connected via the HS RS485 bus (side connector) All Dupline signals from the master generators

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

Application RTU560 RJ45 RJ45. Management. Switch RJ45 RJ45. Switch 560NMS34 SDSL. Data Sheet Switch 560NMS34. Port 1. Port 2. Port 3.

Application RTU560 RJ45 RJ45. Management. Switch RJ45 RJ45. Switch 560NMS34 SDSL. Data Sheet Switch 560NMS34. Port 1. Port 2. Port 3. Switch 560NMS34 Application The RTU component 560NMS34 is a managed plug and play Layer2-switch providing four Fast auto-negotiating RJ45-ports with auto MDI/X (Automatic Crossover Detection and Correction)

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

User Guide IM/C250 MOD_3. Modbus (RTU) Communications Option C250 and V250

User Guide IM/C250 MOD_3. Modbus (RTU) Communications Option C250 and V250 User Guide IM/C250 MOD_3 Modbus (RTU) Communications Option C250 and V250 Electrical Safety This instrument complies with the requirements of CEI/IEC 61010-1:2001-2 "Safety requirements for electrical

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

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

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

SATEL I-LINK 100 MB I/O-converter User Guide, Version 1.1

SATEL I-LINK 100 MB I/O-converter User Guide, Version 1.1 TABLE OF CONTENTS TABLE OF CONTENTS... 1 IMPORTANT NOTICE... 2 PRODUCT CONFORMITY... 3 WARRANTY AND SAFETY INSTRUCTIONS... 4 1 GENERAL... 5 1.1 SATEL I-LINK 100 MODBUS I/O- CONVERTER... 5 2 SPECIFICATIONS...

More information

CVIC II - CVIL II - CVIR II - MULTICVIL II - Memory Mapping - Manual

CVIC II - CVIL II - CVIR II - MULTICVIL II - Memory Mapping - Manual 1/36 CVIC II - CVIL II - CVIR II - MULTICVIL II - Memory Mapping - Manual N - Copyright 2011, St Herblain France All rights reserved. Any unauthorized use or copying of the contents or part thereof is

More information

GE Grid Solutions. P485 Modbus to Profibus Converter. Instruction Manual. GE publication code: A2 (GEK A) LISTED * A2*

GE Grid Solutions. P485 Modbus to Profibus Converter. Instruction Manual. GE publication code: A2 (GEK A) LISTED * A2* GE Grid Solutions P485 Modbus to Profibus Converter Instruction Manual GE publication code: 1601-0237-A2 (GEK-113190A) LISTED *1601-0237-A2* Copyright 2017 GE Multilin Inc. All rights reserved. P485 Modbus

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

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

miface PN Universal Interface Profinet IO <-> Serial Interface RS232/485/422

miface PN Universal Interface Profinet IO <-> Serial Interface RS232/485/422 Universal Interface Profinet IO Serial Interface RS232/485/422 User Manual Index 1 GENERAL 3 2 SYSTEM OVERVIEW 3 3 TECHNICAL INFORMATION 4 3.1 Configuration of the Profinet Controller 5 3.2 Profinet

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

Operating Guide MODBUS (RTU) Communications Option IM/L150 MOD_2. Level Indicator L150 and L160

Operating Guide MODBUS (RTU) Communications Option IM/L150 MOD_2. Level Indicator L150 and L160 Operating Guide MODBUS (RTU) Communications Option IM/L150 MOD_2 Level Indicator L150 and L160 Electrical Safety This equipment complies with the requirements of CEI/IEC 61010-1:2001-2 "Safety requirements

More information

1. Introduction. 2. Installation MODBUS INTERFACE

1. Introduction. 2. Installation MODBUS INTERFACE 5551.C 8473.C MODBUS INTERFACE PIM-MB-1 Modbus Interface 1. Introduction AuCom soft starters can be controlled and monitored across an RS485 serial communication network using the Modbus RTU and AP ASCII

More information

MXM-50. Modbus Interface for Mitsubishi Air-Conditioning. Installation and User Guide.

MXM-50. Modbus Interface for Mitsubishi Air-Conditioning. Installation and User Guide. MXM-50 Modbus Interface for Mitsubishi Air-Conditioning Installation and User Guide www.innon.co.uk 1. Product Overview The Black Pear MXM-50 unit allows a Modbus building management system (BMS) to monitor

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

Copyright: December 2017 Nidec Issue: E

Copyright: December 2017 Nidec Issue: E General Information The manufacturer accepts no liability for any consequences resulting from inappropriate, negligent or incorrect installation or adjustment of the optional parameters of the equipment

More information

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page Title page GE Digital Energy D90 Plus Line Distance Protection System Communications guide D90 Plus firmware revision:.9x GE publication code: 60-9070-F (GEK-3469) GE Digital Energy 650 Markland Street

More information

Profinet Module. User Manual. Contents

Profinet Module. User Manual. Contents User Manual Contents 1 Important User Information... 2 2 Installation... 3 3 Connection... 4 4 Device Configuration... 5 5 Operation... 7 6 Packet Structures... 8 7 Network Design... 16 8 Specifications...

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

SIMATIC NET. S7-CPs for PROFIBUS. CP Extended for PROFIBUS. Manual Part B4

SIMATIC NET. S7-CPs for PROFIBUS. CP Extended for PROFIBUS. Manual Part B4 SIMATIC NET S7-CPs for PROFIBUS Manual Part B4 CP 443-5 Extended for PROFIBUS 6GK7 443-5DX04-0XE0 Version 1 or higher (Firmware Version V6.1 or higher) for SIMATIC S7-400 / S7-400H Status and fault LEDs

More information

RMx621. Appendix to the operating manual

RMx621. Appendix to the operating manual Appendix to the operating manual RMx621 DP-slave module ( PROFIBUS-coupler ) from V2.01.00 Connecting the RMx621 to PROFIBUS DP via the RS485 serial interface using the external module (HMS AnyBus Communicator

More information

R3-GE1 BEFORE USE... INSTALLATION POINTS OF CAUTION INSTRUCTION MANUAL ETHERNET INTERFACE MODULE MODEL. (Modbus/TCP)

R3-GE1 BEFORE USE... INSTALLATION POINTS OF CAUTION INSTRUCTION MANUAL ETHERNET INTERFACE MODULE MODEL. (Modbus/TCP) INSTRUCTION MANUAL ETHERNET INTERFACE MODULE (Modbus/TCP) MODEL BEFORE USE... Thank you for choosing M-System. Before use, please check contents of the package you received as outlined below. If you have

More information

Modbus Gateway User's Manual ADM-5850G

Modbus Gateway User's Manual ADM-5850G Modbus Gateway User's Manual ADM-5850G Functional introduction The Modbus protocol is the most widely used protocol in the electronic industrial equipment, and now it has become a general industrial standard.

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

ATK3 I/O Module (Modbus Slave)

ATK3 I/O Module (Modbus Slave) ATK3 I/O Module (Modbus Slave) 2011-01-13 The ATK3 I/O Module by ElectroCom Table of contents 2011-01-13...1 The ATK3 I/O Module by ElectroCom...1 1 Hardware...2 1.1 Inputs...3 1.2 Outputs...3 1.2.1 Relay...3

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

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