Configure cn – Measurement Computing Digital232 User Manual
Page 27

Section 3
Command Descriptions
3.5
CONFIGURE Cn
Ports 1 thru 5 are configured as inputs or outputs with the Configure command.
Each port is eight bits wide. At power-on, all ports are initialized as inputs. The
Configure command is usually the first command to be sent after power on. All ports
programmed as outputs will be set to a logic zero after receiving the Configure
command. The actual output level is dependent on the Invert command (I16).
Cn Mode n (0 thru 5) defines which ports are input and output
Port
5
4
3
2
1
C0 in
in
in
in
in
C1 in
in
in
in
out
C2 in
in
in
out out
C3 in
in
out out out
C4
in
out out out out
C5
out out out out out
in = programmed as an input port
out = programmed as an output port
Example:
@
reset the Digital232
C1
select port 1 as output, ports 2 thru 5 as inputs
- ACC-300 (7 pages)
- AI-EXP32 (20 pages)
- AI-EXP48 (19 pages)
- BTH-1208LS (30 pages)
- 6K-ERB08 (32 pages)
- BTH-1208LS Quick Start (4 pages)
- 6K-SSR-RACK08 (33 pages)
- BTH-1208LS-OEM (27 pages)
- CB-COM-Digital (68 pages)
- CB-7018 (68 pages)
- CB-7000 Utilities (44 pages)
- CB-7080D (74 pages)
- CB-COM-7033 (44 pages)
- CB-COM-7017 (72 pages)
- CB-COM-7024 (76 pages)
- CB-NAP-7000P (36 pages)
- CIO-DAC02/16 (16 pages)
- CIO-DAC02 (18 pages)
- CB-NAP-7000D (56 pages)
- CIO-DAC16-I (16 pages)
- CIO-DAC16/16 (20 pages)
- CIO-DAS08 (21 pages)
- CIO-DAC16 (20 pages)
- CIO-DAS08/JR (16 pages)
- CIO-DAS08/JR/16 (14 pages)
- CIO-DAS08/JR-AO (16 pages)
- CIO-DAS08-AOM (32 pages)
- CIO-DAS08-PGM (28 pages)
- CIO-DAS16/330 (34 pages)
- CIO-DAS48-I (17 pages)
- CIO-DAS16/M1 (38 pages)
- CIO-DAS48-PGA (18 pages)
- CIO-DAS800 (20 pages)
- CIO-DAS802/16 (22 pages)
- CIO-DAS6402/16 (40 pages)
- CIO-DAS-TEMP (20 pages)
- CIO-DDA06/16 (18 pages)
- CIO-DDA06/JR (17 pages)
- CIO-DIO24H (20 pages)
- CIO-DIO24/CTR3 (21 pages)
- CIO-DI192 (24 pages)
- CIO-DDA06 (21 pages)
- CIO-DIO48 (19 pages)
- CIO-DO192H (16 pages)
- CIO-DIO192 (20 pages)