Internet PLC Forum

General => Technical support => Topic started by: dan on April 04, 2006, 08:53:52 AM

Title: R/W DM
Post by: dan on April 04, 2006, 08:53:52 AM
Hi,

There is any way that I can Read/W a block of DM?
Now I'm using to R/W one location per command but I would like to do this faster and easier (lot of code just to R/W DM)

Thank you,

Dan
Title: Re:R/W DM
Post by: support on April 04, 2006, 09:41:07 AM
You can use the "@ddRDnnnnccccff*" command to read a block of DM. Check the command format on page 4-21 of the T100MD+ User's Manual.
Title: Re:R/W DM
Post by: Joel Moore on April 07, 2006, 12:53:48 AM
What timing!  I came here to ask this very question.   I've never even looked in the Omron section of the manual.

I still have one question, though.  Can these be mixed with native host commands?  The wording the manual makes it seem like you can but I just wanted to be sure before I implement these.
Title: Re:R/W DM
Post by: support on April 09, 2006, 01:05:01 AM
Yes, you can mix native and OMRON protocol together. They are compatible in command format and FCS computation. OK.. we admit that the native command is modelled after OMRON host link commands  ;)
Title: Re:R/W DM
Post by: Joel Moore on April 11, 2006, 07:21:19 AM
Heh.  Yeah, after investigating further I noticed host mode was just a superset of the Omron commands.  Very clever.  :)