Ddeterminate; Ddeterminateall; Enabledde - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

DDE Commands
D.3.6 DDETerminate
D.3.7 DDETerminateAll
D.3.8 EnableDDE
Syntax
returnstate = DDETerminate(channel)
Remarks
Argument
Type
returnstate
bool
channel
Integer
point
Typical Example
DDETerminate(channelname)
The server and topic specified by Integer point 'channelname' is closed.
Syntax
returnstate = DDETerminateAll()
Remarks
Argument
Type
returnstate
bool
Typical Example

DDETerminateAll()

All previously initiated DDE links are closed.
Syntax
returnstate = EnableDDE(pointname)
Remarks
Argument
Type
returnstate
bool
Pointname
bool
point
Typical Examples
EnableDDE(result)
DDE functions are enabled based on the value of point 'result'. If 'point' is
'TRUE', then DDE is enabled, if 'point' is 'FALSE', then DDE is disabled.
EnableDDE(TRUE)
DDE functions can also be enabled directly without using a point to hold the
desired status.
Appendix D Obsolete Features
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
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.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
A Boolean point that holds the required enable/
disable state
147

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents