beautypg.com

Creating project files—modbus master to devices – Siemens DTU3005-B User Manual

Page 41

background image

5

Creating Project Files—Modbus Master to Devices

Siemens Energy & Automation, Inc.

37

change the starting register to 10, the last register
will automatically change to 51.

Note: The Modbus Master must read these regis-

ter numbers to be able to access the real-
time data for this device.

6.

Press Shift+Tab, or click the left mouse button to
highlight the File field and enter the file number.
This parameter is used only with Allen-Bradley
PLCs to specify the file number in the PLC that
contains the register values that are transferred to
or from the device.

7.

The device command registers are displayed
below the real-time data registers. They are con-
figured from the Device Command Registers
menu selection on the Edit menu. See
Section 5.11

for information on setting these reg-

isters and programming the PLC to perform com-
mands. Be sure that the register numbers are not
also used by the device. This can cause unex-
pected operation of the device.

8.

If you want to use a customized subset of the
available data registers, see Section 5.7.2 for
instructions on creating a default set of custom
registers for all devices of the same type. Type an
“X” in the Use customized real-time data order-
ing?

field to begin the custom data setup, or press

Tab

to go to the next field.

9.

Enter the Real-Time Data Delay Time in its field.
This is the delay from the time that the DTU3005
receives data from the device to the time the
DTU3005 transfers the data to the PLCs registers.

10. Select Save to save the device information to the

project file, and then select Ok or press Esc to exit
the device list configuration screen. If at any time
you want to return to the last saved version of the
device list, select Revert without saving any
changes.

Removing a Device

To remove a device from the device list, highlight the
device on the left side of the screen and press Tab or
Enter

. Then change the device type to Not In Use.

Additional Options for Data Registers

The Device List screen has three additional options for
working with a device’s data registers:

Select Set Reg to place the data registers into
contiguous register numbers and minimize the
size to the data register block. This option also
sets the initial register number to 1.

The Set All command performs the same function
but allows you to set the initial register number.
See Appendix A for information on acceptable
register number ranges for each PLC model.

Select Pack to minimize the size of the command
register block, removing registers for deleted
devices.

Saving the Device List Configuration

Once you have entered the device information for all
the devices attached to port 2, select Save to save the
device information to the project file. Then select Ok
or press Esc to close the device list configuration
screen.

If you have changed the device information and have
not saved it to the project file, you will be prompted to
either save or discard the changes.

Select Revert to return to the last previously saved
configuration without saving any changes.

5.7

Configuring Custom Device
Registers

You can configure which data items from the SEAbus
or VDEW devices are transferred from the DTU3005
device to the PLC or Modbus master. In this way, the
DTU3005 acts as a data concentrator, in addition to
converting the SEAbus and VDEW protocol data. You
can configure the custom data items so that every
device of the same type sends the same data items
(see Section 5.7.2), or have each device send particu-
lar data items of interest (see Section 5.7.1). SEAbus
devices can be configured to send 16 words of device
data. VDEW devices can be configured to send from 1
to 64 words.

5.7.1

Configuring Custom Registers for a
Single Device

To configure custom registers for a single device:

1.

Select Device List from the Edit menu.

2.

Highlight the device that you wish to configure
and press Enter.

3.

Highlight the Use customized real-time data
ordering?

check box. Press the spacebar to place

an “X” in the check box. Then select Custom Data
to display the Customized Real-Time Data dialog
box.