Dacn, Debug – 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 213

Language Reference • Reference
191
Publication 1398-PM601A-EN-P — October 2000
WORDS
DACn
Digital to Analog Converter
Outputs
Purpose
Write a value to the analog output. The value may be a variable or a constant between
±10, with up to 2 decimal places.
Syntax
DACn = value
value
The value in volts for the DACn output. Value can be a con-
stant, a nonvolatile variable Gn, a volatile variable Vn, or a sys-
tem variable.
n
The number of the DAC output. Currently n = 1 is the only
valid number.
Remarks
DAC1 is a 12 bit DAC. With a range of
±
10 volts, the resolution of the output is
4.9mV.
Changes made to this variable by a program are only in effect while the program is
running. When the program ends it will return to the value stored in the Personality
Module. If no change is made to this variable by the program, the value in the Person-
ality Module is used. The value in the Personality Module is set in the Parameter
menu, Outputs dialog box.
See Also
Example
DAC1 = 2.50
;Set DAC1 to 2.5 Volts
DAC1 = V3
;Set DAC1 to the value contained in Variable V3
DEBUG
Add Debug Information
Compiler Options
Purpose
Add debug information to program executable.
Syntax
DEBUG = ON/OFF
ON
Debug information will be added.
OFF
Debug information will not be added.
Remarks
The DEBUG statement overrides the default compiler option for Add Debug Informa-
tion set in the Edit menu, Compiler Options dialog box. Refer to “Debug Information”
on page 37 for additional information.
This statement requires IQ Master version 3.0 or later.
See Also
PGMTYPE, COMPILETOMEMORY, LISTFILE, EXPANDMACROS
Example
DEBUG = ON
DEBUG = OFF