Modbus address confusion

In my application i have to talk to a servomotor encoder drive with modbus protocol. I've used modbus protocol programming before where i'm aware of the addresses of holding reg, control regs of range 30000 and 40000.
For this particular drive they've not mentioned anyparameter in terms of holding reg parameter or control reg parameter and also the addresses are like the following.
address
00xx H    -   Monitor parameters
01xx H    -   basic parameters
02xx H    -   Extension parameters
03xx H    -   Communication parameters
04xx H    -   Diagnosis parameters
my confusion is how do I translate these addresses 4 digit hex number to a 5digit address in the range 30000 and 40000. The manual of the hardware does not say anything about this
Thanks...
Pallavi

it seems very simple q to ask..... it turned out all the regs are holding regs and the corresponding addresses were the decimal equivalent.
01xx H = 256 + decimal
Thanks...
Pallavi

Similar Messages

  • Modbus address problem

    Dear All
    I have recently bought a compact FieldPoint system that consist of a cFP-1808 and a cFP-AI-118. I'm getting the system to work in Windows by using express Fieldpoint vias, but I have a requirement to have a Linux version (a embedded computer will control the system) so I have started to looking at Modbus. I downloaded the NI library "nimodbus" and read the help file "Using the cFP-180x as a Modbus Device". From the "nimodbus" library I'm using "MB Ethernet master Query.vi". In this vi there is a control that consist of five controls: "Function Code", "Starting address", "Quantity", "Data" and "Discrete".
    According the help file "Using the cFP-180x as a Modbus Device" and page "FieldPoint Modbus Addresses", the address should start with '0' for raw I/O data. Since my analog input module is at slot '1'and I want to read channel 1, the address should be '01001'. But when I try to type this address in "Starting address" control it gets 'converted' to '1001' and during the run of the program  I obtain the error code "MODBUS Exception code: 2." which means that my address is incorrect. But when I'm reading the attributes (according the help file It stats with '1', therefore my address is '11001'), I have no problems.
    So please explain for me what I'm doing wrong with the address for reading the raw I/O data.
    Best Regards
    Magnus Svensson
    Message Edited by Magnus Svensson on 03-30-2006 08:15 AM
    Message Edited by Magnus Svensson on 03-30-2006 08:15 AM

    Magnus,
    No problem...  "Coils" is an old terminology; usually implying closing/opening of solenoid coils. 
    Here's the Modbus standard -- a good overview:
    http://modbus.org/docs/Modbus_Application_Protocol_V1_1a.pdf
    The website www.modbus.org has other stuff as well.
    Regards,
    -Khalid 

  • Map Allen Bradley 1400 addresses to NI Modbus addresses

    Hi,
    How do I map Allen Bradley 1400 Micrologix addresses like (N7:0, B3:0/1, etc., etc.) to NIs modbus addresses? Can the NI DSC module access the PLC for read/write operations without using the NI OPC server?
    Is there any tutorial or URL  which specifically addresses the above queries?
    Thanks in advance.

    It's easier if you are using OPC ... you can map and bridge data between the two protocols quickly through tags (addresses).
    Here is what you need:
    Modbus << OPC Data Manager >> Allen Bradley
    Data Manager allows one-to-one, one-to-many, and many to many relationships between tags
    Let me know if you have any questions.
    Wassim Daoud
    Senior OPC Architect

  • Conversion from Modbus addressing to DNP3

    I am investigating the possibility of converting a Lookout 5.0 addressing protocol to DNP3.
    An example of the current addressing scheme is s40001-s40050 for example. What would these Modbus address convert to for DNP
    Can I just export the existing database into Excel, make changes, and then import the modified database?

    Wow. That's a lot of unnecessary stuff to digest. All you really need to do is focus on the root cause.
    ORABPEL-11800 Unimplemented object conversion. Conversion from JDBC type OTHER is not implemented.
    Refer to the documentation on supported datatypes.
    [http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm#CHDDCFCB]
    The JDBC reference to java.sql.Types.OTHER means that you're using an unsupported data type.

  • Getting error code -1967353908 when trying to read a modbus address

    I'm using the Modbus I/O server in LabVIEW 2010 to communicate with a Kohler generator.  A vendor was able to supply with the the Modbus address mapping so that I'd know what addresses correspond to what IO points.  One of the addresses is 40126 which I create in the Modbus I/O server as 400126 since it requires six digit addressing.  Well, that worked but only temporarily.  Not too long after I begin trying to make sense of the values read, the shared variable begins showing error -1967353908.  The description for this error is "The specified data item address is not an allowable address for the Modbus slave device. Refer to the documentation of the Modbus slave device for information about supported addresses."
    What I don't understand is why it works one minute and stops working the next.  Also, I know that the Modbus server itself is not erroring b/c in my VI there are other boolean bit addresses that continue to report good data.  Can anyone assist in helping me figure this one out?  Thanks.
    Ryan R. 

    Ryan,
    This error may occur with certain Modbus slave devices, because the I/O actually queries for a range of addresses, some of which may not exist on the device.  To remedy this issues, reduce the number of Holding Registers in the Advanced Settings of the IO Server to 1.
    Let us know if you have further trouble!
    Drew T.
    NIC AE Specialist

  • Lookout 6.5 critical crash - writes to random modbus addresses

    Hello,
    We are experiencing a rather critical problem with Lookout 6.5. The proces file contains approximately 148 Modbus/TCP connections, some overview panels, a properties panel which uses a symbolic link to retrieve properties from a certain modbus object.
    Seemingly random, Lookout crashes during operation (with the Windows send/don't send window). When this happens, the second before the crash actually occurs Lookout starts writing seemingly random values to addresses to all the modbus devices. Some to addresses which are connected in Lookout, and to some that are not (even to addresses that actually don't exist on the device, which causes it to return an exception). The addresses do seem to be in an increasing sequence (i.e. it starts at 500, then starts writing further until about 850). Values I've seen are mostly 0, but also 256, 2308, 512, 2048, 3844.
    I've attached a packet capture log which shows the write commands Lookout is sending.
    Does anyone have any idea what could cause this crash or things I can check?
    Attachments:
    dump.txt ‏175 KB

    Also uploaded a second dump file as Randomwritecrash2.zip - I'll keep uploading dump files in sequence.
    Crash data from this dump:
    (1328.bd4): Access violation - code c0000005 (first chance)
    First chance exceptions are reported before any exception handling.
    This exception may be expected and handled.
    eax=01cbcd1a ebx=00f70000 ecx=3e720012 edx=3e720013 esi=00f70838 edi=00000009
    eip=7c902a9d esp=0013f4f4 ebp=00f70838 iopl=0         nv up ei pl nz na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202
    ntdll!tan+0xcf:
    7c902a9d 8b18            mov     ebx,dword ptr [eax]  ds:0023:01cbcd1a=????????
    0:000> kb
    ChildEBP RetAddr  Args to Child              
    WARNING: Stack unwind information not available. Following frames may be wrong.
    0013f4f8 7c91020e 00000009 00f70838 00f70000 ntdll!tan+0xcf
    0013f510 7c9101db 0013f744 7c90e920 7c910228 ntdll!RtlAllocateHeap+0x14a
    0013f528 7c91019b 00f70838 00000013 0000003f ntdll!RtlAllocateHeap+0x117
    *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\MSVCR71.dll - 
    0013f754 7c3416b3 00f70000 00000000 0000003f ntdll!RtlAllocateHeap+0xd7
    0013f794 7c3416db 0000003f 7c3416f8 0000003f MSVCR71!_crtLCMapStringA+0x305
    00000000 00000000 00000000 00000000 00000000 MSVCR71!_crtLCMapStringA+0x32d

  • Read/Write a bit in a Modbus Address

    Greetings,
    I'm working on a project for a customer of mine. I'm working off of his I/O mapping list. We are using MODBUS to communicate to a Motorola MOSCAD FIU. According to the I/O Map, I need to read a bit from address 307682:01 which normal I would translate into 307682.1 but Lookout is not excepting this address as a valid Data Member. So I did some troubleshooting of my own and found that Modbus Data member (307682) is only used as "a 6-digit addresses of 16 bit input registers encoded as unsigned binary integers ranging from 0 - 65535." I guess an analog value.
    Is my thought process correct on this? Does my customer need to change his I/O mapping. Am I overlooking something?
    Attached is a copy of the I/
    O map.
    Oliver Scheurer
    Aegis Solutions, Inc.
    2660-T Yonkers Road
    Raleigh, NC 27604
    Phone: (919) 861-0103 Ext. 231
    Fax: (919) 861-0104
    www.aegis-solutions.com
    Attachments:
    IO_Map_for_lookout.xls ‏69 KB

    WOW!!.. I get to answer my own question. You all are slow... J/K...
    Anyway, the fine people at NI Tech Support Helped me out with this one. Seems that it is a problem related to Lookout and Modbus. After discussing this problem with a few engineers, I decided to call the customer and let him know of his mistake. Well, he proceeded to tell me that "Wonderware can do it with out a problem". So I called NI Support again, and they told me that further research showed that it is something that was not put into Lookout. The Support engineer started a "CARD?". But he also gave me a work around.
    1. create an expression
    2, enter getbit(3,1)
    This expression will return a ON status since the number 3 in binary is 1 1 and looking at the first bit is 1.
    So for my
    application I would use
    getbit(modbus1.307682,1)
    I hope this makes sense.
    Oliver Scheurer
    Aegis Solutions, Inc.
    2660-T Yonkers Road
    Raleigh, NC 27604
    Phone: (919) 861-0103 Ext. 231
    Fax: (919) 861-0104
    www.aegis-solutions.com

  • Inet Address and I.P address confusion

    Hi,
    I have an I.P address which I recieve from user input in four seperate variables each of type int. The reason I'm doing it this way is for increment purposes. Now the first initial IP address I want to ping to see if it's alive or dead. Then the program will increment the I.P address to check the next available IP address to see of that's alive or dead. Stupid University coursework Grrr :(.
    What I was thinking (in theory anyway) is to convert all the digits from all four variables into the one I.P address and get that as an Inet Address object. From there I can use the object easier to Ping. Then I will clear that Inet Address object and increment variable four by 1 to create the next available IP address and then convert the new four variables into a Inet Address onject and ping that object and so on and so on.
    Just wondering if in theory I'm on the right tracks or does this make no sense whatso ever? I'm still confused over it but kind of an idea. I'm sort of doing the projects as we learn the language and even though I read lots of tutorials on using Inet address I'm a bit stumped by this project. Any help really appreciate.
    Thanks,
    No longer a JavaNewbie but far from advanced!

    >
    Just wondering if in theory I'm on the right tracks or
    does this make no sense whatso ever?Yes. Remember that it rolls on 255.
    I would also strongly suggest that you get in writing that you are supposed to be creating a port scanner.
    People have been fired from their jobs and others expelled from their university when they were given an assignment that the security staff at the institution considered to be a security problem. And their superiors refused to back up the assignment (possibly because the axe would have gone their way.)

  • 6to4 Addresses vs Regular IPv6 Addresses - Confusion

    Hi All, (Apologies if this question appears twice. Apparently I had an interface problem)
    I'm finishing up my studies on the IPv6 portion of the CCNA material, and my book seems to completly ignore the fact that 6to4 addresses seem to look different than how the rest of the chapter portrays IPv6 addressing. I've done google searches, and unfortunately I don't have anyone at work who is versed enough in this who will know, so I'm hoping someone can help.
    1. A normal IPv6 address:  2001:0db8:3c4d:0012:0000:0000:1234:56ab
       The same address in shorthand:  2001:db8:3c4d:12::1234:56ab
       A /64 of this space with autoconfiguration:  2001:db8:3c4d:12::/64 eui-64
       All of these addresses have, or will have 8 octets if written in long-hand, in other words - a valid IPv6 address.
    Here's my problem:  The addresses in the 6to4 section look like this:
       ipv6 address 2001:db8:2:2::1/64
    The book fails to mention what the "1" before the /64 is for, but I am assuming that it is an identifier and not part of the IPv6 address due to the " :: "   However, if this is the case, I only see 4 octets, and no eui-64 command, directing that the other 4 will be populated by the MAC padded.  And the "ipv6 address" syntax leads me to believe that this is a host address, and not a block/space statement (i.e. "ip address 192.168.0.1. 255.255.255.0," as opposed to "network 192.168.0.0 255.255.255.0)."
    If someone could shed some light on this, it would be most appreciated, as it is very confusing.

    Also, 6to4 IPv6 addresses have the IPv4 address of the 6to4 gateway embeded in them as well.  That is why they have a whole reseved block of 2002:/16.  Any gateway can algorithmically extract the IPv4 address for forwarding.
    2002:0b0c:0205:5/48 for example, would be correlated to IPv4 address 11.12.2.5 (which is the decimal of the IPv4 address 0b0c:2025 shown in hex)
    Earl Carter wrote a nice blog article on the general topic of IPv6 addresses at http://blogs.cisco.com/security/ipv6-addressing/
    And the commonutiy has settled on calling the 16-bit numbers between the colons "hextets."  In IPv4, each 8-bit portion between dotrs is called an "octet."  The truly pedantic will object taht a hextet should be 6 dits, bit "hextet" is easier to say than "hexadecitet." :-)
    Anotehr trivia point:  The letters in an IPv6 address should awalys be lower case.
    More arcana can be found at http://tools.ietf.org/html/draft-hartmann-6man-addresspartnaming-01, which is on track to become an RFC.

  • En1 IP address confusion

    Hi, I'm relatively new to the world of Airport, and having done some configuring of my network today, there's some confusion about the IP address of my Airport (en1) card:
    Terminal > ipconfig getifaddr en1 : 169.254.61.91
    IP Widget : 10.0.2.1
    Network Utility App: 10.0.2.1
    NetStat Widget oddly reports:
    IP: 10.0.2.1",
    "169.254.61.91
    Does anyone know why both those IPs are associated with en1? What have I done? (this relates to my internal Airport card)
    Thanks,
    Rich

    The problem I have only involves Airport (en1).
    What is the problem? Is it just that the numbers are strange? or is it that you have connection problems?
    I checked all of these numbers on my iBook connected wirelessly. I am using a standard 802.11g router for the connection. In my case, the same local IP address was displayed in Network Preferences, Network Utility, Terminal, and NetStat. My correct public IP address is also shown by NetStat.
    I asked earlier if you were using a computer to share the network from Ethernet to wireless. If you are, I'm guessing that your findings are somehow related to that.
    Doesn't 169.x.x.x mean something isn't configured properly?
    Yes it means that there was an error communicating with the DHCP server.
    2. Am I better off configuring Airport's TCP/IP manually?
    No
    3. What is the difference between en1's local and public IP addresses?
    The local IP address is the address assigned to it by the wireless base station.
    The public IP address is the one assigned by your ISP to your connection and is used by the router.

  • Mac Mail address confusion

    I have two accounts in Mac mail, let's call them Amail and Zmail. And only one SMTP outgoing mail server, namely, my ISP's server (which is different from the mail servers for both those two acounts).
    From account Zmail I send a message and copy me in on it. Apprently the From on it gets changed from my Zmail address that was on the outgoing message to my AMail address. At least that's what I see on the copy sent to me, and because of the change my message is being rejected by a recipient who requires e-mail address registration, where I'm registered with my Zmail address.
    What Preference or other setting will fix this?

    Csound1 wrote:
    2 smtp servers, each with the correct credentials for 1 account.
    So it simply won't do to send outgoing messages through the same smtp server? I thought I could do that when I was still using Thunderbird as my e-mail client under OS X rather than Mac Mail.

  • HT201342 email address confusion

    I'm using a me.com address in addition to gmail (and rarely used Hotmail and aol)
    Why on earth would I now need an @icloud address, giving me TWO Apple addresses?

    There is no advantage.
    Apple renamed their service from MobileMe to iCloud, so it is logical to change the email address to match.
    You can ignore the new address if it is not required, your previous @me email will continue to function.

  • ICloud email address confusion!

    OK…here goes. I'll try my best to explain my situation. First, I just started (trying) to use iCloud when I got my new MacBook Air a few days ago. (I'm not new to Apple, just a new computer.) I've been using Reminders app on my iPod Touch 5, but had iCloud turned off and Reminders worked perfectly, meaning it alerts me to things I need to be reminded of.
    So I get this new MBA and decide to use iCloud to sync between the two. When I turned iCloud on it asked for Apple ID. I entered the same Apple ID/Password I've been using for years. It said it was "Invalid". I try again and again with the same entries. No joy. (However, I'm still able to access this forum, the App Store, and the Mac App Store using that old ID/Password.)
    I finally gave in and just turned on iCloud using the ID it "suggested" which had an iCloud.com suffix. However, when I go into "Account Details" on iCloud my actual Apple ID shows up (the one it just said was invalid) with my actual "gmail.com" suffix!!! Great! Now iCloud works on my MBA, but nothing syncs to my iPod Touch. I tried deleting the account as suggested on this forum. Didn't help. I tried a hard reset. Didn't help. So, I manually entered the same entries into my iPod Touch that I have on my MBA. Now…they are gone! Reminders on my MBA and at iCloud.com are a match, but nothing else is syncing. I've checked the boxes for Mail, Calenders & Reminders, Notes, and Documents. Only Reminders matches up with iCloud.com.
    I've got a theory it has something to do with the email addresses not matching up. I don't want to change my Apple iD as I don't want to lose the "history". My Apple ID on my iPod Touch has an "@me.com" suffix.
    I still have the free 5 GB of storage available. I'm considering just turning off iCloud on my iPod Touch again and using Reminders as a stand alone app and not worring about syncing. But, I'd still like for the other apps besides Reminders to work on my MBA. My understanding is iCloud is "beta". Should I just wait and see if Apple get's iCloud perfected? Or am I missing something obvious?

    Thank you, Mr. Churchhill!
    Once I found the "Manage My Accounts" page I saw that I had a 2nd Apple ID that I didn't really know about. The key was that I needed to add this account, which was [email protected], to my Apple "Mail" app. I then deleted my iCloud account on my iPod Touch then created a new one using the [email protected] address as my "Account" name and Apple ID for iCloud. iCloud immediately populated my Reminders, Notes, Contacts, etc.. Everything is properly synced and I'm a happy camper.
    This is the 2nd problem solved today on these forums. I'm so thankful you are all here and willing to share brain cells.

  • Mail address confusion between .mac and .me

    When I reply to a mail sent to my .mac address Mail automatically adds my .me account to the cc: box.   This is a pain as I send it to myself and others get 2 emails from me?
    Please hlep with a fix for this.

    I am having the same problems and really need a solution....

  • Lesson 2-4: address confusion

    On the slide at around 7:45 there is graph and part of it is labeled "Address" and refereed to as a "registry" or "what we want to read from the device". Isn't this a I2c device's address?

    Yes - the first part of the protocol is the I2C device address.
    The address is written to the bus with the desired action bit (Read/Write). Angela means to say that we are using this address to write a command to a register on the BMP device.  The command starts the temperature and pressure process. After a delay, you can then read an uncompensated temperature value from the device.  So I think she is getting ahead of herself and will describe this more in lesson 2-6.
    Tom

