Академический Документы
Профессиональный Документы
Культура Документы
GENSET MONITORING
SPONSORED BY : VARSHA ELECTRONICS
OBJECTIVE :
To create portable software for
monitoring gensets and detect faults
if any.
SPECIFICATIONS:
SOFTWARE
HARDWARE
Send Send
MODBUS
ECP METER
CONVERTER
Receive
RS 485 RS 232
ECP METER MODBUS CONVERTER
MODBUS HARDWARE
FEATURES OF MODBUS
PROTOCOL
Standard Modbus ports on Modicon controllers
use an RS–232 compatible serial interface
Communication is done using a master–slave
technique.
The master can initiate transactions (called
‘queries’).
Other devices (the slaves) respond by supplying
the requested data to the master.
QUERY-RESPONSE CYCLE
Two serial transmission modes
1) ASCII
2) RTU
Error Checking
3) LRC
4) CRC
RTU Mode
RTU (Remote Terminal Unit) mode, each 8–bit byte in a
message contains two 4–bit hexadecimal characters.
Each message must be transmitted in a continuous stream.
Coding System: 8–bit binary, hexadecimal 0–9, A–F
Bits per Byte :
1) 1 start bit
2) 8 data bits, least significant bit sent first.
3) 1 bit for even/odd parity; no bit for no parity
4) 1 stop bit if parity is used; 2 bits if no parity
Error Check Field: Cyclic Redundancy Check (CRC)
FRAME FORMAT
FLOWCHART Start
Request
Parameters
Serial
Communication
ECP Response
Display data
Stop
FLOWCHART FOR GUI
Start
Is CRC NO Detect
OK ?
Enter username Fault
& password YES
Extract String
Select ECP
Place data in
receive Stop
buffer
Send data
COMMUNICATION OVER MODBUS
PROTOCOL
Start
Accept string
from PC
Store parameters
Stop
In holding registers
FLOWCHART FOR ECP
Start
Send parameters
Stop
ADVANTAGES
Easy to use
Portable
Does not require human intervention.
Easily upgradable.
APPLICATIONS
Used in shopping malls and at industrial sites.
Used for security purposes
FUTURE SCOPE
REFERENCES