Rslinx dde/opc and microsoft excel software – Rockwell Automation 1404-M4_M5_M6_M8 Powermonitor 3000 User Manual, Firmware rev. 3.0 or LATER User Manual

Page 291

Advertising
background image

Publication 1404-UM001F-EN-P - November 2009

291

Sample Applications Appendix C

Write Message Dialog

Note that the source length is in Bytes, not elements. Since this
message write 8 INT elements, the message length is 16 bytes.

RSLinx DDE/OPC and Microsoft Excel Software

You may create a simple data transfer application by using RSLinx
direct data exchange (DDE) capabilities and a DDE client such as
Microsoft Excel software. This example uses DDE to read and write
the value of the real-time clock in a power monitor. You may utilize
similar techniques to transfer data to and from any power monitor
data tables.

Setting up a DDE Topic in RSLinx Software

Follow these steps to create a DDE topic in RSLinx software. You need
RSLinx OEM, Professional, Gateway or SDK software to support DDE
communication.

1. Establish communication between RSLinx software and your

power monitor by using the communication method of your
choice.

The example uses the native communication port in DF1
half-duplex configuration.

2. In RSLinx software, select DDE/OPC from the main menu.

Advertising