Hello,
i am new in programming and i must write a programm, witch sends alarm messages (SMS) to mobile phone. I have bought CP340 and MC35i for this reason. Can anyone tell me, how can i get alarm messages from alarm DB, and transmitt to modem?
example: When DB11.DBX0.0 (DB11 - alarms DB) becoms true, my OP170B show Alarm message: Low level in Tank T005.01 and so on..
It may be easier to use a software product that can do what you want.
You may use U.C.ME-OPC alarm notification software. It is easy to use and offers good functionality. It uses OPC (or DDE) to connect to any OPC server or SCADA/HMI software that supports OPC or DDE server functionality.
Alerts may be sent via: Email, SMS, Phone(Voice), Fax, Multimedia and WAP. It may also be used to analyze your alarms and understand the root cause of the alarms.
See www.controlsee.com . A fully functional evaluation version can be downloaded.