![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#16 |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
Edit: Could it be firewall issue? But that wouldn't make sense to me, because how else would I be able to compile code etc?
Edit: I can ping the IP address and that's fine too. Last edited by Mas01; September 14th, 2023 at 10:06 AM. |
![]() |
![]() |
#17 |
Member
![]() ![]() Join Date: Mar 2022
Location: UK - The Norf
Posts: 273
|
On your device configuration check the following settings under profinet interface:
-Ethernet addresses: Tick the box for "use router" and put in the router IP -Web server access: Tick the box to enable web server I seem to remember having an issue with accessing the web server without the router IP setting. |
![]() |
![]() |
#18 | |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
Quote:
The second one was already ticked. Did a save, went back online, but still can't see the webpage when I enter https://192.168.0.1. Many thanks for trying to help me. Appreciate it. Cheers |
|
![]() |
![]() |
#19 |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
EDIT: The only "router" in my system (if router is the right word for it) is a SCALANCE XB005 ...thus far, I've only ever called it a "switch". It connects to the PLC, HMI, and development Laptop.
Would this SCALANCE box have its own IP? |
![]() |
![]() |
#20 |
Lifetime Supporting Member
![]() ![]() Join Date: Nov 2006
Location: UK
Posts: 6,656
|
I've accessed the web page without the router option being ticked. When you download web page related stuff, there is an extra check box you need to tick for the web applications - I've not got a real plc to test this but I'm sure a tick box is shown when downloading to a real plc.
Edit: I might be confusing the check box requirement, and that you need to check it when you have a ViewOfThings application.
__________________
S7-300 to 1500 conversions done - email (minus the spam) to spams7conversions@hotmail.com Last edited by L D[AR2,P#0.0]; September 14th, 2023 at 11:34 AM. |
![]() |
![]() |
#21 | |
Lifetime Supporting Member
![]() ![]() Join Date: Jun 2013
Location: MI
Posts: 3,151
|
Quote:
A router bridges two different subnets and lets traffic move between them. From the automation layer this seems super trivial, but from a traditional networking perspective it's apparently a big deal. What is the IP of your laptop you're using to try to access the webpage? If it's in the 192.168.0.X subnet, you don't need a router. Make sure you're using the https:// before the IP. http:// is disallowed according to your settings (the default). |
|
![]() |
![]() |
#22 | |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
Quote:
Here's what I get went I type "ipconfig" at the command prompt (see pic). Would one of these be the IP of the laptop? Last edited by Mas01; September 14th, 2023 at 12:01 PM. |
|
![]() |
![]() |
#23 |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
I think the expression is "Clutching at straws" LOL
Do I need to set this up, by any chance? |
![]() |
![]() |
#24 |
Lifetime Supporting Member + Moderator
|
It is not the user-defined pages.
With the webserver enabled and a user configured you should be able to open a standard webpage. It could be your PC or the webbrowser. Try another PC, try chrome, firefox.
__________________
Jesper ![]() NOTICE: JesperMP has passive-aggressive tendencies, can be impolite and may even use sarcasm ! Also: ᛁᚠ ᚢᚬᚢ ᚴᚬᚾ ᚱᛅᚬᛏ ᚦᛁᛋ ᚦᛅᚾ ᚢᚬᚢ ᚼᚬᚠᛅ ᚴᚬᛁᚾᛅᛏ ᛘᚢ ᚱᛅᛋᛒᛅᚴᛏ |
![]() |
![]() |
#25 |
Member
![]() ![]() Join Date: Mar 2022
Location: UK - The Norf
Posts: 273
|
I think I gave bad advice there by assuming (incorrectly!) that you were connected to a wider network. The value for router address is the default gateway from the command prompt.
User defined pages is for things like HTML pages, I have a few configured to show tables of information to allow people to see relevant data. Sounds like it should be working. You could try unticking the https box in case the browser is deciding to remove the prefix for some reason. Also, when you get it going it will most likely show a security warning rather than loading straight up. |
![]() |
![]() |
#26 | |
Lifetime Supporting Member
![]() ![]() Join Date: Jun 2013
Location: MI
Posts: 3,151
|
Quote:
I noticed on the website user administration section you created an admin user with a password, but it still had minimum permissions. It shouldn't prevent you from even getting to the web page in the first place, but it might mean you can't do anything once you get there. Try checking all the permission boxes for Admin, at least for now. I'd say at least a third of the time my PLC isn't doing what I want, it's because I either forgot to DL or did a SW only DL (no HW) or didn't notice that the DL never actually happened because of a sneaky compile error. try to do a full download again, just to check. |
|
![]() |
![]() |
#27 |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
@puddle, no worries mate...the PLC is not networked, no router. It just sits on my desk, connected to the HMI and development laptop.
@jesperMP and @mk42... I'm back home so I'll try out your suggestions first thing tomorrow. Dunno what I'd do without the help on this forum... and I'm meant to be the company PLC "expert" LOL. |
![]() |
![]() |
#28 |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
I've tried Chrome, Firefox & Microsoft Edge - all of them are unable to reach 192.168.0.1
Does it matter if PLC is in RUN mode or STOP mode? |
![]() |
![]() |
#29 |
Member
![]() ![]() Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
|
UPDATE: I connected the ethernet cable to another computer, but I still can't access 192.168.0.1.
I will keep investigating this. It's so frustrating! |
![]() |
![]() |
#30 |
Member
![]() ![]() Join Date: Mar 2022
Location: UK - The Norf
Posts: 273
|
Have you tried it with WiFi disabled?
Failing that, see if another IP address works. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Siemens S7/TIA v18: Only allow input of alphanumeric values...... | Mas01 | LIVE PLC Questions And Answers | 19 | September 6th, 2023 10:55 AM |
Siemens S7/TIA v18: Is there a "first scan" in TIA portal?... | Mas01 | LIVE PLC Questions And Answers | 4 | September 1st, 2023 12:29 PM |
Siemens S7/TIA v18: What does "Object Number" mean?... | Mas01 | LIVE PLC Questions And Answers | 4 | August 31st, 2023 12:41 PM |
Siemens S7/TIA v18: Data conversion DTL to DATE...... | Mas01 | LIVE PLC Questions And Answers | 1 | August 29th, 2023 10:16 AM |
Siemens S7/TIA v18: WinCC: F7 needs to SAVE data AND advance the screen...... | Mas01 | LIVE PLC Questions And Answers | 9 | July 14th, 2023 10:45 AM |