Forum Home › Forums › Communicating with Devices › Modbus › Modbus WAGO
- This topic has 7 replies, 2 voices, and was last updated 8 years, 1 month ago by
Mikhail.
-
AuthorPosts
-
October 23, 2017 at 12:02 pm #2673
peter_f
ParticipantHi,
I try to read data from a WAGO 880 Controller. Wago provides the values in Register 12288 – 24575. I tested this with modbus poll. If I read Modbus address 12288, i found the Value of IEC-61131-Address 0. So I think, there should be an opportunity to adjust an offset. Maybe i just overlook that part of the documentation.
Is there someone who had the same problem?October 23, 2017 at 12:26 pm #2675peter_f
ParticipantWhat I forgot to say ist, that I tried to solve this problem by inserting 12288 in the Address-column of Device table. This was not successful.
October 23, 2017 at 1:23 pm #2676
MikhailModeratorHi,
Do you mean the address offset specified for a device or specified for SCADA?October 23, 2017 at 1:52 pm #2678peter_f
ParticipantHi Mikhail,
in the manual of the WAGO-Controller stands that the Modbus-Addressrange is from 12288 to 24575. If I use Modbuspoll to read the values without giving an offset, I get the same strange result as in rapid scada. In Modbus poll there is a window called Read/write Definition where i can define an address (It seems to be somethin like a startaddress). If I define 12288 as address I can read the Addresses above 12288 with the correct value. The equivalent setting in rapid scada seems to be in the template. There is a field start element address. If I write at this point 12288, it causes errors.
So I would say that the values are not at that position scada expects. I think this is a problem of WAGO but I hope scada can handle it.
Is this what you need to know?October 23, 2017 at 7:43 pm #2681peter_f
ParticipantThe problem seems to besolved solved.
The range 12288 to 24575 is Modbus-address. I don’t kow why, but apparently rapid scada divides 1, so that scada address 1 appears as standart Modbus-address 0. I set the offset to 12288 so I requested data from standart address 12287. This is a reseved range with no valid data. This seems to be the reason for the occured error.October 24, 2017 at 5:53 am #2682
MikhailModeratorIn the new version of the Modbus driver you can switch the addressing base: 0 or 1. See Figure 10 of http://doc.rapidscada.net/content/en/use-cases/modbus-protocol.html
October 24, 2017 at 12:47 pm #2686peter_f
ParticipantThanks for that information. I got the current version but sadly I haven’t seen that there is a checkbox to solve just that problem.
October 24, 2017 at 1:44 pm #2688
MikhailModeratorOK 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.