Modbus RTU Mirror operating mode MT module as
Modbus RTU Mirror operating mode MT module as local Modbus master Inventia sp. z o. o. All rights reserved
Necessary Software à à Microsoft Framework 1. 1 MTManager v 1. 0. 244 or higher MTData. Provider v 2. 6. 4 or higher Softing OPC or other OPC client All programs should be installed with default settings! Inventia sp. z o. o. All rights reserved
Configuring Modbus RTU Mirror operating mode Choose Modbus RTU Mirror as module operating mode. Inventia sp. z o. o. All rights reserved
Configuring Modbus RTU Mirror operating mode Set GPRS connection parameters (APN name, login and password) if required. Inventia sp. z o. o. All rights reserved
Configuring Modbus RTU Mirror operating mode Add IP address of central unit which will be collecting data sent from this device. Inventia sp. z o. o. All rights reserved
Configuring Modbus RTU Mirror operating mode Module is polling local Modbus network using settings from MODBUS Mirror mode section. In this example it is reading 14 registers from analog inputs address space starting from address 5 (6 in devices which start addressing from 1). Received data is stored in MT-101’s internal registers address space, in register which address is 96 (XREG 1) and 13 following registers. Inventia sp. z o. o. All rights reserved
Configuring Modbus RTU Mirror operating mode Modbus ID of MT unit should be unique in local Modbus network. Inventia sp. z o. o. All rights reserved
Configuring Modbus RTU Mirror operating mode It is essential to match port configuration with local Modbus network (device). Inventia sp. z o. o. All rights reserved
Configuring Modbus RTU Mirror operating mode The last step of configuration is to define a data sending rule which will transmit data read from local Modbus network and stored in MT module registers. P 1 flag used as trigger input is used in user program presented at the following slide. Inventia sp. z o. o. All rights reserved
Data analyzing program on MT module This program performs an analysis of the value read from external device and stored in XREG 1 register. If value of that register changes by 10 or more P 1 flag is set high. This triggers data sending rule. To prevent module from generating large amounts of data due to rapid changes of XREG 1 value, 5 second time filter is implemented. Inventia sp. z o. o. All rights reserved
Configuring MT-202 as server modem Set module operating mode to modem and enter PIN code. Notice! If this is the first time module logs into GPRS with this SIM card, please log it in GPRS using transparent mode then go back to modem mode. Inventia sp. z o. o. All rights reserved
Configuring MT-202 as server modem Set transmission speed. Inventia sp. z o. o. All rights reserved
Add hardware in Windows Control Panel In Control Panel click Add Hardware and add new modem to the operating system Inventia sp. z o. o. All rights reserved
Dial-up configuration Then in Control Panel click Network Connections and create new network connection to APN Entername accesofnumber connection Enter user name and password if needed Inventia sp. z o. o. All rights reserved
Dial-up configuration Connect MT-202 to the PC using PORT 2, click created connection icon and choose properties Tip: If the dial-up connection have failed, you can force handshake on the COM port from PC side: Inventia sp. z o. o. All rights reserved
Dial-up configuration In the Options tab set redialing options like on the right In the Networking tab chose TCP/IP protocol and click Properties button Click Advanced button Uncheck Use default gateway… checkbox Then click three times OK and then DIAL. After a while will see: Inventia sp. z o. o. All rights reserved
MTData. Provider OPC server configuration Configuration of MTData. Provider is stored in sample. xml file. To change it edit the file using text editor e. g. Notepad. Inventia sp. z o. o. All rights reserved
MTData. Provider OPC server configuration Remote module IP address Modem (MT-202) IP address Registers of MT module containing data read from PLC Inventia sp. z o. o. All rights reserved
Operating system schematics Modbus Network Resources MT-101 module (Local Master) ID 1 MT-101 Internal Registers PLC Analog inputs XREG 1 AI 5 XREG 2 AI 6 XREG 3 AI 7 XREG 4 AI 8 … … XREG 14 AI 18 Local Eventanalyzing Modbus driven GPRS network inquiry answer Data (usertransmission program) Inventia sp. z o. o. All rights reserved Programmable PLC (Slave) ID 10
Data from MT module presented by OPC client Inventia sp. z o. o. All rights reserved
Congratulations!!! You have configured your first Modbus RTU Mirror telemetry system using telemetry modules produced by In. Ventia If you have questions please contact Technical Support: +48 22 54 53 230 Inventia sp. z o. o. All rights reserved
- Slides: 21