Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 172

Script language
Table of Contents

Advertisement

OMRON
Remarks
Argument
returnstate
channel
Typical Example
channelname = DDEInitiate("Excel", "Sheet1.xls")
DDEOpenLinks(channelname)
The DDEOpenLinks command enables points which have been configured to communicate via DDE
to begin data transfer. Data transfer between CX-Supervisor and the application Microsoft Excel is
automatically maintained until the channel is closed either by Microsoft Excel or by the command
DDETerminate() using the Integer point 'channelname', or the command DDETerminateAll().
DDEPoke
Syntax
returnstate = DDEPoke(channel, "item", pointname)
Remarks
Argument
returnstate
channel
item
pointname
Typical Example
channelname = DDEInitiate("Excel", "Sheet1.xls")
DDEPoke(channelname, "R2C5", data)
Revision 2.0
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
Integer
This is an integer point which contains the return value of the
point
DDEInitiate() command. Both server and topic parameters
applied to the channel in the DDEInitiate() command must be
open or an error is reported.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
Integer
This is an integer point which contains the return value of the
point
DDEInitiate() command. Both server and topic parameters
applied to the in the DDEInitiate() command must be open or an
error is reported.
string
This is an item as recognised by the server application. For
instance, a cell is an item within a spreadsheet application.
Likewise, a page is an item for a word processing application.
It is wholly dependant on the server application
point
This is a point whose attributes must include a DDE Access of
'Read/Only' or 'Read/Write'. The contents of this point are
assigned to the server application.
APPENDIX D – Obsolete Features
Description
Description
Page 159

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents