ComBox MODBUS - difficult to write in the registers of the S.R.I.W.

Hey guys,.

I'm talking to a UPS (ComBox XW +) via MODBUS TCP. I can read the values of read only registers very well, and they line up exactly what I see on the interface of the web page they have. However, when I try to write a particular register r/w, I get an error of the incompatibility of function (-538172 using modbus smithd API). Also, when I try to read the register R/W, I always get the value 65535. This leads me to believe there something wrong with my configuration of device, but just in case, I thought that I would make sure that I wasn't doing anything weird in the code. Please the the image of the block diagram, as well as the manual that I use for the device in the attachment.

There is a small note MODBUS online as well:
http://solar.Schneider-Electric.com/wp-content/uploads/2014/04/conext-TL-using-Modbus-application-No...

Hey Thomas!

Thanks for your help, however, this link is not available more when I try to open it.

In any case, this problem is resolved. I was just writing the bad slave ID! The other slave was present on the network, but it is card MODBUS is completely different, that's why I was seeing these weird values.

Tags: NI Products

Similar Questions

  • VDR - difficult to write to the destination volume, error - 1020 (sharing violation)

    With the help of VMware Data Recovery 1.1, backup on CIFS and get this error

    18/01/2010 08:55:31: progressive run to the top of the disc "[Lun] VM/VM-DB1 - flat hard" using SCSI Hot-Add.

    18/01/2010 08:55:32: trouble of writing on the destination volume, error - 1020 (sharing violation)

    Integrity of the destination checks complete successfully and I tried to reboot the device just in case VDR.

    To resolve the issue I removed the part by the VDR, has made backups to other destinations and renamed the VMware Data Recovery subfolder in the destination, then add the share and makes backups, this of course creates a new backup store.

    Anyone have any ideas why this error occurs, I can't save in this backup more than store means.

    I'm having the same problem. After I spent time on google, I find this is a problem of Linux (VDR is Linux-based)

    I have following the site and do it step by step. Now, the VDR works very well.

    URL: http://www.cyberciti.biz/faq/linux-tcp-tuning/

  • URGENT DSC: I can write to the shared variable but can NOT read?

    Hi all

    I use DSC to communicate with an automaton of DVP28SV DELTA. I managed to write to a coil to turn on a fan, and I have also written in a register.

    However, when I tried to read the spool (spool the same I just turned on) or when I tried to read a record that I'm very sure that has values registry where I configure the parameters of modbus, it would return to ZERO, even when I tried to read the registry I just write in the answer was zero (I do not know the entry in the registry was successful because I did the specific value that) I wrote to the registry a condition to turn on a light).

    So, anyone know why this might be happening? the registers are read/write. I thought it might be time to scanning in the controller is too short, so I added delays, but everything I read always gives zero return. ideas? can someone help me with this?

    Here's the manual for registration of corporations, in the case where it is important: http://www.delta.com.tw/product/em/control/plc/download/manual/DVP-PLC-Program_O_EN_20120416.pdf

    In fact I solved this in time ^^ in the case where someone faced the same question and get zeros in the response, which has worked for me exchange of programming (by clicking with the right button on the shared in my VI variable).  Why it works? no idea. but variables starting to give me the correct values.

  • Can burn is no longer my music on a CD - RW with Windows I Tunes, error message says is no longer can read or write on the discs. Allows burning the same disc on a Mac, why?

    Why does my version of Windows of I Mac is more will allow me to burn music to a CD - RW, it keeps saying it can't read or write on the discs. Why? I had previously burned discs with I Tunes without any problem.

    This article may help:

    12 iTunes for Windows: If you have trouble burning a disc

    especially the last paragraph.

  • Unable to write to the network drive

    I have a Synology RT1900AC I have connected a HDD 2 TB WD MyPassport Wireless for. The drive is formatted HFS +. I can see the drive of two MacBook, we use, but cannot write to it either. When I look at Info for all files/folder on the disc, he said: "you can only read this...". ", BUT he says everyone has read and write permissions. In addition, if I check via the Terminal, I see that all files/folders on the disc are reading/writing/execution permissions. Finally, if I access the drive through Synology DS files app on my iPhone or iPad, I can write to the disk - it's only on the MacBook I can't.

    Any help is appreciated!

    Thank you!

    If you do a Get Info (command - I) on the drive is an option on the property to ignore?

  • my screen shows only write in the upper left corner and there is no icon showing the shipment.

    When I go to compose a new message or reply to one... the screen don't watch 'write' in the top left corner where there is usually the send icon. The send icon is not here or anywhere else on the screen, so I'm unable to send new messages or respond to all messages. Thank you

    Open a window of writing.
    Press the alt key to display the menu bar.
    Select display-toolbar, and then turn your toolbars
    Sending is on the Composition toolbar.

  • TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why this keep happening after

    TB 31.5.0 Win 7 after the TAB key for the automatic update no longer creates new address line "write" (enter the done key) but I want the TAB key! Why is - this seems to happen after each automatic update? Cant we get 'option' to use the TAB key to navigate through the lines of address "write"?

    TAB through the fields that exist. It is the function of the TAB.

    Otherwise you could never use TAB to go out in a field for example: subject. It would create an indefinate number of fields and are unable to function as a TAB key.

    TAB does not back to THE fields,
    New crests to THE fields or donkey typing/selection enter/return address, you can use the selection of mouse click.

  • can read but not write in the Numbers worksheet

    Can read but not write in the worksheet Numbers on my MacBook.

    Hi Frederic,.

    This also happens if you are still in the screenshot. Is there a "Done" down button on the right?

    Quinn

  • When I open a new tab, I have to click in the navigation bar before writing in it. I want to be able to write in the new tab directly when I open it.

    Before I did a reset of firefox every time I open a new tab with ctrl + n, that I could write to it directly, now I have to click on the area of navigation to be able to write to it. I use Firefox on Windows 7 25.0.1.

    Hello again, now recently the problem has corrected it self. I haven't changed anything at all except to, I changed the browser.newtab: newtab and after that, I was able to write in the searchfield directly. More while I did nothing at all.

    But thanks for the help anyway!

  • Avast! Writes to the SSD much antivirus software during scan

    Hi guys,.

    I have installed avast! Antivirus on my Mac, do not protect my Mac specifically, but to keep it to pass on the Windows malware to other computers or on my Windows partition. When the full analysis of the system, I notice that he reads a lot of data in the player (that I know), but it saves up to 40 GB of data in the SSD at the end of the analysis! I know writing excessively on the SSD can shorten their life (although I tried to calculate its expected service life using my daily writing, and I should have at least another 10 years of use, which is more than enough).

    My point being, why is avast! write on the disk so during a scan? Is it caused by a heuristic analysis or something? I don't want to put unnecessary pressure on my SSD, even though I know that Apple SSD are generally pretty durable.

    Thank you.

    Note: Please don't give me a conference on the installation of antivirus software on Mac - I know that this is not strictly necessary but I explain why I use it at the beginning of my post.

    Your windows contacts can take care of themselves. He has no need of you to your Mac protecting wear.

    Your Mac is already well protected without that avast garbage making it unstable.

    http://www.Apple.com/OSX/what-is/security/

    .

  • message cannot write to the file destination 1016

    I try to export photos to a memory card and I get a message "cannot write to the file destination 1016. I was able to export several photos, then I could not export more. Help

    In general, memory cards are in FAT format that hold a number very limited file to the root - the safe way to put photos on a memory card is select them in Photos and export to a folder on the desktop and then use the finder to drag this file to Gendarmerie, unlocked memory card

    LN

  • Issue of table + write to the file

    Hello, I am using USB-6009 with Labview 8.5

    I searched and passed tutorial table and still confused about acquisition of data...:)

    So here's what I'm doing (simple)

    I have two tension analog (AI0 AI1) returns through the DAQ assistant

    and I would like to follow up respectively and finally want to write them in lvm format or csv format...

    Question 1.

    Can I have an example of table VI with the DAQ assistant? all the tutorials I went on

    they are only about numbers--not the dynamic data...

    I think of... convert data into DBL and reorganize somehow to each table to the graph of the monitor

    Question 2.

    so I cut the data by using the table to display the monitor, then I will add both the value of the data in table

    to write to the file? or... is it possible to write in the file directly from the Daq Assistant, write on the file VI?

    Quesetion 3.

    If so, could you tell me how this writing on a file to save the data? 1st column with odd rank-> AI0

    1st column with the same line-> A1... something like that?

    Thanks, I spent about 3 hours of that, google them, read the help of labview and helped a lot

    1. you should be able to double-click the convert to Dynamic Data and convert the waveform in a table.

    2. just connect the output of the VI DAQmx Express write it on the Express VI of LVM.

  • TCP Read and Write at the same time

    Hello everyone,

    I have a question about parallelism in TCP connections.

    I know that it is possible to read and write on the same connection ID.

    So, if you ReadTCP and WriteTCP block each other, if you use the same TCP connection ID?

    Or to request more precise if I run two while loops, in parallel, with one end by calling WriteTCP and the other called ReadTCP.

    one of the delay of loops (or block) will be the other if both loops call their VI TCP at the same time right?

    The system is Windows 7 and Labview 2012.

    Kind regards

    Sebastian

    They are perfectly parallel.  Just write in one and read it from the other.  There is no conflict.

    See My TCP articles for more details.

  • Save the data of State machine after each iteration, then write all the data at once

    I have trouble finding in the best way to manage data generated by my state machine. Here are the data that it will save:

    * When pressure is set, a set point is returned.

    * When the pressure is set, a reading is taken a multimeter.

    What would be the best way to do this? Would it not be better to store all the data in memory, and then write all the data at once? If so, what would be the best way to do this? I want to use the tool to generate report after have set all the pressures. I joined my current application. Thank you all!


  • Write to the table, adding additional rows in the csv file

    Hi all

    I created a program that measure current over time.  It works well, but when I write to the spreadsheet, there are additional lines between the row of data.

    I've created a header file, which is passed into the while loop where the data entered in a table and then entered in the worksheet.  If I simply display the table, there is no additional lines, but when I open the file csv in excel, there are more lines.  I'm pretty new to labview, but everything works the way I want to (it's a simple program) apart from that.

    There is a trolley or jump back in your chain of row data.  You can get rid of that by adding a "trim whitespace" function between the function of "visa read" and "replace the subset of the table.

Maybe you are looking for