Maybe you are looking for

  • How to restore preferences on iTunes after an archive & install

    Hi, My main HD had some critical problems that needed to be fixed and overcome using Disk Warrior. After that my OS was non-functional, so I proceeded to do an archive & install. Now upon using iTunes, I've always had my iTunes library on a separate

  • VKOA Question

    Hello SAP Gurus: Could someone please explain why we maintain the GL accounts in 5 tables as shown in the first screen of VKOA. Also when we go to the next screen why do we have two columns for GL Account. Is there an explanation of this configuratio

  • [Solved] Side effects of compiling on slower machines.

    So, I had been doin' casual stuff on my big 'ol laptop (Quad-core I7), when it's bios randomly bricked and I was unable to boot. (I think it was the bios, since it crashed on the boot logo before dying.) Anyway, I now have a silly lil' lappy (Dual-Co

  • *Uploading  PDF MSDS through CG36*

    Hi Gurus, If any one has done uploading PDF MSDS sheet throught transcation CG36. Kindly guide me through the process of uploading the PDF file into SAP. Thanks in Advance Thanveer I

  • Blackberry Torch Charger Port broken, battery drained?

    My charging port is somewhat broken  on my blackberry torch (I have to put the charger at a certain angle for it to charge and readjust every few minutes). I wa sjust wondering if there is anything I can buy that would let me charge just the battery