
adccommunitymod (AutomationDirect) asked a question.
MODbus TCP write to reserved address
Created Date: December 01,2011
Created By: HyJenx
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I need to set a coil in a 3rd party device (motion controller). I can successfully communicate with the device when reading registers (V-memory), but the coil I need is located at "MODbus Field Address 9728 ". This places it within a reserved memory type. Using my ECOM-100 and DL06, how can I address this location? LD K401 (Slot 4, Node 1) LD K4 (Write 4 bytes) LDA O1234 (DL06 Data to Write) WX ???? (Help)
Created Date: December 01,2011
Created by: Do-more PE
HOST Engineering has a FAQ on how to reach the higher end addresses with the ECOM100.
Created Date: December 01,2011
Created by: HyJenx
Thanks for the rapid reply.
I didn't find anything on the Host Eng. page that describes how to get to this address range. Specifically, an address of 9728.
For FC15 and Base of 0000, the offsets are only listed to 6656. The memory type above this is only listed as "reserved ". Is a different method used to access this range?
Created Date: December 01,2011
Created by: Do-more PE
I apologize, it was late last night when I wrote that and I didn't peruse the document to see if they stated explicitly how to do it.
Instead of an even number for the number of bytes to transmit, you would use an odd number. IE for 8 bytes you would use a 9 for the number of bytes to transmit.
I'll see if I can get a note added to the sheet to clarify the process.
Created Date: December 02,2011
Created by: GKiser
HyJenx, if you are wanting to use FC15 (Force Multiple Coils) and write to a coil at address 9728, then this is not possible with the ECOM100 as client. As you have noticed, FC15 can only be supported from coils 1 through 6656.
Created Date: December 01,2011
Created by: HyJenx
I need to set a coil in a 3rd party device (motion controller). I can successfully communicate with the device when reading registers (V-memory), but the coil I need is located at "MODbus Field Address 9728 ". This places it within a reserved memory type.
Using my ECOM-100 and DL06, how can I address this location?
LD K401 (Slot 4, Node 1)
LD K4 (Write 4 bytes)
LDA O1234 (DL06 Data to Write)
WX ???? (Help)