Sei sulla pagina 1di 28

User manual

Modbus for SKF Multilog On-


line System IMx and SKF
@ptitude Observer

User Manual Part No. 15V-090-00051-100


Revision A

WARNING! - Read this manual before using this product. Failure to follow the
instructions and safety precautions in this manual can result in serious injury, damage
to the product, or incorrect readings. Keep this manual in a safe location for future
reference.

Copyright  2017 by SKF Group


All rights reserved.
SKF Sverige AB
Aurorum 30, 977 75 Luleå, Sweden
Telephone: +46 (0) 31 337 10 00, Fax: +46 (0) 920 134 40
SKF Group
® SKF is a registered trademark of the SKF Group.
All other trademarks are the property of their respective owners.
© SKF 2017

The contents of this publication are the copyright of the publisher and may not be reproduced (even extracts) unless
prior written permission is granted. Every care has been taken to ensure the accuracy of the information contained
in this publication but no liability can be accepted for any loss or damage whether direct, indirect or consequential
arising out of the use of the information contained herein. SKF reserves the right to alter any part of this publication
without prior notice.

Patents: US 4,768,380 • US 5,633,811 • US 5,679,900 • US 5,845,230 • US 5,852,351 •


US 5,854,553 • US 5,854,994 • US 5,870,699 • US 5,907,491 • US 5,992,237 • US 6,006,164 •
US 6,124,692 • US 6,138,078 • US 6,199,422 • US 6,202,491 • US 6,275,781 • US 6,301,514 •
US 6,437,692 • US 6,489,884 • US 6,513,386 • US 6,633,822 • US 6,789,025 • US 6,792,360 •
US 7,103,511 • US 7,697,492 • WO/2003/048714

Product Support – Contact Information

Product Support – To request a Return Authorization, Product Calibration or a Product Support Plan, use the web
page links for direct contact and support.

Product Sales - For information on purchasing condition monitoring products, services or customer support, contact
your local SKF sales office.

General Product Information

For general product information (i.e., product data sheet, accessories catalogue, etc.), visit the Condition Monitoring
Products page on SKF.com and select the appropriate product link.

Technical Support Group

Discuss/review issues of specific interest with maintenance and reliability specialists from around the world at the
SKF Knowledge Centre.

For technical support, contact TSG-EMEA@skf.com for customers in Europe, the Middle East and Africa.
Telephone +46 (0) 31 337 65 00
or TSG-Americas@skf.com for customers in North America, South America and Asia.
Telephone +1 800 523 7514
Telephone in Latin America +55 11 4448 8620

Product Registration

Please take a moment to register your product at www.skf.com/cm/register to receive exclusive benefits offered only
to our registered customers, including receiving technical support, tracking your proof of ownership, and staying
informed about upgrades and special offers. (Please visit our website for more details on these benefits.)

Tell us how we’re doing!

It’s important that you’re satisfied with the quality of our product user manuals. We appreciate your feedback; if you
have comments or suggestions for improvement, please tell us how we’re doing!

022017bt
Introduction
Modbus for SKF Multilog IMx devices

Table of Contents
Introduction .................................................................................................... 1-5
Modbus for SKF Multilog IMx devices ............................................................................................................ 1-5

About This User Manual .................................................................................................................................. 1-5

Important Messages ........................................................................................................................................ 1-7

Modbus over RS-485 ...................................................................................... 2-8


Terminal Blocks ............................................................................................................................................... 2-8

Transmission Characteristics .......................................................................................................................... 2-9

RS-485 Bus Termination ............................................................................................................................. 2-10

Modbus TCP/IP ............................................................................................. 3-13

Modbus and IMx .............................................................................................. 4-1


The Modbus Protocol ...................................................................................................................................... 4-1

Modbus Register, Modbus Channel and Measured Channel ....................................................................... 4-2

Bit Representation of Mask............................................................................................................................. 4-5

Configuring Modbus Capability for IMx ............................................................. 5-1


Configuration Scenarios .................................................................................................................................. 5-1

