Activesn, Activexn, Adcn – 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 201: Activex n, Adc n
Language Reference • Reference
179
Publication 1398-PM601A-EN-P — October 2000
WORDS
ACTIVESN
Scanned Event(s) Active
System
Purpose
Variable to indicate the number of the scanned event that is active.
Syntax
variable = ACTIVESN
variable
The variable will be set to a value from 0 to 8.
Variable = 0 indicates no scanned events are executing.
Remarks
This is a read-only variable.
See Also
Sn
Example
V1 = ACTIVESN
ACTIVEXN
Xkey Routine(s) Active
System
Purpose
Variable to indicate the number of the Xkey routine that is active.
Syntax
variable = ACTIVEXN
variable
The variable will be set to a value from 0 to 4.
Variable = 0 indicates no Xkey routines are executing.
Remarks
This is a read-only variable.
See Also
Xn
Example
V4 = ACTIVEXN
ADCn
Analog Input
Inputs
Purpose
Analog input n in volts.
Syntax
variable = ADCn
variable
The variable is set to the voltage that is present on ADCn. The
voltage is measured in volts with two places after the decimal
point. Variable may be a nonvolatile variable Gn, a volatile
variable Vn, or a system variable.
n
The number of the analog input. n = 1 if the analog input on the
ULTRA Plus or IQ is used. n = 2, 3, 4, or 5 if a Memory and I/O
Expansion Card is installed
Remarks
Analog input 1 has 10 bits resolution to represent the input range of -10 volts to +10
volts which results in approximately 20mV resolution. Analog inputs 2 through 5
(located on an option card) have 12 bits resolution to represent the input range of -10
volts to +10 volts, which results in approximately 5mV resolution.
See Also
Analog input n in volts.
Example
V1 = ADC1