Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Profibus default address "126'

Hello all,

 

I am having zero luck resetting my Profi device address back to the default "126".

 

Here is the scenario I am running on my production floor.

 

  1. Get a new DUT (with Profi address in the default "126")
  2. Prepare to test Profi interface. Requires address to be changed to none default.
  3. Use Comsoft interface to change address from "126" to "3"
  4. Test interface
  5. Attempt to reset address to default "126' prior to shipping to customer FAIL.

The issue is I can't test the device with it set to default address... So I change it to something other than "126" and run the device through the test.  Now I don't want to ship the device to our customers with a preset address fearing that they will connect it to their system and create potential issues with other device that may have this same address.

 

Profibus has a reserved default address to address this potential problem.  However between the Comsoft interface and the LabVIEW driver the ability to change from address (0-125) to address "126" is not allowed.  It actually behaves as if it changed the address but once you reconnect it is obviously not "126". No error or warning when attempting... It just doesn't not work.

 

 I can't test when device is set to "126" because Comsoft won't allow access. It will detect the device and let me change the address but not access the other data blocks.

 

How do other folks test their devices prior to shipping to customers?

 

Any ideas would be greatly appreciated.

Tony...

 

Setup:

HP desktop XP

LabVIEW 8.5.1

NI DP Profi II PCI interface -> Siemens SIMATIC S7 PA interface -> Profi DUT (Flowmeter)

0 Kudos
Message 1 of 4
(7,490 Views)

Yes you are right the comsoft configurator can only change addresses between 0 and 125. Typically you would use your own manufacturing tools to program the device back to 126, which is the default commissioning address for profibus slave devices.

 

DirkW

0 Kudos
Message 2 of 4
(7,475 Views)

Appears that way...

 

Do you know if/how to communicate to a device with the default "126" address? Either from Comsoft interface or LV vis.

If I don't need to change it in order to test the device then I won't care about not being able to set it back.

 

Still seems like a "bug" and not a feature.

 

Other interface (like Siemens) allow both communicating to a 126 device and setting it back via a "Factory Reset" option. Either would be nice with Comsoft/NI interface.

 

As it is now I have $1600 of hardware I can't use to test the very device it was purchased for. Lovely isn't it...

 

Thanks for your reply

Tony...

0 Kudos
Message 3 of 4
(7,473 Views)

Dear Tony,

if I understand yout right you're using CS_DFP2_SetSlaveAddressReq.vi to set the slave address.
The slave will allways send a "Short-Ack" after receiving the Set-Slave-Command. This means not, that it has accepted the slave-address-change. There's no possibilty for the VI to check whether the change was accepted or not.
I haven't seen any slave right now which has accepted the change of the slave address to 126 with the Set-Slave-Command.

It's definitely not a bug in the VI.

There's sometimes a possibility to reset the DP slave with a DPV1-command. Please refer to the manual of the DP slave.

Kind regards,

Sven Fischer

0 Kudos
Message 4 of 4
(7,462 Views)