DaveE Posted August 19, 2014 Report Share Posted August 19, 2014 Hi again Ok following my last post I sat down and ignored the world for ages, and it sunk in...finally Now managed to connect to my device, well I hope, havent got to the stage of sending out messages to it yet,, one step at a time However my issue is now that I cannot get the PLC to retain the IP addresses I set. must be me, cant imagine where else to look I hope I have attached the file to this post and would be most grateful if someone tells me where I went wrong? Just found out its too big!then it wouldnt let me send that either....dash it all Thanks in advance Link to comment Share on other sites More sharing options...
EduMarg Posted August 20, 2014 Report Share Posted August 20, 2014 Hi DaveE Glad you are on the right path. Is the power up value the same as the value you will like to retain? Is the IP box in the HMI link to the correct tag? If you like us the check your application you can send it to support@unitronics.com The second pictures does not say much. In UniLogic you will alway see 255.255.255.255 in ofline mode. That does not mean that the tag in not reained. Link to comment Share on other sites More sharing options...
DaveE Posted August 20, 2014 Author Report Share Posted August 20, 2014 Good morning Ok. I would like to retain whatever entry that was last entered. It appears to be working for the port The power up value was me trying everything to get the plc to start with a value in it and I honestly don't want to set a power up value, just keep a retained value I understand about the picture was simply trying to show where the info came from Thanks Link to comment Share on other sites More sharing options...
shargy Posted August 21, 2014 Report Share Posted August 21, 2014 Hi, I have same problem as DaveE. I want to make data exchange with two PLCs and of course IP for remote PLC should be retentive but every time when PLC power up IP becomes empty string although it is marked as retentive. Like DaveE says " It appears to be working for the port". I also tried to set PowerUp value for IP but alway on power up it becomes empty. As I remember it also tried test with some other tag declared as ascii string and there was same problem. DaveE, Do You use COM: CPU TCP/IP instructions for connection to another device? Link to comment Share on other sites More sharing options...
DaveE Posted August 21, 2014 Author Report Share Posted August 21, 2014 Shargy Yes I am trying to battle my way through it yes, I will have 4 devices for this one project, but if it works it could be as many as 20 The first issue I came across was this lack of retention I have just worked out how to send the message and when I send them Im now trying to evaluate the message back by comparing the message buffer back so I can move to the next step IE if the returned message is x do this, if its y do something else and if its Z.. oh dear I have to connect all over again type of thing Unfortunately I am stuck there Im doing this after hours and therefore I dont get to much time on it (My wife doesnt like it that I come home from work and then pick up my laptop and connect a PLC) she wonders why stuff doesnt get done at home How are you making out? 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