
Section 9. Input/Output Instructions
9-5
There is also an option to output the count as a frequency (i.e. counts/execution
interval in seconds = Hz) as well as discard the result from an excessive interval.
This allows the use of a conversion factor that is independent of the execution
interval.
The options of discarding counts from long intervals, pulse input type and using a
16-bit counter are selected by the code entered for parameter 4 (see Table 9-2).
All pulse count instructions must be kept in the same table. If the
pulse count instruction is contained in a subroutine, that subroutine
must be called from Table 2.
To prevent the storage of spurious pulse counts, a table containing
an Instruction 3 will skip execution at the first execution interval
after the program is compiled. If Instruction 3 is in table 2 then the
first execution of table 1 is also skipped.
Table 9-2 Pulse Count Configuration Codes
Code
Configuration
0
High frequency pulse (Index (--) to change from 8Hz to 64Hz reset)
1
Low level AC (Index (--) to change from 8Hz to 64Hz reset)
2
Switch closure
3
High frequency pulse, 16-bit counter
4
Low level AC, 16-bit counter
1X
Long interval data discarded
2X
Long interval data discarded, frequency (Hz) output
where X is the configuration code
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Repetitions
02:
2
Pulse Channel or Control Port number number for first
measurement
03:
2
Configuration code (from Table 9-2)
04:
4
Input location for first measurement
05:
FP
Multiplier
06:
FP
Offset
Input locations altered: 1 per repetition
Intermediate storage locations altered: 1 for each repetition
Instruction 4: Excite, Delay and Measure
This instruction is used to apply an excitation voltage, delay a specified time and
then make a single-ended voltage measurement. The result is in millivolts when a
multiplier of one and an offset of zero are used. A 1 before the excitation channel
number (i.e. 1x, where x is the initial excitation channel number) causes the
channel to be incremented with each repetition.
NOTE
NOTE