Interface Description Modbus
Interface Description Modbus
Interface Description Modbus
Interface Description
Modbus
70500100T92Z001K000
V3.00/EN/00575586
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
1.1 Available technical documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Content of the technical documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 Safety information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3
Contents
6.4 Examples for the data transmission options with frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
4
1 Introduction
1.1 Available technical documentation
The documents specified below are available for the measuring, control, and automation sys-
tem (previous document number in parentheses).
5
1 Introduction
1.1.3 Input/output modules
6
1 Introduction
1.1.5 Operating, visualization, recording
7
1 Introduction
1.2 Content of the technical documentation
The documentation for the measuring, control, and automation system is intended for plant
manufacturers and users with specialist training. It has a modular structure and comprises dif-
ferent sections.
In the following subsections, the various types of documents are listed (previous document
number in parentheses).
70500000T90... (B 705000.0)
System manual
A hard copy of the system manual can be provided as an accessory subject to charge.
The system manual describes the scope of services of the measuring, control, and automation
system and provides all information for project design and startup.
Index divider 1 "System description" summarizes the information applicable to all modules.
Module-specific descriptions in the following sections complement the specifications stated
here.
Index divider 2 "Setup program" describes the project design of the overall system.
70500000T10... (T 705000)
Data sheet
The data sheet provides general information on the measuring, control, and automation system
and forms the basis for plant planning and purchase decisions.
7050XX00T10... (T 7050XX)
Data sheet
The data sheets of the individual modules provide specific information, order details, and tech-
nical data.
70500000T98... (B 705000.8)
System description
The system description provides an overview of the measuring, control, and automation sys-
tem. It describes properties that affect the entire system or are equally applicable for all
modules.
8
1 Introduction
7050XX00T90... (B 7050XX.0)
Operating manual
The operating manuals of the individual modules contain all information on installation, electri-
cal connection, startup, operation, and – if required – parameterization and configuration.
7050XX0XT92... (B 7050XX.2.X)
Interface description
The interface description provides information about the use of that interface and on commu-
nication with other devices, superordinate systems or certain sensors.
7050XX00T94... (B 7050XX.4)
Installation instructions
The installation instructions describe the installation of the device and the connection of the
supply and signal cables. The instructions also contain a list of the technical data.
7050XX5XT90... (B 7050XX.5.X)
Operating manual (application)
The operating manual describes the use of a certain application (e. g. PLC application).
70500000T96... (B 705000.6)
Setup program
The manual describes the function of the setup program.
70970100T90... (B 709701.0)
PC evaluation software PCA3000
The operating manual describes the operation and the features of the PC evaluation software.
The PC evaluation software helps to visualize and evaluate the recorded process data (mea-
surement data, batch data, messages, etc.).
70970200T90... (B 709702.0)
PCA communication software PCC
The operating manual describes the operation and the features of the PCA communication
software. The PCA communication software is responsible for the data transfer from a device
or system to a PC or to a network.
70075500T90... (B 700755.0)
Plant visualization software SVS3000
The operating manual describes the operation and features of the plant visualization software.
The plant visualization software is responsible for networking interface-ready process devices
with a PC.
9
1 Introduction
1.2.4 Device documentation on the Internet
All documents are available for download on the Internet at www.jumo.net.
Download procedure:
Step Action
1 On the JUMO website, enter the number of the relevant product group in the search field at
the top right (e.g. 705001 for the central processing unit) and start the search.
The search results are listed.
2 Select product (click the link).
3 In the "Documentation" dropdown list, select the desired documentation in the required
national language (click the link).
4 +++++Open the PDF document or save it as a file.
Step Action
10
1 Introduction
1.3 Safety information
DANGER!
This symbol indicates that personal injury caused by electrical shock may occur if the re-
spective precautionary measures are not carried out.
WARNING!
This symbol in connection with the signal word indicates that personal injury may occur if the
respective precautionary measures are not carried out.
CAUTION!
This symbol in connection with the signal word indicates that damage to assets or data loss
will occur if the respective precautionary measures are not taken.
CAUTION!
This symbol indicates that components could be destroyed by electrostatic discharge
(ESD = Electro Static Discharge) if the respective cautionary measures are not taken.
Only use the ESD packages intended for this purpose to return device inserts, assembly
groups, or assembly components.
READ DOCUMENTATION!
This symbol – placed on the device – indicates that the associated device documentation
has to be observed. This is necessary to recognize the kind of the potential hazards as
well as the measures to avoid them.
NOTE!
This symbol refers to important information about the product, its handling, or additional
use.
REFERENCE!
This symbol refers to further information in other sections, chapters, or manuals.
&
FURTHER INFORMATION!
This symbol is used in the tables and refers to further information in connection with the
table.
DISPOSAL!
This device and the batteries (if installed) must not be disposed in the garbage can after
use! Please ensure that they are disposed properly and in an environmentally friendly
manner.
11
1 Introduction
12
2 Connecting interfaces
2.1 Position of the interfaces
The central processing unit is equipped with a standard LAN interface. It is designed to transmit
data using the HTTP protocol (e.g. PC with setup program or Web browser) or the Modbus pro-
tocol (Modbus/TCP, master or slave).
Two serial interfaces are also optionally available as additional modules for the central process-
ing unit (Com1 and Com2, 9-pin), which can be used as a RS232 or RS422/485. Both serial
interfaces can be operated using the Modbus protocol (Modbus RTU; master or slave).
NOTE!
The type designation on the central processing unit's nameplate provides information on
which optional interfaces were assembled ex-works.
Information on this can be found in the chapter "Identifying the device version" in the operat-
ing manual B 705001.0 or the installation instructions B 705001.4 (the installation instruc-
tions are included in the scope of delivery of the central processing unit).
NOTE!
Optional interfaces can also be added by the user.
Information on this can be found in the chapter "Retrofitting interfaces" in the operating man-
ual B 705001.0 or the installation instructions B 705001.4 (the installation instructions are in-
cluded in the scope of delivery of the central processing unit).
Com1
ON
1 2 3 4
Power
Status
Bus Error
(1) Com1
Com2
Setup
Run
Stop
Reset
(2)
LAN Bus Out
ON
(3)
1 2 3 4
Com2
13
2 Connecting interfaces
2.2 Interface assignment
8
2 TX- Transmission data -
3 RX+ Received data +
1
6 RX- Received data -
Serial inter- Com1, 2 RxD Received data
face Com2 3 TxD Transmission data
(RS232)
5 GND Ground
Serial inter- Com1, 3 TxD+ Transmission data +
face Com2
12 345
4 RxD+ Received data +
6 789
(RS422)
5 GND Ground
8 TxD- Transmission data -
9 RxD- Received data -
Serial inter- Com1, 3 TxD+/RxD+ Transmission/received
face Com2 data +
(RS485) 5 GND Ground
8 TxD-/RxD- Transmission/received
data -
PROFIBUS- Com2 8 RxD/TxD-N (A) Transmission/received
DP data -
3 RxD/TxD-P (B) Transmission/received
data +
6 VP (+5 V) Voltage supply
5 DGND Ground
NOTE!
A connecting cable with shielding must be used to connect the RS232 interface.
A twisted connecting cable with shielding must be used to connect the RS422/485 interface.
To avoid transmission errors, only the signals listed above may be connected.
NOTE!
A RJ45 patch/crossover cable (CAT5 or higher) must be used to connect the LAN interface.
14
2 Connecting interfaces
2.2.1 Terminating resistors
The internal terminating resistors for the Com1 and Com2 interfaces are only relevant for
RS422/485.
The terminating resistors are deactivated by default. To activate them, DIP switches 1 to 4 for
the relevant interface must be pushed upward using a suitable tool such as a ballpoint pen (ON
position).
The following figure shows the position of the DIP switches when the terminating resistors are
activated.
ON
1 2 3 4
NOTE!
To ensure fault-free operation, terminating resistors are required at the start and end of an
RS422/485 transmission path.
332 ? 332 ?
3 4
1 3
120 ? 120 ?
8 9
2 4
332 ? 332 ?
GND GND
15
2 Connecting interfaces
2.3 Serial interface
Setup dialog
Parameters
16
2 Connecting interfaces
Parameter Selection/settings Description
Modem active Not selected (empty) No modem operation (Modbus slave is
connected directly to serial bus).
Selected (checkmark) Modem operation (Modbus slave is con-
nected to the Modbus master via the
modem).
Additional settings are required here
("Modem" button).
Modbus master
Timeout 60 to 200 to 10000 ms A request sent by the master is defined
as faulty if no answer is received within
this time.
Scanning cycle 60 to 500 to 99999 ms The Modbus master requests the Mod-
bus master data from the Modbus slave
at these intervals.
2.3.1 Modem
Setup dialog
Parameters
17
2 Connecting interfaces
Parameter Selection/settings Description
Call string ATDT AT command for establishing a connec-
? (ASCII; max. 24 characters) tion via the modem
ATDT = selection with dial tone (DTMF)
Hang-up string ATH AT command for disconnection via the
? (ASCII; max. 16 characters) modem
ATH (or ATH0) = hang up
Alarm message
Alarm type Issue of alarm message
E-mail In the event of an alarm, an e-mail is
sent (via the e-mail server after connect-
ing to the Internet).
PC visualization In the event of an alarm, a modem con-
nection is established to a PC with pro-
cess visualization software.
Alarm signal Signal that triggers the alarm message (only for "PC visualization" alarm type)
Inactive No alarm message
Module (source of signal) Alarm message is triggered by a signal
(high active) that must be selected in the
following field (digital selector).
Phone no. (None) Telephone number for establishing con-
(ASCII; max. 24 characters) nection to a PC with process visualiza-
tion software
(Only for "PC visualization" alarm type)
Init string
The following Init string is required for operation as a Modbus slave:
AT&FE0X3Q1&K0S0=1&D0&W0&Y0
Additional settings
To open this window, use the "..." button:
18
2 Connecting interfaces
Parameters
Com1/Com2 PC/Notebook
19
2 Connecting interfaces
Connecting a PC/Notebook with 25-pin Sub-D socket to Com1/Com2
Com1/Com2 PC/Notebook
20
2 Connecting interfaces
2.4 Ethernet interface
General information
To use the Ethernet interface, a patch/crossover cable is required that is equipped with a RJ45
plug. The Ethernet interface is configured in the setup software.
Required parameters, such as DHCP functionality, IP address, sub-net mask, gateway ad-
dress, DNS device name, DNS server, and transfer rate, can be configured in the setup pro-
gram under PROJECT NAME > CPU > ONLINE PARAMETERS > ETHERNET.
Speed Mode
Auto negation Default setting
10 Mbit/s Half duplex
10 Mbit/s Full duplex
100 Mbit/s Half duplex
100 Mbit/s Full duplex
NOTE!
Configuration changes are not applied until after the device has been restarted.
Additional information on the individual settings for the Ethernet are located in the operating
manual of the central processing unit (B 705001.0).
21
2 Connecting interfaces
2.5 Ethernet settings for Modbus/TCP
This menu is used to implement settings for the Modbus/TCP operating mode. If the central
processing unit is operating as a Modbus master, it can communicate with up to four external
devices (Modbus slaves; device 1 to 4). If it is operating as a Modbus slave, two external de-
vices (Modbus master) can simultaneously access the central processing unit.
Setup dialog
Parameters
NOTE!
To ensure that fixed IP addresses are used, the DHCP must be deactivated in the devices
involved, if applicable.
22
2 Connecting interfaces
NOTE!
The transfer times in an Ethernet network depend in part on the network architecture and the
capacity utilization. This may result in delays during updates of process values.
23
2 Connecting interfaces
24
3 Modbus protocol description
3.1 Master/slave principle
Communication between a master (e.g. PC, notebook or central processing unit) and a slave
device (e.g. measuring and control system) and a Modbus takes place according to the master-
slave principle, in the form of data request/instruction - response.
Master
NOTE!
The central processing unit can be operated as a Modbus master as well as a Modbus slave.
The master and slave function can also be used in parallel.
This makes it possible to transmit the external analog, integer, and digital inputs and texts (vari-
ables) both from a master device to the central processing unit (slave) as well as actively have
the central processing unit (master) import them from one or several slaves.
If the central processing unit is operating as a master, the corresponding Modbus and device
addresses must be assigned using the setup settings of the Modbus frames.
Data format
The data format describes the structure of a character transmitted.
Data format Start bit Data bits Parity bit Stop bit Number of
(configuration) bits
8 - 1 - no parity 1 8 0 1 10
8 - 1 - odd parity 1 8 1 1 11
8 - 1 - even parity 1 8 1 1 11
25
3 Modbus protocol description
3.3 Temporal sequence of communication
Character transmission time
The character transmission time (time taken to transmit one character with 8 data bits) depends
on the baud rate and the number of bits of the character (see table for data format):
Character transmission time [ms] = 1000 × number of bits / baud rate
Response
Slave
t1 t2
t
The data request and response consist of several characters (each with a start bit, 8 data bits,
a parity
bit if necessary, and a stop bit) which are transmitted coherently.
t1 The slave has to observe this waiting period before sending the response
min.: 5 ms
typically: 5 to 35 ms
max.:35 ms or the minimum response time set in the configuration
t2 The master has to observe this waiting period before starting a new data request.
with RS232: at least 3.5 times the character transmission time (end identifier)
with RS485: 35 ms
NOTE!
The waiting periods t1 and t2 also contain the end identifier (3.5 × character transmission
time), which
follows after each data request or response.
26
3 Modbus protocol description
NOTE!
A minimum response time can be configured in the central processing unit using the setup
program under CPU > CONFIGURATION LEVEL > SERIAL INTERFACE. This preset time is the
minimum waiting time before an answer is transmitted (0 to 500 ms). If a smaller value is set,
then the response time may be longer than the preset value (internal processing takes lon-
ger), the central processing unit responds as soon as internal processing is completed. A pre-
set time of 0 ms means that the device responds with the maximum possible speed.
The minimum response time, which can be set is required by the RS485 interface in the mas-
ter, to switch over the interface drivers from transmit to receive. This parameter is not re-
quired for the RS232 interface.
NOTE!
No data requests from the master are permitted during t1 and t2 and during the slave re-
sponse time. Data requests made during t1 and t2 are ignored by the slave. Data requests
during the response time will result in the invalidation of all data currently on the bus.
27
3 Modbus protocol description
3.5 Device address
The device address can be set between 1 DEC and 254 DEC. It is assigned for the central pro-
cessing unit and each module in the setup program under PROJECT NAME > PROJECT > HARD-
WARE ARRANGEMENT. Each Modbus station must have a unique device address. The following
data exchange options are available for accessing the connected stations.
Query
This is a data request/instruction from the master to a slave via the corresponding device ad-
dress (1 to 254). The slave addressed responds.
Broadcast
The broadcast is an instruction from the master to all slaves via the device address 0 (e.g. for
transmitting a specific value to all slaves).
The connected slaves do not respond. In such a case, the correct acceptance of the value by
the slaves should be checked by a subsequent readout at each individual slave. A data request
with the device address 0 is meaningless.
NOTE!
A maximum of 31 slaves can be accessed via the RS485 interface.
The device address 0 is reserved as a Modbus broadcast address:
an instruction from the master to address 0 is executed by all slaves, however, none of the
slaves respond (since it would otherwise lead to a data collision).
The address is specified in binary format in the transmission protocol.
NOTE!
A hexadecimal number is marked by a preceding "0x".
Example: 0x0010 (= 16 DEC)
NOTE!
If the central processing unit does not respond to these functions or outputs an error code,
it can be evaluated.
28
3 Modbus protocol description
Important information on the bit commands
To use bit commands correctly and evaluate the results correctly, it is important to understand
the order in which the data words and the bits they contain are arranged.
The Modbus standard specifies that when reading out word by word the most significant byte
(msb) is specified first. The bit arrangement within the data words, however, starts with the least
significant bit (lsb). This must be observed when reading out bit values.
Example for calculating the bit address from the word address
Chapter 7 "Modbus address tables", page 79
The word address tables are specified in hexadecimal form in the Modbus address tables in
the left column. The bit addresses must be calculated from this word address to read or write
individual bits. To determine the bit address of bit 8 for the word address 0x0009 in a bit field,
the following calculation must be performed: bit address = (word address Hex × 10 Hex) + bit
number Hex
29
3 Modbus protocol description
3.6.1 Read n bit
This function is used to read n bits starting from a specific address.
Data request
Slave address Function Address Number of bit Checksum
0x01 or 0x02 of first bit CRC
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response
Slave address Function Number Bit value(s) Checksum
0x01 or 0x02 of bytes read CRC
1 byte 1 byte 1 byte x bytes 2 bytes
NOTE!
The response always comes in full bytes of 8 bits each. Bit values that are not requested are
filled with the value 0.
Hexadecimal calculation of bit address for Decimal calculation of bit address for bit 1
bit 1
Bit address = (0x0002 × 0x10) + 0x1 Bit address = (2 × 16) + 1
Result: 21 Result: 33
Hexadecimal calculation of bit address for Decimal calculation of bit address for bit 2
bit 2
Bit address = (0x0002 × 0x10) + 0x2 Bit address = (2 × 16) + 2
Result: 22 Result: 34
Since this example involves a bit field 32, you must make sure that the data is in a double word
(32 bit). The start address 0x0002 is the low word. The high word, which is read out first, has
the address 0x0003. As a result, when calculating the correct bit address, the value 10 Hex or
alternatively the value 16 Dec must be added again to the calculated bit address to request the
desired bit value at the right spot in the low word.
You receive 31 Hex or 49 Dec for the bit address of bit 1 and 32 Hex or 50 Dec for the bit address
of bit 2. A corresponding data request in Modbus format is provided below:
30
3 Modbus protocol description
Data request:
05 01 00 31 00 02 ED 80
Slave Function CRC
Response:
05 01 01 02 D1 79
Slave Function Bytes Bit value CRC
The value of the read out bits is 02 Hex (= 2 Dec = 10 Bin): bit 0 = 0 and bit 1 = 1
NOTE!
If the bits are not to be read out of a 32-bit field, but rather from a 16-bit field, it is not neces-
sary to add 10 Hex or 16 Dec, since there is no preceding high word.
Hexadecimal calculation of the bit address for Decimal calculation of the bit address for the
the first bit of the bit field first bit of the bit field
Bit address = (0x0002 × 0x10) + 0x0 Bit address = (2 × 16) + 0
Result: 0x20 Result: 32
Hexadecimal calculation of the bit address for Decimal calculation of the bit address for the
the last bit of the bit field last bit of the bit field
Bit address = 0x20 + 0x40 Bit address = 32 + 64
Result: 60 Result: 96
Since it is a 64-bit field, 64 values in the example are to be read starting with the address 20Hex.
Data request:
07 01 00 20 00 40 56 3C
Slave Function Address of 1st Number of bit CRC
bit
Response:
07 01 08 10 00 00 00 00 01 01 00 C9 7B
Slave Function Bytes Bit values CRC
read
As is also the case in the example with the data type bit field 32, the bit values are not directly
read out of the data response without detecting the exact assignment.
A bit field 64 consists of 4 words each with 16 bits. The word with the highest value is always
transmitted first, followed by the word with the next-highest value and so on until the lowest val-
31
3 Modbus protocol description
ue is reached. The least significant bit (lsb) in each word is also transmitted first here. This ex-
ample yields the following arrangement:
Bit 48 to bit 53 Bit 32 to bit 47 Bit 16 to bit 31 Bit 0 to bit 15
Highest value ... ... Lowest value
DV 49 to DV 54 DV 33 to DV 48 DV 17 to DV 32 DV 1 to DV 16
The bit value from the data response must now be analyzed byte for byte:
The spurs 1, 25, and 53 therefore have the value 1. The rest have the value 0.
32
3 Modbus protocol description
3.6.2 Reading n words
This function is used to read n words starting from a specific address.
Data request
Slave address Function Address Number of words Checksum CRC
0x03 or 0x04 of first word
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response
Slave address Function Number Word value(s) Checksum CRC
0x03 or 0x04 of bytes read
1 byte 1 byte 1 byte x bytes 2 bytes
Example
Read the IP address of the central processing unit. Here in the example, it is the address
10.10.1.69. Since each IP address range is stored in a word, 4 words (8 bytes) must be read
out. They and other Modbus addresses can be found in the Chapter 7 "Modbus address ta-
bles", page 79.
Data request:
01 03 10 6D 00 04 14 D1
Slave Function Address Number of CRC
of the 1st word words
33
3 Modbus protocol description
3.6.3 Write one bit
In the write bit function, the data blocks for the instruction and response are identical.
Instruction
Slave address Function Bit address Bit value Checksum CRC
0x05
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Bit value xx = 00: bit is set to 0
Bit value xx = FF: bit is set to 1
Response
Slave address Function Bit address Bit value Checksum CRC
0x05
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Example
In this example, manual mode for controller channel 1 of a controller module is to be activated
at Modbus address 2. To do this, it must logically be set to "1":
Instruction:
02 05 1C 80 FF 00 71 8A
Slave Function Bit address Set bit to 1 CRC
Response:
02 05 1C 80 FF 00 71 8A
Slave Function Bit address Set bit to 1 CRC
34
3 Modbus protocol description
3.6.4 Write one word
In the write word function, the data blocks for the instruction and response are identical.
Instruction
Slave address Function Word address Word value Checksum CRC
0x06
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response
Slave address Function Word address Word value Checksum
0x06 CRC
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Example
In this example, a command is to be written to program generator 1 of the central processing
unit. The slave address of the central processing unit here is 1, the word address is 0x1691
(Kapitel 7.2 "Central processing unit addresses", ab Seite 79), and the value to be written is to
be 5 for manual mode.
Instruction:
01 06 16 91 00 05 6C 1C
Slave Function Word address Value CRC
Response:
01 06 16 91 00 05 6C 1C
Slave Function Word address Value CRC
35
3 Modbus protocol description
3.6.5 Write n words
Instruction
Slave address Function Address of Number of Number of Word Checksum
0x10 first word words bytes value(s) CRC
1 byte 1 byte 2 bytes 2 bytes 1 byte x bytes 2 bytes
Response
Slave address Function Address of Number of Checksum
0x10 first word words CRC
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Example
Writing the word "test" (ASCII code: 0x54 0x65 0x73 0x74 0x00) starting with the word address
0x13F1, so that this text is written as an external batch text 1 for the multifunction panel inter-
face 1 (coming from the central processing unit) to the multifunction panel.
Chapter 7.2 "Central processing unit addresses", page 79
Instruction:
01 10 13 F1 00 03 06 54 65 73 74 00 00 40 F2
Slave Function Address of Number of Number of Text in ASCII CRC
the 1st word words bytes
Response:
01 10 13 F1 00 03 F5 80
Slave Function Address of Number of CRC
the 1st word words
36
3 Modbus protocol description
3.7 Transmission formats (integer, float, double, and text val-
ues)
Function 0x03 or 0x04 (reading n words) is used to read out integer, float, double, and text val-
ues.
Data request
Slave address Function Address Number of words Checksum CRC
0x03 or 0x04 of first word
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response
Slave address Function Number Word value(s) Checksum
0x03 or 0x04 of bytes read CRC
1 byte 1 byte 1 byte x bytes 2 bytes
37
3 Modbus protocol description
3.7.2 Float values
For float values, Modbus operates with the IEEE 754 standard format (32 bit), but with the dif-
ference that byte 1 and 2 are changed over with byte 3 and 4.
S - sign bit
E - exponent (two's complement)
M - 23 bits normalized mantissa
Example
In this example, the value of analog variable 1 is to be read out at address 0x1071 of the central
processing unit. The value here is to be 550.0 (0x44098000 in the IEEE 754 format).
Data request:
01 03 10 71 00 02 05 D4
Slave Function Address Number of CRC
of the 1st word words
Float value
38
3 Modbus protocol description
NOTE!
The order of the bytes depends on how the float values are saved in the respective applica-
tion. The bytes may have to be changed over in the interface program accordingly.
S - sign bit
E - exponent (two's complement)
M - 52 bits normalized mantissa
39
3 Modbus protocol description
Example
In this example, the value of analog variable 1 is to be read out at address 0x1071 of the central
processing unit. The value here is to be 1234567.89 (0x4132D687E3D70A3D in the IEEE 754
format).
Data request:
01 03 10 71 00 04 D2 10
Slave Function Address Number of CRC
of the 1st word words
NOTE!
The order of the bytes depends on how the double values are saved in the respective appli-
cation. The bytes may have to be changed over in the interface program accordingly.
NOTE!
To mark the end, the last character to be transmitted must always be a "\0" (ASCII code
0x00). The subsequent characters have no meaning.
Since texts are transmitted word by word (16 bit), 0x00 is also added to the end for an uneven
number of characters (incl. "\0").
The maximum lengths for strings specified in the address tables contain the final "\0". This
means, in the case of "char 11", the text can consist of max. 10 readable characters.
Chapter 7 "Modbus address tables", page 79
Example
Request the text of address 0x13F1; the string "test" (ASCII code: 0x54, 0x65, 0x73, 0x74,
0x00) is under this address.
Request: 010313F100027E11 (CRC16 = 117E)
Response: 010304546573740000AAB5B6 (CRC16 = B6B5)
NOTE!
The value (here: AA) before the CRC sum (here: B5B6) is not considered, since it follows the
end marker "\0".
40
3 Modbus protocol description
3.8 Checksum (CRC16)
Calculation scheme
The checksum (CRC16) is used to detect transfer errors. If an error is identified during evalu-
ation, the device concerned does not respond.
CRC = 0xFFFF
CRC = CRC XOR BytesOfMessage
For (1 to 8)
CRC = SHR(CRC)
if (shifted to the right flag = 1
then else
CRC = CRC XOR 0xA0001
while (not all BytesOfMessage processed);
NOTE!
The low byte of the checksum is transmitted first.
Example: the CRC16 checksum CC DD is transmitted and displayed in the order DD CC.
Example
Request status of digital variable 1 at address 0x1371:
Instruction: read a word from address 0x1371
01 03 13 71 00 01 95 D0
Slave Function Address Read a word CRC
41
3 Modbus protocol description
3.9 Error messages
Error codes
If the data request of the master has been received by the slave without transmission errors
but could not be processed, the slave will respond with an error code. The following error codes
may occur:
• 01 = Invalid function
• 02 = Invalid address or excessive number of words or bits are to be read or written
• 03 = Value is outside of the permissible range
• 08= Value is write-protected
Example
Data request:
01 06 1636 0001 FCA2
Slave Write word Word address Word value CRC
42
3 Modbus protocol description
3.9.2 Error messages for invalid values
For measured values in the float format, the error number appears directly in the value, i.e. it
contains the error number instead of the measured value.
Example
Reading in the analog input 1 of a 4-channel analog input module at Modbus address 8:
Data request:
08 03 00 52 00 02 43 65
Slave Function Word address Number of CRC
words
Response:
08 03 04 8E 52 7D B4 ED C8
Slave Function Bytes read Error code CRC
The measured value 0x7DB48E52 (=3.0 × 1037) supplied by analog input 1 indicates that the
input value is invalid.
43
3 Modbus protocol description
3.9.3 Error codes as integer return values
For some longer sequences (e.g. e-mail dispatch or active transmission of frames as a Modbus
master), an error code is entered at the end in an event field or event list.
Error codes
44
3 Modbus protocol description
Error code Description
30 Edit is inadmissible when the program is active
31 Copy is inadmissible when the program is active
32 MANUAL is inadmissible during AUTO lead time
33 Segment change Image update required
34 No DB number, image update by PLC
35 No DB number for process values of PLC
36 Printer loaded or not operational
37 Setpoint value 1 was not programmed
38 Configure printer (config./interface)
39 Only possible, when the device is in MANUAL mode
40 Self-optimization already running
41 Time axis elapsed or not programmed
42 Time axis cannot be copied
43 Time axis not available
44 Program change is locked
45 MANUAL mode locked
46 Program start locked
Error list: interface processing
47 Incorrect response length
48 Time-out error (no response)
49 Error reported in telegram protocol
50 Checksum error
51 Parity error
52 Framing error
53 Interface buffer full
54 Address error (e.g. address does not exist)
55 Incorrect or unexpected command
Error list: event processing
60 event could not be created
61 event setting failed
62 event clear failed
63 event wait failed
64 event close failed
65 event open failed
66 Sync error between group and data manager
Error list: message processing
70 Queue memory does not exist
71 Message queue cannot be opened
45
3 Modbus protocol description
Error code Description
72 Message pool cannot be generated
73 Memory from message pool cannot be inquired
74 Message cannot be transmitted
Error list: processing MQX functions
80 Task creation failed
81 Hardware-Timer not created
Error list: flash processing
90 Data flash write error
Error list: other errors
100 Undefined error
101 Division by zero
102 RAM cannot be detected
103 RTC run-time overrun
104 ID does not exist
105 Index too large (overflow)
106 Invalid data
107 Invalid parameter
109 String without 0 characters
110 Time-out during initialization
111 Value must not be written to
112 Log entry with error bits initiating debug mode
Error list: e-mail dispatch via modem and Ethernet
120 Step error in the status automatic
121 Invalid response length
122 No CONNECT from the modem
123 FCS checksum incorrect
124 Unexpected value or response
125 Conf-Request not accepted
126 No Conf-Request from the other end
127 No Chap-Request from the other end
128 Response time-out
129 Unknown modem response
130 Unexpected OK by the modem
131 Unexpected CONNECT from the modem
132 Unknown frame received
133 Unexpected PROTOCOL by the modem
134 Unexpected COMPRESS from the modem
135 Invalid PPP package received
46
3 Modbus protocol description
Error code Description
136 Unexpected BUSY from the modem
137 Unknown authentication protocol
138 Ignored LCP option
139 Unexpected DELAYED from the modem
140 Unexpected NODIALTONE
141 Unknown PPP protocol
142 Unknown PAP code
143 Ignored IPCP option
144 Ignored IPCP code
145 Unknown CHAP code
146 IP checksum incorrect
147 Unknown IP protocol
148 Unknown ICMP type
149 Unknown LCP type
150 As a client DNS request received
151 Unknown DNS error
152 DNS response is divided
153 No IP received via DNS
154 Unknown UDP port
155 TCP checksum incorrect
156 TCP port incorrect
157 Unknown TCP-SYN option
158 Unused TCP port
159 Unknown POP3 response
160 Unknown SMTP response
161 Unknown DNS name
162 No MD5 requested from CHAP
163 Authentication error
164 Cancel from other end
165 Error when creating TCP socket
166 Error when binding TCP socket
167 Error on TCP connect
168 Error when transmitting TCP telegram
169 Error when closing TCP socket
170 Error on TCP listing
171 Reset on TCP accept
172 Error on TCP accept
173 SMTP server indicates syntax error
47
3 Modbus protocol description
Error code Description
174 TCP socket is already closed
175 Incorrect frame configuration
Error list: file system processing
200 Error when installing the partition manager
201 Error when installing the MFS file system
202 Error when deinstalling the partition manager
203 Error when deinstalling the MFS file system
48
4 Serial transmission modes
4.1 Modbus master operation via serial interface
Interface parameters
+
frame configuration
RS232/
RS485
8 read Modbus
frames Driver slave
(base unit)
8 write
Modbus
frames
slave
If the central processing unit has been configured as a master, it can send requests on the bus
to slaves. Complete frames are always transmitted here. The corresponding Modbus and de-
vice addresses must be specified when configuring the frames in the setup program. For each
frame, it is possible to enter the device address and Modbus address used to request the value.
Each programmed frame can be disabled by selecting the "Modbus slave" setting for the "in-
terface" parameter.
A maximum of 8 frames can be enabled for reading and maximum 8 frames for writing. The
enabled frames are cyclically processed consecutively. This also applies to writing frames re-
gardless of whether a process value is changed or not. This rules out a transmission that de-
pends on the condition of a change. The complete frame is always transmitted with the frame
length configured in the setup program.
NOTE!
Double writing of a target variable, e.g. the same variable selector in two read frames, will
lead to undefined states and must be avoided.
Timeout
Indicates the maximum time-out used for each sent command to wait for a response before the
next command is carried out.
Scanning cycle
The scanning cycle defines the time interval used to read in variables.
49
4 Serial transmission modes
Chronological sequence
The respective interface searches for all frames configured for it (setup program: CPU > SETUP
ONLY > MODBUS FRAMES FOR READING/WRITING > menu item INTERFACE) and cyclically transmits
them in sequence to frame 1, frame 2, and frame 3 as displayed below.
Frame 1 Frame 2 Frame 3 Frame 1
request + answer request + answer request + answer request + answer
t
NOTE!
The actual time it takes to transmit all frames can be read under the Modbus addresses
0x00EC and 0x010C (serial) and under the Modbus addresses 0x009D, 0x00B0, 0x00C3,
and 0x00D6 (Modbus/TCP).
If the configured scanning cycle is greater than the elapsed actual time required for scanning,
the central processing unit waits to process the next cycle and thus minimizes the bus load. If
the configured scanning cycle is too short, all configured frames are completely processed cy-
clically without a delay.
50
4 Serial transmission modes
4.2 Modbus slave operation via serial interface
Interface parameters
+ Modem parameters
(if applicable)
+ E-mail parameters
(if applicable)
SystemIO
data
RS232/
RS485
Config. Driver
parameters (base unit)
Modem
(if applicable)
...
Alarm message
If the central processing unit has been configured as a slave, it responds to Modbus requests
from the master in the network. The master controls the data exchange and the slaves only
have a response function. They are identified by means of their device address.
The master is usually a PC with a setup or visualization program or another Modbus-capable
device. The master can request all device variables according to the Modbus address tables of
this slave.
Chapter 7 "Modbus address tables", page 79
During slave operation, the central processing unit can operate as several virtual devices with
several device addresses.
Chapter 5.2 "Networking with Modbus/TCP", page 59
All modules connected to the central processing unit can be addressed with their respective
device addresses that were assigned in the setup program under HARDWARE ARRANGEMENT.
This makes it possible to always use the same Modbus addresses for the same type of mod-
ules.
51
4 Serial transmission modes
4.3 PLC access to the serial interface
4.3.1 Activation
The PLC can access the serial interface(s). To do this, the ComSetSettings() initialization func-
tion must be used.
Once the PLC has programmed its parameters using ComSetSettings(), a new protocol ("PLC-
controlled") is activated. The previous parameters are locally overwritten here. The new proto-
col and where applicable, the changed parameters cannot be viewed in the device-side config-
uration; the setup program still displays the previous parameters.
To reactivate the pervious parameters, the PLC must end its access using ComClose(). Alter-
natively, changing the device-side configuration can restore access to the interface on the de-
vice; the corresponding protocol is activated and the configured parameters are used here.
If the PLC no longer has interface access after a change on the device-side, it receives the error
code ERR_NET_NOTCONNECTED with the ComRead() or ComWrite() functions. If the PLC
still attempts to establish access, it must call the ComSetSettings() function again in this case,
since the parameters that were most recently set are valid.
NOTE!
These API functions are based on the standard CODESYS functions (SysCom library).
The individual parameters and error codes are described in the PLC online help.
52
4 Serial transmission modes
4.3.3 End identifier conditions
The 3S definitions contain all the necessary end identifier conditions, which are required for
building a package when receiving individual characters:
• Length in bytes
is transmitted as parameter uiSize for ComRead()
= max. buffer size to disable the length as the end condition
• Response time-out in milliseconds
is transmitted as parameter ulTimeout for ComRead()
= "SYS_NOWAIT" = 0 (endless) to disable the time-out
• Character time-out in milliseconds
is transmitted in parameter pSettings for ComSetSettings() or as parameter ulTimeout for
ComSetTimeout()
= "SYS_NOWAIT" = 0 (endless) to disable the time-out
Complete packages are already transmitted character by character in the background during
transmission. The ComWrite() function immediately ends without blocking (parameter
ulTimeout is ignored).
PLC as a master
A master starts with the transmission and then waits for a limited time (response time-out) for
the response of the addressed slave.
The parameters for the end identifier conditions must be set as follows:
possibly: length = x bytes
response time-out T1 = 2000 ms (example)
possibly: character time-out T2 = y ms
One of the two conditions – length or character time-out – must be set so that a started re-
sponse package can be detected as completed.
T1 T2 T1
OK OK
53
4 Serial transmission modes
PLC as a slave
A slave continuously waits for reception and only transmits if it is requested to do so by the mas-
ter.
The parameters for the end identifier conditions must be set as follows:
possibly: length = x bytes
response time-out = 0 ms (endless)
possibly: character time-out T2 = y ms
One of the two conditions – length or character time-out – must be set so that a started receiv-
ing package can be detected as completed.
T2 T2
OK OK
T2 T2
OK OK
54
4 Serial transmission modes
4.4 RS232 and RS422/485
The serial interface is implemented using two different additional cards for the central process-
ing unit. The type of the used interface board, RS232 or RS422/485, is automatically detected
by the central processing unit via the hardware ID.
In Modbus slave operation, these interfaces can be used to connect visualization software and
also for Modem connections.
External process values can be read in during Modbus master operation (no modem opera-
tion). This way, you can increase the number of input values.
55
4 Serial transmission modes
56
5 Ethernet transmission modes
5.1 Modbus/TCP
Modbus/TCP uses Ethernet as a transmission standard. Two transmission options can be used
here:
• Modbus/TCP slave for transmitting individual values
• Modbus/TCP master for transmitting entire data frames
The advantage of using Modbus/TCP and the Ethernet interface is in the high speed and the
company-wide availability of the connected devices.
Modbus/TCP is a standardized process in which a Modbus telegram is packaged (tunneled)
into a TCP frame via Ethernet.
The Modbus telegram (without CRC) is transmitted with an additional 6 or 7-byte "MBAP head-
er" (Modbus application header). The seventh byte is identical to the first serial byte, but has a
different designation.
57
5 Ethernet transmission modes
Example: reading n words
Read the IP address of the central processing unit. Here in the example, it is the address
10.10.1.69. Since each IP address range is stored in a word, 4 words (8 bytes) must be read
out.
See also Modbus example in Chapter 3.6.2 "Reading n words", page 33.
Request:
Response:
58
5 Ethernet transmission modes
5.2 Networking with Modbus/TCP
The image below provides an overview on the networking options when using the Modbus/TCP
protocol:
Ethernet
Frame
Each Modbus/TCP node can be uniquely addressed by an IP address. The "unit ID" (= device
address) also contained in the protocol must be the node 0xFF directly connected to the net-
work. A node, however, can virtually operate as several lower-level devices and therefore also
the central processing unit (center of image) for all connected modules. They can be accessed
with device addresses 1 to 254 (as assigned in the setup program under "HARDWARE ARRANGE-
MENT").
Frames can be exchanged with 4 devices (1 to 4) on the other end using 4 sockets. The Mod-
bus device address that can be edited inside each frame mask and that is also transmitted in
the Modbus/TCP protocol can be used to address Modbus gateways and modules behind oth-
er basic modules. The latter then forwards the frame to the Modbus node behind it.
59
5 Ethernet transmission modes
Chronological sequence
The respective interface searches for all frames configured for it (setup program: CPU > SETUP
ONLY > MODBUS FRAMES FOR READING/WRITING > menu item INTERFACE) and cyclically transmits
them in sequence to frame 1, frame 2, and frame 3 as displayed in the image below.
Frame 1 Frame 2 Frame 3 Frame 1
request + answer request + answer request + answer request + answer
t
NOTE!
The actual time it takes to transmit all frames can be read under the Modbus addresses
0x00EC and 0x010C (serial) and under the Modbus addresses 0x009D, 0x00B0, 0x00C3,
and 0x00D6 (Modbus/TCP).
If the configured scanning cycle is greater than the elapsed actual time required for scanning,
the central processing unit waits to process the next cycle and thus minimizes the bus load. If
the configured scanning cycle is too short, all configured frames are completely processed cy-
clically without a delay.
NOTE!
Only two Modbus masters (clients) can access this slave (server) via Modbus/TCP. A con-
nection opened by a master is canceled after 30 seconds of inactivity of the slave. A closed
Modbus TCP port (by the slave or from the other end) can only be reopened after 10 seconds.
The TCP port no. is a presetting configured to the value 502 DEC. This value can be edited.
5.5 HTTP
In this case, the central processing unit is configured as a slave and handles incoming requests
as a server via port 80. These requests, for example, can be carried out by a PC with setup
program, PC evaluation software (PCA), or PCA communication software (PCC).
60
5 Ethernet transmission modes
5.6 Browser connection and Web server
The central processing unit can also be accessed by a browser using the HTTP protocol. The
required URL for this is the IP address of the central processing unit (in the above example
10.13.6.177). The HTML start page "index.htm" is accessed and can be used to branch to fur-
ther HTML pages.
The start page "index.htm" and other HTM pages can be loaded on the central processing unit
via the setup program SETUP NAME > CPU > CONFIGURATION LEVEL > WEB SERVER.
The Microsoft plug-in "Silverlight" is required for the browser to use the available default in-
dex.htm functions.
The Web server supports 8 secure areas which can be assigned 8 users.
NOTE!
Information on configuring the Web server functionality can be found in the central process-
ing unit's operating manual B 705001.0.
61
5 Ethernet transmission modes
5.7 E-mail (SMTP and POP3)
The central processing unit can send e-mails (e.g. alarms). In this case, it is the master (client)
and can access SMTP servers at the standard port (25)1 as well as POP3 servers at the stan-
dard port (110)
Setup PC PC
IP=x.x.x.x IP=x.x.x.x
Worldwide
Internet
Local Other
subnet Gateway subnets Proxy
IP=x.x.x.x IP=x.x.x.x
DHCP server:
can automatically assign an IP address, sub-net mask, and gateway address to other stations when
switching on. These parameters can also be entered manually, as a DHCP server is not required.
DNS server:
changes symbolic names into IP addresses. Example: the request "www.name.de" will generate the
"www.name.de has IP=10.12.32.45" response.
POP3 server:
serves to read out received e-mails of a mail account. The POP3 mail account can be accessed after
log-in entering user name and password. A successful log-in process often releases the transmission
authorization of a connected SMTP server.
SMTP server:
serves to transmit e-mails. The authorization to transmit e-mails via a mail account must be released
in several networks by previously logging in at the corresponding POP3 server.
Proxy:
1
As of system version 05: SMTP port number changeable
62
5 Ethernet transmission modes
serves as a gateway between the local company network and the worldwide Internet. It is also used
for the conversion of "local" IP addresses (used in the company network) to "once-only" IP addresses
(used in the Internet). The device software cannot address a proxy! However, there are also "transpar-
ent proxies" that make it possible to address IP addresses worldwide without a special protocol.
NOTE!
When "transmitting via: Ethernet", a mail server that is in the company network (not accessi-
ble in the Internet or without proxy addressing) must be entered. This mail server should also
be able to transmit E-mails to the Internet.
NOTE!
When "transmitting via: modem", the modem establishes a direct connection to the Internet
and a mail server located on the Internet must be entered.
63
5 Ethernet transmission modes
NOTE!
Information on configuring the e-mail functionality can be found in the central processing
unit's operating manual B 705001.0.
64
5 Ethernet transmission modes
No
Configuration: Yes
Authentification =
SMTP-After-POP
Request to DNS server
to get POP3 server name
Request to DNS-Server
to get the IP address of
SMTP server name
TCP connection to
SMTP server
Configuration: Yes
Authentification =
SMTP-Auth
Login with
user name + password
No
Text is formatted,
e-mail is sent
TCP connection is
closed
OK
65
5 Ethernet transmission modes
66
6 User frames
6.1 General information
The central processing unit allows the user to individually compile Modbus frames for his ap-
plication. This achieves a high level of flexibility and the user can thus reduce the data ex-
changed on the bus to the volume he requires.
This provides a significant advantage with regard to the transmission speed. Numerous vari-
ables can be compiled in a large data packet, thus improving the transmission speed, which,
in turn, means that the bus is subject to less protocol overhead and fewer changes between
the request and response.
The maximum size of a frame is defined to 254 bytes. This corresponds to 127 words for each
command. The activated reading or writing frames are cyclically processed in sequence. The
frame length specified in the setup program is always used. This length is automatically calcu-
lated using the number of entries (64 per frame) in the respective frame. All frames can be used
for the Modbus master or Modbus slave.
NOTE!
There is no locking function against multiple use of the same input variables within several
reading frames. The user must prevent this from happening to avoid a data collision.
(3)
Frame Modbus start adr.
config. + frame length
(2)
67
6 User frames
NOTE!
When transmitting as a Modbus master, repetitive errors are entered in the event list. Corre-
sponding error codes can be found in chapter 3.9.3 "Error codes as integer return values".
Error monitoring
Each frame is monitored for data transmission. If an error occurs, the corresponding error flag
is set, an error code is also saved for each frame and an entry is written in the event list. This
entry is not cyclically generated and set; instead, it is generated and set once when the error
occurs and then again when the transmission functions again. The following applies to all
frames that are read:
if there is no valid response after 3 recurrences, all values of this frame are set to "no input val-
ue".
Block diagram of the inputs and outputs for the slave function
(5a) (4)
System I/O Modbus (3) (2) (1)
tables Device Modbus SCADA
Ext. variables With all address slave system
Cyclical value check process values; for slave
and alarm generation areas for 64
modules Serial and PC
With attributes Transfer TCP
in virtual
PLC
of every variable:
Ext. variables; area
limits checked (5a) Type,
address,
Frame processing read only ...
Write frames: Ext. variables;
Data are collected. interface
Read frames:
Data are stored in cyclical
single variables.
(5b) Modbus External
master slave
Additional devices
frames Serial and
TCP
(5b)
Frame Modbus start adr.
config. + frame length
68
6 User frames
6.3 Compiling Modbus frames
The "Modbus frames for reading" and "Modbus frames for writing" options are found under SET-
UP NAME > CPU > SETUP ONLY in the setup program.
Setup dialog
Parameter
69
6 User frames
Parameter Selection/settings Description
Interface The selection determines whether the frame is actively transmitted as a master or
only available for requests as a slave. In case of a Modbus master, the interface on
which the relevant frame is used is also specified. If it is a LAN interface, the exter-
nal device to be addressed must also be selected.
Modbus slave Compiled frame only available for
requests as a slave
Modbus master TCP 1 Modbus master; Modbus TCP via LAN
(Ethernet), device 1 addressed
Modbus master TCP 2 Modbus master; Modbus TCP via LAN
(Ethernet), device 2 addressed
Modbus master TCP 3 Modbus master; Modbus TCP via LAN
(Ethernet), device 3 addressed
Modbus master TCP 4 Modbus master; Modbus TCP via LAN
(Ethernet), device 4 addressed
Modbus master serial 1 Modbus master; Modbus RTU via Com1
Modbus master serial 2 Modbus master; Modbus RTU via Com2
Device address 1 to 255 Device address of the external device
(Modbus slave)
Copy (entries)
With this function entries within a Modbus frame can be copied.
As of system version 05 entries of a frame can be copied into other frames as well.
70
6 User frames
Editing
To open this window, use the "Edit" button:
Parameter
71
6 User frames
Parameter Selection/settings Description
Factor Using the factor makes it possible to transmit floating point values in the integer
format. The transmitter multiplies the data with the corresponding factor before
transmission. The data mut be divided by the same value in the receiver.
Complete float range allowed, default This factor is used to rescale values dur-
value = 1.0 ing the transmission, in particular, with
the same type conversions.
(This parameter is not active with the
"text" data type.)
Copy (frames)
With this function Modbus frames within a project can be copied.
72
6 User frames
Setup dialog
Parameter
Interface The selection determines whether the frame is actively transmitted as a master or
only available for requests as a slave. In case of a Modbus master, the interface on
which the relevant frame is used is also specified. If it is a LAN interface, the exter-
nal device to be addressed must also be selected.
Modbus slave Compiled frame only available for
requests as a slave
Modbus master TCP 1 Modbus master; Modbus TCP via LAN
(Ethernet), device 1 addressed
Modbus master TCP 2 Modbus master; Modbus TCP via LAN
(Ethernet), device 2 addressed
Modbus master TCP 3 Modbus master; Modbus TCP via LAN
(Ethernet), device 3 addressed
Modbus master TCP 4 Modbus master; Modbus TCP via LAN
(Ethernet), device 4 addressed
Modbus master serial 1 Modbus master; Modbus RTU via Com1
Modbus master serial 2 Modbus master; Modbus RTU via Com2
Device address 0 to 1 to 255 Device address of the external device
(Modbus slave).
73
6 User frames
Parameter Selection/settings Description
Modbus 0x0000 to 0xFFFF Modbus start address (offset) of the
start address external slave device (central process-
(master) ing unit as a Modbus master)
The setup program uses the start
address as an initial value for the
addresses of the entries. The Modbus
description of the external device must
be observed for this.
Modbus 0x8800 Displays the Modbus start address (off-
start address set) of the central processing unit if this
(slave) frame is to be requested as a Modbus
slave.
The start address is used for the setting
in the external Modbus master.
Entry 1 to Select the desired entry (double-click
entry 64 the line with the entry or marking and
then confirm using the "Edit" button).
Frame length 0 to 254 Displays the frame length (byte(s))
Error code -3.37E+38 to +3.0E+37 to +3.37E+38 Value (code) that is transmitted instead
of the measured value if an error occurs
(for measured values in the float for-
mat).
Copy (entries)
With this function entries within a Modbus frame can be copied.
As of system version 05 entries of a frame can be copied into other frames as well.
74
6 User frames
Editing
To open this window, use the "Edit" button:
Parameter
75
6 User frames
Parameter Selection/settings Description
Factor Using the factor makes it possible to transmit floating point values in the integer
format. The transmitter multiplies the data with the corresponding factor before
transmission. The data must be divided by the same value in the receiver.
Complete float range allowed, default This factor is used to rescale values dur-
value = 1.0 ing the transmission, in particular, with
the same type conversions.
(This parameter is not active with the
"text" data type.)
Copy (frames)
With this function Modbus frames within a project can be copied.
76
6 User frames
6.4 Examples for the data transmission options with frames
There are flexible customization options between the content of the variables in the central pro-
cessing unit and the data format on the other end. The "variables" column (see above screen-
shot) determines the data format within the central processing unit, the "data type" column
determines the data format in the Modbus frame or on the other end. They must not match. As
a result, type conversion can be carried out. The logical direction is displayed in the following
diagram:
Set selector in the "vari- Including bitpos./text "Data type" in the Modbus
ables" column length and factor depend- frame or on the other end
ing on the selection
NOTE!
For reading frames, the logical direction is the arrow to the left and for writing frames, the ar-
row to the right.
77
6 User frames
78
7 Modbus address tables
NOTE!
These tables are important for external devices that access the central processing unit as a
Modbus master (configured as a Modbus slave). Alternatively, external devices can also ac-
cess the cenral processing unit using the Modbus frames.
Access types
CAUTION!
Write operations to some R/W parameters result in them being saved to the EEPROM or
Flash memory.
The storage components have only a limited number of writing cycles (approx. 10,000 or
100,000), which is why no fast cyclical writing operations should be performed, since there
is otherwise a risk of a storage error in case of a power failure.
79
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x00C3 195 Uint32 R/O Modbus master TCP device 3: actual cycle time in 5 ms ticks
0x00D6 214 Uint32 R/O Modbus master TCP device 4: actual cycle time in 5 ms ticks
0x00EC 236 Uint32 R/O Com1: for Modbus master: actual cycle time in 5 ms ticks
0x010C 268 Uint32 R/O Com2: for Modbus master: actual cycle time in 5 ms ticks
0x1000 4096 Char[60] R/O Configuration: device name
80
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x11F0 4592 Boolean R/O Alarm 2 analog variable 64
As of system version 05:
0x6C8E 27790 Boolean R/O Alarm 2 analog variable 65
0x6C8F 27791 Boolean R/O Alarm 2 analog variable 66
0x... ... Boolean R/O Alarm 2 analog variable ...
0x6CCD 27853 Boolean R/O Alarm 2 analog variable 128
81
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x1371 4977 Boolean R/W Digital variable 1
0x1372 4978 Boolean R/W Digital variable 2
0x... ... Boolean R/W Digital variable ...
0x13B0 5040 Boolean R/W Digital variable 64
As of system version 05:
0x6E4E 28238 Boolean R/W Digital variable 65
0x6E4f 28239 Boolean R/W Digital variable 66
0x... ... Boolean R/W Digital variable ...
0x6E8D 28301 Boolean R/W Digital variable 128
82
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x1649 5705 Uint32 R/W Start section no. x program generator 1
0x164B 5707 Uint32 R/W Start section no. x program generator 2
0x... ... Uint32 R/W Start section no. x program generator ...
0x1659 5721 Uint32 R/W Start section no. x program generator 9
0x166D 5741 Uint32 R/W Start section of remaining time for program generator 1
0x166F 5743 Uint32 R/W Start section of remaining time for program generator 2
0x... ... Uint32 R/W Start section of remaining time for program generator ...
0x167D 5757 Uint32 R/W Start section of remaining time for program generator 9
NOTE!
As of system version 04, 90 external batch texts can be transmitted via Modbus. The texts 1
to 27 remain at the previous Modbus addresses. In addition, all 90 texts, including the texts 1
to 27, are transmitted in a separate address space. For the texts 1 to 27 it must be ensured in
the application that only one of the two possible addresses is used.
83
7 Modbus address tables
Central processing unit process values for Modbus error
84
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex Dec.
Bit 8 R/O HW configuration conflict
Bit 9 R/O Fieldbus error
Bit 10 R/O Error of a mandatory module
Bit 11 R/O Error of an optional module
Bit 12 R/O No PLC program
Bit 13 R/O "Stop" system state
Bit 14 R/O Battery empty
Bit 15 R/O Battery low
0x16B2 5810 Bit field 16 R/O External alarm bits
Bit 0 R/O Collective alarm of Ext. Analog (analog variables)
Bit 1 R/O Collective alarm of Ext. Integer (integer variables)
Bit 2 R/O Collective alarm of Ext. Digital (digital variables)
0x16B3 5811 Word R/O Target state of system bus status
0x16B4 5812 Word R/O System bus error
85
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x16DF 5855 Float R/O Block 1 of analog output 16
0x16E1 5857 Float R/O Block 2 of analog output 1; see name of block 1 provided by fac-
tory
0x16E3 5859 Float R/O Block 2 of analog output 2
0x... ... Float R/O Block 2 of analog output ...
0x16FF 5887 Float R/O Block 2 of analog output 16
0x1701 5889 Float R/O Block 3 of analog output 1; see name of block 1 provided by fac-
tory
0x1703 5891 Float R/O Block 3 of analog output 2
0x... ... Float R/O Block 3 of analog output ...
0x171F 5919 Float R/O Block 3 of analog output 16
0x1721 5921 Float R/O Block 4 of analog output 1; see name of block 1 provided by fac-
tory
0x1723 5923 Float R/O Block 4 of analog output 2
0x... ... Float R/O Block 4 of analog output ...
0x173F 5951 Float R/O Block 4 of analog output 16
0x1741 5953 Float R/O Block 5 of analog output 1; see name of block 1 provided by fac-
tory
0x1743 5955 Float R/O Block 5 of analog output 2
0x... ... Float R/O Block 5 of analog output ...
0x175F 5983 Float R/O Block 5 of analog output 16
0x1761 5985 Float R/O Block 6 of analog output 1; see name of block 1 provided by fac-
tory
0x1763 5987 Float R/O Block 6 of analog output 2
0x... ... Float R/O Block 6 of analog output ...
0x177F 6015 Float R/O Block 6 of analog output 16
0x1781 6017 Float R/O Block 7 of analog output 1; see name of block 1 provided by fac-
tory
0x1783 6019 Float R/O Block 7 of analog output 2
0x... ... Float R/O Block 7 of analog output ...
0x179F 6047 Float R/O Block 7 of analog output 16
86
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x17A1 6049 Float R/O Block 8 of analog output 1; see name of block 1 provided by fac-
tory
0x17A3 6051 Float R/O Block 8 of analog output 2
0x... ... Float R/O Block 8 of analog output ...
0x17BF 6079 Float R/O Block 8 of analog output 16
0x17C1 6081 Float R/O Block 9 of analog output 1; see name of block 1 provided by fac-
tory
0x17C3 6083 Float R/O Block 9 of analog output 2
0x... ... Float R/O Block 9 of analog output ...
0x17DF 6111 Float R/O Block 9 of analog output 16
87
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x1883 6275 Float R/O Block 15 of analog output 2
0x... ... Float R/O Block 15 of analog output ...
0x189F 6303 Float R/O Block 15 of analog output 16
88
7 Modbus address tables
PLC integer outputs
The meaning of PLC integer outputs (12 blocks each with 24 outputs) is determined by the PLC
program. They are named in the setup program under CPU > SETUP ONLY > INTEGER PLC OUT-
PUT TEXTS.
89
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x192F 6447 Int32 R/O Block 1 of integer 24 = program channel 3: remaining section time
90
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x1A81 6785 Int32 R/O Block 9 of integer 1 = diverse program data
0x1A83 6787 Int32 R/O Block 9 of integer 2
0x... ... Int32 R/O Block 9 of integer ...
0x1AAF 6831 Int32 R/O Block 9 of integer 24
91
7 Modbus address tables
PLC digital outputs
The meaning of PLC digital outputs (18 blocks each with 32 outputs) is determined by the PLC
program. They are named in the setup program under CPU > SETUP ONLY > DIGITAL PLC OUT-
PUT TEXTS.
92
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x1B43 6979 Bit field 32 R/O Block 2 digital outputs; intended for program generator 2
0x1B45 6981 Bit field 32 R/O Block 3 digital outputs; intended for program generator 3
0x1B47 6983 Bit field 32 R/O Block 4 digital outputs; intended for program generator 4
0x1B49 6985 Bit field 32 R/O Block 5 digital outputs; intended for program generator 5
0x1B4B 6987 Bit field 32 R/O Block 6 digital outputs; intended for program generator 6
0x1B4D 6989 Bit field 32 R/O Block 7 digital outputs; intended for program generator 7
0x1B4F 6991 Bit field 32 R/O Block 8 digital outputs; intended for program generator 8
0x1B51 6993 Bit field 32 R/O Block 9 digital outputs; intended for program generator 9
0x1B53 6995 Bit field 32 R/O Block 10 digital outputs;
intended for limit value monitoring 1 to 32
Bit 0 R/O Output 1 (limit value monitoring 1)
Bit ... R/O Output ...
Bit 31 R/O Output 32 (limit value monitoring 32)
0x1B55 6997 Bit field 32 R/O Block 11 digital outputs;
intended for limit value monitoring 33 to 64
Bit 0 R/O Output 1 (limit value monitoring 33)
Bit ... R/O Output ...
Bit 31 R/O Output 32 (limit value monitoring 64)
0x1B57 6999 Bit field 32 R/O Block 12 digital outputs;
intended for binary linking 1 to 8
Bit 0 R/O Block 12 of digital output 1 (binary linking 1)
Bit ... R/O Block 12 of digital output ...
Bit 7 R/O Block 12 of digital output 8 (binary linking 8)
Bit 8 to 31 R/O Block 12 of digital outputs 9 to 32
0x1B59 7001 Bit field 32 R/O Block 13 of digital outputs 1 to 32
0x1B5B 7003 Bit field 32 R/O Block 14 of digital outputs 1 to 32
0x1B5D 7005 Bit field 32 R/O Block 15 of digital outputs 1 to 32
0x1B5F 7007 Bit field 32 R/O Block 16 of digital outputs 1 to 32
0x1B61 7009 Bit field 32 R/O Block 17 of digital outputs 1 to 32
0x1B63 7011 Bit field 32 R/O Block 18 of digital outputs 1 to 32
93
7 Modbus address tables
PLC program texts for program channels 1 to 3
0x1DFF 7679 Char[73] R/O Text for program channel 2 for generator 1 (= Unicode)
0x1E24 7716 Char[73] R/O Text for program channel 2 for generator 2 (= Unicode)
0x... ... Char[73] R/O Text for program channel 2 for generator ... (= Unicode)
0x1F27 7975 Char[73] R/O Text for program channel 2 for generator 9 (= Unicode)
0x1F4C 8012 Char[73] R/O Text for program channel 3 for generator 1 (= Unicode)
0x1F71 8049 Char[73] R/O Text for program channel 3 for generator 2 (= Unicode)
0x... ... Char[73] R/O Text for program channel 3 for generator ... (= Unicode)
0x2074 8308 Char[73] R/O Text for program channel 3 for generator 9 (= Unicode)
0x2136 8502 Float R/W Limit value 2 for alarm of analog variable 1
0x2138 8504 Float R/W Limit value 2 for alarm of analog variable 2
0x... ... Float R/W Limit value 2 for alarm of analog variable ...
0x21B4 8628 Float R/W Limit value 2 for alarm of analog variable 64
94
7 Modbus address tables
PLC limit value 1 and 2 for alarms of the integer variables 1 to 64
0x22B6 8886 Int32 R/W Limit value 2 for alarm of integer variable 1
0x22B8 8888 Int32 R/W Limit value 2 for alarm of integer variable 2
0x... ... Int32 R/W Limit value 2 for alarm of integer variable ...
0x2334 9012 Int32 R/W Limit value 2 for alarm of integer variable 64
95
7 Modbus address tables
Compiled reading frames
96
7 Modbus address tables
7.3 Modbus addresses of other modules
If the central processing unit detects other modules, they can be accessed using the following
addresses depending on the module type.
The additional modules are available for configuration under virtual Modbus device addresses
(1 to 254) as with the setup program under PROJECT > HARDWARE ARRANGEMENT.
97
7 Modbus address tables
7.3.2 Modbus addresses for each multichannel controller module
NOTE!
Signals with labels "NV_..." are intended for the function that corresponds to the respective
default names. However, the function ultimately depends on how the signals are used in the
configuration.
98
7 Modbus address tables
Signals from the controller module to the central processing unit
99
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x0052 82 Float R/O HW_counter
0x0054 84 Float R/O Analog input 1
0x0056 86 Float R/O Analog input 2
0x0058 88 Float R/O Analog input 3
0x005A 90 Float R/O Analog input 4
0x005C 92 Float R/O Math 1
0x005E 94 Float R/O Math 2
0x0060 96 Float R/O Math 3
0x0062 98 Float R/O Math 4
0x0064 100 Float R/O Output level for controller channel 1
0x0066 102 Float R/O Output level for controller channel 2
0x0068 104 Float R/O Output level for controller channel 3
0x006A 106 Float R/O Output level for controller channel 4
0x006C 108 Float R/O Actual value for controller channel 1
0x006E 110 Float R/O Actual value for controller channel 2
0x0070 112 Float R/O Actual value for controller channel 3
0x0072 114 Float R/O Actual value for controller channel 4
0x0074 116 Float R/O Setpoint value for controller channel 1
0x0076 118 Float R/O Setpoint value for controller channel 2
0x0078 120 Float R/O Setpoint value for controller channel 3
0x007A 122 Float R/O Setpoint value for controller channel 4
0x007C 124 Float R/O Setpoint value function 1
0x007E 126 Float R/O Setpoint value function 2
0x0080 128 Float R/O Setpoint value function 3
0x0082 130 Float R/O Setpoint value function 4
Multichannel controller module limit value 1 and 2 for alarms of the analog variables 1 to 4
0x0094 148 Float R/W Limit value 2 for alarm of analog variable 1
0x0096 150 Float R/W Limit value 2 for alarm of analog variable 2
0x0098 152 Float R/W Limit value 2 for alarm of analog variable 3
100
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x009A 154 Float R/W Limit value 2 for alarm of analog variable 4
Multichannel controller module, switching differentials for alarms of the analog variables 1 to 4
101
7 Modbus address tables
Multichannel controller module parameter TV1
102
7 Modbus address tables
Multichannel controller module parameter TN2
103
7 Modbus address tables
Multichannel controller module parameter XSH 1 to 8
104
7 Modbus address tables
Multichannel controller module parameter TT 1 to 8
105
7 Modbus address tables
Multichannel controller module parameter Y2
106
7 Modbus address tables
Multichannel controller module offset 1 to 4, each for setpoint value 1 to 4
0x019C 412 Float R/W Setpoint value offset 1 for controller channel 2 (or fixed setpoint
value 1)
0x019E 414 Float R/W Setpoint value offset 2 for controller channel 2 (or fixed setpoint
value 2)
0x01A0 416 Float R/W Setpoint value offset 3 for controller channel 2 (or fixed setpoint
value 3)
0x01A2 418 Float R/W Setpoint value offset 4 for controller channel 2 (or fixed setpoint
value 4)
0x01A4 420 Float R/W Setpoint value offset 1 for controller channel 3 (or fixed setpoint
value 1)
0x01A6 422 Float R/W Setpoint value offset 2 for controller channel 3 (or fixed setpoint
value 2)
0x01A8 424 Float R/W Setpoint value offset 3 for controller channel 3 (or fixed setpoint
value 3)
0x01AA 426 Float R/W Setpoint value offset 4 for controller channel 3 (or fixed setpoint
value 4)
0x01AC 428 Float R/W Setpoint value offset 1 for controller channel 4 (or fixed setpoint
value 1)
0x01AE 430 Float R/W Setpoint value offset 2 for controller channel 4 (or fixed setpoint
value 2)
0x01B0 432 Float R/W Setpoint value offset 3 for controller channel 4 (or fixed setpoint
value 3)
0x01B2 434 Float R/W Setpoint value offset 4 for controller channel 4 (or fixed setpoint
value 4)
107
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x01B6 438 Float R/W Limit value for limit value monitoring 2
0x01B8 440 Float R/W Limit value for limit value monitoring 3
0x01BA 442 Float R/W Limit value for limit value monitoring 4
108
7 Modbus address tables
Multichannel controller module - additional configuration parameters (as of system version 05)
0x01DC 476 Float R/W Setpoint value function 1: negative gradient of the ramp function
0x01DE 478 Float R/W Setpoint value function 2: negative gradient of the ramp function
0x01E0 480 Float R/W Setpoint value function 3: negative gradient of the ramp function
0x01E2 482 Float R/W Setpoint value function 4: negative gradient of the ramp function
0x01E4 484 Float R/W Setpoint value function 1: start value of the ramp function
0x01E6 486 Float R/W Setpoint value function 2: start value of the ramp function
0x01E8 488 Float R/W Setpoint value function 3: start value of the ramp function
0x01EA 490 Float R/W Setpoint value function 4: start value of the ramp function
109
7 Modbus address tables
Multichannel controller module - additional process values (as of system version 05)
0x01F8 504 Boolean R/W [bit 0] Controller channel 1: self-optimization start (1 = start);
(NV_C01TuneStart)
0x01F9 505 Boolean R/W [bit 1] Controller channel 1: self-optimization stop (1 = stop);
(NV_C01TuneStop)
0x01FA 506 Boolean R/W [bit 2] Controller channel 1: parameter block (0 = param. block 1,
1 = param. block 2);
(NV_C01ParamSet)
0x01FB 507 Boolean R/W [bit 3] Controller channel 1: manual mode (0 = inactive, 1 = active);
(NV_C01ManualMode)
0x01FC 508 Boolean R/W [bit 4] Controller channel 1: controller off (0 = on, 1 = off);
(NV_C01Stop)
0x01FD 509 Boolean R/W [bit 5] Controller channel 2: self-optimization start (1 = start);
(NV_C02TuneStart)
0x01FE 510 Boolean R/W [bit 6] Controller channel 2: self-optimization stop (1 = stop);
(NV_C02TuneStop)
0x01FF 511 Boolean R/W [bit 7] Controller channel 2: parameter block (0 = param. block 1,
1 = param. block 2);
(NV_C02ParamSet)
0x0200 512 Boolean R/W [bit 8] Controller channel 2: manual mode (0 = inactive, 1 = active);
(NV_C02ManualMode)
0x0201 513 Boolean R/W [bit 9] Controller channel 2: controller off (0 = on, 1 = off);
(NV_C02Stop)
0x0202 514 Boolean R/W [bit 10] Controller channel 3: self-optimization start (1 = start);
(NV_C03TuneStart)
0x0203 515 Boolean R/W [bit 11] Controller channel 3: self-optimization stop (1 = stop);
(NV_C03TuneStop)
0x0204 516 Boolean R/W [bit 12] Controller channel 3: parameter block (0 = param. block 1,
1 = param. block 2);
(NV_C03ParamSet)
0x0205 517 Boolean R/W [bit 13] Controller channel 3: manual mode (0 = inactive,
1 = active);
(NV_C03ManualMode)
0x0206 518 Boolean R/W [bit 14] Controller channel 3: controller off (0 = on, 1 = off);
(NV_C03Stop)
110
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x0207 519 Boolean R/W [bit 15] Controller channel 4: self-optimization start (1 = start);
(NV_C04TuneStart)
0x0208 520 Boolean R/W [bit 16] Controller channel 4: self-optimization stop (1 = stop);
(NV_C01TuneStop)
0x0209 521 Boolean R/W [bit 17] Controller channel 4: parameter block (0 = param. block 1,
1 = param. block 2);
(NV_C04ParamSet)
0x020A 522 Boolean R/W [bit 18] Controller channel 4: manual mode (0 = inactive,
1 = active);
(NV_C04ManualMode)
0x020B 523 Boolean R/W [bit 19] Controller channel 4: controller off (0 = on, 1 = off);
(NV_C04Stop)
0x020C 524 Boolean R/W [bit 20] Setpoint value function 1: setpoint changeover 1 (bit 0);
(NV_SP01Changeover1)
0x020D 525 Boolean R/W [bit 21] Setpoint value function 1: setpoint changeover 2 (bit 1);
(NV_SP01Changeover2)
0x020E 526 Boolean R/W [bit 22] Setpoint value function 2: setpoint changeover 1 (bit 0);
(NV_SP02Changeover1)
0x020F 527 Boolean R/W [bit 23] Setpoint value function 2: setpoint changeover 2 (bit 1);
(NV_SP02Changeover2)
0x0210 528 Boolean R/W [bit 24] Setpoint value function 3: setpoint changeover 1 (bit 0);
(NV_SP03Changeover1)
0x0211 529 Boolean R/W [bit 25] Setpoint value function 3: setpoint changeover 2 (bit 1);
(NV_SP03Changeover2)
0x0212 530 Boolean R/W [bit 26] Setpoint value function 4: setpoint changeover 1 (bit 0);
(NV_SP04Changeover1)
0x0213 531 Boolean R/W [bit 27] Setpoint value function 4: setpoint changeover 2 (bit 1);
(NV_SP04Changeover2)
0x0214 532 Boolean R/W [bit 28] Digital output 3: process value;
(NV_DO3)
0x0215 533 Boolean R/W [bit 29] Digital output 4: process value;
(NV_DO4)
0x0216 534 Boolean R/W [bit 30] Digital output 5: process value;
(NV_DO5)
0x0217 535 Boolean R/W [bit 32] Digital output 6: process value;
(NV_DO6)
0x0218 536 Boolean R/W [bit 32] Digital output 7: process value;
(NV_DO7)
111
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x0219 537 Boolean R/W [bit 33] Digital output 8: process value;
(NV_DO8)
0x021A 538 Boolean R/W [bit 34] Digital output 9: process value;
(NV_DO9)
0x021B 539 Boolean R/W [bit 35] Digital output 10: process value;
(NV_DO10)
0x021C 540 Boolean R/W [bit 36] Limit value monitoring 1: acknowledgement (1 = active);
(NV_LI01Confirmation)
0x021D 541 Boolean R/W [bit 37] Limit value monitoring 2: acknowledgement;
(NV_LI02Confirmation)
0x021E 542 Boolean R/W [bit 38] Limit value monitoring 3: acknowledgement;
(NV_LI03Confirmation)
0x021F 543 Boolean R/W [bit 39] Limit value monitoring 4: acknowledgement;
(NV_LI041Confirmation)
0x0220 544 Boolean R/W [bit 40] Digital input 1: signal suppression (1 = active);
(NV_SR01)
0x0221 545 Boolean R/W [bit 41] Digital input 2: signal suppression;
(NV_SR02)
0x0222 546 Boolean R/W [bit 42] Digital input 5: signal suppression;
(NV_SR03)
0x0223 547 Boolean R/W [bit 43] Digital input 6: signal suppression;
(NV_SR04)
0x0224 548 Boolean R/W [bit 44] Digital input 7: signal suppression;
(NV_SR05)
0x0225 549 Boolean R/W [bit 45] Digital input 8: signal suppression;
(NV_SR06)
0x0226 550 Boolean R/W [bit 46] Digital input 9: signal suppression;
(NV_SR07)
0x0227 551 Boolean R/W [bit 47] Digital input 10: signal suppression;
(NV_SR08)
112
7 Modbus address tables
7.3.3 Modbus addresses for each 4-channel analog input module
Signals from the central processing unit to the 4-channel analog input module
Signals from the 4-channel analog input module to the central processing unit
4-channel analog input module - limit value 1 and 2 for alarms of the analog variables 1 to 4
113
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x0094 148 Float R/W Limit value 2 for alarm of analog variable 1
0x0096 150 Float R/W Limit value 2 for alarm of analog variable 2
0x0098 152 Float R/W Limit value 2 for alarm of analog variable 3
0x009A 154 Float R/W Limit value 2 for alarm of analog variable 4
4-channel analog input module, switching differential for alarms of the analog variables 1 to 4
114
7 Modbus address tables
7.3.4 Modbus addresses for each 8-channel analog input module
Digital signals from the central processing unit to the 8-channel analog input module
Digital signals from the 8-channel analog input module to the central processing unit
115
7 Modbus address tables
Address Data type/ Access Signal designation
bit number
Hex. Dec.
0x0046 70 Bit field 8 R/O Bit 0 = 0x01: digital input
0x0047 71 Byte R/O Collective alarm
0x0050 80 Float R/O Analog input 1
0x0052 82 Float R/O Analog input 2
0x... ... Float R/O Analog input ...
0x005E 94 Float R/O Analog input ´8
8-channel analog input module - limit value 1 and 2 for alarms of the analog variables 1 to 8
0x009A 154 Float R/W Limit value 2 for alarm of analog variable 1
0x009C 156 Float R/W Limit value 2 for alarm of analog variable 2
0x... ... Float R/W Limit value 2 for alarm of analog variable ...
0x00A8 168 Float R/W Limit value 2 for alarm of analog variable 8
8-channel analog input module, switching differential for alarms of the analog variables 1 to 8
116
7 Modbus address tables
7.3.5 Modbus addresses for each 12-channel digital input/output module
Process values from the central processing unit to the 12-channel digital input/output module
Process values from the 12-channel digital input/output module of the central processing unit
117
7 Modbus address tables
7.3.6 Modbus addresses for each relay module 4-channel
Process values from the central processing unit to the relay module 4-channel
118
JUMO GmbH & Co. KG JUMO Instrument Co. Ltd. JUMO Process Control, Inc.
Street address: JUMO House 6733 Myers Road
Moritz-Juchheim-Straße 1 Temple Bank, Riverway East Syracuse, NY 13057, USA
36039 Fulda, Germany Harlow, Essex, CM20 2DY, UK
Delivery address: Phone: +44 1279 63 55 33 Phone: +1 315 437 5866
Mackenrodtstraße 14 Fax: +44 1279 62 50 29 Fax: +1 315 437 5860
36039 Fulda, Germany Email: sales@jumo.co.uk Email: info.us@jumo.net
Postal address: Internet: www.jumo.co.uk Internet: www.jumousa.com
36035 Fulda, Germany
Phone: +49 661 6003-0
Fax: +49 661 6003-607
Email: mail@jumo.net
Internet: www.jumo.net