Modicon Momentum Question

Does anyone out there know how to figure out in the program code what the actual MB+ address for a particular PLC is?

We have racked our brains and can't figure it out. So easy to do with AB, gotta be able to do it with these guys!!!

Thanks for all the help!!!!!
 
Its been a while since I played with one of these, but I will give it a shot.

1, No software - all MB+ addresses are selected with hardware switches, usually on the back of the unit. I actually find this to be one of the best ways to run a well planned and well documented system.

2, Concept, when you plug into a MB+ cable, you will get a list of MB+ addresses, with CPUs indicated. This does not tell you what the other units are, but does give you a list of addresses and will tell you if there is any HW comms faults.

3, Test package, I can't remember the name of this, but the Schneider reps around were I live used to give it away free. This was a DOS package that would interogate the MB+ bus and provide a list of addresses. It would also allow you to pass data directly and was good for testing and learning how a device worked.

4, PLC software?
Don't know, and never tried.
I would also ask, why you would want to do this?
Normally, you would specify the address and set the CPU to this address. I can't see how a MB+ network could even operate any other way.

Doug
 
Thanks for the response, but that is not exactly what I am trying to do. I should explain myself in the future.

I am trying to figure out how to query the MB+ address of the PLC within the program.

For exanple I have 5 PLCs with the exact same program connected to its own operator interface, but each PLC is at a different MB+ address. Is there a way to figure out what the value of the MB+ address is in the current PLC and display it on its associated operator interface for example.

Thanks for any suggestions.
 
Is this what you are looking for ?



Setting Datablock Address Properties: Start, End, and Length
<> See Also

The Starting Address, Ending Address, and Address Length fields define the memory location in the device that the datablock represents.

You must always enter a starting address. This is the point in the device that the datablock starts from. You can then enter either an ending address or an address length to complete the entire block.

Example

You want to create a datablock named DATABLOCK-C that starts at address 0005 and has a length of 8.

To do this, enter 0005 in the Starting Address field and 8 in the Address Length field. The Power Tool automatically completes the Ending Address field with the value 0012.

DATABLOCK-C reads the following addresses in the device:


00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20
IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII


Specific address ranges depend on your process hardware. The following table lists address ranges for Modicon hardware. For Modicon-compatible devices, consult your hardware documentation.

The MB1 7.x driver does not support MOSCAD® addressing.

Valid Datablock Addresses



Hardware Memory Type Description Address Range Maximum Length Entry in Start or End Address Field
Micro 84 (u84) 0 Coil Status 0001 - 0999 64 0001
Micro 84 (u84) 1 Input Status 1001 - 1999 64 1001
Micro 84 (u84) 3 Input Register 3001 - 3999 4 3001
Micro 84 (u84) 4 Holding Register 4001 - 4999 32 4001
484 0 Coil Status 0001 - 0999 512 0001
484 1 Input Status 1001 - 1999 512 1001
484 3 Input Register 3001 - 3999 32 3001
484 4 Holding Register 4001 - 4999 125 4001
184 0 Coil Status 00001 - 19999 800 00001
184 1 Input Status 10001 - 19999 800 10001
184 3 Input Register 30001 - 39999 100 30001
184 4 Holding Register 40001 – 49999 100 40001
584 0 Coil Status 00001 - 09999 2000 00001
584 1 Input Status 10001 - 19999 2000 10001
584 3 Input Register 30001 - 39999 125 30001
584 4 Holding Register 40001 - 49999 125 40001
584L 6 Extended Register 60000:[1-10] - 69999:[1-10] 124 60000:1
984 0 Coil Status 00001 - 09999 2000 00001
984 1 Input Status 10001 - 19999 2000 10001
984 3 Input Register 30001 - 39999 125 30001
984 4 Hold Register 40001 - 49999 125 40001
984 6 Extended Register 60000:[1-10] - 69999:[1-10] 124 60000:1
984-785 0 Coil Status 000001 - 065530 2000 000001
984-785 1 Input Status 100001 - 165530 2000 100001
984-785 3 Input Register 300001 - 365530 125 300001
984-785 4 Holding Register 400001 - 465530 125 400001
984-785 6 Extended Register 600000 - 665530:[1-10] 124 600000:1

NOTES: Extended registers and exception-based processing are not supported in slave mode.


Input status bits and input registers are read-only.
 
Sorry...thanks for the help but that's not it.

Take an Allen-Bradley PLC-5 as an example. There is an S-register you can read that gives you the DH+ (or CNET etc) address for that processor.

Can we do the same for Modicon (Momentum specifically) with the MB+ address?

Thanks
 
Who am I

A Modicon PLC can determine it's own Modbus PLus address by executing an MSTR function block using Modbus function code 3 (Get Local Statistics). The network address of the local station is in Word 2 (remember starting counting at 0).
 

Similar Topics

I have a 170AAO92100 card that I am interested in using as a 10 volt output. Is there setup that I have to do in order to change output or simply...
Replies
0
Views
82
Hi Guys, Does Modicon M430 and Momentum Controller have In-Built Modbus SLAVE functionality or do I need to add a Modbus card to them? I'm...
Replies
10
Views
3,094
First time with Unity Pro and a new Unity CBU (Central Brocessing Unit??):) Trying to read the RTC but having no luck at all. Can't be that...
Replies
6
Views
2,207
I have a customer who has a Momentum PLC in a machine. There is a soft start that runs a large hydraulic pump, and about 15 solenoid valves that...
Replies
10
Views
2,429
Hey, gentlemens! I have PLC Modicon Momentum 171-CCC-96030 and ModBus registers list. I need connect to this PLC by ModBus TCP and reading...
Replies
7
Views
5,534
Back
Top Bottom