Export Data from IMx Modbus Slave to Generic Modbus Master ............................................................... 5-1

Import Data from Generic Modbus Master to IMx Modbus Slave ............................................................... 5-2

Import Data from Generic Modbus Slave to IMx Modbus Master ............................................................... 5-3

Data Transfer between IMx devices ............................................................................................................... 5-3

IMx-8 Modbus configuration in stand-alone mode ........................................... 6-1

Modbus Updates for SKF IMx and SKF @ptitude Observer 0–3
User Manual
Introduction
Modbus for SKF Multilog IMx devices

Interface and Troubleshooting ......................................................................... 8-2


Procedure ......................................................................................................................................................... 8-2

0-4 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Introduction
Modbus for SKF Multilog IMx devices

1
Introduction

Modbus for SKF Multilog IMx devices


Modbus is a communications protocol for connecting industrial electronic devices. SKF use
Modbus for interfacing between control systems and IMx-devices, among IMx devices and
between IMx devices with other equipment, such as sensors.

The Modbus feature is configured through the SKF @ptitude Observer software or the SKF
IMx Manager mobile application, when configuring an IMx-8 as a stand-alone device.

SKF Multilog IMx devices supports the Modbus RTU protocol over 2-wire RS-485 as well as
the Modbus TCP/IP protocol. This allows for setting up the devices as as Modbus Master or
Modbus Slave.

The following are common scenarios of when to use Modbus functionalities with IMx:

• To transmit data to a control system

• To receive data from a control system

• To receive data from sensors

• To exchange data between IMx devices (used only for testing)

About This User Manual


This user manual describes how to use Modbus with SKF Multilog IMx-S, IMx-W, IMx-C,
IMx-B, IMx-T and IMx-8 devices.

The document describes:

• How to physically configure Modbus/RTU protocol over RS-485 and cable


connections – Modbus (RS-485) Interface

• How to use Modbus capabilities – Modbus and IMx

• How IMx-8 Modbus is configured in stand-alone mode

• Troubleshooting

Notes:

Information on how to use Modbus with IMx-M devices is described in


"IMx-M User Manual", Rev O or later.

In writing this manual we assume you are familiar with common


Windows® operations. Refer to your Windows guides for information
in these areas.

Modbus Updates for SKF IMx and SKF @ptitude Observer 1–5
User Manual
Introduction
About This User Manual

As you use this manual, you’ll discover certain conventions used:

Bold type is used to indicate text that appears on a menu, window, or dialog.

Italics are used to emphasize important information.

- are used to indicate notes to the reader.

Related Documentation
Table 1-1: Related Documentation
Document Part No.
IMx-S User Manual, Rev R or later 32087700
IMx-W User Manual, Rev T or later 32146100
IMx-C User Manual, Rev E or later 32264900
IMx-B User Manual, Rev D or later 32293200
IMx-T User Manual, Rev G or later 32096300
IMx-8 User Manual, Rev A or later 15V-090-00049-100
IMx-M User Manual, Rev O or later 32179800
SKF @ptitude Observer user manual, Rev N or later 32170900
General Modbus protocol considerations for IMx devices CM3229-EN

1-6 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Introduction
Important Messages

Important Messages
The following messages are important information which requires special care to have a
safe and reliable SKF Multilog IMx device system.

Important messages, instructions and information in this manual must be


carefully followed. Otherwise, harm might occur to equipment and/or personnel.

IMx devices contain circuit boards that are static sensitive. Therefore, use
appropriate precautions to prevent Electrostatic Discharge (ESD) when handling circuit
boards.

DIP switch settings must be handled with special care to prevent any damage to
IMx device:
• Do NOT change DIP switch settings while the IMx device is powered-up, as this
may cause damage and void the warranty.

Before powering up the IMx device, make sure that DIP switch settings are properly set
to match the recommendations for the connected sensors. Incorrect settings may cause
permanent damage to the IMx device.

Modbus Updates for SKF IMx and SKF @ptitude Observer 1–7
User Manual
Modbus over RS-485
Terminal Blocks

2
Modbus over RS-485

