Omron CX-SUPERVISOR - V2.0 User Manual page 339

Table of Contents

Advertisement

APPENDIX F – Obsolete Features
Note:
Note:
DDE Array Points
CX-Supervisor supports arrays in DDE, for both 'Client' and 'Server' transactions. DDE Client data
transfers are initiated by CX-Supervisor, either sending or requesting data from external DDE
Applications (such as Microsoft Excel). DDE Server data transfers are initiated by external DDE
Applications either sending or requesting data to or from CX-Supervisor.
Refer to the CX-Supervisor Script Language Reference Manual for further details.
DDE Client Array Points
This chapter explains how to create DDE Client Array points. This is similar to the way normal DDE
Client points are created, except extra information is required to specify the range of the array and
also whether it is to be stored as a row or column in the Server application.
1, 2, 3...
In the CX-Supervisor Runtime environment, the above DDE Client array transactions are initiated by
means of script in the same way as single DDE Client points. The CX-Supervisor script below gives
examples of the facilities available with DDE Client array points:
Page 316
4.
Ensure the DDE Access Read/Write setting is set to 'ON.
5.
Click the OK pushbutton to accept the settings in both the Advanced Point
Settings dialog and the Add Point dialog.
The DDE Access group's Read/Write box in the Advanced Point Settings dialog is
checked, this is the only action required to expose "DDESVR3" to a DDE Client
application for read/write access.
Any CX-Supervisor point can be given DDE Access, even DDE Client points.
1.
Select the Add Point button from the Point Editor toolbar. The Add Point
dialog is displayed.
2.
Enter a meaningful name in the Point Name: field.
3.
Set the I/O Attributes setting to DDE and click on the Setup pushbutton.
The DDE attributes dialog is displayed.
4.
Enter an application in the Server Name: field.
5.
Enter a topic in the Topic Name: field.
6.
Enter the item in the Item Name: field. It is also necessary to specify how
the array is to be transferred. For instance, in Microsoft Excel, this is either
as a '[row]' or '[column]', the default is as a row which can be omitted.
The following are valid array item names: "R1C1:R3C1[col]",
"first:last[c]", "R5C2:R5C5", "r1c1:r3c1[column]".
7.
Enter the number of elements in the array in the Array Size: field. This
must match with the specified range in the Item Name field
OMRON
Release 2.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents