CH 1.1 Pnumatics Systems
CH 1.1 Pnumatics Systems
While I/O devices are a start, the PLC may also need to connect to
different kinds of systems. For instance, a user may need to export
recorded application data from the PLC and send it to a Supervisory
Control and Data Acquisition (SCADA) system.
To facilitate this function, most PLCs include multiple ports and
communication protocols to ensure that the device can communicate
with other systems.
cont...
The rest of the Modbus network devices act as slaves (servers) and respond with the desired
action requested in the transaction, which can be sending the requested data back to the
master.
cont...
• Baud Rate is the number of bits per second that are being transmitted or
received. Common values (speeds) are 1200, 2400, 4800, 9600, 19200, and
38400.
• Start bit : This is a synchronizing bit added just before each character we are
sending. This is considered a SPACE or negative voltage or a 0.
• Stop bit :. This bit tells us that the last character was just sent. This is considered
a MARK or positive voltage or a 1.
• Parity bit is added to check whether corruption has occurred. Common forms of
parity are: None, Even, and Odd. During transmission, the sender calculates the
parity bit and sends it. The receiver calculates parity for the character and
compares the result to the parity bit received. If the calculated and real parity bits
don’t match, an error occurred and we act appropriately.
RS-232 Communications
PLC may be either a DTE or DCE device. When plc and external device are
both DTE, (or both DCE) devices they can’t talk to each other. The solution
is to use a null-modem connection.
Usually, The plc is DTE and the external device is DCE.
Using RS-232 with PLC Some manufacturers include RS-232
communication capability inbuild with the main processor and Some uses
the “programming port” or External additional pluggable RS232 expansion
Module.
cont...
Like Modbus RTU, Modbus TCP operates on a client/server principle, but in this
case, the client (master) initiates both requests and responses from a server (slave).
Any device can be a client or a server. Therefore, many devices are the same time
clients and servers.
A network can bring together many clients. At the same time, several clients can
send requests, many servers can respond, and a client can talk to various servers.
A server can simultaneously respond to several clients.
Furthermore, Ethernet directs and ensures data delivery to all the devices at the
same time.
ModbusTCP protocol uses a 10 Mbps Ethernet standard to convey the entire
structure of Modbus messages.
cont...
The Modbus TCP protocol offers fast communication to many devices in a single network. On a
Modbus TCP/IP network, a device can be:
Programmable Logic Controller (PLC),
Human-Machine Interface (HMI)
Variable-Frequency Drive (VFD)
Counters, regulators, etc.
cont...
Difference between Modbus TCP and Modbus RTU
The table below specifies the most impotent differences between Modbus RTU and Modbus
TCP:
# Modbus RTU Modbus TCP
There are many PROFIBUS devices available from a variety of manufacturers. These
devices range from simple input or output modules to motor controllers and PLCs. A
PROFIBUS DP device is any peripheral device which processes information and sends its
output to the master. The DP device forms a passive station on the network (since it does
not have bus access rights) and can only acknowledge received messages or send response
messages to the master upon request. All PROFIBUS DP devices have the same priority,
and all network communication originates from the master.
A PROFIBUS master forms an “active station” on the network. PROFIBUS DP defines
two classes of masters. A class 1 master (normally a central programmable controller
(PLC) or a PC running special software) handles the normal communication or exchange
of data with the DP devices assigned to it. A class 2 master (usually a configuration device,
such as a laptop or programming console used for commissioning, maintenance, or
diagnostics purposes) is a special device primarily used for commissioning DP devices and
for diagnostic purposes.
Profinet
Profinet is a newer, Ethernet-based industrial communications protocol.
The physical interface used for Profinet is a standard RJ-45 Ethernet jack.
Profinet cables are easily recognizable by their green color. While in
some cases a standard Ethernet cable may be used to connect two Profinet
devices, official Profinet cables should be used as they contain robust
shielding and are designed to function well in harsh industrial
environments. Profinet cables are easily recognizable by their green color.
While in some cases a standard Ethernet cable may be used to connect
two Profinet devices, official Profinet cables should be used as they
contain robust shielding and are designed to function well in harsh
industrial environments.
cont...