Terminal Blocks
When using Modbus RTU, connect the Modbus wires to the RS-485 and ground
connectors that are available at the terminal block of the IMx device. The following
pictures show examples of how terminal blocks look on some IMx devices.

IMx-T RS-485 terminal block IMx-8 RS-485 terminal block

2-8 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Modbus over RS-485
Transmission Characteristics

IMx-W RS-485 terminal block IMx-S RS-485 terminal block

Figure 2 - 1.
Examples of RS-485 Terminal Blocks.

A = Non-inverting
B = Inverting
GND = Reference ground

Note that some RS-485 equipment have the A and B naming reversed. In that case,
connect the wires in reverse fashion to avoid the communication failure over RS-485.

When connecting IMx to a third-party equipment, refer to Notes on Implementation in


chapter 4, Modbus and IMx in this User Manual.

Transmission Characteristics
The supported transmission parameters are listed in the table, below. The most
commonly used values are marked with bold text.

Any combination of transfer rate, parity and stop bits can be chosen. However, these
parameters must match those of other equipment on the network.

Table 2-1: Supported RS-485 Transmission Parameters.


RS-485 Transmission Parameter Supported values
Transfer rate (bps) 9600 / 19200

Parity None / Even / Odd

Stop bits 1/2

Modbus Updates for SKF IMx and SKF @ptitude Observer 2–9
User Manual
Modbus over RS-485
RS-485 Bus Termination

RS-485 Bus Termination


SKF Multilog IMx-S, IMx-W, IMx-C, IMx-B and IMx-T devices have termination which is
controlled manually with a DIP switch.

If an IMx device is at the end or beginning of the RS-485 Bus, activate the built-in
termination resistor by setting a DIP switch.

Figure 2 - 2:
RS-485 Bus Conversion and End Termination.

DIP21 for IMx-S, IMx-C and IMx-B should be set as described in the table below. To
access DIP21 on the IMx-S, remove the front panel. On newer systems, there is a hole
in the front panel for DIP21 (no need to remove front panel).

Table 2-2: DIP Functionality


DIP21 settings Functionality with I/O board version less than v1.24
position 1234 (DIP21-switch with 4 positions)

0100 Termination resistor enabled RS-485

0000 Termination resistor disabled RS-485

DIP21 settings Functionality with I/O board version less than v1.24
position 123456 (DIP21-switch with 6 positions)

011010 Termination resistor enabled

001010 Termination resistor disabled

Set DIP3 for IMx-W as in the table below.

2 - 10 Modbus Updates for SKF IMx and SKF @ptitude Observer


User Manual
Modbus over RS-485
RS-485 Bus Termination

Table 2-3: RS-485 Termination DIP3 Settings


RS-485 termination DIP3

No termination 0000

Termination (default) 1000

Set ANA21 for IMx-T switch number 2 to ON. ANA21 can be accessed after removing
the IO board from the IMx-T rack.

Table 2-4: RS-485 Bus Termination Settings


RS-485 termination ANA21 switch number 2

Termination resistor enabled ON

Termination resistor disabled OFF

IMx-8 devices do not have DIP switches, to terminate an IMx-8 it is required to use an
external resistor (120 Ω) provided with the IMx-8.

Figure 2 - 3.
External Resistor for Modbus Termination with IMx-8 Devices.

IMx-S, IMx-C and IMx-B Modbus termination DIP switch (DIP21) boards pre v1.24

Figure 2 - 3.
Modbus Termination DIP Switch, Example 1.

Modbus Updates for SKF IMx and SKF @ptitude Observer 2 – 11


User Manual
Modbus over RS-485
RS-485 Bus Termination

IMx-T Modbus termination DIP switch (ANA21)

Figure 2 - 4.
Modbus Termination DIP Switch, Example 2.

2 - 12 Modbus Updates for SKF IMx and SKF @ptitude Observer


User Manual
Modbus TCP/IP
RS-485 Bus Termination

