3/28/2023 11:15 AM | |
Joined: 3/24/2023 Last visit: 7/1/2024 Posts: 14 Rating:
|
I want to send a SMS text to my LOGO! CMI to turn on an output in my LOGO! BM. The manual says that the CMI can send and receive SMS messages. There is no information in the manual that discusses how to format the SMS text, or what actions can be performed with a received SMS. There are no examples and only two sentences in the manual about a received SMS: “In this table, you can configure the contacts for sending or receiving SMS messages” and “If the all the items in cellular status are OK, but you still cannot send/receive SMS or access to Internet, Check the following cases”. I am able to send a SMS triggered by an event in the LOGO! BM, just can’t trigger an event in the Logo BM with a received SMS. I am using a 0BA8 so only S7 is available for communication. I tried to set this up similar to the way the CMR does this but the CMI doesn’t have the features that the CMR has. I tried to trigger an output that was not connected, then I’m trying to trigger an output that is fed by a network input. No success either way. Tried using the logo as the server, then as the client. Does anybody know if the SMS text needs to be formatted in a special way? I have attached the setup that I am trying. Perhaps somebody can see an error or that I’ve got it totally set up wrong. AttachmentSend SMS to turn on LOGO! BM output.pdf (493 Downloads) |
3/29/2023 11:31 AM | |
Joined: 7/19/2022 Last visit: 8/12/2024 Posts: 380 Rating:
|
Hello Deumyster, As far as I know, here is the procedure for setting up an SMS message: 1) In LOGO! Create an S7 client connection with the required activation tag (image 1). (see point 4). 2) Activate the S7 protocol: - Menu: Check log configuration > S7 connections > S7. - Create an S7 server connection with the IP address of the LOGO! - Click on the "Save changes" button (image 2) 3) Create recipient phone number - Menu: Contacts - Button "+ Add line". - Assign name and phone number of the store (syntax: +country code... e.g. +49...). - Click on the "Save changes" button (image 3) 4) Create activation label - Menu: Data management > variables - Define the symbolic name and the label - Click on the "Save changes" button (image 4) 5) Define SMS text - Menu: Data management > messages - Define the symbolic name and the actual text - Click on the "Save changes" button (image 5) 6) Activate SMS - Menu: Data management > data connections - Button "+ Add line". - Define that the SMS message is sent to the desired recipient on a positive edge of the label. - Click on "Activated". - Click on the "Save changes" button (iamgen 6) Attachmentimages.zip (497 Downloads) |
Last edited by: JBS98 at: 03/29/2023 11:34:09If this Information really helps, you could use the Rate function |
|
This contribution was helpful to
1 thankful Users |
3/30/2023 3:08 AM | |
Joined: 3/24/2023 Last visit: 7/1/2024 Posts: 14 Rating:
|
First, I want to thank you for your time and effort in responding. In a previous post (LOGO! CIM VM MAPPING) I was trying to do what you are describing here. In that post ixo65 provided a link to the Siemens FAQ which is the same as what you show here, except that your photos are much easier to read. With the aid of that post, and a lot of trial and error, I was able receive a SMS text based on an event in the LOGO! BM, but I still was not able to send a SMS text to the CIM to trigger an event in the LOGO! BM. That is what this post is about: looking for help to send a SMS text to the CIM to trigger an event in the LOGO! BM. This should have been simple after the first task was accomplished, but I just couldn’t seem to get all the data mapping correct. After a lot of trial and error, I was able to get it to work. It turns out that the attachment (Send SMS to turn on LOGO! BM output.pdf) I created above actually does work. I don’t know why I couldn’t get it to work at the time. I did some more experimenting and created a new program to test my data mapping. I created a pdf of my test project and It is attached here. It works fine, however if anyone finds any errors or has any suggestions for it please advise me. Thanks to all that helped. AttachmentSMS to Outputs2.xlsx (389 Downloads) |
This contribution was helpful to
1 thankful Users |
3/30/2023 10:27 AM | |
Joined: 7/19/2022 Last visit: 8/12/2024 Posts: 380 Rating:
|
Thank you so much for your contribution Deumyster !!! |
If this Information really helps, you could use the Rate function |
|
Follow us on