Industrial Data Communication
Industrial Data Communication
Communication
Communication protocols
ARFAN ALI
www.arfanali.webs.com
Simplex Communication
A simplex system is one that is designed for sending messages in one direction
only. This is illustrated in figure 1. This is of limited interest in an industrial
communications system as feedback from the instrument is essential to confirm
the action requested has indeed occurred.
www.arfanali.webs.com
Page 2
Half duplex communications occurs when data flows in both directions; although
in only one direction at a time. Half duplex communications (as discussed later)
is provided by the RS-485 physical standard (to be discussed later) where only
one station can transmit at a time. A protocol (which can be thought of as the
pattern of bits and bytes) can be half duplex as well an example here is
Modbus
In a full duplex system, the data can flow in both directions simultaneously.
Examples of hardware standards supporting full duplex are the physical standard
EIA-232E (sometimes referred to as RS-232C).
www.arfanali.webs.com
Page 3
An open circuit voltage should never exceed 25 volts. (In Reference to GND)
www.arfanali.webs.com
Page 4
A short circuit current should not exceed 500mA. The driver should be able to
handle this without damage. (Take note of this one!)
Connector Types
Serial Ports come in two sizes, There are the D-Type 25 pin connector and the D-Type
9 pin connector both of which are male on the back of the PC, thus you will require a
female connector on your device.
RS-232 Signal Descriptions
TxD: Transmit Data--This wire is used for sending data.
RxD: Receive Data--This line is used for receiving data.
GND: Signal Ground--This pin is the same for DTE and DCE devices, and it provides
the return path for both data and hand-shake signals.
DTR: Data Terminal Ready--Used by a DTE to signal that it is plugged in and available
to begin communication.
DSR: Data Set Ready--Sister signal to DTR, it is used by the DCE to indicate it is ready
to begin communication.
CTS: Clear to Send--Used by DCE to signal it is available to send data, and used in
response to a RTS request for data.
RTS: Request to Send--Used by a DTE to indicate that it wants to send data. Also, in a
multi-drop network, used to turn carrier on the modem on and off.
DCD: Data Carrier Detect--Used by a DCE to indicate to the DTE that it has received a
carrier signal from the modem and that real data is being transmitted.
RI: Ring Indicator--Used by DCE modem to tell the DTE that the phone is ringing and
that data will be forthcoming.
The following table gives the pin outs of the different connectors, along with the signals
involved on the serial communication port:
www.arfanali.webs.com
Page 5
D-Type-25
Pin No.
Pin 2
D-Type-9
Pin No.
Pin 3
Abbreviation
TD
Full Name
Function
Transmit
Data
Pin 3
Pin 4
Pin 2
Pin 7
RD
RTS
Receive
Data
Request
To Send
Pin 5
Pin 8
CTS
Clear
Send
To
www.arfanali.webs.com
Page 6
Pin 6
Pin 6
DSR
Data Set
Ready
Pin 7
Pin 5
SG
Signal
Ground
Pin 8
Pin 20
Pin 1
Pin 4
CD
DTR
Carrier
Detect
Data
Terminal
Ready
Pin 22
Pin 9
RI
Ring
Indicator
www.arfanali.webs.com
Page 7
DTE devices
Communications servers
Terminals
Serial printers
DCE devices
Modems and other communications equipment
www.arfanali.webs.com
Page 8
Device Type
Function
DTE
Transmit
Receive
Ground
Transmit
Receive
Ground
DCE
www.arfanali.webs.com
Page 9
www.arfanali.webs.com
Page 10
www.arfanali.webs.com
Page 11
TD
2 ------------------------> 2
RD
3 <------------------------ 3
RTS 4 ------------------------> 4
CTS 5 <------------------------ 5
DSR 6 ------------------------> 6
DCD 8 ------------------------> 8
DTR 20 ------------------------> 20
SG
7 ------------------------- 7
RI 22 <------------------------ 22
DTE (9 pin)
TD
3 ------------------------> 2
RD
2 <------------------------ 3
RTS 7 ------------------------> 4
CTS 8 <------------------------ 5
DSR 6 ------------------------> 6
DCD 1 ------------------------> 8
DTR 4 ------------------------> 20
SG
5 ------------------------- 7
RI
9 <------------------------ 22
www.arfanali.webs.com
Page 12
TD
2 ------------------------> 2
RD
3 <------------------------ 3
RTS 4 ----,
,----- 4
CTS 5 <---'
'----> 5
DSR 6 <---,
,----> 6
DCD 8 <---|
|----> 8
DTR 20 ----'
'----- 20
SG
7 ------------------------- 7
DTE (9 pin)
TD
3 ------------------------> 2
RD
2 <------------------------ 3
RTS 7 ----,
,----- 4
CTS 8 <---'
'----> 5
DSR 6 <---,
,----> 6
DCD 1 <---|
|----> 8
DTR 4 ----'
SG
'----- 20
5 ------------------------- 7
www.arfanali.webs.com
Page 13
TD
2 ---------\ /------------- 2
RD
3 <--------/ \------------> 3
,----> 6
7 ------------------------- 7
DTE (9 pin)
TD
2 ---------\ /------------- 3
RD
3 <--------/ \------------> 2
,----> 6
7 ------------------------- 5
www.arfanali.webs.com
Page 14
DTE (9 pin)
DTE (9 pin)
RD
2 ---------\ /------------- 2
TD
3 <--------/ \------------> 3
,----> 6
5 ------------------------- 5
www.arfanali.webs.com
Page 15
2 ---------\ /------------- 2
3 <--------/ \------------> 3
4 ----,
,----- 4
5 <---'
'----> 5
6 <---,
,----> 6
DCD 8 <---|
|----> 8
DTR 20 ----'
'----- 20
SG 7 ------------------------- 7
DTE (25 pin)
DTE (9 pin)
TD
RD
RTS
CTS
2 ---------\ /------------- 3
3 <--------/ \------------> 2
4 ----,
,----- 7
5 <---'
'----> 8
DSR
DCD
DTR
SG
6 <---,
,----> 6
8 <---|
|----> 1
20 ----'
'----- 4
7 ------------------------- 5
DTE (9 pin)
TD
RD
RTS
CTS
3 ---------\ /------------- 3
2 <--------/ \------------> 2
7 ----,
,----- 7
8 <---'
'----> 8
DSR 6 <---,
DCD 1 <---|
DTR 4 ----'
SG
DTE (9 pin)
,----> 6
|----> 1
'----- 4
5 ------------------------- 5
www.arfanali.webs.com
Page 16
Errors in balanced transmission systems such as RS-422 can also be caused by signal
reflections. As data transfer speeds increase and travel over longer distances, the
signal can be reflected back from the far end of the wire. To combat this, termination
resistors are placed at the far end of the cable which make the cable appear electrically
as if it is infinitely long--infinitely long lines don't have ends, and thus can't reflect from
www.arfanali.webs.com
Page 17
one end to the other. These termination resistors will differ depending on the protocol
used. For RS-422 a 100 ohm resistor is placed at the receiving device.
With RS-422 a master can use one communication line to converse with up to 10
slaves. With that many parties wanting to talk, a mechanism for controlling the
conversation must be implemented. Rs-422 communication does not support
Full-Duplex.
www.arfanali.webs.com
Page 18
RS-422
RS-485
Mode of Operation
single ended
differential
differential
32
10
32
50 feet
4000 feet
4000 feet
20 kbps
10 Mbps
10 Mbps
25V
-0.25 to +6V
-7 to +12V
5V
2V
1.5V
15V
5V
5V
3k to 7k
100k
54k
n/a
n/a
100A
VMAX/300
100A
100A
15V
-7V to +7V
-7V to +12V
3V
200mV
200mV
3k to 7k
4k
12k
www.arfanali.webs.com
Page 19
In asynch. serial communication, the electrical interface is held in the mark position
between characters. The start of transmission of a character is signaled by a drop in
signal level to the space level. At this point, the receiver starts its clock. After one bit
time (the start bit) come 8 bits of true data followed by one or more stop bits at the mark
www.arfanali.webs.com
Page 20
level. The receiver tries to sample the signal in the middle of each bit time. The byte will
be read correctly if the line is still in the intended state when the last stop bit is read.
Thus the transmitter and receiver only have to have approximately the same clock
rate. A little arithmetic will show that for a 10 bit sequence, the last bit will be interpreted
correctly even if the sender and receiver clocks differ by as much as 5%.
Asynch. is relatively simple, and therefore inexpensive. However, it has a high
overhead, in that each byte carries at least two extra bits: a 25% loss of line bandwidth.
A 56kbps line can only carry 5600 bytes/second asynchronously, in ideal conditions.
www.arfanali.webs.com
Page 21
Synchronous Communication
In synchronous communications, data is not sent in individual bytes, but as frames of
large data blocks. Frame sizes vary from a few bytes through 1500 bytes for Ethernet or
4096 bytes for most Frame Relay systems. The clock is embedded in the data stream
encoding, or provided on separate clock lines such that the sender and receiver are
always in synchronization during a frame transmission.
A synchronous system uses a string of bits to synchronize the receiver before the data
is detected. A typical synchronous system frame format is shown below in figure
Preamble This comprises one or more bytes that allow the receiving unit to
synchronies with the frame
SFD The start of frame delimiter signals the beginning of the frame
What is Handshaking?
The method used by RS-232 communication allows for a simple connection of three
lines: Tx, Rx, and Ground. However, for the data to be transmitted, both sides have
to be clocking the data at the same baud rate. Even though this method is sufficient
for most applications, it is limited in being able to respond to problems such as the
receiver getting overloaded. This is where serial handshaking can help.
www.arfanali.webs.com
Page 22
Software Handshaking
Hardware Handshaking
Software Handshaking: This style uses actual data bytes as control characters. The
lines necessary are still the simple three line set of Tx, Rx, and ground since the control
characters are sent over the transmission line like regular data. The function SetXMode
allows the user to enable or disable the use of two control characters, XON and XOFF.
These characters are sent by the receiver of the data to pause the transmitter during
communication.
Hardware Handshaking: The second method of handshaking is to use actual
hardware lines. Like the Tx and Rx lines, the RTS/CTS and DTR/DSR lines work
together with one being the output and the other the input. The first set of lines are RTS
(Request to Send) and CTS (Clear to Send). When a receiver is ready for data, it will
assert the RTS line indicating it is ready to receive data. This is then read by the sender
at the CTS input, indicating it is clear to send the data. The next set of lines are DTR
(Data Terminal Ready) and DSR (Data Set Ready). These lines are used mainly for
modem communication. They allow the serial port and the modem to communicate their
status. For example, when the modem is ready for data to be sent from the PC, it will
assert the DTR line indicating that a connection has been made across the phone line.
This is read in through the DSR line and the PC can begin to send data. The general
rule of thumb is that the DTR/DSR lines are used to indicate that the system is ready for
communication where the RTS/CTS lines are used for individual packets of data.
www.arfanali.webs.com
Page 23
How does the receiver know when to start looking for information?
When should the receiver look at the channel for the information bits?
In digital data communications, wiring together of two or more devices is one of the first
steps in establishing a network. As well as this hardware requirement, software must
also be addressed. The OSI reference Model consists of the following seven layers:
www.arfanali.webs.com
Page 24
The OSI Model provides an overall framework for the vendor in which to package their
communications solutions comprising the hardware communications links and the
protocols.
In the world of instrumentation, this OSI model is often simplified to use only three
layers:
Layer 1: Physical Layer
Layer 2: Data Link Layer
Layer 3: Application Layer
www.arfanali.webs.com
Page 25
The HART smart instrumentation protocol comprises the Physical, Data Link and
Application Layers. Foundation Fieldbus comprise the Physical, Data Link and
Application Layers.
www.arfanali.webs.com
Page 26
HART Protocol
History
The HART protocol was originated by Rosemount in the late 1980's. HART is an
acronym for "Highway Addressable Remote Transducer." The protocol was "open" for
other companies to use and a User Group formed in 1990.
In March of 1993, the group voted to create an independent, nonprofit organization to
better support the HART Protocol. In July of that year, the HART Communication
Foundation was established to provide worldwide support for application of the
technology. The Foundation would own the HART technology, manage the protocol
standards, and ensure that the technology is openly available for the benefit of the
industry.
The HART Protocol - An Overview
HART- FSK Based
The HART protocol uses 1200 baud Frequency Shift Keying (FSK) based on the Bell
202 standard to superimpose digital information on the conventional 4 to 2OmA
analogue signal at a low level on top of the 4-20mA as show in Figures. The HART
protocol communicates at 1200 bps without interrupting the 4-20mA signal and allows a
host application (master) to get two or more digital updates per second from a field
device. As the average value of FSK signal is always Zero, 420 mA signal is not
affected.
www.arfanali.webs.com
Page 27
HART STRUCTURE
Specification of the HART protocol is based largely on the OSI Seven Layer
Communication Model (see Figure).
The HART protocol specifications directly address 3 layers in the OSI model: the
Physical, Data Link and Application Layers.
www.arfanali.webs.com
Page 28
www.arfanali.webs.com
Page 29
Backward Compatibility
Unlike other digital communication technologies, the HART Protocol provides a unique
communication solution that is backward compatible with the installed base of
instrumentation in use today. This backward compatibility ensures that investments in
existing cabling and current control strategies will remain secure well into the future.
Two Way Communication
Designed to compliment traditional 4-20mA analog signaling, the HART Protocol
supports two way digital communications for process measurement and control devices.
and makes it possible for additional information beyond just the normal process
variable to be communicated to/from a smart field instrument.
Combination of Analog & Digital
HART Field Communications Protocol extends this 4-20mA standard to enhance
communication with smart field instruments. The HART protocol was designed
specifically for use with intelligent measurement and control instruments, which
traditionally communicate using 4-20mA analog signals. HART preserves the 4-20mA
signal and enables two-way digital communications to occur without disturbing the
integrity of the 4-20mA signal.
HARTMaster/Slave
HART is a master/slave protocol which means that a field (slave) device only speaks
when spoken to by a master. The HART protocol
www.arfanali.webs.com
Page 30
Network Configuration
The HART protocol permits digital communication with field devices in either point-topoint or multidrop network configuration.
Point to Point Configuration
In point to point configuration only one slave is connected with Master
Multidrop Network Configuration
In this configuration Master is connected with several slaves (smart devices).
Considerable installation savings are possible with the multidrop networking capability
of HART, which allows multiple field devices to be connected to the same pair of wires.
In multidrop applications, communication with field devices is restricted to digital only as
the loop current is fixed at a minimum value and loses any meaning relative to the
process.
www.arfanali.webs.com
Page 31
www.arfanali.webs.com
Page 32
Figure 7 highlights the type of information that can be obtained from these devices.
www.arfanali.webs.com
Page 33
Values
Status and Diagnostic
Device malfunction
Primary Variable out of limits
Secondary Variable out of limits
Loop Current fixed or saturated
Configuration changed
Loop test (force loop current)
Device Identification
Calibration Information
Date
Range units
Upper and lower range values
Upper and lower sensor limits
Sensor min span
Damping
Message
TECHNICAL
INFORMATION
Communication Signals
www.arfanali.webs.com
Page 34
Data Information
Simple Command
Structure
Communication Masters
Variables
Wiring Topologies
www.arfanali.webs.com
Page 35
Cable Lengths
Intrinsically Safe
Validate PV and Loop Current values at control system against those from device
HART SERVER
www.arfanali.webs.com
Page 36
The HART Server is a software application that provides a method for accessing the
real time process and diagnostic information available in HART field instrumentation.
HART capable instruments can be connected to the PC serial port through commonly
available RS-232 interfaces. Using the HART Server significantly simplifies access to
HART compatible field device data.
www.arfanali.webs.com
Page 37
Overview
Types of buses
Sensor bus
Device bus
Fieldbus
Overview
What's the right field-level bus for process control?
Digital field networks or buses typically connect sensors, actuators, and other I/O
devices with a multi-drop wiring scheme.
Because different network technologies have different capabilities, choosing the right
bus (or buses) for your operation can help minimize project cost and maximize
operational benefits. Making the wrong choice will, at best, cost you money and it
can keep you from achieving the higher yield, better quality, and lower operating costs
your plant is capable of.
Types of Buses
Field-level buses can be grouped in three categories, depending on the device type and
Application for which they were designed:
Sensor bus
Device bus
Fieldbus
www.arfanali.webs.com
Page 38
www.arfanali.webs.com
Page 39
www.arfanali.webs.com
Page 40
Overview
Ethernet as a fieldbus?
Overview
What's the role of Ethernet?
Because it's widely used in office networking, Ethernet is familiar and inexpensive. But
the plant floor isn't an office, and requirements for process automation aren't the same
as for business applications.
Even so, in the right applications and with the right extensions Ethernet can
reduce costs and improve performance.
Is today's Ethernet technology appropriate for process control?
How is FOUNDATION fieldbus high-speed Ethernet different from standard Ethernet?
Connecting to the business network
Ethernet is the dominant business network technology worldwide, and it's standard
practice for automation systems to provide Ethernet connectivity for business
integration.
Connecting automation subsystems
Most automation systems are a collection of subsystems including controllers,
operator interfaces, and application processors. While some use a proprietary network
to connect these subsystems, the increasingly common approach is to use Ethernet
with proprietary extensions.
The most common method used to carry data from other protocols is tunneling.
www.arfanali.webs.com
Page 41
Intrinsic safety
Power and signal over the same wires (for two-wire devices)
www.arfanali.webs.com
Page 42
For new plants or plant expansions, using the following four types of networks offers a
realistic balance of simplicity and capability:
FOUNDATION fieldbus for basic and advanced regulatory control and for
discrete control associated with regulatory control
One type of device or sensor bus for motor control and machine control
www.arfanali.webs.com
Page 43
Overview
An established standard
Interoperability
Overview
Why should I care about FOUNDATION fieldbus?
The fact is, it can. It offers distinct advantages over traditional analog and discrete
wiring or even other digital buses at lower total installed cost and lower ongoing
costs.
FOUNDATION fieldbus can deliver these benefits because it's different from
traditional
communication technologies. That doesn't mean it's harder to learn or to use just
different.
How can FOUNDATION fieldbus carry more information than 4-20 mA wiring?
www.arfanali.webs.com
Page 44
It's ideal for applications using basic and advanced regulatory control, and for much of
the discrete control associated with those functions.
Two related implementations of FOUNDATION fieldbus have been introduced to meet
different needs within the process automation environment. These two implementations
use different physical media and communication speeds.
H1 works at 31.25 Kbit/sec and generally connects to field devices. It provides
communication and power over standard twisted-pair wiring. H1 is currently the most
common implementation.
HSE (High-speed Ethernet) works at 100 Mbit/sec and generally connects input/output
subsystems, host systems, linking devices, gateways, and field devices using standard
Ethernet cabling. It doesn't currently provide power over the cable, although work is
under way to address this.
The digital bus advantage
Conventional analog and discrete field instruments use point-to-point wiring: one wire
pair per device. They're also limited to carrying only one piece of information -- usually a
process variable or control output -- over those wires.
As a digital bus, FOUNDATION fieldbus doesn't have those limitations.
www.arfanali.webs.com
Page 45
www.arfanali.webs.com
Page 46
ANSI/ISA 50.02
IEC 61158
CENELEC EN50170:1996/A1
www.arfanali.webs.com
Page 47
Overview
Physical layer
User layer
Scheduled communications
Unscheduled communications
Parameter status
Application clock
Overview
How does data get where it's needed -- when it's needed?
One of the most important aspects of FOUNDATION fieldbus is its ability to collect and
deliver vast amounts of information -- not only process variables and control signals, but
other types of instrument and process data as well.
It does this consistently and reliably, while also providing interoperability between
devices from different manufacturers -- and compatibility with existing wiring. This
course describes key
The communications model
The FOUNDATION fieldbus communications model has three parts:
The physical layer
The data link and application layers
The user layer
Physical layer
www.arfanali.webs.com
Page 48
The first functional layer of the FOUNDATION fieldbus communications model is the
physical layer, which deals with translating messages into physical signals on the wire -and vice versa.
The physical layer also provides the common electrical interface for all FOUNDATION
fieldbus devices. FOUNDATION fieldbus H1 segments require 9-32 volts DC power and
approximately 15-20 mA of current per device. They operate at a communication speed
of 31.25 kbaud.
The FOUNDATION fieldbus physical layer is defined by approved standards (IEC 11582 and ANSI/ISA 50.02, part 2). It can run on existing field wiring over long distances,
supports two-wire devices, and offers intrinsic safety as an option. In short, it's an ideal
match for a typical process-automation environment.
Data link and application layers
The second part of the communication model combines several technologies that
together control transmission of data on the fieldbus. The data link and applications
layers provide a standard way of "packaging" the data, as well as managing the
schedule for communication and function-block execution.
User layer
The user layer sits on top of the communications stack, where it enables you to interact
with the other layers and with other applications.
The user layer contains resource blocks, transducer blocks, and function blocks that
describe -- and execute -- device capabilities such as control and diagnostics. Device
descriptions enable the host system to interact with and understand these blocks
without custom programming.
www.arfanali.webs.com
Page 49
Unscheduled communications
FOUNDATION fieldbus supports a great deal of information beyond process loop
control data.
These other types of information include
www.arfanali.webs.com
Page 50
www.arfanali.webs.com
Page 51
www.arfanali.webs.com
Page 52
Unicast Mode
Broadcast Mode
Unicast Mode
In this mode, the master addresses an individual slave. After receiving and processing
the request, the slave returns a message (a 'reply') to the master.
In that mode, a MODBUS transaction consists of 2 messages : a request from the
master, and a reply from the slave. Each slave must have a unique address (from 1 to
247) so that it can be addressed independently from other nodes.
Broadcast Mode
In this mode, the master can send a request to all slaves. No response is returned to
broadcast requests sent by the master. The broadcast requests are necessarily writing
commands. All devices must accept the broadcast for writing function. The address 0 is
reserved to identify a broadcast exchange.
www.arfanali.webs.com
Page 53
The Address 0 is reserved as the broadcast address. All slave nodes must recognize
the broadcast address.
The MODBUS Master node has no specific address, only the slave nodes must have an
address. This address must be unique on a MODBUS serial bus.
www.arfanali.webs.com
Page 54
On MODBUS Serial Line, the Address field only contains the slave address.
As described in the previous section the valid slave nodes addresses are in the range of
0 247 decimal. The individual slave devices are assigned addresses in the range of 1
247. A master addresses a slave by placing the slave address in the address field of
the message. When the slave returns its response, it places its own address in the
response address field to let the master know which slave is responding.
The function code indicates to the server what kind of action to perform. The function
code can be followed by a data field that contains request and response parameters.
Error checking field is the result of a "Redundancy Checking" calculation that is
performed on the message contents.
www.arfanali.webs.com
Page 55
www.arfanali.webs.com
Page 56
In unicast the Response time out must be set long enough for any slave to process the
request and return the response, in broadcast the Turnaround delay must be long
enough for any slave to process only the request and be able to receive a new one.
2.4.2 Slave State Diagram
The following drawing explains the Slave behavior :
www.arfanali.webs.com
Page 57
It defines the bit contents of message fields transmitted serially on the line. It
determines how information is packed into the message fields and decoded.
RTU Transmission Mode
When devices communicate on a MODBUS serial line using the RTU (Remote Terminal
Unit) mode, each 8bit byte in a message contains two 4bit hexadecimal characters.
Each message must be transmitted in a continuous stream of characters.
The format for each byte ( 11 bits ) in RTU mode is :
Coding System: 8bit binary
Bits per Byte: 1 start bit
8 data bits, least significant bit sent first
1 bit for parity completion
1 stop bit
How Characters are Transmitted Serially :
Each character or byte is sent in this order (left to right):
Least Significant Bit (LSB) . . . Most Significant Bit (MSB)
www.arfanali.webs.com
Page 58
Frame description :
www.arfanali.webs.com
Page 59
www.arfanali.webs.com
Page 60
Addressing
Broadcasting
Transmission mode
Baud rate
Character format
Two implementation classes are proposed, the Basic and the Regular classes.
The regular class must provide configuration capabilities.
www.arfanali.webs.com
Page 61
with two RS232 compatible ports, which may each be configured with a standard
interface or protocol drivers. The unit may also be configured for repeater operation. It
may be configured to use RS232 handshake lines, or XON/XOFF flow control on Port.
The host user port may be configured for baud rates of 300 to 19K2, with 7 or 8 bit
character size, 1 or 2 stop bits, and parity off/odd/even.
Configuration of the modem is fully programmable, with parameters held in non-volatile
memory. All configuration parameters are accessible with the proprietary Installation
Program.
Following are some of configuration parameters.
o XON/XOFF or RTS/CTS/DTR/DCD handshake mode.
o Default transmitter lead in delay.
o Constant specifying minimum RF RSSI for valid receive.
o Constant specifying minimum Tx power level.
o Asynchronous serial port parameters.
o User interface operating mode :
o User port interface protocol
www.arfanali.webs.com
Page 62
Note 1. The reciprocal frequency option for point-to-point operation or point to multipoint base repeaters is available as follows :
- Rx frequency range 847MHz to 857 MHz.
- Tx frequency range 923MHz to 933 MHz.
Note 2. The transmitter is normally supplied, with its frequency offset from the receiver
by 76 MHz.
Modem Section
User Ports : DB-9 connector, EIA RS232, DCE, serial asynchronous, 300..19k2
baud, 7/8 bit, no/odd/even parity.
www.arfanali.webs.com
Page 63
Radio section
Modem section
Radio Section
The radio section is built on a single PCB. This section consists of the following main
blocks :
o Receiver.
o Transmitter.
o Frequency control.
ANTENNA DIPLEXER SECTION
The diplexer couples both the transmit and receive RF paths to the antenna while
providing high isolation between them.
MODEM SECTION
The modem section is a single PCB having following main blocks:
o Modem along with control circuitary
o Reset and watchdog.
o Memory (RAM & EPROM)
o Host interface.
o Radio interface.
o Transmit signal conditioning.
o Receive signal conditioning.
www.arfanali.webs.com
Page 64
www.arfanali.webs.com
Page 65
Polling method
Polling
Polling communication, where a Master (normally a PLC or PC) polls the Slaves
(normally RTUs).
Report by exception
Report By Exception, where packets are sent whenever:
i)
ii)
After a user specified time out, even if there are no changes in these register
values.
Master Unit
RTUs
HMI Software
Master Unit
Normally a PLC or PC is used as Master Unit of SCADA which polls RTUs & sends the
status of I/Os of RTUs to HMI Software for monitoring purpose.
www.arfanali.webs.com
Page 66
TO LINE
ISOLATION
BOARD
1200Bd FSK
MODEM
CPU/RAM/POWER
WATCHDOG
SUPERVISORY Cct
CIRCUIT
COMM1
ADDRESS
V25
DECODER
MICROPROCESSOR
INPUT/OUTPUTS
1Mb
512Kb
INPUT/OUTPUTS
STATIC RAM
EPROM
ADDRESS BUS
TO BUS
EXTENSION
BOARDS
DATA BUS
DATA
LATCHES
REAL TIME
CLOCK
ENCODER
/DECODER
+12V
REGULATOR
POWER
INPUT
FILTER
INTERNAL POWER
+5V
REGULATOR
Microprocessor
RAM
EPROM
Address Decoder
FSK Modem
Addressing Modes
Power Supply
Buffers
Latches
www.arfanali.webs.com
Page 67
Opto couplers
D/A Convertor
Analog Inputs
Analog Outputs
Digital Inputs
Digital Outputs
Serial Ports
). The greater
the number of quantisation levels, the lesser the quantisation error. The converse
operation to the ADC is performed by a digital-to-analogue converter (DAC).
www.arfanali.webs.com
Page 68
The rate at which an ADC generates bits depends on how many bits are used in the
converter. For example, a speech signal has an approximate bandwidth of 4KHz. If this
is sampled by an 8-bit ADC at the Nyquist sampling rate, the bit rate R is:
RTU Registers/Boards
Physical I/Os Registers/Boards
Global Communication Registers/Boards
HMI SCADA Software
HMI SCADA Software provides a user interface to monitor & control I/Os of RTUs.
Normally Master Unit of SCADA which polls slaves (RTUs) acts as a Modbus Slave &
HMI Software as Modbus Server.
www.arfanali.webs.com
Page 69
a n c e
b e t
w e e n
P la n t
&
R e p e a t
e r
2 5
K M
Pl a n t
W
R
e l l
Si t e
Si t e s
L C D
L C D
T U
P T U
2 3 2
o r
4 8 5
L C D
R T U
R S 2 3 2
4 8 5
B U S
P T U
R a d io
R e p e a t
o d e m
e r
A L M
L C D
P r o t
C o n v e r
o c o l
e r
D B U S
2 3 2
P r o t
R T U
o r
4 8 5
o c o l
io
P T U
R
ic
L C D
ir
it
in
ir
io
&
it
in
f
R
m
A
Pr o p os e d
&
Sys t em
P T U 4
C
e l l
Si t e s
Pl a n t
Si t e
L C D
P T U
4 8 5
B U S
L C D
z
T
R T U
L C D
P T U
R a d io
o d e m
T U
L C D
R e p e a t
e r
P T U
L C D
Cur r en t
R T U
Sy st e m
P T U 4
Communication Arrangements
In the new arrangement the MTUs central role is taken over by the PC. The PC needs
at least 4 RS 232 ports to communicate to the different sub systems.
1) Connection to the Well RTU-s. This communication going through first a couple
of land line modems. The actual communication between the well RTU-s and the
central site uses a radio network including a repeater.
2) Connection to the MTU. There is an RS232 communication line between the PC
and the MTU. The speed is 9600 Baud. This communication uses the MTU
CPUs RS232 port.
3) Connection to the PTU-s. A two wire 485 bus is used to communicate between
the PC and the PTU-s. The speed is 9600 Baud. This communication uses the
PTU CPU-s RS232 port.
www.arfanali.webs.com
Page 70
PC-to-PC Communication
Communications between the Protocol converter PC and a third party SCADA package
is based on the MODBUS RTU protocol implemented on a serial line. The
communication protocol parameters can be viewed and changed used WASPED.
ALCOM-to-RTU Communication
Communications between PCs and RTU-s are based on a proprietary Almos protocol.
In the DHODAK implementation all RTU-s are connected via radio network (RTU-s),
485 bus (PTU-s) and through direct RS232. RTU-s are identified by a unique station
address, which must be unique in the entire system.
The radio network contains the HOST computer, a repeater, and the remote stations.
Because of the usage of the repeaters there are two different frequencies are used for
TX and RX.
ALCOM-to-RTU Communication
The ALCOM RTU communication protocol is a MASTER (ALCOM) SLAVE (RTU)
type communication protocol.
RTU can only talk if ALCOM has selected the RTU for talking by asking information or
by writing information into the RTU and asking for acknowledge.
Each RTU has a unique station address. Whenever ALCOM wants to communicate to
a given RTU the required communication command will contain the station address of
the given RTU.
www.arfanali.webs.com
Page 71
Field Name
Explanation
InOutUsage
N.A
BaudRate
Default
0
9600
Stop
Length
Retry
Number of retries
StartTime
5
7000
(in millisecond)
EndTime
7000
(in millisecond)
Speech
N.A
Noise
N.A
PreambleSize
www.arfanali.webs.com
Page 72
MODBUS interface
(RS232 )
Third Party
SCADA
Package
MODBUS Master
Almos
RTU
MODBUS Slave
Almos
RTU
Mapping
Mapping is the functionality to maintain a one-to-one relationship between a MODBUS
IO address and an Almos IO address.
the ALCOM program, there is a need to manipulate and interpret IO information of the
Almos RTUs using MODBUS style addressing.
The ALCOM MODBUS driver does a direct mapping between the ALMOS IO
sausage and all four MODBUS addressing modes. All MODBUS addressing mode is
allowed to access any location in the IO sausage.
www.arfanali.webs.com
Page 73