3
Modbus TCP/IP
Modbus TCP/IP is a partly different communications protocol compared with Modbus RTU.
The Modbus TCP/IP does not require a checksum calculation as lower layers of the TCP/IP
protocol stack already provide checksum protection. Another difference is that the Server
does not have a Slave address since it uses an IP address instead.

The difference between the two variants, regarding the structure of the messages used is
illustrated in the figure below.

Figure 3 - 1.
Difference Between Mudbus RTU and Modbus TCP/IP Messages.

In @ptitude Observer when Type Modbus TCP/IP is selected and the Mode is Slave, the
TCP/IP address is hidden and the Port number is read only. When Type Modbus TCP/IP is
selected and the Mode is Master, the TCP/IP address and Port fields are available. Enter the
TCP/IP address of the desired target device. Note that Port number is always set to
standard TCP server port 502 for communication.

Note: Apart from the communication settings, the configuration of measurement points to
be exported and the setup for the external channels when the IMx device imports data
either as a slave or as a master is the same for Modbus TCP/IP and Modbus RTU, as
described in chapters 4, Modbus and IMx and 5, Configuring Modbus Capability for IMx.

Note: To avoid confusion; there is also a third variant of Modbus, usually called Modbus over
TCP/IP, in which case pure Mudbus RTU messages are sent over TCP/IP. This variant is not
supported by the IMx products.

Modbus Updates for SKF IMx and SKF @ptitude Observer 3 – 13


User Manual
Modbus and IMx
The Modbus Protocol

4
Modbus and IMx

The Modbus Protocol


For a summary on what Modbus is and how it is related to IMx refer to the Application
note "CM3229-EN General Modbus Protocol Considerations for IMx Devices"

Details on how to configure the Modbus interface can be found on the SKF @ptitude
Observer user manual.

A commonly used architecture is to set up the devices as master and slaves. The
Modbus protocol allows for only one Master, but many Slaves on one bus.

Modbus Slave

• Modbus Slaves respond to requests from a Modbus Master.

• A Modbus Slave can export all its measured analogue vibration and digital
speed points to the Modbus input registers 1 to 100 at the request of any kind
of Modbus Master.

• A Modbus slave can import values to the IMx holding registers 1 to 32, also
known as Modbus external communication channels, at the request from any
kind of Modbus Master.

• Slave mode accepts the following operations:

• Read input registers (function code 4) and Write multiple registers


(function code 16). Writing to holding register 1-32 writes to Modbus
external channels 1-32.

• Read holding registers (function code 3) to read back holding registers


1-32. Initial value -32768 = Circuit fault (CF).

Modbus Master

• An IMx Modbus Master can read data from one Modbus Slave device.

• When an IMx Master is appropriately configured, the IMx holding register 1 to


32 can be used as external channels to read data from a slave. Modbus
external channels are available for analysis and gating in the same way as local
measured channels.

• In Master mode, the IMx polls the assigned slave as configured. If one poll is not
sufficient to read all specified data from the slave, further polls are performed
using a variable greedy algorithm. Blocks can be prematurely ended in
configuration (blockTerm) to avoid unreadable areas or optimize requests.
There can be up to three poll blocks. Variable overlap is not allowed.

Modbus Updates for SKF IMx and SKF @ptitude Observer 4–1
User Manual
Modbus and IMx
Modbus Register, Modbus Channel and Measured Channel

Notes on Implementation

• IMx Modbus Master only polls for data.

• Master polling rate is about 1 to 2 times per second.

• When used as a Slave, data can both be imported and exported.

• Mapping of exported measurement points to Modbus input registers is made as


shown in Table 4-1, below.

• Mapping of imported Modbus holding or input registers to Modbus external


channels is made as shown in Table 4-2, below.

• The read function code is 0x03 and 0x04.

• The write function code is 0x10.

• The data format is 16-bit signed integers.

• Modbus Slave speed channels are transmitted in cycles per minute (cpm).

• The number of available relay channels varies depending on the type of IMx
device.

Register Terminology

• 3xxxx = Input registers (read-only)

• 4xxxx = Holding registers (read/write)

Modbus Register, Modbus Channel and Measured Channel


