Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
arrester97@yahoo.com
The first idea to make this telemetering via 3. Create Reading File to store the data
mobilephone is to know the realtime condition of (Example: [PCOverwrite][PCExtension.txt]
Diesel Power Plant without being there continuously.
If there fault happened in feeder or forced outage in [E010,f,%3.0f],[E011,f,%3.0f],[E012,f,
diesel engine, can be known immediately from %3.0f],
mobilephone. The main point is txt file which be
[E033,f,%4.0f,,0.001],[E001,f,
automatically refresh in 5 seconds.
%4.2f,,0.001],[E060,f,%4.2f]
Notes: [E001,f,%4.2f,,0.001]
II. PROCEDURE
E001 -> register number
A. Using Schedular to read the data f -> data float type
- %4.2f -> data float type with format 6
Below is the procedure to read the data from AMR digits 2 decimal Example:1139.98
and save in txt file. - 0.001 -> data stored multipled by 0.001
to get kilo numbers (1/1000) example :
1. Define the Variable data which will be from meter 1139.98 volt -> 11,39 k.volt
monitorized or taken (Example: Current_R,
Current_S, Current_T, Active Power KW,
Voltage_S, Frequency )
More data we took, it need more time to
update)
5. Example Reading file txt which have been 1. PHP Script to read file TXT
stored
Making this telemetering is similar when we created
the new website, supporting files were store in
webserver and then opened by mobile browser in
mobilephone or PDA. First, we should make script
file in PHP format to read the txt file in webserver.
<html>
<head>
Fig 3. File txt from reading file in schedular <script language=”Java Script”>
Inside file txt are the variables which have been setTimeout (“refresh_location()”,1000*10);//1000 ms
determined before * 10 = 10 seconds
location=http://www.ap2bkendari.com/meter/index.p
hp;
</script>
</head>
$dh1=fopen(“DHT 1.txt”,”r”); {
$ct=fopen(“CAT.txt”,”r”); }
$konda=fopen(“KONDA.txt”,”r”);
{ {
} }
while(list($ir,$is,$it,$kw,$kv, ?>
$frek)=fscanf($kendaribeach,”%s\t%s\t%s\t%s\t%s\t
%s\n”)) </body>
{ </html>
while(list($ir,$is,$it,$kw,$kv,
$frek)=fscanf($mata,”%s\t%s\t%s\t%s\t%s\t%s\n”))
while(list($ir,$is,$it,$kw,$kv,
$frek)=fscanf($batugong,”%s\t%s\t%s\t%s\t%s\t
%s\n”))
while(list($ir,$is,$it,$kw,$kv,
$frek)=fscanf($mowila,”%s\t%s\t%s\t%s\t%s\t
%s\n”)) Fig 6. Telemetering via mobilephone
{
III. CONCLUSION
echo “Mowila : $is A<br>”;
Telemetering ini dibuat untuk mengetahui kondisi
} mesin dan feeder di PLTD Wuawua secara realtime.
Termasuk di dalamnya pembacaan frekuensi sistem.
while(list($ir,$is,$it,$kw,$kv, Sehingga jika terjadi gangguan mesin dan feeder
$frek)=fscanf($pohara,”%s\t%s\t%s\t%s\t%s\t
dapat diketahui secara cepat saat itu juga untuk bisa
%s\n”))
dievaluasi secara cepat.
{
REFERENCES
echo “Pohara : $is A<br>”;
[1] Pemrograman WAP dengan menggunakan WML, Janner
} Simarmata, Penerbit Andi
[2] Buku Sakti PHP, Lukmanul Hakim, Uus Musalini, Penerbit [3] PHP Profesional, Bunafid Nugroho, Penerbit Andi
Solusi Media