INC0B (pin 34)
or
INC1B (pin 16)
DI0-DI7
or
DI8-DI15
Toggle
Switch
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 opto-
couplers to 300 Hz. If a higher frequency is needed order the -HS option in the Appendix.
Analog Outputs
RIO-4710x:
Analog Outputs 0-7 on the RIO-4710x are 12 bit analog outputs and have a voltage range of 0-5VDC. The
outputs can sink or source up to 4mA of current.
RIO-4712x:
Analog Outputs 0-7 on the RIO-4712x have a configurable voltage range that is set using the DQ command.
The default outputs have a 12bit DAC resolution (order RIO-4712x-16 for 16 bit resolution). The analog
outputs can sink or source up to 4mA of current.
See the DQ command in the Command Reference for a
full explanation.
DQ
Analog Output Range
DQ 0,1
Sets AO0 to 0-5VDC
DQ 1,2
Sets AO1 to 0-10VDC
DQ 2,3
Sets AO2 to +/-5VDC
DQ 3,4
Sets AO3 to +/-10VDC
Analog Inputs
Each analog input goes through its own internal ADC (Analog to Digital Converter) but when differential
mode is chosen – the inputs are treated as “pairs”. The difference of two analog inputs is the value reported
by the controller. The same analog value is reported on both “pairs” of inputs. The table below shows how
the differential channels are grouped. For instance, if AN0 is at 1.5VDC and AN1 is at 0VDC, a value of
1.5V is reported on @AN[0] and @AN[1].
RIO-47xxx
Chapter 4 I/O
●
45