www.krohne.com07/2010 - 4000410703 - AD Modbus IFC 300 R03 en
IFC 300
IMPORTANT INFORMATION 1
The flow converter with the RS485 interface card fitted, is able to communicate with an external
device (PC or other suitable computer system) using the Modbus protocol. This option allows
data exchange between PC or computer and single or multiple devices.
The bus configuration consists of one external device as a master and one or more converters as
slaves. For bus operation the device address (menu C5.8.1), baudrate (menu C5.8.2) and settings
(menu C5.8.3, C5.8.4, C5.8.5 & C5.8.6) must be set in the converter.
All devices connected to the bus, must have different unique addresses but the same baud rate
and settings.
www.krohne.com07/2010 - 4000410703 - AD Modbus IFC 300 R03 en
3
2 TECHNICAL DATA
2.1 General technical data
InterfaceRS485, galvanically isolated
Baud rate1200, 2400, 4800, 9600, 19200, 38400, 57600 or 115200
ProtocolModbus RTU (available as a separate document on request)
Maximum participants on bus32 per line, master included (may be extended by repeaters)
CodingNRZ bit coding
Address rangeModbus: 1...247
Transmission procedureHalf duplex, asynchronous
Bus accessMaster / slave
CableScreened twisted pair
DistancesMaximum 1.2 km / 3937 ft without repeater (dependant on
baud rate and cable specifications)
2.2 Technical data of the Modbus interface (acc. to EIA standards)
Kind of signal transmissionDifferential, 2-wire topology
Maximum number of
transmitter/receivers
Voltage range on converter input-7...+12 V
Maximum voltage on converter output5V
Minimum voltage on driver output, max.
load
Maximum input current (off state)-20...+20 μA
Receiver input voltage-7...+12 V
Sensitivity of the receiver-200...+200 mV
Receiver input resistance>12kΩ
Short circuit current< 250 mA
Termination / polarization resistors
(if activated by the jumpers X5/X6)
32
U
>1.5V
diff
120 Ω / 560 Ω
IFC 300
4
www.krohne.com07/2010 - 4000410703 - AD Modbus IFC 300 R03 en
IFC 300
CONNECTION IN BUS SYSTEMS 3
For proper operation of Modbus in half duplex mode in single or multi-drop communication, it is
recommended that a termination resistor is applied to both ends of the data line. The simplest
form of termination is line-to-line resistor across the differential input.
In RTU mode the Modus protocol requires quiet periods on the communications bus for
synchronisation. It is therefore important that the Modbus is not allowed to "float", i.e.
unreferenced to 0 V, as this could lead to spurious signals due to noise pick-up. It is therefore
necessary to employ biasing resistors at one point on the bus network, normally the "end".
The Modbus converter has two conditions. Default is without termination and polarization. To get
the active termination and polarization the settings of jumper X5 and X6 on Modbus board must
be changed then. For detailed information see chapter "Electrical Connection".
www.krohne.com07/2010 - 4000410703 - AD Modbus IFC 300 R03 en
5
4 LOCAL CONFIGURATION
IFC 300
Converter Fct.
DisplayDescription and settings
No.
C5.8.1Slave AddressSelects the Modbus address of the device.
C5.8.2Baud RateSelects the baud rate of the device.
C5.8.3ParitySelects the parity.
C5.8.4Data FormatSelects the data format.
C5.8.5Transmission DelaySelects the delay between receiving the last byte of a request and
C5.8.6Stop BitsSelects the number of stop bits.
C5.8.7InformationDisplays information about the device.
sending the first byte of the response.
Range: 0..40ms (default = 0ms)
Options:
1 (default) / 2
6
www.krohne.com07/2010 - 4000410703 - AD Modbus IFC 300 R03 en
IFC 300
ELECTRICAL CONNECTION 5
Terminals A and B of the converter are dependant on the options selected at order. Refer to the
standard handbook of the converter for connection details.
Modbus connections
TerminalsDescription
D-Signal A (D 0)
DSignal B (D 1)
C-Common 0 V
CNot connected
Jumper settings on the Modbus printed circuit board
Jumper positionDescription
X5X6
1-21-2With termination and polarization
2-32-3Without termination and polarization
www.krohne.com07/2010 - 4000410703 - AD Modbus IFC 300 R03 en
7
6 MODBUS PROTOCOL
6.1 General information concerning the protocol
Using RTU (Remote Terminal Unit) format, data is transmitted as 8 bit binary characters. There
are no special characters to determine the start and end of a message frame.
Synchronization is achieved by a minimum silent period of at least 3.5 character times before the
start of each frame transmission and a maximum silent period of 1.5 character times between
characters in the same frame.
6.2 RTU frame format
The format of the query and response frames vary slightly depending upon the command
function. The basic form is outlined below.
Command functionFrame formatDescription
IFC 300
Silent period3.5 x TAll transmissions must be preceded by a minimum silent
Slave address8bitsThis is a single byte slave address which is transmitted
Function code8bitsThis is an eight bit code in the range of 1...255 although
Register start address or
byte count when required
Number of points or data
bytes when required
8 bit byte count
16 bit address
n×8bitsNumber of points:
period of 3.5 x T, where T is the transmission time of a
single character. This can be calculated from the baud
rate, e.g. at 19.2 kb no parity with 1 stop bit (10 bits),
T=520µs.
first and must be in the range of 1...247. Address 0 is
reserved for a broadcast address which all slaves should
recognize, and therefore requires no response.
only 126 functions exist as the codes 129...255 represent
an error condition. An error condition occurs when the
addressed slave does not accept the command, in which
case it responds with the function code + 128, i.e. with its
MSB set to 1.
Register start address:
Register start address: for a query command that requires
Register start address:Register start address:
data to be returned, this field will contain the 16 bit start
address of the register (or data) to be returned.
Note that the converter uses protocol addresses.
Therefore the register address listed is the actual number
required in the Modbus command.
E.g:
E.g: to access input register 30006, the register start
E.g:E.g:
address is 30006dec = 7536hex.
Byte count:
Byte count: In general this is only present in frames that
Byte count:Byte count:
are transferring data, and has a value equal to the number
of bytes contained in the data field. The data field is limited
to a maximum of 250 bytes.
Number of points: for a query command that requires data
Number of points:Number of points:
to be returned, this field will contain the number of
registers to be returned regardless of their bit size.
Data bytes:
Data bytes: contains the data requested. The converter can
Data bytes:Data bytes:
use big endian format (MSB first) or little endian
format (LSB first).
CRC16 bitsThis field contains a 16 bit CRC which is calculated on all
8
www.krohne.com07/2010 - 4000410703 - AD Modbus IFC 300 R03 en
the data bits of the message bytes.
Loading...
+ 16 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.