I assume you've already found
THIS thread? The example program I showed in that thread DOES work, and it should be quite easy to substitute whatever parameter you choose to change.
The 'wake up' command is <STX> (Start of Text). This is ASCII character code "2" (See
www.asciitable.com) In order to 'print' this to V-memory, you use "$02" (WITH the quotes).
The next part of the text string is the drive address. Since I only had one drive, I used 255 which simple write to ALL drives. Supposedly, you don't really need to include this. Next is the 'write' command (letter W), which tells to drive you want to WRITE to the address. Next comes the code for the integer value you're changing. You use the number that corresponds to the variable you want to change, followed by = and the new value. Finish it off with a carriage return <CR>, which is written as "$R" in DirectSOFT.
You will save yourself a LOT of frustration by using Window's Hyperterminal to watch what the PLC is sending to the drive. Otherwise, you can only 'guess' what's REALLY being sent.
The Simple ASCII Protocol is discussed in Appendix G of the
PC830 User Manual. Also be sure to download
THIS application note for additional information.
-Eric
P.S. Don't bother trying to read the string sent back from the drive. The DL06 is good at sending OR receiving ASCII, just not at the same time. I tried this, and although it works, it's not reliable. Occasionally, you miss the return string...