15.11.2014 Views

Telemetry Module MT-102 User's Manual - BlueNote Communications

Telemetry Module MT-102 User's Manual - BlueNote Communications

Telemetry Module MT-102 User's Manual - BlueNote Communications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

packet routing - useful for unambiguous definition of where in transmitted frames the<br />

recipient address is placed and how it is recorded without knowing the foreign protocol.<br />

In that case, routing table can be created to eliminate redundant transmissions.<br />

transmission channel reservation - diminishes transmitted data volume provided that<br />

multiple queries of one device are executed not knowing the foreign protocol. When<br />

channel reservation is employed only the first query is sent to all modules defined in<br />

Authorized IP numbers list. After reception of the response the module reserves, for a<br />

defined time, the direct communication channel with the module that responded to the<br />

last query thus creating a temporary point to point connection. The reservation time is<br />

counted since reception of last GPRS packet. Consecutive packets received from that<br />

module prolong channel reservation while sending packets does not prolong the<br />

reservation.<br />

When channel reservation time is set to 0 [sec], the module does not reserve channel<br />

and works in standard mode receiving and sending packets from all defined remote units.<br />

7.3. Modbus RTU Master mode<br />

In this mode, the module cooperates with the device acting as MODBUS RTU MASTER.<br />

The master sends queries addressed to Slave devices to module's PORT2.<br />

Upon reception of the frame at PORT2, the module verifies recipient device address. Since<br />

module's own resources are available in Modbus RTU Master mode under Modbus ID<br />

assigned to module, the instruction is carried out and replay sent to PORT2 (to the master)<br />

when matched with address.<br />

Frames with other Modbus ID addresses transmitted via GPRS are routed to other recipients<br />

on the basis of a table assigning IP addresses to Modbus IDs (routing table - redirection). In<br />

other words, <strong>MT</strong>-<strong>102</strong> acts as a router of packets sent from Master to remote Slave units. This<br />

mode enables creation of data acquisition system, where standard queries generated by PLC<br />

controller or any other device working in Modbus RTU Master mode. This solution is not<br />

recommended if master role is played by a PC running Windows 2000 or newer and collected<br />

data is used by applications capable of using data collected by OPC or written in CSV or SQL<br />

format.<br />

Following rules apply for Modbus RTU Master mode:<br />

Frames are sent only to recipients having Modbus ID matching address received via<br />

PORT2.<br />

All frames received at PORT2 are sent to recipients having Modbus ID=0 written in the<br />

table.<br />

Frames with address 0 (broadcast frames) are set to all recipients declared in the<br />

routing table.<br />

Repeating IP address in the table does not cause multiple transmission to the same<br />

recipient. This makes sending frames with different Modbus IDs to same IP recipient<br />

possible, connecting a large number of devices with various Modbus IDs to PORT2 of<br />

the remote module operating in MODBUS RTU Slave mode.<br />

The frame will be dispatched to recipient only when IP address is defined in Authorized<br />

numbers list of GPRS section and sending option is checked.<br />

After receiving frame via GPRS, the module checks if it is addressed to its internal<br />

resources (address matches declared Modbus ID). If that is the case, the instruction is<br />

carried out and confirmation sent to sender. This behavior enables creation of Multimaster<br />

systems securing proper data transmission and access to all resources of the<br />

system.<br />

If Modbus ID of received frame does not match module's ID, the frame is forwarded to<br />

PORT2 and may be received by the Master device.<br />

26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!