Dde server – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual
Page 345

323
Publication 1398-PM601A-EN-P — October 2000
APPENDIXES
DDE Server
IQ Master supports DDE (Dynamic Data Exchange) using the DDEML (Dynamic Data Exchange Manage-
ment Library). IQ Master is configured as a server only; another application (the client) can query IQ Master
for information about variables that will be gathered over the serial link from the currently connected
ULTRA Plus or IQ and sent to the client. In addition, the client can set variables to a specific value and also
send executable commands to the ULTRA Plus or IQ.
The only transactions supported by IQ Master are the Request (request data), Poke (write data), and Execute
Transactions. IQ Master does not support Advise Transactions.
To enable DDE conversations with IQ Master, a command-line argument is used when starting IQ Master.
The command-line argument is either ’/d’ or ’/D’ (for example, pathname\IQMASTER.EXE /d where path-
name is the drive and directory path of IQ Master).
The Service Name to establish a conversation with IQ Master is ’IQMASTER’. The Topic name is ’System’.
Item names supported are shown below. The clipboard format for passing data is CF_TEXT. All data passed
will be in the form of strings using the DDEML DdeClientTransaction() function.
To establish a conversation with IQ Master and a client, IQ Master should be running before the client starts.
If IQ Master is not running before starting the client, the client should try to run IQ Master using the Win-
Exec() function with a ’/d’ or ’/D’ command-line argument as the optional parameter.
ULTRA Plus or IQ variables (known as Item names) that can be queried using DDE include:
Adc1
Adc2
Adc3
Adc4
Adc5
Addr
Fe
Fvel1
Gpos
I1p1
I1p2
I2p1
I2p2
Iave
Icmd
Ix1p1
Ix1p2
Ix2p1
Ix2p2
Lpos
Pcmd
Pext
Pfe
Pgen
Picmd
Pjog
Pos1
Pos2
Pos3
Posn
Pvel1
Rfdr
Vcmd
Vel1
Vel2