Read / Write to Siemens Drive Registers.

How to write float value to Siemens drive register in hex format using any VI
and through a tag.
For example to write value 40.00, the drive register should read 343A 0000 4220 0000.
Also how to convert the hex format to a float value.
Thanks

Hi Hema,
Do you know what the representation (SGL, DBL, EXT) is?
This almost looks like complex single.
If it is just a SGL then the "4220 0000" makes sense.
You can use the typ cast from the advance>>>data manipulation palette.
If you type case a SGL to an array of U8's you get the value I noted above.
I can also type cast your posted values (with high and low halves waped) to a Complex SGL.
Ben
Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Encoding on terminal to read/write ntfs hard drive help!

    I encoded in Terminal the codes that were posted online regarding the enabling of read/write for ntfs hard drive but something went wrong during the process. Would it be possible to undo it? Would there be any code to disable it so I could at least read it? It won't even read my hard drive anymore. I think I have accidentally delete the Volumes part where it was supposed to appear.

    Difficult to say without knowing what you did more precisely. Use the terminal history command as follows:
         history > ~/Desktop/MyNightmare.txt
    to save what you got up to in a file on your desktop. Copy and paste the lines that will show us what you did. Check for, and redact as necessary, any personal information such as user names, passwords, etc. before posting.
    Also, I assume that you tried to edit your /etc/fstab file so please post the results of these terminal commands
         ls -la /etc/fstab
         cat /etc/fstab
    too.
    C.

  • Need help with read/write to MODBUS RTU registers in Labview 8.0

    I’m trying to write and read the registers in G3800xx016. controlling temperatures and lightning.  Please look at the attached pdf file for this unit..
    I have used Lookout for about three years, and it works fine.. Now I want to expand my system and try to use Labview 8.0
    My temperature register start adress is 100 Hex  (256 dec) I read from Register with Function code 03.
    This register have values from 0-255 witch mean in labview for me as unsigned byte U8
    I read my temperature from the register like this: eks.: 40257 lets say value=5
    Slave    FC       Start Adress     Byte     Value               CRC
    01        03        0100                02        0005                7847   
    This is the status received from the Modbus tester when I use null-modem connection..
    I receive the same value if I use Modscan32
    I have used null-modem cable to read out the values.
    I have also PIR detectors that control movements and light of and on, and I read these starts at 40017.1
    01   03     0010     02    
    The register to switch on and of heating and lights starts at 404097.1  FC16  
    Values mention here is read from Lookout 5.0  
    I have tried examples and read for weeks about this, but everything stops when I try to use Labview 8.0    I can’t read any values from my Master unit, neither write to it, or read any values in Modbus testers when I use null-modem cable.. I have tried different baud rates in my serial connection and it works perfect in Lookout, but Not Labview..
    I have even bought DSC module, but I can’t write to either com ports or Modbus testers..
    Please anybody… is there anybody that can give me help with this??
    Start address for for PIR detectors is 40017.1 (FC03)  and for writing bits for on of to light and heatsystem is 404097.1 (FC16)
    I would be very happy for any idea that can give me some positive results…  Look at the attached pdf file.
    Thanks.. and very best regards from
    Benjii…
    Attachments:
    G3800x016_02-2005_eng.pdf ‏70 KB

    Hi... and thanks for your answer..
    Yes, I have downloaded the NI Modbus drivers.. I have downloaded that one + a lot of other things about Modbus..
    I have also tried communication between lokout and labview true null-modem cable.. and it works..
    I have tried several Modbus examples and I communicate with most of them with null-modem cable.
    I write to the right registers as well, cause I use Modbus scanner to read the information..
    I have used the same settings for serial communication as my Master device use, bust still I can't get any response..
    There was an error message in one of my example from the Modbus INIT module.. Maybe I should try to set up a new connection using VISA ??
    Maybe the problem is to INIT my serial port? I have tried restarting my computer after closing my system..  But still, I have the same problem..
    I hope you can give me any idea...
    Thanks again..  by the way.. is it possible to write and read directly to serial port with the DSC module??  If so.. how?? 
    Very best regards..
    Benjii..

  • Loss of read/write speeds fusion drive

    hey guys!
    little confused, when i first unboxed my iMac i was getting Write speed of 320.0 MB/s and a truly amazing Read speed of 715.0 MB/s a mate popped round this morning and i thought i would show off and show him the speeds, i ran the same benchmark and i got Write speed of 310.0 MB/s and a Read speed of 519.0 MB/s
    i ran the test a few times and even rebooted the system...
    where has the speed gone lol, i mean... im not complaining... its still stupidly fast, just wondering where it could of gone

    Just a guess here but when you unboxed your iMac everything was on just the SSD.  Now some of your data has also been put on the SSD and your speed test feels the effects of core services moving things back to the HDD.  Just a guess.

  • Formatting external drive for read/write PC/Mac & files greater than 4GB

    I'm on Snow Leopard and deliver an external drive off-site to a video editor who needs to read/write to the drive and return the edited files and then I need to read/write all over again. All video files are greater than 4GB. How would I go about this? Third party applications like MacDrive create too much overhead when processing video files. FAT32 limits file sizes to 4GB.

    Hi WillDuffy;
    Your requirement of files greater than 4GB eliminates FAT.
    In your case since you don't have access to the PC, I am afraid you are forced to use the NTFS. This will require you to use the reverse engineered effort called NTFS-3G to be able to write to the disk from your Mac. Sorry.
    Allan
    Message was edited by: Allan Eckert

  • Mac Mini drive read/write 20MB/s

    I've been fighting a slow drive for months and have yet to find a solution.  Most recently I installed a 1 TB 7200 RPM drive from OWC, cloned my drive and find the new drive measures about the same read/write speed of 20-25 MB/s.  I'm at a loss to find a solution.  Interestingly when I test the stock 500 GB drive that is now reformatted and empty I see it measures 50 MB/s read/write.
    The drive has about 300 GB of 1 TB free and should be relatively fragment free since I copied over the data in one swoop.
    I've seen others suggesting a format/reinstall but that sounds to me like the Windows mentality of "hiding" the problem instead of locating and resolving the issue (e.g. reboot and see if it goes away...solved!).  Notably, if I take the time to reinstall and reconfigure after formatting how do I know I won't just end up in the same circumstance again.
    I appreciate any suggestions to locate what might be causing the slow speed or any troubleshooting tips to narrow the culprit.  For example, I ran...
    kextstat | grep -v com.apple
    ...a while back and discovered I had FSEventer still installed from long ago when I tried it out briefly  It installs a kext that tracks all filesystem activity so it noticebly affects read/write speed.  Removing that moved me from 15 MB/s to the 20s.  Now kexstat doesn't list any non-Apple kexts.
    I appreciate any other suggestions to discover drivers or really software of any kind beyond default Apple provided OS-level stuff that I can systematically eliminate in search of a solution.
    Thanks for any and all help!

    Hi, I'm thinking reformat isn't the way to go, leastwise not yet!
    You get these speeds copying to/from what?
    What size Cache is this new drive?
    How is this drive connected, internally or externally?
    Might try Etrecheck...
    http://www.etresoft.com/etrecheck

  • Applet read/write to drive?

    I'm considering learing java to create a applet that people can use while playing a game. I read somewhere that applets can't normally read/write to a drive. Is this true? How could the information the users put in be saved on their side for future use? Do I have to go with C++?

    Your answer is "yes, but".
    Your applet can access the user's drive if you "sign" it. You may already have found that out in your research. What that means is, the first time the user loads your applet, a dialog box will come up asking the user if they want to allow your applet to do that.
    This may cause the user to become suspicious, especially in these days where worms and viruses are on the front page of the newspaper. However if your users are your friends and acquaintances -- or have some other reason to trust you -- then that may not be a problem.

  • Can't Read/Write to External HDD-Permissions Problem

    I have external Seagate HDD, formatted as FAT32, connected to Airport Extreme Base Station. I am unable to Read/Write to this Drive because Finder says I "Don't have permissions" to do so.
    Following are details that may be important:
    1. I was able to read/write to this drive under Leopard but lost the right under Snow Leopard, after upgrade to SL.
    2. In Airport Utility, I set up (2) accounts for the External HDD, "Dad" with "Read/Write" access and "Mom" with "Read" access only. I have Guest Account privileges set to "Read Only". It has been this way for (2) years.
    3. Under "Get Info" in Finder, the only account listed is "everyone" with "read" permission only (this is same as Guest Acount in Airport Utility). I am unable to add new accounts because I get error message "The account name is not valid" even though I am using the account name that I am logged in under.
    4. I can change the Permissions on the "everyone" account (in Finder) by changing the permissions on the "Guest Account" in Airport Utility. When I do this, "everyone" in Finder now has "read/write" access but my two accounts, "Dad" and "Mom still don't show up in Finder.
    5. I also upgraded internal HDD to 1Tb and used Restore from Time Machine. I hhad problems with the restore and did new install of Snow Leopard.
    Any ideas on how to make Finder show the two accounts I have set up in Airport Utility?

    My apologies for bumping this but I still don't have a solution...any help would be greatly appreciated!

  • Slow read/write over Thunderbolt and SSD

    Hey all,
    I recently picked up a Seagate GoFlex Thunderbolt sled and a 256GB Toshiba SSD for it.
    I am wanting to use it as my Lightroom 5 catalog and Smart Preview drive, and leave the main HD clean.
    When transfering all the info over from my main HDD, (158GB) I checked on Activity Monitor to see the real time read/write to the drive, and it only topped out at 150MB/sec.  What gives?
    I tested with an external FW800 and got 50-60MB/sec
    Then tested with esata drive and got 80MB/sec
    Both of these are platter drives.
    I was expecting WAAAYYY more from the Seagate TB and SSD combo.
    Did I set something up wrong?  Have I been reading data wrong?
    2011 i7 MBP
    16GB ram
    Toshiba SSD
    Seagate GOflex Thunderbolt Adapter
    Thank you

    Hey,
    I have the Seagate GoFlex Thunderbolt.  And C300 SSD connected to it.  The speed at which I am getting the SSD write at 196.5 MB/s and to read 323.4 MB/s.
    You can use something call blackmagic disk speed to monitor how fast your drive is actually reading and writing.
    The speed limitation you see may be from the actual SSD or copying from HDD to SSD.  This will test direct reading and writing on the SSD, and will give you a better/truer speed.
    Hope that helps
    Ed

  • How do I give myself read/write access/permissions for my external drive?

    Im a brand new Mac user, so please stay with me.
    I have an external drive and I can't delete, modify, ANYTHING on it. When I go to "Get Info" it says "You can only read" under sharing & permissions. How do I change this?

    When you get info on the external drive, at the very bottom is a box you can check
    "Ignore ownership on this volume"...
    If you check that, then see if you can delete and move things around.
    If that doesn't work then try clicking on the + sign and adding you as an admin so you can Read & Write.

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • How do i change read/write permission on an external hard drive?

    how do i change read/write permissions for an external hard drive?

    If, on the otherhand, you are trying to write to a drive that is formatted NTFS (for Windows), and can't.
    You have two choices...
    1. Reformat the drive. Either Mac OS format, if you are using this only on your Mac. Or ExFAT, or FAT 32 if you intend to use it on both a Mac OS computer and a Windows unit. note: ExFAT is not suported by XP.
    2. Install one of the drivers necessary for the Mac to write to a NTFS volume. Unless you want the experience of having the support for this being one that is sporadic, avoid this. I used to be a strong proponent of NTFS-3G, until I started having the problems with Lion, that many users warned us about. Go this route only if you find you must use NTFS on your drive. Paragon and Tuxtera are the sources for these.

  • Being able to 'Read & Write' on an external hard drive on the Mac

    Hi there,
    I can't seem to be able to add things to my external hard drives on my MacBook Pro. I can with my USB stick but not with the larger external hard drives. Could someone help me change the permission settings to allow me to 'Read & Write' rather than just 'Read Only'.
    Thanks
    Nadia

    How is this drive formatted? If it is NTFS then it is read-only. In order to use it on the Mac you will have to repartition and reformat the drive. On the other hand if it is properly partitioned and formatted for the Mac and the drive has become read-only then there is a different solution.
    For the first alternative:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    For the second alternative:
    Fix No Access Permissions on HD.

  • HELP !!! External hard drive MBA/PC read/write

    HELP !!! I have justbought an MBA and want to be able to read/write to an external hard drive netween both the MBA and PC.  Help!  Do I need to partition the hard drive or is FAT (FAT 32 ?) format still the best method?  Grateful for any advice

    Welcome to the Apple Support Communities
    As you know, OS X hasn't got NTFS write support. If your external drive is formatted in NTFS, you can install a third-party application to be able to write in the external drive like Paragon NTFS.
    However, in my opinion, that's not the best option. OS X supports two filesystems which are compatible with PCs: FAT32 and exFAT. FAT32 is a filesystem which is limited to files smaller than 4 GB, and exFAT is like FAT32 but without this restriction so, if you can, format the external drive with exFAT.
    To do it, first you have to copy all the files you have on the external drive to a Mac or PC, because you will lose them from the external drive. Then, format the external drive on a PC. If you do it on a Mac, PCs won't recognize this external drive. exFAT is compatible with Windows XP SP3 or newer and Mac OS X 10.6.5 or newer

  • EMac optical drive: Reads but ceased writing.  I get "Sense key=MEDIUM ERROR, Sense Code=0x0C, WRITE ERROR.  Drive is Pioneer DVD-RW DVR-127D.

    eMac optical drive: reads fine but has ceased writing.  One day it's working fine, burning DVDs, then after repeated attempts stops copying and gives the following error message:  "Sense key=MEDIUM ERROR, Sense Code=0x0C, WRITE ERROR".  Drive is Pioneer DVD-RW DVR-127D.  Is this a software issue or is the drive half dead?  Get the same result with either Popcorn or Toast 10.

    Are you using Roxio Toast? That error seems to be discussed a lot in the Roxio forums. Scroll down this thread:
    http://forums.support.roxio.com/topic/1686-the-drive-reported-an-error-sense-key medium-error-etc/
    and you'll find a step-by-step troubleshooting scheme.

Maybe you are looking for

  • Job is getting cancelled in CPS

    Hi, We have implemented CPS on SOLMAN, and  when we were submitting a job for one of the SAP system and we are using Job chain method for submiting the job. Job is getting cancelled with the below error,please find the below error and log. Failed to

  • How do i install more memory on my imac

    After 5 years of owning our wonderful iMac desktop, we needed to purchase more memory.  I ordered from crucial.com, as recommended by one of the techs in our nearby retail store.  The website they have on the packaging to help with installation says

  • Conversion error in table control

    Hi expert, Am using table control wizard to create table control in module pool proframming. as per my internal table there are 15 fields n am only using 10 fields in table control. is it mandatory  that i need to keep all the fields in order as am d

  • Ink not coming out from new cartridge

    I purchased the color and black cartridge from HP store. After installation the black ink is not coming out. Tried and checked all software settings and it seems the cartridge have some problem. Contacted customer service but no help. Can any one hel

  • JMenu problem

    Hi, i'm developing a window consisting of a JMenuBar, y code is as follows.. mbar=new JMenuBar(); file=new JMenu("File"); item1=new JMenuItem("Open"); item2=new JMenuItem("Exit"); file.setMnemonic('f'); file.add(item1); file.add(item2); mbar.add(file