Modicon TSX Momentum Manual Modbus Plus Nef
Modicon TSX Momentum Manual Modbus Plus Nef
User Guide
11/97
XXXXXX.00
Breite: 185 mm
Höhe: 230 mm
Breite: 178 mm
Höhe: 216 mm
Data, Illustrations, Alterations
Data and illustrations are not binding. We reserve the right to alter products in line
with our policy of continuous product development. If you have any suggestions
for improvements or amendments or have found errors in this publication, please
notify us using the form on one of the last pages of this publication.
Training
Schneider Automation offers suitable further training on the system.
Hotline
See addresses for the Technical Support Centers at the end of this publication.
Trademarks
All terms used in this publication to denote Schneider Automation products are
trademarks of Schneider Automation Incorporated.
All other terms used in this publication to denote products may be registered
trademarks and/or trademarks of the corresponding corporations.
Microsoft and MS-DOS are registered trademarks of Microsoft Corporation,
Windows is a brandname of Microsoft Corporation in the USA and other countries.
IBM is a registered trademark of International Business Machines Corporation.
Intel is a registered trademark of Intel Corporation.
Copyright
All rights are reserved. No part of this document may be reproduced or transmitted
in any form or by any means, electronic or mechanical, including copying,
processing or by online file transfer, without permission in writing by Schneider
Automation Incorporated. You are not authorized to translate this document into
any other language.
Contents
TSX Momentum
Modbus Plus Communication Adapters
170 NEF 110 21, 170 NEF 160 21 . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.1 Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.2 Physical Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.3 Network Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.4 Operating Voltages and Error Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.5 Environmental Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Network Communication Status Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Setting the Modbus Plus Node Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3.1 How Addresses are Assigned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3.2 Setting the Adapter’s Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Breite: 178 mm
Höhe: 216 mm
TSX Momentum
Modbus Plus
Communication Adapters
1
170 NEF 110 21
170 NEF 160 21
Model 170 NEF 110 21 provides one Modbus Plus port for single-cable networks.
Model 170 NEF 160 21 has two ports for single-cable or dual-cable networks.
Side Front
V iew V iew
Modbus Plus Port B
(170 NEF 160 21 only)
Communication
Adapter I/O Base Modbus Plus Port A
(both models)
Communication
Adapter
I/O Base
H Product Overview
H Network Communication Status Indicators
H Setting the Modbus Plus Node Address
1
Modbus Plus Communication Adapters
1.1.1 Function
These adapters are installed on any TSX Momentum I/O base to form a complete
I/O module that communicates on a Modbus Plus network. A programmable
controller on the network can then read from the input terminals and write to the
output terminals of the I/O base using Modbus Plus Peer Cop or MSTR Function
Block messaging. Data bits are transmitted and received in the 984 format.
For information about the application and field wiring of I/O bases, refer to the TSX
Momentum I/O Bases User Manual , part number 870 USE 002 00.
2
Modbus Plus Communication Adapters
Each model has a front panel indicator showing its network communication status.
The dual-cable model has two additional indicators which identify communication
errors on the two cable paths.
Modbus Plus
Communication Active
(Green)
(All models) MB+
ACT
Communication Error ERROR
Channel A A
(Red) B
(170 NEF 160 21 only)
Communication Error
Channel B
(Red)
(170 NEF 160 21 only)
Table 2 Modbus Plus Channel Error Indicators (170 NEF 160 21 only)
3
Modbus Plus Communication Adapters
Modbus Plus nodes are identified by addresses assigned to them by the user.
Each node must have a unique address in the range 1 ... 64. Duplicate addresses
are not allowed.
Figure 3 shows typical address assignments for a network with one controller and
four communication adapters.
Node 1
Programmable Controller
with Modbus Plus Port
4
Modbus Plus Communication Adapters
The address in the adapter’s front panel switches must correspond to the address
defined for that adapter in the application program. This is required to ensure that
messages will be sent and received properly at the intended nodes across the
network.
MB+
ACT
ERROR
A
B
X10
X1
5
Communicating W ith the Adapter
2
7
Communicating With the Adapter
Modbus Plus networks can be designed to efficiently service I/O field devices.
In such applications the timing of message transactions must be predictable to
allow deterministic timing of the I/O control process. To ensure this, the network
should consist of just one programmable controller node and the required group of
I/O nodes. Non-I/O devices, such as additional controllers, programmers, or
operator interfaces, should communicate with the I/O network controller through a
separate Modbus Plus network or other type of connection.
In distributed I/O applications, messages are transacted on the local network only.
Bridge Plus devices are not applicable to networks used for distributed I/O.
8
Communicating With the Adapter
Parameter Specification
max. number of nodes 64 including Controller
max. distance between two nodes 450 m (1500 ft)
min. distance between two nodes 3 m (10 ft)
max. length of network 450 m (1500 ft)
max. number of data words (16-bit words) 500 input, 500 output
max. number of I/O points (16 bits/word) 8000 input, 8000 output
9
Communicating With the Adapter
Node 1
Programmable
Controller
with
Modbus Plus
Port
Drop Cable
Node 3 Node 5 Node 4 Node 2
with
I/O bases
10
Communicating With the Adapter
The user defines I/O message transactions in the Peer Cop table of the controller.
Entries to the table are made using panel software, such as Schneider’s Concept
or Modsoft software.
The Peer Cop table specifies the controller registers that are to be used for the I/O
data storage. It also specifies the Communication Adapter node addresses which
will handle that data.
In addition to the use of Peer Cop, I/O data messages can be transacted using
Modbus Plus MSTR function blocks in the controller’s application program.
The user sets each Communication Adapter’s node address in switches on the
adapter’s front panel. The switch setting must match the address defined for that
adapter in the controller’s Peer Cop table. It must also match the address in
MSTR function blocks intended for that adapter.
The controller reads the message and steers its contents into the data registers
defined for that adapter’s address in the controller’s Peer Cop table.
11
Communicating With the Adapter
Mapping of data between the controller’s data registers and the field terminals of
I/O bases is unique to each model of I/O base. Mapping is described in the TSX
Momentum I/O Bases User Manual, part number 870 USE 002 00.
12
Communicating With the Adapter
Each adapter contains three groups of internal registers that enable the application
program to communicate with the I/O base module. The application can access
the registers through the network to transfer input or output data at the module’s
field terminals, to set or retrieve the module’s configuration, or to monitor its status.
MODBUS STARTING
PLUS REFERENCE LENGTH
NETWORK (Hex / Decimal) (16-Bit Words)
DATA REGISTERS
CONFIGURATION REGISTERS
MODULE TIMEOUT
(Read or Write) 4F001 / 461441 1
MODULE OWNERSHIP
(Read or Write) 4F401 / 462465 3
STATUS REGISTERS
MODULE STATUS
(Read Only) 4F801 / 463489 12
13
Communicating With the Adapter
The register’s contents can be read using a Modbus Plus Read command.
14
Communicating With the Adapter
The block’s length is 12 words. The registers can be read, but cannot be written
into.
The block length depends upon the type of I/O base to which the adapter is
connected. The maximum length is 64 bytes of ASCII characters, corresponding
to a length of 8 ... 32 words as specified in word 6 of the module status block (at
reference 4F806).
The following table shows the header block layout as a string of ASCII characters
as they are positioned from the starting reference 4FC01.
15
Communicating With the Adapter
4FC01 + ASCII
Byte Offset Characters Meaning
0 ... 10 MODBUS PLUS Modbus Plus network device
11 20 hex (32 decimal) space
12 20 hex (32 decimal) space
13 14 15 9 8 4 984 data mode (Data bit order per 984 standard)
16 20 hex (32 decimal) space
17 18 19 D I G Digital module (ID range: XX00 ... XX7F hex)
E X P Expert module (ID range: XX80 ... XXBF hex)
A N A Analog module (ID range: XXC0 ... XXFE hex)
20 21 HHLL Module ID code
(HH = high byte, LL = low byte)
22 23 IIOO Module I/O words
(II = input words, OO = output words)
24 ... 63 -- Reserved
Digital Module ID
module
16