Forum Home › Forums › Communicating with Devices › PET-7060 Problems
- This topic has 8 replies, 2 voices, and was last updated 3 years, 6 months ago by Mikhail.
-
AuthorPosts
-
October 8, 2020 at 2:35 pm #7402Rich ExParticipant
Hello Friends , I have set up my server as per the tutorials and all is working well . I have a ICP CON PET-7060 (6 in out interface unit ) which I am using as a counter . This is set up a MODBUS/TCP and I can see the PET-7060 in the “Line State” .
Im have trouble reading the data from the PET-7060 register , I have added the address in the Communications Lines properties but all I get back is DEVICE ERROR [02] Illegal data address .
Now the address I want is 30016 and its holding register (4 bytes ) , so I have made a template called 7060.xml with this info , but I all I get back is the DEVICE ERROR …. Im sure its something simple , could anyone help please .
Thanks and thanks for a fantastic piece of software . Rich UKOctober 8, 2020 at 5:51 pm #7405MikhailModeratorHello Rich,
By default, addressing is one-based in the template editor. Many manufacturers specify zero-based addresses in the manuals. Try switching to zero-based addressing in the template settings.
October 9, 2020 at 7:27 am #7408Rich ExParticipantHi , thank you for the reply . Its very interesting, in the instructions for the device it gives the address as 300016 base 0 , could you explain what this means please as you mention base 1, I have not come across base 0 before .
Thanks
RichOctober 9, 2020 at 4:33 pm #7410MikhailModeratorHi,
This is just a logical mess. In the official standard registers are numbered 1,2,…
However, in data packets addresses are encoded like 0,1,…
Because of this, some manufactures specify in manual physical address (from 0), while otherы logical address (from 1).October 12, 2020 at 7:27 am #7415Rich ExParticipantHi Mikhail , thank you . I did know that the logic starts at 0 in some cases but I did not know this was called base 0 .!!
Anyway I have done what you said and set the template parameter to base 0 . The address for the counter in the manual for the PET-7060 is 3xx16 , so I set the address in the template to 16 and now its all working .
Thank you so much for your kind help
RichOctober 12, 2020 at 3:45 pm #7422Rich ExParticipantOh yes one more thing , where do I find the MODBUS emulator please , the link on the youtube video no longer works . Thanks again
October 13, 2020 at 11:54 am #7424MikhailModeratorHi,
Try the links below
https://sourceforge.net/projects/modrssim/
https://sourceforge.net/projects/modrssim2/Does at least one of them work?
October 13, 2020 at 10:10 pm #7430Rich ExParticipantMikhail , thanks the 64bit version works great . Also I have the remote unit PET7060 working great now in the real world on a local network …… Whilst talking about local networks I can not log onto my server web page from another machine on the network !!
My server is on 192.168.1.60 …. on this server machine if I put 192.168.1.60/scada/ in the search bar of Chrome it all works . If I go onto another PC on my network I can not connect at all …just get a connection time outAgain am I missing something simple ?
Thank you RichOctober 14, 2020 at 2:04 pm #7433MikhailModeratorMy server is on 192.168.1.60 …. on this server machine if I put 192.168.1.60/scada/ in the search bar of Chrome it all works . If I go onto another PC on my network I can not connect at all …just get a connection time out
Please create a new topic for this question, because it has another sobject.
-
AuthorPosts
- You must be logged in to reply to this topic.