 |
plc.myforum.ro PLCs users www.plc.myforum.ro!
|
| View previous topic :: View next topic |
| Author |
Message |
valz Member 3


Joined: 26 Jul 2015 Posts: 771
|
Posted: 28/04/2022 20:09 Post subject: Sending and receiving messages with Telegram |
|
|
Sending and receiving messages with messenger services as demonstrated with "Telegram"
https://support.industry.siemens.com/cs/document/109763879/
Digitalization makes its effects known for most people especially through changes in communication behavior. Smartphones are constant companions and with them, the use of one or more messenger services has become an everyday activity. To complement emails or SMS, a company can now use Messenger services in service communication as well.
Problem
A SIMATIC station is to send alarm messages, warning notifications or important information about the plant status to a service worker's smartphone via a
messenger service.
In addition, the SIMATIC station is also to receive and interpret messages.
The following Figure provides an overview of the automation task.
The following functions are implemented in the application example:
Sending of messages to a service technician via "Telegram Messenger"
Receipt of a confirmation message from the service technician
The SIMATIC S7-1500 CPU communicates over HTTPS (Hypertext Transfer Protocol Secure) with the service technician's smartphone that has the "Telegram Messenger" app installed.
The "LHTTP_Get" block from the "LHTTP" library, part of the Libraries for Communication for SIMATIC Controllers, is used to communicate with the Telegram server.
The SIMATIC S7-1500 CPU is connected to the internet with the SCALANCE MUM856-1 via the cellular radio network.
The following Figure schematically illustrates the most important components of the solution:
Downloads
https://support.industry.siemens.com/cs/attachments/109763879/109763879_Telegram_PushNotification_DOC_V10_en.pdf
https://support.industry.siemens.com/cs/attachments/109763879/109763879_Telegram_PushNotification_PROJ_V10.zip
User name: SiemensUser
Password: Siemens123!
The Library for HTTP Communication (LHTTP) was integrated entirely into the Libraries for Communication. You'll find the Libraries for Communication in the entry
https://support.industry.siemens.com/cs/document/109780503/libraries-for-communication-for-simatic-controllers
Archive
https://support.industry.siemens.com/cs/attachments/109763879/109763879_LHTTP_DOC_V10_en.pdf
https://support.industry.siemens.com/cs/attachments/109763879/109763879_LHTTP_LIB_V100.zip
https://ulozto.net/tamhle/lbHiM79vn7Hc/
https://anonfiles.com/P5Vbh2b4yd/109479728_LGF_Note_en_pdf
https://anonfiles.com/RdV9hbb0y8/109763879_LHTTP_DOC_V10_en_pdf
https://anonfiles.com/T1Vdhdb3yb/109763879_LHTTP_LIB_V100_zip
https://anonfiles.com/XeVdh2b9yf/109763879_Telegram_PushNotification_DOC_V10_en_pdf
https://anonfiles.com/Z6Veh9bbyc/109763879_Telegram_PushNotification_PROJ_V10_zip
https://anonfiles.com/haWch9b8yc/109780503_Libraries_Comm_Controller_DOC_V1_2_0_en_pdf
https://anonfiles.com/l9W5hbb1y4/109479728_LGF_LIB_TIAV17_V5_1_0_zip
https://anonfiles.com/r5Wahcb8y7/109781165_LStream_DOC_v11_en_pdf
https://anonfiles.com/v6Wdh2b7yc/109479728_LGF_V5_1_0_en_pdf
https://anonfiles.com/x1Wch5bby7/109781165_LStream_LIB_v11_zip
https://anonfiles.com/1aWahdb8y7/109780503_Libraries_Comm_Controller_LIB_V1_2_0_TIAv16_zip
https://anonfiles.com/78W4h5b7ye/109479728_LGF_LIB_TIAV16_V5_1_0_zip
https://anonfiles.com/B0W3h7bcy6/109780503_Libraries_Comm_Controller_LIB_V1_2_0_TIAv17_zip |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|