4
Creating Project Files—PLC to Devices
Siemens Energy & Automation, Inc.
19
6.
Enter the beginning register number in the
Real-Time
Data Registers
field. Refer to
Appendix A
for valid
register numbers for your PLC application. The
DTU3005 Editor software supplies the last register
number after you enter the first. In the example above,
the 4700 Power Meter uses 41 registers for its data.
When you enter 1 for the first register, the last register
becomes 42. If you change the starting register to 10,
the last register will automatically change to 51.
Note: These registers indicate the exact location
in the PLC where the DTU3005 will store
the real-time data for this device.
7.
Press
Shift+Tab
, or click the left mouse button to high-
light 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 reg-
ister values that are transferred to or from the device.
8.
The device command registers are displayed below the
real-time data registers. They are configured from the
Device Command Registers
menu selection on the
Edit
menu. See
Section 4.11
for information on setting
these registers and programming the PLC to perform
commands. Be sure that the register numbers are not
also used by the device. This can cause unexpected
operation of the device.
9.
If you want to use a customized subset of the available
data registers, see
Section 4.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 ordering?
field to begin the custom
data setup, or press
Tab
to go to the next field.
10. 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.
11. 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 contigu-
ous 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 as
Set Reg, but allows you to set the initial register num-
ber. See
Appendix A
for information on acceptable
register number ranges for each PLC model.
•
Select
Pack
to minimize the size of the command reg-
ister 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 configu-
ration without saving any changes.
4.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 4.7.2
), or have each device
send particular data items of interest (see
Section 4.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.
4.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 order-
ing?
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.