Specifications
Section 7. Measurement Instructions
PortSet (Port, State)
This Instruction will set the specified digital I/O port or switched 12V channel
high or low.
Parameter
& Data Type
Enter
Port
Constant,
Variable, or
Expression
The number of the port or switched 12V channel to set with the instruction
Code Description
1 Control Port 1
2 Control Port 2
3 Control Port 3
4 Control Port 4
5 Control Port 5
6 Control Port 6
7 Control Port 7
8 Control Port 8
9 Switched 12 V channel 1 (SW12V-1)
10 Switched 12 V channel 2 (SW12V-2)
State
The state (high or low) to set the port to.
Constant,
Code Value State
Variable, or True 0 Low
Expression
False
≠ 0
High
PulseCount (Dest, Reps, PChan, PConfig, POption, Mult, Offset)
Makes a measurement on a pulse channel.
With the PulseCount instruction, a pulse channel can be configured as a high
frequency input, a low level AC input, or as a switch closure input. Control
ports can be configured as high frequency input or switch closure.
PulseCountReset is used to reset both the pulse counter and the running
average values in the pulse count instruction. The 24-bit counter can count up
to 16,777,215. Each scan of the datalogger causes the counter to output the
number of pulses accumulated since the last scan. If the scans stop, as in a
program with more than one scan loop, the counter continues to accumulate
counts until an overrange occurs or a scan is initiated.
Sensor
Pulse Channel
Ground
7-20