MODBUS U16 to simple, back from setting in the form

Hello everyone, I am working with a couple inverters Kollmorgen that give and receive data via MODBUS. Using the LabView user's library, I had no problem in the reading and writing of data on their part (assuming I do not more often than 10 times per second). However, I am having some problems with the data format. Kollmorgen has not settled exactly according to the standard and therefore some values are 32-bit registers, some are 64-bit and to initiate, some are signed and some are not; they are all however, delivered in 16-bit of size segments by the function 'read record keeping. Right now I'm only interested in the 32-bit signed value variety.

While I am able to read and I am sure I read the values I want (I can change the value of Kollmorgen workbench and LabView reflects the change of value), the output does not much sense. For positive values, it is fairly intuitive, like the first U16 (I read an array of 2 values U16) is always a zero, and the other is a x 1000 of what positive real value is. So if I read for example a current 3.5 amps, the first U16 is a zero, and the second is 3500; If I read 1.23 amperes is zero and 1230, and so on.

However, when reading negative values, I failed to see a pattern, so that it almost always go to a pretty high value (65 324 or something) in the two registers in low as - number 2. I already tried several data manipulation of the methods listed here, including:

-Conversion of type one in 2 U16 table, then return via join numbers

-Convert the number in binary, binary table then back to number

-Force in single, then using convert in I32 and divide those

So far, no luck, anyone had a similar experience or has worked with these players in the past? Also can't find much information on the documentation of Kollmorgen and their website States that the MSB is sent as the first registry on 64-bit size records. No doubt the positive data format gives a clue, but so far no chance on guessing it.

Convert an I32 U16 table.  Divide by 1000.

In the opposite direction.  Take your floating point number.  Multiply by 1000.  Constrain to a U32.  Convert to an array of U16.

EDIT: Don't mess with the fixed Point.  This is for very special cases, usually involving the FPGA.

Tags: NI Software

Similar Questions

  • How can I remove an account from activation if the former owner is not found?

    How can I remove an account from activation if the former owner is not found?

    Unless it's yours, you can't, and Apple will be not remove for you. Locking activation is a measure of protection against theft.

    (141565)

  • My Mac was purchased in November 2014. The fan makes a noise Purring but stops when I lift it and hold it vertically. I just got this back from repair to the workshop of John Lewis as he made a further strong noise.

    My Macbook (one and a half year). The fan has become noisy and I just got in return for repair from John Lewis. The problem is that I think that it is still too noisy. He runs not fast, but it is noisier than it was when we bought it first.  The fan noise also stops when I take the Mac on the end. Is this normal?  Thank you.

    There is no such thing as a MacBook 1 year and a half with a fan.

    The 12 '' MacBook isn't a fan.

    The last MacBook with a fan was the 2010 model.

    Perhaps you have a MacBook Air or a MacBook Pro, if so you should post your question to one of these areas of the forum.

  • How to completely REMOVE a network created from "setting up the wireless ad-hoc (computer-to-computer) network"?

    I have tried (in vain) to set up a network "wireless ad hoc" to allow another pc share my internet connection (which works fine).

    Needless to say, it didn't work!  But now... every time I search for wireless networks, my ad - hoc network returns as an available network.  Worse still, it now shows that non-secure, even if I got it.

    So I need to remove quickly... but HOW please?

    I "removed" control Panel\Manage wireless networks, but it keeps reappearing in the list of available wireless networks to connect to.

    Try this:

    Go to control panel > Classic view > Network and Sharing Center > customize > merge or delete network location > highlight the network, and then click on remove.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • try to update the junk e-mail, update and get error message. 800 b 0100, been doing this for weeks now and he just got back from repairs to the aid of February.

    Had to send the laptop to the fooze and lock me up.  Envoy and had the reset of the Bios, re - load and they said to update. I knew that I let go of a few things, but they said they would make sure that it is in good working condition before shipping back some.  They never to put my servaice package 2 in most of my players, I had to do it myself, I can't do a backup drive, it lost 3/4 of it and will not be complete. it does not update the flash player, in fact everything was better before, before he locked. It is very frusrtrating and discouraged the service I received.  I always try to make things right with her.

      

    Hello

    (1) do you have made no changes before this problem?

    (2) what is the problem with the backup process?

    (3) you receive an error when executing backup?

    (4) what is the problem with the flash player?

    (5) you receive errors during flash player installation?

    For the problem with the slow, I suggest you follow the steps described in the links below.

    Difficulty of the Windows system performance on slow Windows problems computers http://support.microsoft.com/mats/slow_windows_performance/

    Optimize Windows Vista for better performance

    http://Windows.Microsoft.com/en-us/Windows-Vista/optimize-Windows-Vista-for-better-performance?SignedIn=1

    The questions about the update, I suggest you follow the steps described in the article mentioned below

    Windows Update error 800b0100

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Update-error-800B0100?SignedIn=1

    To the question related to flash player, I suggest to uninstall and reinstall falsh player. Uninstall Flash Player | Windows

    http://helpx.Adobe.com/Flash-Player/KB/uninstall-Flash-Player-Windows.html

    Install Adobe Flash Player 11.2.202.235

    http://get.Adobe.com/flashplayer/ 

    The questions about the backup process, I suggest contact you the hardware manufacturer who repaired and see if he can can send back and fixed it properly.

    Hope this information helps.

  • Installing XP on a new machine instead of setting in the form of discs, it just restarts

    I've recently bought all new equipment, including feeding, mother and processor, memory card and 2 new hard drives. I made sure that there are no problems with hardware and even brought the motherboard back to the dealer, who has checked and showed me a running windows system.

    the problem I have is that when I try to install windows xp, it will gladly charge all the files needed for installation. Then, it comes to the screen where it asks whether a new installation, repair, or if I want to quit Setup.
    When I ask him to perform a new installation, he just reboots the computer. no delay, no error message, it comes immediately restarts the computer. If I hit repair he made the same thing.i also tried the other hard disk, with the same results, and I tried different sata cables.
    I even tried vista, and that's just a black screen after loading the installation files, at the time where it is supposed to go to a blue screen asking product key.
    Please help, I'm desperate.

    XP forums:

    http://social.answers.Microsoft.com/forums/en-us/category/WindowsXP

    Link above is for XP Forums.

    There is a list of the different Forums XP to the link above to help you.

    You get the help you need there.

    Here is the Vista Forums.

    See you soon

    Mick Murphy - Microsoft partner

  • Problem with the release of setting in the form using get-esxcli

    Hello... I tried to format information obtained using get-esxcli.  According to me, the question is to do with the default value fit for the typpe of info I receive.  Instead of get 3 columns, with one row for each parameter name and its configured default information /, I get the following... Name                                          Default                                        Configured                                    ----                                          -------                                        ----------                                    {acpiDbgLevel, allowNonNX, auditMode, autoC... {0, FALSE, FALSE, TRUE,...}                    {0, FALSE, FALSE, TRUE,...} Is anyone able to help out how I can change the formatting to what I was... Here's the code... function get-55HOSTAdvancedSettings ($vmobj) {$55HOSTAdvancedSettingsreport = @ () ForEach ($esxhost in $vmobj) {$settings = (get-esxcli - vmhost $esxhost).system.settings.kernel.list ($false) $row = "" |}} Select-Object Name, by default, configured $row. Name = $settings. Name $row. Default = $settings. Default $row. Set $settings =. {Set $55HOSTAdvancedSettingsreport += $row} if ($OutputToCSV) {$55HOSTAdvancedSettingsreport |} {Export-Csv - NoTypeInformation - UseCulture-path $CSVOutput - Append} else {Write-output $55HOSTAdvancedSettingsreport}} thanks in advance

    With

    $esxcli.system.settings.kernel.list () | FT - AutoSize

    I get the result in three columns.

  • Photo setting in the form of folder icon

    Hello, I like to read novels, and there are many present novels in my laptop. Just to be more precise, I divided each novels with its cover images in separate folders and I want to put the photo of cover of each book as an icon of this particular issue.  But I am unable to do so. Is anyway you can help me with this.

    I want to just say I want to put an image in the form of folder icon.

    Thank you. Waiting for the response.

    1. Right click on the folder
    2. Click on Properties.
    3. Click on the Customize tab
    4. Click Choose file and select an image. This photo will appear on your folder icon. Note that for the image to appear, your display mode of Windows Explorer should have something bigger than "small icons".

    PS: you can optionally define an icon to visually represent your case. You can do this in the same propertiesCustomize tab, by clicking on the change icon button. In such a case, you will need to point to a file icon instead of an ordinary image file.

  • Error setting in the form of CD - RW problem: Windows cannot format this type of disc. Insert another disk and try again.

    Original title: problem formatting CD - RW

    I want to copy some files (word documents) on a CD - RW. I just bought a new box of these discs: Memorex high speed 12 X 800 MB 80 min

    When I put a disc in my d drive, I get the following error message:Windows cannot format this type of disc.  Insert another disk and try again.

    However, I went in the d drive and clicked on delete, just to see if it would work.  It recognizes the disc as a CD - RW, and erased, and said I could now burn files to it.  I tried to copy the files to and and again got the error message.

    If anyone can help me with this problem, I would be very happy!

    Thank you!

    Hi mariec59,

    1 does happen with all disks?
    2. what program you use to burn the disc?

    We recommend you to check if the problem persists with another disc.
    We also recommend to run the troubleshooter for CD/DVD playback and burning. To do this, try the following steps:
    a. see play CD/DVD and burning issues.
    b. click Microsoft hotfix and run the tool successfully.
    c. restart the computer and check if the problem persists.

    Also, see burn a CD or DVD in Windows Media Player

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Tabel of content, paragraph Style setting in the form

    I do a Table of contents in InDesign CC and I have included and entry style and it mapped to a separate "entry Style.  Entry Style is a style of paragraph whose Font Style is Regular (as I would). However, as the entry point style is "Bold" (as I would) the topic appear in bold (which I don't) in the output table of contents. Why is happening and I fix it so that it does not become "BOLD" (on the contrary, the style of paragraph entry) whenever I update?

    Check if a character style is the "BOLD" application.

  • output from compilation with the form of a table

    I would like to print a SupplierName for several call numbers and upstream paids instead of display vendoranme duplicate of each line. When I run the code below, the table format came out badly. I print the name of the seller once, the next line of the calling number must be installed under the header of the call number, but it goes again under the name of the seller.
    anyoen can help me correct this view of data?

    Expected results:
    NAME OF THE VENDOR. CALL # | PAID AMT
    --------------------------------------------------------------------------------------
    VERIZON WIRELES | CALLNO01 | $500.00
    ----------------------------------------------------------------------------------------
    empty space. CALLNO02 | $200 |
    -------------------------------------------------------------------------------------
    empty space. CALLNO03 | $50 |
    ------------------------------------------------------------------------------------
    empty space. CALLNO04 | $10 |
    ------------------------------------------------------------------------------------



    -results of the wrong exit code below-
    ------------------------------------------------------------------------------------------
    NAME OF THE VENDOR. CALL # | PAID AMT
    --------------------------------------------------------------------------------------
    VERIZON WIRELES | CALLNO01 | $500.00
    ----------------------------------------------------------------------------------------
    CALLNO02 | $200 |
    -------------------------------------------------------------------------------------
    CALLNO03 | $50 |
    ------------------------------------------------------------------------------------
    CALLNO04 | $10 |
    ------------------------------------------------------------------------------------

    -----------------code------------------------------------
    < tr align = "center" >
    < td width = "3%" > < b > NAME of the SELLER < /b > < table >
    < td width = "15%" > < b > CALL # < /B > < table >
    < td width = "21%" align = "right" > < b > AMT PAY < /b > < table >
    < /tr >
    < cfoutput group = "vendorname" >
    < tr align = "center" valign = "top" >
    < td align = "left" > #UCase (otrQry01.vendorfullname) # < table >
    < cfoutput >
    < td > #UCase (otrQry01.calllnumber) # < table >
    < td align = "right" > #DollarFormat (otrQry01.amountpaid) # < table >
    < /tr >
    < / cfoutput >
    < / cfoutput >

    k... help results.

    It's kludgy, but as Dan said, I can't think right now a better way.

  • Help save a progress in the form of parameter from the point of view of creators

    I use the trial of Adobe Acrobat DC, I create a parameter form to help prepare forms, but my form is four pages long and very personalized.

    How to save this configuration of the form so that I can change the location of these fields and change the tab index and others at a later time? Any savings I have seems to be for the distribution to the end-user, than save my progress and come back to finish creating the form of parameter at a later date.

    Thank you.

    When you save the file, close Acrobat DC and then reopened, the fields are not visible, which is why I thought it didn't save it in a way that I could change in the future. However, I see now that if I open again, then click on prepare forms fields appear and can be changed later.

  • need the simple way to set the computer back to factory settings, and already saved safe data

    need the simple way to set the computer back to factory settings, and already saved safe data

    Vista recovery media obtain and/or use the Partition Recovery Vista on your computer to the factory settings .

    There is no Vista free download legal available.

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.

    See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.

    Normally, you have to press F10 or F11 at startup to start the recovery process...

    Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.

    Also ask them if it is possible to do the recovery disk/s for the recovery Partition in case of a system Crash or hard drive failure.

    They will tell you how to do this.

    Every computer manufacturer has their own way of making recovery disk/s.

    Or borrow a good Microsoft Vista DVD (not Dell, HP, etc).
    A good Vista DVD contains all versions of Vista.
    The product key determines which version of Vista is installed.

    There are 2 disks of Vista: one for 32-bit operating system, and one for 64-bit operating system.

    If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu

    http://support.Microsoft.com/default.aspx/KB/918884

    MS advice on the conduct of clean install.

    http://www.theeldergeekvista.com/vista_clean_installation.htm

    A tutorial on the use of a clean install

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Super Guide Windows Vista Installation

    After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.

    Save all data, because it will be lost during a clean installation.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://support.Microsoft.com/default.aspx/KB/326246

    'How to replace Microsoft software or hardware, order service packs and upgrades, and replace product manuals'

    See you soon.

    Mick Murphy - Microsoft partner

  • I noticed from lately, when I change my settings on the 2 online games, I play, I can disconnect turn it back on and notice the changes eventually reversed to where it was before.

    original title: Vista settings will not save. Why?

    I have a problem. When you use this computer (and this computer has Windows Vista), I noticed from lately, when I change my settings on the 2 online games, I play, I can disconnect turn it back on and notice the changes eventually reversed to where it was before.

    It's getting boring because it is not happened in the past and when I noticed it happened for the 2nd game after seeing this constantly on my 1st game, it came to me that it is not the games that does this: it is the computer itself.

    What should I do so that the computer can actually record setting changes I made?

    Hey, Andrew,.

    Most likely a configuration of settings on your computer file is damaged. You can take a look at this article that Blizzard has published:
    You can also ask your question on the forums of World of Warcraft:
  • Smartphones from blackBerry Bold 9900 set up the e-mail icon does not not :(

    I had to go back to Blackberry Bold 9900 for awhile my Q10 screen is cracked and I sent it to be repaired. I put the new sim card in and try to set up the e-mail account he showed me the mail of size and I knew that something is wrong. I called my network provider and they have implemented my Blackberry data plan and I signed up with blackberry network. I turned my phone market and bb next to the network icon icon appeared which is good. But when I go to set up an email account and click the "email accounts" nothings happens. called my network, they do not know how to help me...

    Hello and welcome to the community!

    With a strong carrier network (for example, not only WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2, each should result in a message from your BB... Please wait just before moving on to the next step):

    1) register HRT

    • KB00510 How to register a BlackBerry smartphone with wireless network
    • Please wait a 'registration' message reach your Messages application

    2) Remove and return Service books (pre-BB10 only devices)

    • KB05000 Remove the maintenance book for the BlackBerry Internet Service email account in the BlackBerry smartphone
    • If you do not have access CMIME, continue deleting
    • KB02830 Send the directories for the BlackBerry Internet Service
    • Please wait "the Activation' Messages, one per already configured e-mail account, arrive in your Messages. If you have not already configured email accounts, please wait 1 hour.

    3) restart

    • Pre-BB10 ONLY devices. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes.
    • Peripheral BB10. Hold the top button until the counter reaches zero. Wait for the unit to be completely stopped (for example, nothing appears on the screen, no lights, etc.). Hold the top button until the red light. Wait through the entire boot process. IF this fails, you can try the method of battery-pull above, but it is normally NOT recommended unless nothing else works.
    • See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    I hope that will move things again for you! If this isn't the case, then you can try this link from your BB browser:

    Otherwise, you should contact your mobile provider for official support... but this time do not let you fob off the coast. You pay for your services, making them responsible for your formal support service, including if necessary climbing to BlackBerry-related.

    Good luck!

Maybe you are looking for

  • Facebook: ssl_error_illegal_parameter_alert and does not completely load friends comments

    often we get the above error.Games won't load - and now messages from friends are not completely loading.I have reset FF - uninstalled - and reloaded. Now, I suffer from withdrawals of Scrabble.Help!

  • Satellite A100 - I have a negative temperature of the GPU

    Satellite A100Negative temperature - 99 of the GPU. NVIDIA go 7600 card.Is this supposed to be?

  • set up the default trace file

    I would like to know how to configure the trace file by default so that I receive event log entries related to the trace of departure.  I know also what tracks are available and how to ensure that one does not work that I don't need.

  • C410a in paper

    C410a printer 'in paper' error message and "load paper into the photo tray" while sufficient paper is in the tray. He pulls the sheet in French - and returns, then error message is displayed.  Not sometimes - but still - do not print. Have used the H

  • A POP-UP MESSAGE WARNING EXPIRATION OF WINDOWS VISTA HOME BASIC EDITION

    I have a laptop Compaq Presario V 3000, purchased by me on May 28, 2008 in Bangalore, India (Reliance digital) and delivered to me preloaded with Windows Vista Home Basic with a label number key to the laptop. (The 20 product ID numbers is also known