The correspondence between exported measurement points and Modbus input
registers are listed in the following table.

Table 4-1: Correspondence Between Exported Measurement Points and Modbus


Input Registers.
Modbus Input Integer output Float output
Register
30001 to 30016 Configurable measurement point*
30017 Speed digital channel 1 Speed digital channel 1
30018 Speed digital channel 2
30019 Speed digital channel 3 Speed digital channel 2
30020 Speed digital channel 4
30021 Speed digital channel 5 Speed digital channel 3
30022 Speed digital channel 6
30023 Speed digital channel 7 Speed digital channel 4
30024 Speed digital channel 8
30025 Relay mask **

4-2 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Modbus and IMx
Modbus Register, Modbus Channel and Measured Channel

Modbus Input Integer output Float output


Register
30026 Alert mask**
30027 Danger mask**
30028 Heartbeat***
30029 System information and digital input status (FW N6.0)
Bit 0-7: Digital input ch 1-8
Bit 8-13: Reserved
Bit 14: Connected to server
Bit 15: Maintenance mode
30030 System diagnostic status (FW N6.0)
Bit 0-1: 0=No alarm, 1=Warning, 2=Danger, 3=Reserved
Bit 2-15: Reserved
30031 to 30100 Configurable measurement point *

*Any IMx measurement point can be selected and exported via Modbus on these
registers except Counter, Running hours and Gear inspector points.

**Mask is a 16-bit value which shows conditions of each channel in hex decimal.
See Bit Representation of Mask below for detailed information.

***Heartbeat register value (One-indexed) will update every read with none zero
positive values. To use it, verify that there is a difference between the last and next
value.

The correspondence between imported Modbus input and holding registers and Modbus
external communication channels are listed in the following table.

Table 4-2: Correspondence Between Imported Modbus Input and Holding


Registers and Modbus External Communication Channels.
Modbus Imported Modbus Input Imported Modbus Holding
external Register When IMx is a Register When IMx is a
Channel Modbus Master Modbus Slave

1 Configurable 40001

2 Configurable 40002

3 Configurable 40003

4 Configurable 40004

5 Configurable 40005

6 Configurable 40006

Modbus Updates for SKF IMx and SKF @ptitude Observer 4–3
User Manual
Modbus and IMx
Modbus Register, Modbus Channel and Measured Channel

Modbus Imported Modbus Input Imported Modbus Holding


external Register When IMx is a Register When IMx is a
Channel Modbus Master Modbus Slave

7 Configurable 40007

8 Configurable 40008

9 Configurable 40009

10 Configurable 40010

11 Configurable 40011

12 Configurable 40012

13 Configurable 40013

14 Configurable 40014

15 Configurable 40015

16 Configurable 40016

17 Configurable 40017

18 Configurable 40018

19 Configurable 40019

20 Configurable 40020

21 Configurable 40021

22 Configurable 40022

23 Configurable 40023

24 Configurable 40024

25 Configurable 40025

26 Configurable 40026

27 Configurable 40027

28 Configurable 40028

29 Configurable 40029

30 Configurable 40030

31 Configurable 40031

32 Configurable 40032

4-4 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Modbus and IMx
Bit Representation of Mask

Bit Representation of Mask


Bit representations of Relay Mask, Warning Mask and Alarm Mask can be combinations
of more than one channel condition. The following table lists those possible
combinations in channel numbers.

Table 4-3: Bit Representation for Relay Mask, Warning Mask and Alarm Mask.
Hexadecimal Bit Channel Hexadecimal Bit Channel
Representation Numbers Representation Numbers
0x1000 13 0x0010 5
0x2000 14 0x0020 6
0x3000 14, 13 0x0030 6, 5
0x4000 15 0x0040 7
0x5000 15, 13 0x0050 7, 5
0x6000 15, 14 0x0060 7, 6
0x7000 15, 14, 13 0x0070 7, 6, 5
0x8000 16 0x0080 8
0x9000 16, 13 0x0090 8, 5
0xA000 16, 14 0x00A0 8, 6
0xB000 16, 14, 13 0x00B0 8, 6, 5
0xC000 16, 15 0x00C0 8, 7
0xD000 16, 15, 13 0x00D0 8, 7, 5
0xE000 16, 15, 14 0x00E0 8, 7, 6
0xF000 16, 15, 14, 13 0x00F0 8, 7, 6, 5

