1/19/2022 9:26 PM | |
Joined: 4/9/2021 Last visit: 1/13/2023 Posts: 2 Rating:
|
Hello! Im looking for some help with this especific problem. I need to turn on a computer using a PLC S7 1200 and after several attempts I can't find a solution. I used this work as a reference: Turn on a PC with CPU, but it doesn't work in my PLC. I'm probably making some mistake setting parameters, but I can't find the where is the problem. Have you worked in something similar with this PLC model? Is there a more detailed description of this? I'm in a hurry so any help is greatly appreciated. |
1/20/2022 3:12 PM | |
Joined: 4/9/2021 Last visit: 1/13/2023 Posts: 2 Rating:
|
Hi! I'm using an S7-1200 CPU1214, while the computer I'm looking to turn on with WOL has Windows 10. I know the computer is correctly configured for WOL because it worked with Anydesk (the remote desktop software) from another computer. Thanks AttachmentGeneral Info.pdf (709 Downloads) |
Last edited by: E Muñoz B at: 01/20/2022 15:15:55Last edited by: E Muñoz B at: 01/20/2022 15:17:04 |
|
1/21/2022 4:31 PM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi E.Munoz, there are some things I saw in your programm that doesn´t work out. - enable the blockcalls for the T-blocks permanently without M20.3 - don´t use the same bit (M20.4 "WOL_ON") for all blocks Request input. that doesn´t make sense, especially for TCON and TDISCON at the same time. The blocks and thier request should come after each other. First establishing connection with TCON, if successfull sending on this connection with TSEND and, but this is not neccessary, TDISCON to terminate the connection. When you just want to use WOL and you don´t need to receive something it is the best way just to use TSEND_C on S7-1200. The block is establishing a connection and sending over it. Have a look to this FAQ: How do you program the TSEND_C and TRCV_C instructions for open user communication over the integrated PROFINET interface of the S7-1200/S7-1500 CPU?hope this helps, regards, |
FCK WAR! |
|
1/13/2023 8:13 PM | |
Joined: 4/22/2018 Last visit: 7/29/2024 Posts: 57 Rating:
|
Dear E Muñoz B, Accidentally I saw this topic and I hope you have solved your problem. But here are the problems in your attached code: Image 2: The address must be x.x.x.255, so change the "adress.REM_IP_ADDR" to 192.168.8.255. don't change other parameters, leave them to default values. Image 4: Don't change this data block at all. Change it back to the first values. Do all the steps the same as Turn on a PC with CPU (Wake-on-LAN (WOL)) without any changes. ******** Update: For CPU S7-1200 with firmware version ≥ V4.0 and CPU S7-1500, TSEND_C must be used instead of TCON and TSEND.
|
Last edited by: Ali_Nickandish95 at: 01/13/2023 20:16:25Last edited by: Ali_Nickandish95 at: 03/03/2023 15:10:58 |
|
Follow us on