Multifunction protection with
control
7SJ62 / 7SJ63
Communication module
Modbus
Bus specific parameters
Supported Modbus functions
Exception responses of the Modbus
slave
Annunciations to the Modbus master
Data type definitions
Modbus register map
Technical data
Glossary
1
2
3
4
5
6
7
Revision: 1.0
Edition: April 2000
C53000-L1840-C001-01
Index
Cover
Non-liability clause
Although we have checked the contents of this publication for
conformance with the hardware and software described we
cannot guarantee complete conformance since differences
cannot be ruled out.
The information in this manual is checked at regular intervals,
and necessary corrections are included in the next releases.
Your suggestions are welcome.
Subject to change without prior notice.
Copyright
Copyright Siemens AG 2000. All rights reserved.
Passing on or reproduction of this document, utilization and revelation
of its contents is not permitted without express permission.
Violations shall be cause for damage claims.
All rights reserved, in particular when a patent is issued or a general
model registered.
Registered trademarks
SIPROTEC und DIGSI are registered trademarks of Siemens AG.
Modbus and Modbus Plus are trademarks of Modicon, Inc.
Other designations in this manual may be trademarks that if used by
third parties for their own purposes may violate the rights of the owner.
Siemens AktiengesellschaftC53000-L1840-C001-01
Preface
Contents of this
manual
Additional
literature
The manual is devided into the following topics:
• Bus specific parameters
• Supported Modbus functions
• Exception responses of the Modbus slave
• Annunciations to the Modbus master
• Data type definitions
• Modbus register map
• Technical data
This manual desc ribes the operation the register map organization and
the hardware interface of the Modbus slave for the SIPROTEC devices
7SJ61, 7SJ62, 7SJ63 and 6MD63.
The following additional manuals inform you about the function,
operation, assembly and commissioning of the SIPROTEC devices:
ManualContentsOrder number
Overcurrent, overload
and motor protection with
control
SIPROTEC 7SJ61
Function, operation, assembly
and commiss ioni ng of the
SIPROTEC device 7SJ61
C53000-G1140-C118-2
Multifunction protecti on
with control
SIPROTEC 7SJ62
Multifunction protecti on
with control
SIPROTEC 7SJ63
Input/output unit with
local control
SIPROTEC 6MD63
Function, operation, assembly
and commiss ioni ng of the
SIPROTEC device 7SJ62
Function, operation, assembly
and commiss ioni ng of the
SIPROTEC device 7SJ63
Function, operation, assembly
and commiss ioni ng of the
SIPROTEC device 6MD63
C53000-G1140-C121-2
C53000-G1140-C120-2
C53000-C1840-C101-2
The Modbus specification with a detailed explanation of the Modbus
protocol is contained in:
This manual provides you with the following aids to make it easier to
locate the information you are looking for:
• At the beginning of this manual you will find a complete table of
contents plus separate lists of figures and tables contained in this
manual.
• In the individual chapters, you will find information in the left margin
of each page which will give you an overview of the contents of that
particular paragraph.
• Following the last chapter of this manual, you will find a glossary
containing definitions of technical terms and abbreviations used in
this manual.
• At the end of this manual, you will find a comprehensive index for
fast access to the information you need.
This manual is valid for
• SIPROTEC devices 7SJ61, 7SJ62, 7SJ63 and 6MD63 with firmware
version 4.2 and Modbus communication module.
See our catalog of courses f or a list of available courses or contact our
training center in Nuremberg.
Questions
If you have questions to the SIPROTEC devices, contact your Siemens
representative.
ii
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
Revision index
Modified chapters /
pages
EditionReasons of modification
1.0First edition
Apr 12
th
, 2000
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
iii
Revision index
iv
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
Table of contents
1Bus specific parameters ................................................................................................1-1
Table 7-1Technical data of the connection via the AME module........................................7-2
Table 7-2Assignment of the bus connection at the device (D-SUB outlet).........................7-2
Table 7-3Technical data of the connection via the AMO module........................................7-2
viii
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
1 Bus specific parameters
Bus specific parameters
The following settings for the ser ial com m unication between the Modbus
master and the Modbus slave of the SIPROTEC device have to be
defined when programming the device using the parameterization
system DIGSI.
Slave address
Modbus mode
Permissible slave addresses are in the range between 1 and 247.
The Modbus slave of the SIPROTEC device supports the two serial
transmission modes ASCII and RTU:
• In ASCII mode each byte in a Modbus message is sent as two ASCII
characters. For error checking a Longitudinal Redundancy Check
(LRC) is used.
• When the Modbus slave is setup to communicate on a Modbus
network using RTU mode each byte in a Modbus message contains
two hexadecimal characters . In RTU mode a Cyclical Redundancy
Check (CRC) is applied for frame checking.
1
Baud rate
Parity
Maximum slave
response time
The following baud rates are available:
•300, 600, 1200, 2400, 4800, 9600, 19200 Bit/s.
The parity is adjustably to:
• even or odd parity bit (EVEN, ODD) in ASCII mode,
• none, even or odd paritiy bit (NONE, EVEN, ODD) in RTU mode.
The maxim um response time determ ines the time interval within which
the Modbus slave may respond to enquiries from the master.
This value is indicated into m illiseconds unities and m us t be coor dinated
with the time-out of the Modbus master.
The following formula is valid:
< (T
T
bus
T
- Transmission time of the slave response on the bus line,
bus
- Time-out of the Modbus master,
T
master
- Maximum slave response time.
T
max
max
+ T
bus
) < T
master
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
1-1
Bus specific parameters
Processing of
broadcast
messages
If one of the Modbus messages "Force Single Coil", "Preset Single
Register", "Force Multiple Coil" or "Preset Single Regs " (ref. to chap. 2)
is transmitted from the Modbus master to the Modbus slaves using slave
address 0 all Modbus slaves recognize this message as a broadcast
message and process it.
For every Modbus slave of a SIPROTEC device can be dec ided whether
broadcast messages are accepted for coil status registers and/or
holding registers.
Per default this option is enabled and all broadcast messages are
processed.
Note
Modbus Plus is not supported by the Modbus slave of the SIPROTEC
devices 7SJ61, 7SJ62, 7SJ63 and 6MD63.
1-2
7SJ61/62/63 6MD63 – Modbus
C53000-L1840-C001-01
2 Supported Modbus functions
Supported Modbus functions
The following Modbus functions are s upported by the Modbus slave of
the SIPROTEC device:
Function
code
1Read Coil
2Read Input
3Read Holding
4Read Input
Function
name
Status
(0x-Register)
Status
(1X-Register)
Registers
(4X-Register)
Registers
(3X-Register)
Description
Reading one or several coil status registers of the Modbus slave.
A maximum of 1970 regis ters can be read with one message.
The coil status regist ers reflect the ON/OFF stat us of discrete outputs
of the SIPROTEC device.
Reading one or several input status regi sters of the Modbus slave.
A maximum of 1970 regis ters can be read with one message.
The input status registers reflect the ON/OFF stat us of discrete inputs
and the status of the protection function of the SIPROTEC device.
Reading one or several holding registers of the Modbus slave.
A maximum of 125 regis ters can be read with one message.
The holding registers contain device status annunciations, measured
values – mean values and metered measurands.
Reading one or several input registers of the Modbus slave.
A maximum of 125 regis ters can be read with one message.
The input registers contain recorded measured values.
2
Broadcast
supported?
no
no
no
no
1
5Force Single
6Preset Single
7Read
8DiagnosticsThis function provides diagnos t i c values to the Modbus mast er.
1
Broadcast messages from Modbus m aster to the Modbus slaves using slave address 0 in the modbus message
(ref. to paragraph "Processi ng of broadcast messages" in chap. 1).
Coil
(0x-Register)
Register
(4X-Register)
Exception
Status
Writing (forc e to ON or OFF) one coil status register (and binary output
of the SIPROTEC device assigned with that).
Use function code 15 to force multiple coil s tatus registers.
Function presets a value into a single holding register.
Use function code 16 to preset multiple holding registers.
There are none writable holding registers for the SI PROTEC devices at
present.
This function responses the value of the eight exception status coils to
the Modbus master.
The Modbus slave of the SIPROTEC devic e uses coil status regi ster
257..264 as exception coils.
Subfunctions 0 and 2 are im pl emented.
•
Funktion 0:
The data passed in the query data field of the message to the
slave is to be returned (looped-back ) i n t he response.
•
Funktion 2:
The contents of the diagnost i c register is returned in the res ponse
to the master. For thi s the contents of the holdi ng regi ster 129 is
used.
yes
yes
no
no
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
2-1
Supported Modbus functions
Function
code
15Force
16Preset
Function
name
Multiple Coils
(0X-Register)
Multiple Regs
(4X-Register)
Writing (forc e to ON or OFF) one or several coil status regi sters (and
binary outputs of the SIP ROTE C devi ce assigned with these).
A maximum of 1970 regis ters can be written with one message.
Function presets one or several holdi ng regi sters register.
A maximum of 125 regis ters can be written with one message.
There are none writable holding registers for the SI PROTEC devices at
present.
Table 2-1Supported Modbus functions
DescriptionBroadcast
supported?
yes
yes
2-2
7SJ61/62/63 6MD63 – Modbus
C53000-L1840-C001-01
3 Exception responses of the Modbus slave
Exception responses of the
Modbus slave
If the Modbus slave receives a query from the Modbus master which
cannot be processed (e.g. a request to read a non-existent register),
then the slave answers with an exception response message.
The following exception codes are signaled in a exception response
message to the Modbus m aster by the Modbus slave of the SIPROT EC
device:
Exception code 01
Exception code 02
ILLEGAL_FUNCTION
The function code used in the query by the Modbus master is not
supported by the Modbus slave of the SIPROTEC device.
Ref to chap. 2 for a list of supported Modbus functions.
ILLEGAL_DATA_ADDRESS
The Modbus master addresses in the query a register for which:
• no mapping entry exist (i.e. a non-existent register),
3
Exception code 03
Exception code 06
Exception code 08
• the access is not enabled since the addressed register is part of a
complex bus object which uses more than one regis ters and can be
read only completely.
ILLEGAL_DATA_VALUE
The Modbus master tried to write to a register for which only read
access is permitted.
SLAVE_DEVICE_BUSY
The Modbus slave has no valid mapping data or the Modbus registers
still have not been initialized and enabled by the SIPROTEC device
(after initial start or restart of the device).
NEGATIVE_ACKNOWLEDGE
If at the diagnostic query (Modbus function code 8) another subfunction
than 00 or 02 is requested, then this is rejected with
NEGATIVE_ACKNOWLEDGE.
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
3-1
Exception responses of the Modbus slave
3-2
7SJ61/62/63 6MD63 – Modbus
C53000-L1840-C001-01
4 Annunciations to the Modbus master
Annunciations to the Modbus
master
Note
When analysing the annunciations of the SIPROTEC device in the
Modbus master, it should be noted that due to the cycle period of the
Modbus system (period between two following queries of the sam e data
of the Modbus slave) temporar y changes of an annunc iation’s value (ON
and OFF within one cycle) may eventually not be recognized.
This applies in the first place for protection annunciations.
Protection pickup
Protection TRIPThe parameter M
Protection annunciations which indicate the status protection pick up are
active only for the period of time of the protection pickup.
address = 210) allows setting of the minimum duration of the TRIP
command.
This time setting applies to all protection functions which may cause a
TRIP signal. After a protection TRIP, the corresponding protection
annunciations transmit the value ON for the program med m inimum time
duration.
INIMUM DURATION OF
TRIP C
OMMAND
4
(parameter
7SJ61/62/63 6MD63 - Modbus
C53000-L1840-C001-01
4-1
Annunciations to the Modbus master
4-2
7SJ61/62/63 6MD63 – Modbus
C53000-L1840-C001-01
Loading...
+ 40 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.