![Galil Motion Control RIO-47 series
RIO-47100 Скачать руководство пользователя страница 51](http://html1.mh-extra.com/html/galil-motion-control/rio-47-series-rio-47100/rio-47-series-rio-47100_user-manual_558776051.webp)
Pulse Counter Input
Digital input 3 (DI3) is a special purpose input that (when enabled) is used to count pulses coming in.
To enable the pulse counter, the PC command must be issued with the following syntax:
PCn
where
n=0 (default) input DI3 is a general purpose input
n=1 sets input DI3 to be a rising edge pulse counter (also clears the pulse counter)
n=-1 sets input DI3 to be a falling edge pulse counter (also clears the pulse counter)
n=? returns the status of the pulse counter (0 if disabled, 1 if enabled)
When the PC command is enabled, input DI3 will count high or low going edges. The operand _PC is
used to report back the number of pulses counted. The maximum frequency of the input is limited by
the optocouplers to 300 Hz (50% duty cycle). If a higher frequency is needed order the -HS option in
the Appendix.
-HS Option Required with
Expanded Memory
RIO's
The
Expanded Memory
models of the RIO cannot use input 3 as the Pulse Counter Input unless the
-HS option is ordered. To see if your model requires the -HS option to use this feature, see table
Table 1.1 to find out if you have an
Expanded Memory
RIO.
Chapter 4 I/O ▫ 51 RIO-47xxx Rev 1.0r