Juandiaza Posted September 16, 2017 Report Share Posted September 16, 2017 I don't know What I am doing wrong but I can't connect my PLC via Remote Operator. I did it as help said My IP address is 169.254.240.14 Socket 1 and Port 20256 over the App I set up like this But when I Check PLC Connection said "Connection to PLC Failed" Any suggestions for this???????? Thanks in advanced 1 Drag files here to attach, or choose files... Max total size 0.98MB Insert other media Uploaded Images image.png 132 kb · Done image.png 122 kb · Done image.png 121 kb · Done Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted September 16, 2017 MVP 2023 Report Share Posted September 16, 2017 Is your phone (or whatever device you're running Remote Operator) on the same subnet (169.254.240.xxx)? Link to comment Share on other sites More sharing options...
Juandiaza Posted September 16, 2017 Author Report Share Posted September 16, 2017 Yes, my phone is running on the same subnet? Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted September 16, 2017 MVP 2023 Report Share Posted September 16, 2017 I've got your post looking a bit odd, seeming to have more photos but not visible, so perhaps my question is in there. Have you got your router ports/permissions set correctly? You won't get in if the router is stopping you. cheers, Aus Link to comment Share on other sites More sharing options...
hotwires Posted September 16, 2017 Report Share Posted September 16, 2017 You must set PLC name in rung 1 at the right of FB's you already have. APP will not work with no PLC name defined in ladder. Name is your password of sorts, I would suggest making it something more unique than SM43 if it is going to be port forwarded to the public internet. Another note: socket 1 is set to 20256 by default. While redefining socket does no harm, it is not required. Happy coding. -dB 2 Link to comment Share on other sites More sharing options...
AlexUT Posted September 17, 2017 Report Share Posted September 17, 2017 Hi, IP address 169.254.240.14 is from 'Automatic Private IP Addressing" group 169.254.xxx.xxx. IP Address from this group is assigned, when DHCP enabled, but IP address cannot be obtained from DHCP server. IP Addresses of this group are not routed. You can make connection only on the same LAN. I recommend you to use any WiFi router with LAN port and assign to PLC IP address from available router IP addresses. Enable WiFi at your phone and connect to router. Now you r phone should be at the sime subnet as PLC, and you will make connection. Allow to download cache file to smartphone , then you can use Remote Operator. I hope this helps. 1 Link to comment Share on other sites More sharing options...
hotwires Posted September 17, 2017 Report Share Posted September 17, 2017 On 9/16/2017 at 12:07 PM, Juandiaza said: Yes, my phone is running on the same subnet? I disregarded IP address range because of quote above. I guess that's a statement, although it does end with a question mark. I thought that address looked like Microsoft's "dummy" address. Any two devices on the same physical LAN and common subnet should be able to communicate. I didn't see or confirm the IP address the phone had obtained. 169.254.x.x is not an address pool I would expect to see in a DCHP router. It would be a good measure to put router, plc, and phone in a more traditional address pool like: 192.168.x.x or 10.0.x.x I have an app on my iphone called "ping lite" that runs IMCP ping command. Very helpful in determining if basic network communication is working between phone and other device (PLC in this case). 1 Link to comment Share on other sites More sharing options...
AlexUT Posted September 18, 2017 Report Share Posted September 18, 2017 Juandiaza, Please check IP address, assigned to your phone. Exact settings location depends of your phone model. For my Android devices it is in "Settings->About Phone/About device->Status->IP address". Is this address at the same network space as PLC - 169.254.240.xxx? If yes - extend PLC Subnet Mask to 255.255.0.0, and test again. *Do this from Info Mode first. If not, you have to change IP network settings to one of standard settings - Link to comment Share on other sites More sharing options...
Juandiaza Posted September 19, 2017 Author Report Share Posted September 19, 2017 Hey guys, I got a success connection between my PLC and yhe Apps after several times. What I did was get all the info through Command Prompt and use the IPv4s Address in this case was 192.168.0.7 (preferred) and set up on computer and my phone and was able to communicate each other using the same LAN. I tried to connect using different LAN it won't work. Thanks to all for your useful comments. It help me a lot. Link to comment Share on other sites More sharing options...
victoriabam Posted October 11, 2018 Report Share Posted October 11, 2018 This guide is really helpful for me. Thanks for updating us with the PLC and APP connection. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now