9
IM 04L4B0-8E
Example of I/O Message Using RSLogix 5000
Connection with DX
First, define the connection with DX using RSLinx. Go to Communication on the menu
bar and select Configure Drivers.
Next, select Ethernet Devices and click Add New....
Enter a driver name. In this example, DXADV is entered but other names can also be
entered.
Enter the IP address of DX and click OK.
DX is displayed on the RSWho list of RSLinx.
Configuration of Communication Settings
Open RSLogix 5000 and select a PLC used to communicate with DX. Right-click
Ethernet in I/O Configuration and select New Module.
Click + to open the list. Select ETHERNET-MODULE and click OK. An ETHERNET-
MODULE setup window will open.
The following shows an example of reading data in measurement channels 00 to 00
and writing the data to communication input data C01 to C20. Data can be accessed
using the INT2 type.
In the Name field, enter DXADV (or other communication connection name). Since data
is accessed using INT32, keep Comm Format as Data-DINT. In IP Address, enter the IP
address of DX.
In Connection Parameter, define the input and output. In Input and Output, enter a
respective instance ID and size. In Configuration, enter an instance ID of 190 and a size
of 0.
New Module
Name
DXADV
Comm Format
Data-DINT
Address/Host Name
IP Address
10.0.232.126
Connection Parameter
Assembly Instance
Size
Input
0
0
(2-bit)
Output
0
20
(2-bit)
Configuration
90
0
(8-bit)
Tag
In Controller Tag, the DXADV:I and DXADV:O tags to be used in control logic have been
made. Click + to expand the tag and see all the points of a size specified in the module
definition.