0x0100 9 0x0001 1
0x0200 10 0x0002 2
0x0300 10, 9 0x0003 2, 1
0x0400 11 0x0004 3
0x0500 11, 9 0x0005 3, 1
0x0600 11, 10 0x0006 3, 2
0x0700 11, 10, 9 0x0007 3, 2, 1
0x0800 12 0x0008 4
0x0900 12, 9 0x0009 4, 1
0x0A00 12, 10 0x000A 4, 2
0x0B00 12, 10, 9 0x000B 4, 2, 1

Modbus Updates for SKF IMx and SKF @ptitude Observer 4–5
User Manual
Modbus and IMx
Bit Representation of Mask

Hexadecimal Bit Channel Hexadecimal Bit Channel


Representation Numbers Representation Numbers
0x0C00 12, 11 0x000C 4, 3
0x0D00 12, 11, 9 0x000D 4, 3, 1
0x0E00 12, 11, 10 0x000E 4, 3, 2
0x0F00 12, 11, 10, 9 0x000F 4, 3, 2, 1

As an example, if all channels were in alert other than Channel 11, Register 30026
would read 0xFBFF (binary 1111 1011 1111 1111), if only Channel 11 were in alert,
register 30026 would read 0x0400 (binary 0000 0100 0000 0000).

4-6 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Configuring Modbus Capability for IMx
Configuration Scenarios

5
Configuring Modbus Capability for IMx

Configuration Scenarios
The configuration of IMx devices is done through the SKF @ptitude Observer software.
Refer to SKF @ptitude Observer User Manual.

There are different procedures for configuring Modbus capabilities depending on the
scenario. Select a matching scenario and follow the steps.

• Export Data from IMx Modbus Slave to Generic Modbus Master

• Import Data from Generic Modbus Master to IMx Modbus Slave

• Import Data from Generic Modbus Slave to IMx Modbus Master

• Data Transfer between IMx devices

Export Data from IMx Modbus Slave to Generic Modbus Master


IMx Modbus Slaves can export data to generic Modbus Master via Modbus input
registers 1 to 100:

• All analogue measurement point types of IMx devices, except Gear inspector
points.

• All digital measurement point types of IMx devices, except Counter and Running
hours points.

Refer to Table 4-1 for the correspondence between exported measurement points and
Modbus input register numbers as described in the chapter 4, Modbus and IMx.

To configure an IMx as Modbus slave, follow the next steps:


1. When using Modbus RTU, determine RS-485 serial port parameters, such as bps,
parity and stop bit as described in Transmission Characteristics section, in the chapter
Modbus (RS-485) Interface. When using Modbus TCP, determine the TCP network
parameters such as slave IP address and port number.
2. Determine a unique Modbus Slave address for the device, to use in the Modbus
network.
3. Configure the device as a Modbus Slave by following the instructions in the SKF
@ptitude Observer user manual.
4. Configure the measurement points to be exported as described in the SKF @ptitude
Observer user manual.
5. In case of problem with establishing the Modbus communication, refer to Interface
and Troubleshooting.

Modbus Updates for SKF IMx and SKF @ptitude Observer 5–1
User Manual
Configuring Modbus Capability for IMx
Import Data from Generic Modbus Master to IMx Modbus Slave

Figure 5 - 1.
Example of Modbus Slave and Modbus Master using Modbus RTU.

Import Data from Generic Modbus Master to IMx Modbus Slave


IMx Modbus Slaves can import values from generic a Modbus Master via Modbus
holding registers 1 to 32.

