MVI69-MCM Slave Mode
You need to be logged in to get access to the forums. You can do so here
|
Fruehauf
|
Monday 02 October 2006 12:38:44 am |
|
|
MVI69-MCM Slave Mode
I want to use my MCM module in my Compactlogix in slave mode and just want to provide 5 words of data to be read by a modbus master. I took the program code from the MVI69MCM example.
Is it the right way to copy this data into the MCM1.WriteData array (word 0-4)? This data will be copied to Local:1 .
Is this enough for sending the values to the module?
From which adress can a master read this data? I think it should be 40000-40004.
Thanks for your support.
|
|
jsanders
|
Monday 02 October 2006 11:02:41 am |
|
|
RE:MVI69-MCM Slave Mode
The ladder logic will move the MCM1.WriteData array out to module memory starting at whatever address you have set in the Configuration file parameter, "Write Register Start". Assuming you set this paramter to 0, then the value in MCM1.WriteData[0] will go to module memory address 0, which will appear to a remote Modbus Master at address 40001.
In other words, just add 40001 to the module memory address to know what Modbus address at which the Master will find the data, using Function Code 3.
|