OMRON
APPENDIX D – Obsolete Features
Revision 2.0
Page 159
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
channel
Integer
point
This is an integer point which contains the return value of the
DDEInitiate() command. Both server and topic parameters
applied to the channel in the DDEInitiate() command must be
open or an error is reported.
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 Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
channel
Integer
point
This is an integer point which contains the return value of the
DDEInitiate() command. Both server and topic parameters
applied to the in the DDEInitiate() command must be open or an
error is reported.
item
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
pointname
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.
Typical Example
channelname = DDEInitiate("Excel", "Sheet1.xls")
DDEPoke(channelname, "R2C5", data)
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...