URGENT DSC: I can write to shared variables but CANNOT read them?

hello everyone,
I'm using DSC to communicate with a DELTA DVP28SV PLC. I managed writing to a coil to to turn a fan on, and I also wrote to a register.
However, when i tried to read the coil (same coil i just turned on) or when i tried to read a register that im very sure has values (the register where i configure the modbus parameters), it would return ZERO, even when i tried to read the register that i just wrote into the reply was zero (I am sure that writing to the register was successful because i made the specific value that i wrote to the register a condition to turning a light on).
So, anyone knows why this could happen?? the Registers are Read/Write. I thought it could be that the scan time in the PLC is too short so i added delays but anything i read still gives zero back. ideas? can anyone help me with this?
here's the PLCs application manual in case it matters : http://www.delta.com.tw/product/em/control/plc/download/manual/DVP-PLC-Program_O_EN_20120416.pdf
Solved!
Go to Solution.

here: capture.png shows the results i get
Attachments:
diagram.PNG ‏32 KB
Capture.PNG ‏10 KB

Similar Messages

  • IPhoto 7.1.3: Can view and enlarge photos but cannot see them in edit mode

    When selecting and attempting to edit photos, the photo does not appear in the "edit" window below the thumbnails. This "edit" window remains blank. Edit functions appear operable but I cannot see what is happening to the photo until the edit has been made and shows up in the thumbnails. Anyone have a similar issue or suggestion?
    Thanks.

    The procedure for creating and populating a new library:
    To create and populate a new library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    If the problem is persisting into a new library - how big is your HD and how much free space on it?
    Regards
    TD

  • My iphone screen is not visible - i can hear texts and calls, but cannot access them

    I have an iphone 4s and I am not able to see the screen - it's blank, however, I can hear when I receive a text and call.

    no you cant

  • Strang, my CD Driver can burn the cd-rw, but cannot erase them!

    Hi,
    i have a very strange problem, my CD Driver can burn the cd without mistake, but fails to erase them.
    Either OSX or XP.
    I mean when i click to erase it, it seems to be working and also makes some noise, but when the process finished, the old files still in my cd-rw!
    does anyone have same error like me ? Is it a hardware or software failure?
    It's not the disc reason i think, because i can do the erasing with my dvd-rw driver in another computer.

    Try Burn. It works for me,when Finder and Disc Utility even can't see a DVD/CD... And it's just one click,one minute and ready !

  • Just upgraded iPhone 3GS to 6.1.3.  Now can see list of emails, but cannot read contents of emails.

    After upgrading my phone from 5.1.1 to 6.1.3: In the Mail app, I can see a list of all of my emails but when I open up an email it does not show the contents of the email, it only shows the From/To/Subject.
    Do I need to reconfigure my email connections?   This is happening with all emails (hotmail, gmail, and aol).

    Hi rearl306,
    If you are having issues viewing the body of emails in Mail on your iPhone, you may find the following article helpful (it's aimed at previous versions of iOS, but may still apply to your issue):
    iOS 4: Unable to view message body preview or mail receives blank messages
    http://support.apple.com/kb/ts3426
    Regards,
    - Brenden

  • I can see the shared library, but it will not open, need help

    I can see the shared library, but when I try to open it, after a few seconds of trying it throws me out.  Need help

    Books from the iTunes Store are intended to be read using the iBooks app on an iOS device.
    tt2

  • How do I import music using homeshare with iTunes 11...I can see the shared libraries but I can't drag and drop and there is no import button.  Thanks!

    How do I import music using homeshare with iTunes 11...I can see the shared libraries but I can't drag and drop and there is no import button.  Thanks!

    Yes, that appears how Mavericks works right now. However, you can open the Address Panel, select all your contacts, then click the To (or CC, or Bcc) buttons to move the selection to the address field.
    If it is not already in the Toolbar, right-click on the Toolbar and select Customize Toolbar…
    Then, drag the address panel up to wherever you want it.
    You may also want to add it to the New Message window in the same way.

  • What do I need to do to be able to read and write files to a Seagate Backup Plus Slim Portable Drive on BOTH a Mac and a PC? I downloaded "Paragon NTFS for Mac" onto my Mac, so now I can write to the drive, but when I plug it into a PC it won't work.

    What do I need to do to be able to read and write files to a Seagate Backup Plus Slim Portable Drive on BOTH a Mac and a PC? I downloaded "Paragon NTFS for Mac" onto my Mac, so now I can write to the drive, but when I plug it into a PC it won't work.

    If the HDD is formatted NTFS, then it suggests that there is a problem with the PC.  Check with the manufacturer.
    Ciao.

  • TS2570 I have a corrupt jpeg on my desktop. It has duplicated itself 450,000 times freezing my finder. I have reinstalled 10.6.8 but not freed up desktop. I have managed to delete the corrupt jpeg from a shared imac but cannot delete the duplicates. Any i

    I have a corrupt jpeg on my desktop. It has duplicated itself 450,000 times freezing my finder. I have reinstalled 10.6.8 but not freed up the desktop. I have managed to delete the corrupt jpeg from a shared imac but cannot delete the duplicates. Any ideas

    This can be done from Single User Mode. You're going to need a little nerve though since everything is command line based.
    1) Enter Single User Mode by restarting and holding down Command+S on the keyboard. A whole bunch of UNIX stuff will go by on the screen in white text on a black background. When it's done, the command prompt will be sitting at:
    :/root#
    2) Above that, you'll see that it tells you to enter two commands. Run this one first by typing it in and pressing enter:
    /sbin/fsck/ -fy
    This does a system file check. A good thing to do in your case as it may be damaged. It could take a while. When it's done, you'll be back at the :/root# prompt.
    3) Enter the second command and press enter:
    /sbin/mount -uw /
    4) Type the following at the prompt:
    cd /Users/name/Desktop
    Where it says "name" above, the short name of your user account goes there. If you're not sure what it is, first type:
    cd /Users
    Then type:
    ls
    That's a lower case L, not a one. It stands for "list". You'll get a listing of all files and folders in the Users folder. So if your short account name is diane, then the command will be:
    cd /Users/diane/Desktop
    After entering that command, the prompt should read:
    :Desktop root#
    Type:
    rm *.jpg
    Be very careful to type is exactly as shown. rm followed by a space, then *.jpg. Press enter and all files ending in .jpg will be deleted from the Desktop folder. With 450,000 of them, you could be waiting a while for the prompt to come back.
    Type:
    exit
    and press enter to boot back into OS X.

  • I just purchased to songs to put on my child's Leappad 2 MP3 player and I can see the songs under my music files but cannot save them because they were not downloaded as a MP3 file What can I do?

    I just purchased two songs to put on my child's Leappad 2 MP3 player and I can see the songs under my music files but cannot save them because they were not downloaded as a MP3 file What can I do?

    iTunes: How to convert a song to a different file format

  • I am trying to delete duplicate content in my iTunes library. I have stopped the download and I can see them on VIEW Displaying Duplicates, but cannot delete them with the Delete button. Can anyone assist?

    I am trying to delete duplicate content in my iTunes library. I have stopped the download and I can see them on VIEW>Displaying Duplicates, but cannot delete them with the Delete button. Can anyone assist?

    If you've paused the download (they are partially greyed out on the duplicates screen ?) then you will need to delete them from download window, you can't (as far as I know) delete partially downloaded items from that screen. When you have items downloading, or downloads that are paused, you should have a downward pointing arrow at the top right of the iTunes screen
    If you click that arrow you should get a popup window with the items that are downloading/paused - and you should be able to select and delete them (or resume their download) from there.

  • I have updated my iphone 4s with ios6 and now im not able to connect to itunes store. I can open the apps store but cannot install any app?  Anyone facing the same issue..

    I have updated my iphone 4s with ios6 and now im not able to connect to itunes store. I can open the apps store but cannot install any app?  Anyone facing the same issue..

    I have a 4S and upgraded to iOS 6 last week without any issues.
    Have you tried resetting your phone (hold the power and home buttons down together until the silver apple appears)?

  • I can open Windows Live with Ff4 and can 'see' emails but cannot open them. It was fine with Ff3. Is there a plug-in?

    If I right click on the messenger icon on the toll bar it opens windows live in firefox by default. Then the page just hangs. I can see the emails but cannot open them. It works ok if I load in internet explorer browser.

    That format is used primarily to record TV shows, which you are generally not allowed to edit.  So it's unlikely you'll find a plug-in or converter.
    Recapture using Premiere Pro or HDVSplit.  Those files will work.

  • Can encode form Premiere directly, but cannot encode in Media Encoder from Premiere Pro

    I can encode form Premiere directly, but cannot encode in Media Encoder from Prem.

    We need to know a lot more to help you.
    Please provide answers to the questions listed here: "FAQ: What information should I provide when asking a question on this forum?"

  • I can open my web page, but cannot install itunes.

    Everytime I try to install itunes, i get message saying check internet connection.
    I can open my web page, but cannot update or install itunes.

    These issues are usually caused by firewalls. See [[Cannot connect after upgrading Firefox]]

Maybe you are looking for