You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old September 14th, 2023, 10:01 AM   #16
Mas01
Member
United Kingdom

Mas01 is offline
 
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.
Attached Images
File Type: png ping ok.png (26.1 KB, 57 views)

Last edited by Mas01; September 14th, 2023 at 10:06 AM.
  Reply With Quote
Old September 14th, 2023, 10:34 AM   #17
Puddle
Member
United Kingdom

Puddle is offline
 
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.
  Reply With Quote
Old September 14th, 2023, 10:52 AM   #18
Mas01
Member
United Kingdom

Mas01 is offline
 
Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
Quote:
Originally Posted by Puddle View Post
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.
This first one in bold...on mine it was UNticked, so I ticked it. It auto-filled with 192.168.0.1, appeared in pink suggesting it was a bad value, for some reason (?)

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
Attached Images
File Type: png use router now ticked.png (77.5 KB, 4 views)
File Type: png already ticked.png (56.0 KB, 4 views)
File Type: png 192 168 0 1 still not reachable.png (22.8 KB, 4 views)
  Reply With Quote
Old September 14th, 2023, 11:11 AM   #19
Mas01
Member
United Kingdom

Mas01 is offline
 
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?
Attached Images
File Type: png scalance.png (102.9 KB, 54 views)
  Reply With Quote
Old September 14th, 2023, 11:15 AM   #20
L D[AR2,P#0.0]
Lifetime Supporting Member
United Kingdom

L D[AR2,P#0.0] is offline
 
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.
Attached Images
File Type: jpg webs.jpg (109.8 KB, 55 views)
__________________
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.
  Reply With Quote
Old September 14th, 2023, 11:35 AM   #21
mk42
Lifetime Supporting Member
United States

mk42 is offline
 
Join Date: Jun 2013
Location: MI
Posts: 3,151
Quote:
Originally Posted by Mas01 View Post
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?
that scalance box is unmanaged, which means it has no IP.

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).
  Reply With Quote
Old September 14th, 2023, 11:58 AM   #22
Mas01
Member
United Kingdom

Mas01 is offline
 
Join Date: Oct 2020
Location: Leicester, England
Posts: 1,044
Quote:
Originally Posted by mk42 View Post
that scalance box is unmanaged, which means it has no IP.

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).
I'm not sure what the IP address of the development laptop is.
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?
Attached Images
File Type: png ipconfig.png (36.5 KB, 53 views)

Last edited by Mas01; September 14th, 2023 at 12:01 PM.
  Reply With Quote
Old September 14th, 2023, 01:03 PM   #23
Mas01
Member
United Kingdom

Mas01 is offline
 
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?
Attached Images
File Type: png Do I need to set this up maybe.png (66.0 KB, 52 views)
  Reply With Quote
Old September 14th, 2023, 01:16 PM   #24
JesperMP
Lifetime Supporting Member + Moderator
Denmark

JesperMP is offline
 
JesperMP's Avatar
 
Join Date: Feb 2003
Location: ᚴᚬᛒᛅᚾᚼᚬᚠᚾ
Posts: 16,132
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: ᛁᚠ ᚢᚬᚢ ᚴᚬᚾ ᚱᛅᚬᛏ ᚦᛁᛋ ᚦᛅᚾ ᚢᚬᚢ ᚼᚬᚠᛅ ᚴᚬᛁᚾᛅᛏ ᛘᚢ ᚱᛅᛋᛒᛅᚴᛏ
  Reply With Quote
Old September 14th, 2023, 01:27 PM   #25
Puddle
Member
United Kingdom

Puddle is offline
 
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.
  Reply With Quote
Old September 14th, 2023, 02:08 PM   #26
mk42
Lifetime Supporting Member
United States

mk42 is offline
 
Join Date: Jun 2013
Location: MI
Posts: 3,151
Quote:
Originally Posted by JesperMP View Post
It could be your PC or the webbrowser.
Try another PC, try chrome, firefox.

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.
  Reply With Quote
Old September 14th, 2023, 02:30 PM   #27
Mas01
Member
United Kingdom

Mas01 is offline
 
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.
  Reply With Quote
Old September 15th, 2023, 05:55 AM   #28
Mas01
Member
United Kingdom

Mas01 is offline
 
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?
  Reply With Quote
Old September 15th, 2023, 06:59 AM   #29
Mas01
Member
United Kingdom

Mas01 is offline
 
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!
  Reply With Quote
Old September 15th, 2023, 07:28 AM   #30
Puddle
Member
United Kingdom

Puddle is offline
 
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.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
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


All times are GMT -4. The time now is 09:15 AM.


.