8-2
Analog I/O
6000 Series user’s manual
≡
Analog I/O interface
To interface analog I/O devices to J7 of the 6040, use an STB-20 termi-
nal board and a CMA-20 cable. See the following diagram.
Figure 8-1
Interfacing analog I/O devices to the 6040
CMA-20
ribbon cable
STB-20
+
–
Analog input device
Analog I/O port
6040
J7
+
–
Analog output device
≡
Configuring and programming the analog I/O
port
Configuring and reading from analog input with CAMBASIC
To configure the 6040 for analog input, use CAMBASIC’s CONFIG AIN
command. For more details regarding CONFIG AIN, refer to your
CAMBASIC user’s manual.
Example
An analog input program example using CAMBASIC’s AIN command is
provided below.
10 CONFIG AIN 0,0: ‘Config A/D channel 0 to 0 to 5V
input range
20 CONFIG AIN 1,1: ‘Config A/D channel 1 to -5 to 5V
input range
30 CONFIG AIN 2,2: ‘Config A/D channel 2 to 0 to 10V
input range
Summary of Contents for 6000 Series
Page 7: ...Notice to user PC 500 user s manual ...
Page 9: ...About this manual 6000 Series user s manual ...
Page 37: ...2 20 Quick start 6000 Series user s manual ...
Page 65: ...5 16 Serial ports 6000 Series user s manual ...
Page 87: ...6 22 EZ I O 6000 Series user s manual ...
Page 103: ...8 8 Analog I O 6000 Series user s manual ...
Page 119: ...14 2 PC 104 expansion 6000 Series user s manual ...
Page 133: ...16 4 Watchdog timer reset and remote reset 6000 Series user s manual ...
Page 139: ...17 6 Serial EEPROM 6000 Series user s manual ...
Page 157: ...21 2 Software utilities 6000 Series user s manual ...
Page 161: ...22 4 Troubleshooting 6000 Series user s manual ...
Page 177: ...A 16 6010 technical data 6000 Series user s manual ...
Page 215: ...D 16 6040 technical data 6000 Series user s manual ...
Page 229: ...F 2 Miscellaneous 6000 Series user s manual ...