To configure an IMx Slave device to read values from the Modbus Master, follow the
steps below.
• Decide which Modbus register is of interest to you.
• Translate the register number according to “Table 4-2: Correspondence
Between Imported Modbus Input and Holding Registers and Modbus External
Communication Channels " in Chapter 4, Modbus and IMx to determine which
Modbus external channel to set up.
• When using Modbus RTU, determine RS-485 serial port parameters, such as
bps, parity and stop bit as described in Transmission Characteristics section, in
the chapter, Modbus over RS-485. When using Modbus TCP/IP, determine the
TCP network parameters such as slave IP address and port number.
• Determine a unique Modbus Slave address for the device to that will be used
in the Modbus network.
• Configure the device as a Modbus Slave by following the instructions described
in the SKF @ptitude Observer user manual.
• Set up a Modbus external channel for the IMx Modbus Slave by following the
instructions described in the SKF @ptitude Observer user manual. Use the
Modbus external channel number from step 2.
• Create the measurement points associated to the Modbus external channels.
Refer to SKF @ptitude Observer User Manual.
• In case of problems with establishing the Modbus communication, refer to
Interface and Troubleshooting

5-2 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Configuring Modbus Capability for IMx
Import Data from Generic Modbus Slave to IMx Modbus Master

Import Data from Generic Modbus Slave to IMx Modbus Master


An IMx Modbus Master can import data from a generic Modbus Slave, regardless of if
they are holding or input registers, to Modbus holding registers 1 to 32.

To configure an IMx Master device to read values from the Modbus Slave, follow the
steps below.
1. Decide which register is of interest to you.
• Translate the register number as described in “Table 4-2: Correspondence
Between Imported Modbus Input and Holding Registers and Modbus External
Communication Channels " in the chapter 4, Modbus and IMx, to determine
which Modbus external channel to set up on the Master.
• When using Modbus RTU, determine RS-485 serial port parameters, such as
bps, parity and stop bit as described in Transmission Characteristics section, in
the chapter, Modbus over RS-485. When using Modbus TCP/IP, determine the
TCP network parameters such as slave IP address and port number.
• Find out the Slave address of the generic Modbus Slave with which IMx
Modbus Master will communicate.
• Configure the device as a Modbus Master by following the instructions as
described in the SKF @ptitude Observer user manual. Use the Modbus Slave
address from step 4.
• Set up Modbus external channels for the IMx Modbus Master by following the
instructions as described in the SKF @ptitude Observer user manual. Use the
Modbus external channel number from step 2.
• Set up an appropriate measurement point on the external channel, as created
in step 6.
• In case of issues stablishing the Modbus communication, refer to Interface and
Troubleshooting

Data Transfer between IMx devices


Transfer of measurement data from an IMx device to another IMx device is normally
used for test only.

To transfer data between two IMx devices, follow the listed steps in order.
1. Decide which device is to export data from and which device is to import data to:
2. The device which is to export data must be configured as a Modbus Slave.
3. The other device which is to import data must be configured as a Modbus Master.
• Decide which register is of interest to you.
• Translate the register number as described in "Table 4-1: Correspondence
Between Exported Measurement Points and Modbus Input Registers " and
"Table 4-2: Correspondence Between Imported Modbus Input and Holding
Registers and Modbus External Communication Channels" in the chapter 4,
Modbus and IMx.

Modbus Updates for SKF IMx and SKF @ptitude Observer 5–3
User Manual
Configuring Modbus Capability for IMx
Data Transfer between IMx devices

4. The corresponding Modbus channel number is used when setting up a channel on


the Master.
5. The corresponding measurement point and export register number is used when
setting up a channel on the Slave.
• When using Modbus RTU, determine RS-485 serial port parameters, such as
bps, parity and stop bit as described in Transmission Characteristics section, in
the chapter, Modbus over RS-485. When using Modbus TCP/IP, determine the
TCP network parameters such as slave IP address and port number.
• For the device that is to export data (Modbus Slave):
6. Configure a Modbus Slave with a unique Slave address on the export device by
following instructions as described in the SKF @ptitude Observer user manual.
7. Set up a channel (refer to SKF @ptitude Observer User Manual).
Use the corresponding measured channel number from step 3.
8. Set up a measurement point channel (refer to SKF @ptitude Observer User
Manual).
• For the device that is to import data (Modbus Master):
9. Configure a Modbus Master with the Slave address from step 5 to create a Modbus
Master-Slave pair. Follow the instructions described in the SKF @ptitude Observer
user manual.
10. Set up a Modbus channel by following the instructions described in the SKF
@ptitude Observer user manual.
11. Set up a measurement point (refer to SKF @ptitude Observer User Manual).
• In case of problems with establishing the Modbus communication, refer to
Interface and Troubleshooting.

5-4 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
IMx-8 Modbus configuration in stand-alone mode
Data Transfer between IMx devices

6
IMx-8 Modbus configuration in stand-alone mode
When an IMx-8 is configured as stand-alone with machine templates, all the Modbus
configuration is done via SKF @ptitude Observer and the only parameters editable on
the IMx Manager are the communication parameters, meaning that the Modbus
communication can be enabled or disabled or changed from RTU to TCP/IP. The
different registers configured are not editable from IMx Manager.

When an IMx-8 is configured as stand-alone with manual configuration, the Modbus


communication parameters are configured by default as:

• Modbus TCP/IP

• Modbus slave

• Port 502

Note that these parameters are editable as well as when Modbus RTU is selected.

For a Modbus slave device, all registers are automatically configured with respect to the
different measurement points created. These registers are configured in floating point
format so no scale is needed. When using floating point, every measurement will use a
pair of registers (i.e. measurement 1 on registers 1 and 2, measurement 2 on registers
3 and 4).

Table 6-1: Modbus Slave Device Automatic Register Configuration


Point Type DBID Modbus Trend/Modbus
Register Unit

Digital 99990000 + ch - -

Speed 99991000 + ch 17 + 2(ch – 1) cpm

Process 99992000 + ch 1 + 2(ch – 1) deg C

Vibration
99995000 + ch 33 + 2(ch – 1) g pk
(acceleration)

Vibration (velocity) 99996000 + ch 49 + 2(ch – 1) mm/s rms

Vibration (envelope) 99997000 + ch 65 + 2(ch – 1) gE p-p

Modbus Updates for SKF IMx and SKF @ptitude Observer 6–1
User Manual
Interface and Troubleshooting
Procedure

7
Interface and Troubleshooting

Procedure
To check that Modbus configurations are done correctly, perform the following steps:
1. Start @ptitude Observer On line device Configurator program located in the
@ptitude Observer directory.

Figure 8 - 1.
On line device Configurator.

Figure 8 - 2.
On line Configurator, Desired Actions.

• On the opening window, click Start serial interface for IMx. The Serial
interface dialog opens.

8-2 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual
Interface and Troubleshooting
Procedure

Figure 8 - 3.
On line device Configurator, Serial Interface Dialog.

• On the Serial interface dialog, select the COM port number and enter
Modbus in the Command box.
• Statistics on communication and the contents of the registers will appear
on the screen. The statistics are the following:
Frame errors (short and long)
Checksum errors
The number of messages sent
The number of messages received
The number of timeouts of requests
• A properly working Modbus communication should exhibit increasing
numbers of sent and received messages. However, it should not exhibit
significant increase of errors or timeouts.
• In case of errors or timeouts, check the following:
a. The physical connections of RS-485 cable wires are done correctly as
described in Modbus over RS-485.
b. The transmission characteristics are defined correctly as described in
Transmission Characteristics.
c. The Modbus Master-Slave pair address is entered correctly as
described in the chapter, Configuring Modbus Capability for IMx.

Modbus Updates for SKF IMx and SKF @ptitude Observer 8–3
User Manual
Interface and Troubleshooting
Procedure

• Verify that each IMx device, configured as a Modbus slave in the RS-485
bus, has a unique slave number.
• This process of checking the Modbus communication can be performed
several times during the installation/test, to diagnose the communication
activity, or the lack of it.

8-4 Modbus Updates for SKF IMx and SKF @ptitude Observer
User Manual

Potrebbero piacerti anche