Modicon M340 Variable Addressing

Join Date
Feb 2008
Location
Walnuc Creek, CA
Posts
31
Hello,

Considering the M340 as a Modbus slave, and another device attempting to access internal memory of the M340 using the standard holding register format (4xxxx), is there a way to map the internal memory words (%MW) to the holding registers?

For example, if I want to provide %MW200 to the Modbus master when they reference address 40001, how do I do this?

Thanks in advance.
 
Last edited:
Hello,

Considering the M340 as a Modbus slave, and another device attempting to access internal memory of the M340 using the standard holding register format (4xxxx), is there a way to map the internal memory words (%MW) to the holding registers?

For example, if I want to provide %MW200 to the Modbus master when they reference address 40001, how do I do this?

Thanks in advance.

Assuming your master does not need an offset:

When looking at the PLC from a a master on Modbus register %MW200 would be Modbus address 40200 so 40001 is %MW1 so if you want %MW200 to be at 40001 you would need to use the MOV or other command to move the contents of %MW200 to %MW1
 

Similar Topics

Hey all, I am having an issue concerning the Modicon System Responsible for the operation of our Generator System. (Particularly Dresser-Rand...
Replies
5
Views
2,546
Hello, I'm having a hard time understanding how to get a Modicon M340 to pull a Modbus address from an ABB Totalflow via Ethernet. I set up a port...
Replies
5
Views
1,150
Hello. New to Unity and had a couple quick questions. Can a Modicon M340 output to a small multiline LCD screen and not a full HMI?
Replies
4
Views
962
Hi, I'm configuring the M340 controller with ATV320 inverters via Canopen. Everything was fine until today, when after starting the electrical...
Replies
1
Views
1,332
I've got an M340 hitting an Ethernet to Serial converter one read at a time. Each read is enabled through a one-shot r_trig. I've got some extra...
Replies
2
Views
1,592
Back
Top Bottom