09-29-2016 06:38 PM
Hello,
I am trying to read modbus registers from Banner XS26-2DE and seems like I can only read upto 1500 registers. In the manual,
http://info.bannerengineering.com/cs/groups/public/documents/literature/174868.pdf
It says that I need to access registers from 30000 or 40000 offset. Whenever I put my starting address as 30000 the registers array is blank, I can still poll basic system information from registers starting at 382. I have no clue why the arrays go blank after 1500. Any ideas?
09-29-2016 08:54 PM
They call it an offset of 30,000 and 40,000. You don't enter that number. If you want register 30,001 then you enter a 0.
You drop the first digit, and the register are 0 based in LabVIEW and the actual command sent, while registers are 1-based and have that prefix digit when talked about in the device manuals.
09-30-2016 07:15 AM
To add to that a bit, the first digit is usually the function code which will tell you what you are doing, read holding register, read single coil, etc.
09-30-2016 12:27 PM
I also entered 0, still the arrays are 0, Instead of 40233 and entered 233 and still the arrays are all zeros. Any ideas?
09-30-2016 01:19 PM
According to your advice and the manual, I should be abale to get Fault Logs (Page 52 of the manual) from registers 233 and above but I dont get any. In the next page its talks about getting system information from register 383, which I am able to access and data is coming through. I have no clue what is going wrong with the registers 233 or above.
09-30-2016 01:36 PM
Attached is the Ethernet Mapping of the VOs that I wanted to track. What should I modify or enter into the Labview program to access these?
10-03-2016 01:44 PM
Hello,
Here are some helpful documents here:
http://www.ni.com/white-paper/7675/en/
http://www.ni.com/white-paper/52134/en/
The second one goes in a lot more detail. Is it only the fault entry information you are unable to read? Which inputs have you tried? Which LabVIEW function are you using?
10-04-2016 12:18 PM
I cannot read the fault registers and the VO status. Attached are the ethernet mapping for Reg:Bits. I do not know how to access bits in some specific registers. Attached is also the VI I am using right now.
10-05-2016 05:16 PM - edited 10-05-2016 05:22 PM
From Capture1 it looks like you access them as Input Registers or Holding Registers. Have you tried both?
Since you are getting data from other registers (i.e register 383), it seems that you are doing things correctly. I would also reach out to the manufacturer of the device for support as well to figure out what the differences would be between the registers you are successfully getting data from and the ones that you are not.