Analysis and Design of a Modern SCADA System

(fajer) #1

4. 8 The Front Panel of the receiver program


In this program, the simulated substation signals coming from the
function generator enter the DAQ as a floating point type, each input is
converted from a floating point number into a hexadecimal string with
corresponding digits depending on the DAQ type. Here, the analoge signal
(current, voltage, frequency, and temperature) is represented by 16 bits and
the digital signals (feeder status, substation fire status) by 1 bit. These
signals are combined into one string with 115bits (from the substation and
its two feeders). The UDP connection is then opened and the data packet is
sent to the receiver program (server) to display them and make the proper
decision feedback to the sender. On the other side, after sending the data
packet, another UDP connection is used to receive control packet and split it
into 2 strings (each with one digit) which is used to take action (connected to
Digital output of the DAQ). Figure 4. 7 shows the data packet sent from the
sender program, and control packet received from the server program.

The sender program follows the following steps:
1. Inserting the IP address of the sinking host.
2. Filling the port blanks with proper values.
Free download pdf