2 application connections, 3 programming, 1 s826_countersnapshotread – Sensoray 826 User Manual
Page 37: Application connections, Programming, S826_countersnapshotread

External signal connections to a counter channel
Function
Pin
Name
Signal
Type
Clock Source
Quadrature
Single-phase
Internal
ClkA
A+
RS-422
ClockA+
Clock+
NC
TTL/CMOS
ClockA
Clock
NC
A-
RS-422
ClockA-
Clock-
NC
TTL/CMOS
NC
NC
NC
ClkB
B+
RS-422
ClockB+
NC
NC
TTL/CMOS
ClockB
NC
NC
B-
RS-422
ClockB-
NC
NC
TTL/CMOS
NC
NC
NC
NC
NC
Internal / None
IX
X+
RS-422
NC
NC
TTL/CMOS
IX
NC
X-
RS-422
IX-
NC
TTL/CMOS
NC
NC
ExtIn
Note 1
Auxiliary counter input. The behavior of this signal is configurable.
ExtOut
Note 1
Counter output. The behavior of this signal is programmable.
Device
Power
GND
POWER
5V power supply return and ground reference for all logic signals.
+5V
POWER
+5VDC power. This can be used to power external devices such as incremental
encoders. The total 5V current for all six counter channels is limited to 500mA.
Notes
1. If used, this signal must connect to a DIO channel through the board's DIO signal routing matrix. Refer to the DIO
documentation for details of the routing matrix and electrical characteristics of the DIO channels.
7.2.2 Application Connections
Typical counter connections for common applications
Application
Signals
ClkA
ClkB
IX
ExtIn
ExtOut
Encoder Interface
Phase A clock
Phase B clock
Snapshot trigger |
Preload trigger | NC
Count enable | NC
NC
Event Counter
Event clock
NC
Snapshot trigger |
Preload trigger | NC
Count enable | NC
NC
Pulse Generator
NC
NC
Pulse trigger | NC
Pulse trigger | NC
Pulse output
PWM Generator
NC
NC
Output enable | NC
NC
PWM output
Pulse Width
Measurement
NC
NC
Signal to measure
NC
NC
Period
Measurement
NC
NC
Signal to measure
NC
NC
Frequency
Measurement
NC
NC
External time gate | NC
NC
NC
7.3 Programming
7.3.1 S826_CounterSnapshotRead
The S826_CounterSnapshotRead function reads a snapshot from a counter channel.
826 Instruction Manual
32
Counters