rjhzxc Posted March 11, 2021 Report Share Posted March 11, 2021 Hi I hope somebody could help with some basic questions and problems with a V700: 1) When assigning sockets and ports do I have to make any special considerations for the connection of Visilogic? 2) Taking one step at a time I'm successful with direct ethernet PC-PLC uploading and monitoring (although this is with straight cable NOT crossover - don't know why!) and I'm able to ping the PLC (169.254.180.200) from PC(169.254.180.182) but when I try to ping PLC to PC nothing happens. See attachments Socket 4 is ICMP 3) Also will any extra FB's need to be added to the example posted June 21 2017: https://forum.unitronics.com/topic/4746-condition-to-close-a-socket-on-v700/ to allow successful downloading of data-tables? Thanks, Rob Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 11, 2021 Report Share Posted March 11, 2021 Review example from VisiLogic Examples: C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\Communications\Ethernet\ V700_Ping_Example.vlp * It is rfecommended to make Init to all sockets to defaults (see Help). Only change sockets with different configuration. Take care that "Ping" button is toggle. So in your test you have to activate MB 56 to see PING reply. B.R. Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 11, 2021 Author Report Share Posted March 11, 2021 Thanks Alex, I changed MB56 to Toggle on the HMI but there is still no output from the PING FB. Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 11, 2021 Report Share Posted March 11, 2021 What is an IP address you send ping to? Is this IP inside or outside of your network? How you configured PLC OP, Mask, Gateway? Does your network require MAC address registration on DHCP Server and Domain Controller? Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 11, 2021 Author Report Share Posted March 11, 2021 What is an IP address you send ping to? Parameter B of the PING FB is 169.254.180.182 (as identified by ipconfig) Is this IP inside or outside of your network? This is just a direct connection between laptop and PLC only How you configured PLC OP, Mask, Gateway? Details of TCP/IP INIT are: IP Address D# 169.254.180.200 Subnet Mask D# 255.255.0.0 Default Gateway D# 192.168.1.1 Does your network require MAC address registration on DHCP Server and Domain Controller? I don't know anything about this. Thanks Rob Quote Link to comment Share on other sites More sharing options...
AlexUT Posted March 11, 2021 Report Share Posted March 11, 2021 You use direct connection PLC to PC, Why you use Default Gateway D# 192.168.1.1 - it is from different network. Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 11, 2021 Author Report Share Posted March 11, 2021 Hmmm yes, this looks to be for the wireless adaptor. ipconfig doesn't show anything for the ethernet adaptor. How do I find this number? Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 11, 2021 Author Report Share Posted March 11, 2021 i tried 169.254.180.1 but still nothing Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted March 11, 2021 MVP 2022 Report Share Posted March 11, 2021 MB56 needs to be either a positive or negative transition contact. It's sole purpose is to trigger the call, not keep on asking for it all the time, or never ask for it, depending on state. I think Alex probably meant this, but said toggle which you have taken literally and put in a toggle -(X)-. Some of your questions relate to basic networking knowledge and I suggest you learn a little more about this from the myriad web sources available. It is also possible that your PC's O/S may be blocking the inward request via it's inbuilt firewall. What are you using? cheers, Aus Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 11, 2021 Author Report Share Posted March 11, 2021 Thanks Aus MB56 needs to be either a positive or negative transition contact. It's sole purpose is to trigger the call, not keep on asking for it all the time, or never ask for it, depending on state. I think Alex probably meant this, but said toggle which you have taken literally and put in a toggle -(X)-. No, MB56 is just an on/off switch on the HMI panel Some of your questions relate to basic networking knowledge and I suggest you learn a little more about this from the myriad web sources available. I am doing, 'til 4 o'clock every morning It is also possible that your PC's O/S may be blocking the inward request via it's inbuilt firewall. What are you using? Win7 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted March 12, 2021 MVP 2022 Report Share Posted March 12, 2021 I give up. Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 12, 2021 Author Report Share Posted March 12, 2021 Turned off firewall. Still nothing. I'll give up as well then. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted March 13, 2021 MVP 2022 Report Share Posted March 13, 2021 That's not why I gave up. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted March 15, 2021 MVP 2022 Report Share Posted March 15, 2021 Troubleshooting a question like this with sentences is very difficult. We need to see how you have everything configured. If you only have your PLC and your PC connected together, you have to hard code the IP address on your laptop. I'm guessing you've done this. Upload your program. Joe T. Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 16, 2021 Author Report Share Posted March 16, 2021 Thanks Joe, I should be receiving another V700 unit tomorrow - it should enable me to get any comms sorted and tested in a more 'isolated' manner. No doubt I'll have a few more questionsin the coming weeks! Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted March 16, 2021 MVP 2022 Report Share Posted March 16, 2021 I'd still like to see your program. I set up the PING block in a remote control application and it wasn't the easiest block to use in the Unitronics FB library. There are little things you have to set in the Ethernet configuration blocks that I would want to compare to what I did to see where you went wrong. Joe T. Quote Link to comment Share on other sites More sharing options...
rjhzxc Posted March 22, 2021 Author Report Share Posted March 22, 2021 Hi Joe ..still no success with a direct PC-PLC X-over connection where Win10 ipconfig (ethernet adaptor) = 169.254.17.247, 255.255.0.0, and no firewall and Project Settings are: V700P3, 169.254.17.150, TCP, 20256, V700P3 From PC pinging the PLC with 169.254.17.150 returns OK. No success when I forced MB2 = 1 from within Visilogic Network 5 results in MI20 = 34 Network 6 results in MI21 = 23 Hope you can help. V700P3v1.1.vlp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.