Modbus error code 6101 and framing error

Using the Vi's MB INIT and MB WR to monitor the registers of a Micro-Motion sensor but keep getting either Framing error 1073807253 or timeout 6101. The communication is RS232, 1 stop bit, RTU (8 data bits), 9600 Baud and the program reads 50 consecutive registers (Floating), timeout is set to 2000 ms. Usually the errors occur after about 5 minutes or so.
Labview Version 8.5
Labview Version 8.6
Labview Version 2013

Hello Romain
Please find attached my Vi. I have reduced the amount of registers taht were originally read from 50 down to 20 and increased time delays which seems to have removed the error code problem.
However I still miss data, for example the temperature reading will be fine for a few minutes but then go to zero or a large number. The same thing occurs with other registers that are being read.
Thanks
Jack
Labview Version 8.5
Labview Version 8.6
Labview Version 2013
Attachments:
MODBUS MVD VER1.vi ‏37 KB

Similar Messages

  • Timeout error (code 6101) for acquisition from MODBUS instrument

    I am experiencing a problem which other users have reported, but for which little useful information has been posted:
    I am trying to acquire data from an instrument using MODBUS RTU protocol.  The code works as desired for a while, but will intermittently stop executing and give a timeout error, code 6101.  This code seems to be associated with the MB Serial Master Query sub VI.  In the past, I was getting this error as a result of RF noise corrupting the signal in the USB connection to the instrument.  Removing the USB cable from the noisy environment eliminated the problem.  I am now having the problem with an RS 485 line in the noisy environment, which should be very stable in noisy environemnts. 
    My question:  is there a coding trick i can use to reconnect in the event that a corrupt signal occurrs (or some other problem which results in the intermittent appearence of the error 6101)?   I've increased the timeout value on the MB Serial Master Query sub vi, but this hasn't helped.  Any input is appreciated.  In case it's useful, I've posted a simple version of code which generates the problem. 
    Thanks,
    Paul   
    Attachments:
    Floating point 1.12.vi ‏24 KB
    timeout error1.JPG ‏31 KB

    Thanks for your input, Ravens Fan.  I am indeed getting a popup error message with the timeout.  I agree that putting the MODBUS read in its own loop would solve the problem.  However, I'm struggling with trying to figure out how to actually do this.  Should I put the read in a case structure or a while loop?  How do I go about looping back to re-execute the read statement?  I think so called "state machine architecture" seems to be where I should be going. Some example code would be greatly appreciated. 
    paul  

  • LV Modbus library 1.2.1 - Error code 6101 (timeout)

    This seems to be a common problem but did not found a clear solution. Timeout (error code 6101) appears randomly during register(s) read in Windows and Real-Time environment and with various computers. No matter which RS232-RS485 converter or short/log cable is used. Does anybody know what is the main reason for this error?

    Bonjour,
    Je suis débuté en Modbus c'est pour cela que j'ai regardé de nombreux sujets de discussion sur les forums NI etc.. j'ai donc téléchargé la bibliothèque modbus, j'en ai même téléchargé et essyé 3 différentes, j'ai suivi tous les conseils que j'ai pu lire malheureusement mon programme ne fonctionne pas. Le but est de commniquer avec le controleur de température CAL 9400 afin de lui atribuer un setpoint et un heating rate notamment. Mon Pc portable est relui à lui grace à un adaptateur USB-RS232 et un autre cable RS232 qui fait relais. Aucun des exemples ne marche et j'ai à chaque une erreur différente. Je privilégie plutot l'exemple 3. J'ai donné l'adresse 1 au controleur de température qui est ici le " slave", mon PC étant le "master". Pourtant en entrant l'adresse 1 dans mon programme j'ai l'erreur 6101, alors que si j'entre l'adresse 0 dans mon porgramme il n'y a aucune erreur mais rien ne se passe non plus pour le controleur, quelle que soit l'adresse que je lui ai attribué, je ne comprends, pouvez-vous m'aider s'il vous plait ? sachant qu'il y a trois types de data pour le controleur apparament : 18ni,18E1 et 18O1 je ne sais pas ce que ca signifie.
    Vous trouverez ci-joint les trois exemples que j'ai essayé ainsi que la documentation sur le controleur de température et la manière dont on communique avec lui en modbus.

  • Modbus error 6010 Exception code: 10

    Hello to all,
    I need help with the modbus library, I just downloaded it and since I am not an expert at modbus I'm having some troubles using it. Basically what I want to do right now is to read two input registers of a slave device (address 1006 and 1007); using MB Ethernet Master Query Read Holding Registers (poly).vi. All I get is an error 6010 MODBUS Exception code: 10. I saw the MB Ethernet Example Master.vi to compare it with mine and see if I was missing something but I haven't been able to solve the problem.
    I am putting a screenshot of the block diagram.
    Please someone tell me what I am missing!
    Solved!
    Go to Solution.

    The default address of the slave device is 1, I put it in the Unit ID of the MBAP cluster, and the error disappeared. Apparently now is reading something, I don't think the reading was correct but maybe it's something related with the register address.
    But at least is now reading something without an error.
    Thanks for the help!!

  • 2TB Ext. Hard Drive is corrupted?, error code -50 and then error code -35 when i try to empty out my trash

    okay so a few days ago i received and email for one of my colleagues to do some final editing to a music video. the folder contained 2 videos a rough chops and the main which was about 2-3GB which i dragged on to my external hard drive . and at the time i was trying to install a trial version of parallel lines and me being a newbie to the software i didn't know i need windows installments for it to run lol but yeah... so i was just getting frustrated with the software i kept installing it uninstalling it and then i was thinking my the problem might be because my MacHD space is low (less then 40GBs on my MacHD), so.. i installed it on my hard drive where all my important files are (I'm a graphic designer and do light video editing) video projects and many photoshop projects form 2007 and logs and just a bunch of important files in my hard drive. so because i was so frustrated with the software i wasn't thinking and i installed it on my external 2TB hard drive. and when i realized parallel wasn't working i gave up, uninstalled the program form the hard drive and for some reason when i did that and i tried opening the video my friend had email to me and for some reason it did load up but a few seconds maybe about 10sec in the video is froze and closed my media app (VLC) and when i tried opening other video files it would freeze every few minutes but those specific files i had drag in last were not playing after at least 5 secs and eventually didn't open at all so i restart my computer login and now i get scared i see that my MacBook Pro isn't reading my external hard drive so i search threw forums... i unplug from the wall plug my external hard drive back in my computer and it loaded up but when i opened my external hard drive all my files had that plank white paper icon on my folders (because i have everything organized but subject when you open then drive folder. so... i go in to my projects and nothing, i open my edited photos and nothing... my hart feels like its about to drop and i keep opening files and there is nothing in them, but in "get info" of my drive it shows that there is filled so i go to "disk utility"... i "verify disk" passes ..."repair disk" doesn't past.... i look it up in forums... so i reboot my computer and go to the safe recovery menu. go threw the same ting "disk utility"... verify, pass... repair, pass... so now i feel relieved. i login files in the ext. hard drive load up i tried again to open the files and same thing happens... so now I'm thinking its the files i drag the files to the trash and try to empty and its gone i reboot the computer and my drive didn't load up so i tried unplugin it and back in... drive comes up i notice theres trash.. i tried emptying it and i get the error code -50. and no files are popping up on my external drive and i try to repair/unmount disk and the verify disk doesn't pass and when i click repair disk it doesn't past and another error code pops up -35.... so i felt my drive alone for a few days and yesterday i go the files deleted from the trash and now I'm not getting any codes but when i try to unmount.verify/repair the disk. keeps letting my tits need to be repaired so i click the repair button another error unable to unmount volume to repair...
    what do i do? my files still don't show up. and I'm very sorry for the long paragraph but i have to be detailed for you to understand my situation

    Read this.

  • FPGA Code Generation fails with error codes 7 and -1

    Hi all,
    I have been having a weird issue with my LV FPGA compilation in the last couple of days, no matter what I try to compile LV fails to generate the FPGA code files and returns with errors 7 and -1 and complains that the file is not found. This happens no matter what I am trying to compile even a VI with just a while loop. I followed the discussion forum here without any luck, also followed the NI article here and that did not help either. The error codes always get generated at the start of the Generating Intermediate files step #7 (out of 7).
    Attached to this post is a screenshot of the error I am getting (error -1 just says internal error and to contact NI support), bellow is basically the error I get for error code 7
    An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:
    Error 7 occurred at Read from Text File in nirviGetInstantiation_cRIO-IDSel_Timer.vi->nirviGetInstantiation_cRIO-IDSel_Timer.vi.ProxyCaller
    Possible reason(s):
    LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488: Nonexistent GPIB interface.
    C:\NIFPGA\compilation\cRioController_8-SlotFPGA_FPGA-TriggerTest_C06156E2\IDSel_Timer.vhd
    I tried to do some digging to see what could possibly be happening, and I noticed that LV is looking for the vhdl files in the wrong folder (see the line highlighted in red above), when generating the vhdl files, LV will place them inside the "source_files" folder under the compilation project, but for some reason it is trying to find them under the root folder not inside the source_files folder!!!
    Does anyone have any idea why LV would be looking for these files in the wrong subfolder? 
    Thank you,
    Aws
    Attachments:
    Code Generation Errors.png ‏35 KB

    Hi Aws_Khudhair,
    What version of LabVIEW are you using? And what version of the FPGA module? From what I found, it seems as though this is primarily an issue with LabVIEW 8.6 and 8.6.1.
    http://digital.ni.com/public.nsf/allkb/A711119FE89E39E78625754E00075E92
    This forum also discusses a similar issue:
     http://forums.ni.com/t5/Real-Time-Measurement-and/FPGA-compile-errors-after-generating-intemediate-f...
    It may also be worth repairing/reinstalling the FPGA Module and the Xilinx compile tools.
    Catherine B.
    Applications Engineer
    National Instruments

  • Windows Update Error Code 80070663 and 64C

    I am running x64 Vista on an HP Pavillion dv9000 laptop.
    I was cleaning up my desktop when I saw a Word doc I didn't recognize.  I tried to open it and got a Windows Installer window saying "Preparing to Install".  I have an activated, legal version of Microsoft Office 2007.  This is the first time
    I've seen that window pop up.  I let it try to install whatever it's trying to install and it comes up with an error: "This update package could not be opened.  Verify that the update package exists and that you can access it, or contact the application
    vendor to verify that this is a valid Windows Installer update package."  I am the administrator on this computer.  I have full access to all files.
    This prompts me to start Windows Update to see if that will fix it.  That's where the error codes come in.  The windows updates: "Microsoft .NET Framework 3.5 Family Update (KB959209) x64" and "Security Update for Microsoft Visual C++ 2008 Service
    Pack 1 Redistributable Package (KB2538243) yielded the error codes 80070663 and 64C.
    I noticed when I press Start, the power button occasionally says "Installs Updates then Shuts Down".  I didn't click it because I had work open I needed to work on later.  Then when I left the computer and came back, the power button didn't have
    the shield on it that said "Installs Updates then Shuts Down".  I shut down my computer anyway and it didn't install any updates, and this is where I'm at.  I've retried installing the updates via Windows Update and it still shows the original error
    codes.
    I've researched this error and came across Microsoft Fix It, downloaded as: "MicrosoftFixit.wu.LB.137269729445221149.2.1".  I've run it and it did not solve the problem.
    Please help,
    Jake

    Jake, did you ever find a solution to your problem? I'm afraid I can't help if you didn't, but I'm experiencing the same problem.
    I also run Vista and had no problems until recently when I had an installation failure on 12th April 2014 for the same two updates:
    Microsoft .NET Framework 3.5 Family Update (KB959209) x86 - (Installation status: Failed. Error details: Code 80070663)
    Security Update for Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package (KB2538243) - (Installation status: Failed. Error details: Code 64C)
    I don't know whether it's these updates that caused the problem or an earlier update that has stopped these updates been installed.  The PC is generally working but Word & Excel don't load any more. I get a 'Preparing to install' popup follwed by
    the message: 'This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.'
    If you did find a solution or any one else knows of one then I'd be very grateful.
    Dave.

  • Error Codes 1630 and 1722 when installing FSX in Windows 8.1

    Multiple efforts to install Flight Simulator X Gold on my new 8.1 system always results in error codes 1630 and 1722 at the end of the installation process.  Lots of searching the net suggests that this not an uncommon problem.  After trying a
    number of possible fixes suggested by a Microsoft Support Engineer in a thread on the Microsoft Community Forum without success, he referred me to this forum.
    In summary: After initially transfering a working version of FSX from my XP machine to the new 8.1 machine with LapLink it worked flawlessly.  A subsequent misdiagnosed printer issue by Dell tech support resulted in a refresh of 8.1 wiping out FSX (and
    many other apps).  Efforts to reinstall FSX from the either the original disks or a newly purchased set of disks both resulted in the error codes at the end of the installation process. Failed resolution efforts include so far include:
    - All recommendations in kb/258496 (including Xcopy which appears not to work on 8.1 at all)
    - Clean startup procedure from kb/331796 (8.1 froze up hard in trying it)
    - System File Checker per kb/929833 showed "did not find any integrity violations".
    - Licensing Reset Tool program per kb/928080 resulted in: "Cleaning up Token Store at: C;\Program Data\Microsoft\SLDL\Software Licensing  Failed to delete the token store  ERROR --HRESULT 800405"
    Bottom line seems to be that this is recurring issue with 8.1 and FSX but neither I or the Community Forum have been unable to find an effective solution.  Any advice/help/recommendations would be appreciated.  Will be glad to provide needed additional
    info as needed.
    Mark Davis

    - Licensing Reset Tool program per kb/928080 resulted in: "Cleaning up Token Store at: C;\Program Data\Microsoft\SLDL\Software Licensing  Failed to delete the token store  ERROR --HRESULT 800405"
    try this solution replied by Colin Vincent
    http://www.justanswer.com/computer/7b2g4-using-fsx-years-when-loading-receive.html
    you should post in this support forum
    http://www.microsoft.com/Products/Games/FSInsider/community/Pages/

  • I need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009". and after they said "we could not complete your request. There was an error in the App Store. Please try again later (nul

    i need help, i can't download free applications in App store. they answer me "your request cannot be processed Error code:1009".
    and after they said "we could not complete your request. There was an error in the App Store. Please try again later (null)".
    COMPUTER DETAILS: MacBook Pro 13-inch, Mid 2012 OS X Version 10.9.5; Processor 2,5GHz Intel Core i5; Memory 4 Go 1600 MHz DDR3.
    Thanks beforehand!!!

    Error
    what is error code 1009?

  • Error code 600 and 500 on autodiscover in Exchange 2010

    Hi,
    I have a problem on Exchange 2010 Autodiscover, the error code 600 and 500, Please see below message and please help to fix this error.
    <?xml version="1.0" encoding="utf-8"
    ?>
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    <Response>
    <Error Time="09:28:57.8739220" Id="2715916636">
    <ErrorCode>600</ErrorCode>
    <Message>Invalid Request</Message>
    <DebugData />
    </Error>
    </Response>
    </Autodiscover>
    Thanks,
    ShutMo

    Hi,
    The website https://host.abdomain.local/autodiscover/autodiscover.xml
    Shows the following error:
    <?xml version="1.0" encoding="utf-8" ?>
    <Autodiscover xmlns= "http://schemas.micosoft.com/exchange/autodiscover/responseschema/2006">
    <Response>
    <Error Time="09:28:57.8739220" Id="2715916636">
    <Errorcode>600</Errorcode>
    <Message>Invalid Request</Message>
    <DebugData/>
    </Error>
    </Response>
    </Autodiscover>
    Test Email Autoconfiguration
     <
    I have do "Test Email Autoconfiguration" and have the following log:
    Guessmart POP: server pop3.aadomain.com, port = 110, initializing
    Guessmart POP: server aadomain.com, port = 995, initializing
    Guessmart POP: server pop3.aadomain.com, port = 110, ssl=Yes, tls=No, spa=No, starting
    Guessmart POP: server aadomain.com, port = 110, initializing
    Guessmart POP: server aadomain.com, port = 995, ssl=Yes, tls=No, spa=No, starting
    Guessmart POP: server aadomain.com, port = 110, ssl=Yes, tls=No, spa=No, starting
    Attempting URL https://host.abdomain.local/Autodiscover/Autodiscover.xml found through SCP
    Autodiscover to https://host.abdomain.local/Autodiscover/Autodiscover.xml starting
    GetLastError=0; httpStatus=500
    Autodiscover request completed with http status code 500
    Autodiscover to https://host.abdomain.local/Autodiscover/Autodiscover.xml failed (0x80004005)
    Autodiscover to https://host.abdomain.local/Autodiscover/Autodiscover.xml starting
    Guessmart IMAP: server mail.aadomain.com, port=143, ssl=Yes, tls=No, spa=No, failed (0x800CC4005)
    Guessmart IMAP: server mail.aadomain.com, port=143, ssl=Yes, tls=No, spa=No, starting
    Guessmart POP: server pop.aadomain.com, port = 110, ssl=Yes, tls=No, spa=No, failed (0x800CCC1A)
    Guessmart IMAP: server imap.aadomain.com, port 143, ssl=Yes, tls=No, spa=No, failed (0x800CCC1A)
    Guessmart IMAP: server imap.aadomain.com, port 143, ssl=Yes, tls=No, spa=No, starting
    Guessmart POP: server pop.aadomain.com, port 110, ssl=Yes, tls=No, spa=Yes, starting
    then I received another failed.
    Please advise.
    Thanks,
    Shutmo

  • Hi, my iphone 4 is stuck telefonu because put the wrong security code. And I can not connect to itunes to update telefonu. I get an error and would like to help me with information Thank you!

    Hi, my iphone 4 is stuck telefonu because put the wrong security code.
    And I can not connect to itunes to update telefonu.
    I get an error and would like to help me with information
    Thank you! [email protected]

    We need the exact error message in order to help you.

  • Officejet 4630: Error code 0XB00A7A4E and it's all it does.

    Hello, my Officejet 4630  had some problems, yesterday it asked me if I wish to install ne w firmware and I thought this would solve the problems, so I clicked ok.Now it does not do anything anymore.It displays error code  0XB00A7A4E, and beeps all the time. I took out the USB, the power, waited... same thing.The Online forum says that one should open it and take out the cartridges, but when I open it, the cartridges do not come to the middle, to the "removable" area. So it is completely stuck.Any help? Thank you!

    Hello , Welcome to the HP Community!I hope you have a pleasant experience here.  I'd like to help you with the 0XB00A7A4E error that you are getting on your HP Officejet 4630 e-All-in-One printer. Errors such as the one you are experiencing can either be caused by a firmware issue, or a jammed carriage. It can be difficult to tell which. One of the most common fixes for a firmware error is to plug the printer directly into a wall outlet. The printer has a power moderator built in, so if it is plugged into a surge protector or battery backup, it often causes a power fluctuation. This can result in firmware errors similar to what you are experiencing. I'd recommend trying this first. If that doesn't immediately resolve the issue, I'll get you to check the cartridge carriage inside the printer. Is it locked in position? Are you able to move it at all? If you can move it, I recommend uninstalling and re-installing the cartridges. If not, I'd recommend contacting our HP Phone Support for further assistance:Step 1. Open link: www.hp.com/contacthp/
    Step 2. Enter Product number or select to auto detect
    Step 3. Scroll down to "Still need help? Complete the form to select your
    contact options"
    Step 4. Scroll down and click on: HP contact options - click on Get phone
    number I hope this helps!

  • HT1925 I receive error code 2349   when trying to install iTunes.  Any idea what that code means and how to correct?

    receive error code 2349   when trying to install iTunes.  Any idea what that code means and how to correct?

    It's a better bet with a 2330, but the first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • My ipod classic keeps showing error code 1439 and says its corrupted and nothing on the site that it says to do is working has anyone else had the problem

    my ipod classic 160 gb keeps showing error code 1439 and says it is corrupted and i have done everything the article on it says to do and still reads the same thing. has anyone else had the same problem if so what can i do to fix it. the ipod is only 2 months old

    If it is under warranty, bring it in to Apple Store, most of our suggestions, comes from the Apple support site..
    Besides Restoring the iPod, there are winsocks which have conflict with iTunes, perhaps, disable those plugins and disconnect the Internet and stop antivirus, while you are Restoring or Syncing the iPod.

  • Windows Updates Error Codes 80070308 and 80070643

    Recently I have a problem with windows updates patches for this month (June 2014).  I updated 10 computers (at office), 9 of them have either the error codes 80070308 and/or 80070643.  I tried to disable the Symantec Endpoint, used the Microsoft
    .NET Framework Repair Tool to fix the .Net Framework related error but still have failure.  I can still finish all the failed patches by rescanning the PC than install them; however; I still have 40 PCs need to be patched.  How do I prevent
    the installation failure, all the PCs have no problem at last month.  Any suggestion, many thanks.

    Hi,
    If your computer is having problems finding and installing operating system update, I suggest to
    try the windows update troubleshooter.
    To run a Windows Update troubleshooter:
    http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter
    An automatic troubleshooter is available that fixes some problems with Windows Update, and it might resolve this error for you
    http://windows.microsoft.com/en-us/windows/troubleshoot-problems-installing-updates#1TC=windows-7
    this error can appear when installing updates for Microsoft Office 2003,
    to fix Windows update with error code:80070643:
    http://windows.microsoft.com/en-us/windows/windows-update-error-80070643#1TC=windows-7
    If your computers are in a domain environment and get updated by a WSUS server, I suggest to update the group policy with the command “gpupdate /force”.
    Meanwhile, if it doesn’t help, please upload the Windowsupdate.log at: C:\Windows, this will give detail error information for further support.
    Regards
    Wade Liu
    TechNet Community Support

Maybe you are looking for

  • Error at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExec

    hi i am getting following , when i am try to execute second bapi. the first babi working fine. i want execute 2 bapi. at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java. all jco are

  • Dynamic column in dashboard prompt

    Hi all, I have to dispay 'TOP' & 'BOTTOM' dynamic value in the dropdown of dashboard prompt how to create a dynamic column value in dropdown of dashboard prompt?I m trying to create it by writing case in show sql result but not getting correctly acco

  • Tab through the Close File dialogue window buttons?

    In the past when closing a document or file (any app) I could Tab through the different 'Don't Save', 'Cancel' & 'Save' buttons on the close file dialogue window. And also hit the spacebar to select the highlighted button. But not any more. It could

  • Creating a Standard Info Record for multiple plants

    We did some clean up in info records the other day and marked some old/incomplete info records for deletion down at the PO organizational data level (EINE).  This went fine; however, now when we go to create another info record using the same info re

  • Is it possible to preserve dynamic run-time shortcut menu updates for a control?

    Hello all, I have a question about getting control run-time shortcut menus to persist after adding new items.  I am hopeful that I'm simply missing something simple here. Known Information I understand the use of the "Shortcut Menu Activation?" event