ModbusNews_0808.pdf

(464 KB) Pobierz
Summer 2008
News
Open Tools for Modbus
Developers and Users
Were you aware that the Modbus Organization web site
includes among its technical resources, various links to free
tools for Modbus users and developers?
While these linked sites are not under the control of the
Modbus Organization and we are not responsible for the
contents of any linked site or any link contained in a linked
site, or any changes or updates to such sites, we provide
these links as a convenience. And although the inclusion of
any link does not imply endorsement of the site by the
Modbus Organization or imply approval of any content,
recommendation or application information found on
that site, they are well worth checking out.
That being said, we added three new resources this
summer for your review:
Modbus® applications for the Mac OS X operating
system.
ModBusProbe was developed by Matthew Butch
of Volitans Software and Rudy Boonstra of R Engineer-
ing Inc. to provide one of the necessary tools to use the
Apple Mac OS X platform for industrial control. Addi-
tionally, the framework ModBusKit was released to
encourage further software development.
MBServer.
A collection of programs and libraries
offering both client and server Modbus TCP functionality,
MBServer includes both stand-alone servers and clients, as
well as command line utilities and libraries which may be
incorporated in your own application. The software is
compatible with both Linux and MS-Windows and is
licensed under the GPL as Free Software.
Free Modbus Simulator.
Modbus RTU and TCP/IP
simulator intended as a master-tester and for users com-
missioning HMI/SCADA applications. This Modbus
Simulator has several features, emulates multiple slaves at
once; and makes C++ sources available.
The authors of these tools would welcome feedback.
Check out these and more on the
Modbus Technical
Resources
page:
http://www.modbus.org/tech.php
Download Presentation:
Integrating Modbus in CIP
Almost a year ago, ODVA extended the CIP standard to
provide seamless access to Modbus devices, requiring no
change for Modbus TCP and Modbus serial target
devices or EtherNet/IP target devices (CIP
Networks
Library Volume Seven: Integration of Modbus Devices into the
CIP Architecture, Edition 1.0).
Conforming solutions allow
Modbus devices to be
integrated and accessed from
CIP originators and software
tools, giving CIP originators
basic read/write access to data
in Modbus devices. Modbus
data is brought into the CIP
application in a way that is consistent with the CIP
communications model. Any device that can function as
a Modbus server device can be included in a CIP
network. This includes both simple devices, such as
HMIs, and complex devices, such as PLCs.
E-mail us (info@modbus-ida.org) for a copy of the
presentation on integrating Modbus into CIP that was
distributed at Hannover Fair in April 2008 (pdf format)
or download the presentation on the Modbus
Organization home page:
http://www.modbus.org
Welcome to New Modbus
Members!
Byres Security Inc
Guangzhou ZHIYUAN Electronics Co., Ltd.
NIVUS GmbH
Proportion-Air, Inc.
Softing North America, Inc.
Spinwave Systems, Inc
Wachendorff Prozesstechnik Gmbh & Co KG
News about the World’s Most Popular Industrial Protocol
Organization News • Organization News
Meet Some of Our Members...
Guangzhou ZHIYUAN Electronics
Co., Ltd.
is an embedded solution
provider in China. The company was
founded in 2001 and its headquarters is
located in Guangzhou. Guangzhou
ZHIYUAN Electronics’ industrial
communication department is
dedicated to the development of
advanced industrial communication
network technologies, providing high-
quality products, solutions, and services
with leading technologies including
Kalki Communication Technologies
is a leader in standards-based control,
communication and computing
solutions for the energy automation
industry.
integration and translation. The
company’s products are used for
power generation, transmission and
distribution, oil and gas, industrial
automaton, utilities, and remote
monitoring applications. Its industrial
gateways are ideal for integrating multi-
protocol industrial networks seamlessly
and enable data acquisition, historical
archiving as well as application
integration. OEM embedded modules
make it possible to integrate popular
industrial protocols easily and quickly
into OEM products.
(www.kalkitech.com)
Modbus, CAN-bus, DeviceNet,
Industrial Ethernet, and other field bus-
related application fields.
( www.embedcontrol.com)
Kalki helps organizations design,
develop, and deploy intelligent
products and systems that measure,
monitor, control, visualize, manage and
optimize the energy flow across the
entire energy value chain: exploration,
production, processing, conversion,
renewable energy, transmission,
distribution, trading, storage and
consumption.
Kalki’s product line includes secure,
field-proven gateways for protocol
Shouldn’t your
company be a
member?
Modbus Newsletter
This is the newsletter of Modbus-
IDA, the international nonprofit
organization devoted to the evolu-
tion and support of the Modbus
protocols.
For more information about
membership and other services of
Modbus-IDA, please refer to our
website: www.modbus.org
Newsletter Editor:
Lenore Tracey
+1-508-435-7170
lenore@modbus-ida.org
Copyright 2008 by the Modbus
Organization, Inc.
PO Box 628
Hopkinton, MA 01748
USA
ph +1-508-435-7170
fax +1-508-435-7172
info@modbus-ida.org
2
The Modbus-IDA Mission
Modbus-IDA is a group of independent users and suppliers of automation
devices that seeks to drive the adoption of the Modbus communication protocol
suite and the evolution to address architectures for distributed automation systems
across multiple market segments. Modbus-IDA will also provide the infrastructure
to obtain and share information about the protocols, their application and
certification to simplify implementation by users resulting in reduced costs.
Organization News • Organization News
Triangle MicroWorks
provides
communication protocol software
libraries, conformance testing software,
protocol gateways, and OPC drivers
for industry-standard communication
protocols such as Modbus, DNP3 and
IEC 60870-5. Its ANSI standard “C”
source code libraries are used by
equipment vendors to cost-effectively
implement Modbus, DNP3, and IEC
60870-5 communication protocols
Taiwan-based
Korenix
Technologies Co., Ltd.
is devoted
to designing and manufacturing
quality industrial networking and
communication products, such as
industrial managed and unmanaged
Ethernet switches, PoE managed and
unmanaged switches communication
computers, serial device servers, and
Ethernet-based I/O modules.
Korenix products can be found in a
wide variety of vertical markets
around the world, such as
transportation, automation, factory
and facility management, energy and
environmental monitoring, equipment
control, military, banking,
telecommunications, and medicine.
Korenix also provides custom
services.
Korenix recently won the 2008
Golden Penguin Award for its
JetBox 9300 Series, reflecting the
company’s determination to bring the
best embedded Linux solutions to its
target market.
(www.korenix.com)
Spinwave Systems
develops next-
generation wireless sensing products
and deployment tools specifically
designed for commercial building
automation to enable highly energy-
efficient building operations and
productive and healthy environments.
Spinwave’s products are designed for
system integrators to incorporate
wireless sensors into standard new
construction or retrofit and upgrade
projects with minimal change at a low
cost.
Products are designed to interface with
the broadest range of building
automation systems allowing a high
degree of flexibility.
The company’s product line includes:
Wireless sensors
Mesh repeaters/routers that
extend the range and node count of
wireless sensor networks.
Deployment tools, (e.g., a mobile site
survey tool, NetQuest™ software
for network commissioning and
maintenance).
Building Management System
interface options.
(www.spinwavesystems.com)
directly in the target hardware.
The communication protocol test
harness is a Windows application that
can easily be configured as a typical
master or slave device. Tcl/TK scripts
are available to perform conformance
test procedures published by the
technical committees of each protocol.
The Windows PC-based protocol
gateways are used by system integrators
and utilities as data concentrators and to
translate between communication
protocols. A full 21-day evaluation
version of the SCADA data gateway
and communication protocol test
harness applications may be
downloaded directly from Triangle
MicroWorks’ website.
(www.TriangleMicroWorks.com)
PROPORTION
www.proportionair.com
THE FUTURE OF CONTROL
3
Modbus-IDA Discussion Forums
Modbus Discussion
Q&A
Large Modbus Network...
In March, Yopy posed this question:
How to connect 400 Modbus devices
into Modbus network? As far as I
know Modbus protocol supports 255
devices, and if using RS-485, will only
support 31 devices + 1 Modbus
Master..
Jerry Miille replied:
It is not possible if all the Modbus
devices are on the same communication
network, because the Modbus address
field is only 8 bits wide. Thus you
cannot uniquely address 400 unique
locations.
If you can divide the 400 devices into
groups, then you can connect them all
to a single master.
The product to use goes by several
names such as Data Concentrator, IFE
(Intelligent Front End) or Polling
Master. There are other names as well;
Google any of these terms and you will
find more names.
The concept is that all these devices will
collect data from one or more
independent Modbus networks, each
network having several Modbus Slaves
and store the data collected into a single
“database”. That database can then be
accessed by another Modbus Master
using a single Modbus Address, thus
“concentrating” the data from many
Modbus Slaves into a single Modbus
address.
If you can split up your devices onto
several networks, then the problem
evolves to how much data you need to
collect (thus, how many “data
concentrators” do you need because
they will have a finite database size),
what kind of response time is required
(it takes time to update the database by
reading all the Modbus slaves) and very
significantly, if you are going to do
controls, that is send a command to
change an output from the single
Modbus master to one of the 400
4
From the Modbus Discussion Forum…
Modbus slaves, how long does it take
for the control to get to the proper
slave.
We have products that can function as a
data concentrator. See this link http://
www.miille.com/PCds.htm for data
sheets on our Omnii-Comm products.
Add your advice to this thread, at
modbus.control.com/1026244672.
signal to two wire RS-485. Then one
I-7561 to eavsedrop via USB (see
link below).
If the Modbus master or slave is a
PC, you might be able to use just
software, similar to using WireShark.
See http://www.tucows.com/
preview/301057 for example.
From Robert Scott:
Your idea of using two serial ports
on a PC is a good one. You will be
able to log the two separate data
streams (TxData and RxData) by
connecting them each to an RxData
input of a serial port.
But then you said timing was
important. This could be a problem.
Serial ports on a PC running
Windows or any other non-real-time
operating system will buffer the serial
data in their driver software so that
you will have difficulty time-stamping
the received characters with accuracy
any better than about 50 msec. This
means it might be difficult to see
how the two data streams interleave
or measure precise timing between
messages in the two streams. Are you
sure you need such precise timing
information?
Usually the data alone is sufficient to
debug protocol problems. If you
have some idea of the nature of the
failure you are trying to track down,
and it only happens once in a while,
then you might be able to program a
custom filter on the sniffing program
to look for suspicious patterns, rather
than just log all raw data.
Read more comments or add your
advice to this thread, at
modbus.control.com/1026244892.
Modbus Sniffing Serial Line...
On April 1, Patrick wrote to the
forum:
We have a working installation on
Modbus serial RS232 (point-to-point
connection).
I want to visualise the data that goes
over the line (like it is possible in
Ethernet in promiscuous mode with
Wireshark).
How can I do this?
I guess I have to build a sniffing tap
and have two serial ports in my PC? Or
can I convert it to RS485 and have this
signal in my PC?
I want to see the traffic of both, and
also timing is important. There are
some problems (+/- four times a day).
Curt Wuollet replied:
I’ve used the Frontline product and it
does work well for data capture, but if
you want to timestamp, I’ve had better
results under DOS. You can also hook
up a storage scope to the handshake
lines if you really want to unravel timing
issues. You can also get scatter data on
the timing and capture around NAKs.
Eric Ratliff suggested:
You would need three RS-485
converters; that should work. You
might not catch events where both ends
start transmitting at the same time
though. They should not do that, but
we know that something is wrong...
You could use two of our [ICP DAS
USA] I-7520 converters to get the
Ask a question or help a
fellow engineer on the
Modbus Discussion Forum:
modbus.control.com
a syndicated community of
Control.com
Spinwave Systems Announces New Wireless Pulse Counter
Spinwave Systems, Inc. produces wireless mesh networks for energy management and building automation. The company
recently announced its next-generation wireless pulse counter for monitoring energy consumption and water usage. The new
pulse counter replicates actual utility meter outputs dynamically, bringing the highest degree of responsiveness and accuracy to
wireless energy management, sub-metering, building systems monitoring, and demand response.
The data collected shows actual consumption of electricity, water, or gas at a location. The new
pulse counter also increases the range of environments in which wireless mesh systems can be
installed, enabling a greater number of businesses to implement these systems.
The pulse counter’s Adaptive Pulse Regeneration technology provides a groundbreaking way to
transmit meter data with a battery-powered device. Pulse counters dynamically reproduce utility meter outputs, resulting in
highly accurate, up-to-date data over wide demand ranges. This level of immediacy in data collection allows for better usage
monitoring, which translates into better control and verification of energy management and demand response programs.
The device supports both alkaline and lithium batteries, for extended battery life in extreme temperature environments. In
addition, it is specifically designed to increase battery life by conserving energy use. Each pulse counter goes to sleep between
data transmissions, wakes up when called upon to transmit data, then goes to sleep again. With this technology, batteries can
last up to eight years. The second generation of pulse counter continues to offer the high reliability, flexibility, and cost-
effectiveness found in the first generation of Spinwave products.
Spinwave’s wireless I/O module replicates the pulses of up to four meters, or meter data can also be made available using
Spinwave’s Modbus, LON, or BACnet gateways.
To learn more, please visit
www.spinwavesystems.com.
Modbus Products and Innovations
Softing Announces Version 2.0 of
Its Modbus OPC Server
Version 2.0 of the Modbus TCP OPC Server from Softing offers even greater functionality
and an even higher level of user comfort. It is now available for Windows Vista and Server
2008 as well. The OPC Server offers quick and convenient access to the I/O registers and
coils of any Modbus TCP device. An extra bonus of Softing’s product is its ability to act as
Modbus client and Modbus server at the same time. This product can help greatly reduce
system design costs with an installation time of only one minute, a simple and intuitive user interface, and the ability to import
the configuration from Excel. Support for symbolic variable names makes it easier to produce a clear system design with
direct reference to the actual equipment.
An integrated Web server provides (remote) diagnostics and visualization of process data and states
via a standard Web browser. Reading and writing the Modbus data in Visual Basic, Excel, and any
SCADA system is easy using the supplied OPC ActiveX Controls. The integrated, server-side OPC
tunnel also allows secure and efficient remote access to controller data without using DCOM —
even through firewalls. Additional system security is provided by configurable access control based
on user name and password.
For more information, go to Softing’s website:
http://www.softing.com/home/en/industrialautomation/products/opc/server/modbus-tcp.php.
Advertise Your Modbus
Products on the Modbus
Website
With our growing number of site visitors and the increasing
popularity of our device directory, what better place to advertise
your Modbus devices and software than at www.modbus.org?
E-mail lenore@modbus-ida.org for a rate sheet.
5
Zgłoś jeśli naruszono regulamin